Re: [Tuxpaint-devel] Prompt drop-shadows in SDL2
An award-winning drawing program for children of all ages
Brought to you by:
wkendrick
From: Pere P. i C. <per...@gm...> - 2022-09-03 00:03:39
|
El ds. 03 de 09 de 2022 a les 01:57 +0200, en/na Pere Pujal i Carabantes va escriure: > El dv. 02 de 09 de 2022 a les 02:51 -0700, en/na Bill Kendrick va escriure: > > I'm noticing in the SDL 2 branch, especially with the color palette > > pop-ups (which have no border, like the generic dialog does; > > e.g. "Quit: are you sure?"), that the drop-shadows are not appearing. > > > > The code is running, but the way we're doing it in SDL2 doesn't > > work. > > > > SDL1.2: > > SDL_SetAlpha(alpha_surf, SDL_SRCALPHA, 64); > > > > SDL2: > > SDL_SetSurfaceAlphaMod(alpha_surf, 64); > > > > Any clues, Pere (or others who are more familiar with SDL2's quirks)? > > Thanks in advance! > > > Strange, I see the shadows here > Maybe they show/disappear too quick? > Try to slowdown launching Tux Paint with valgrind > > Or maybe your box has an older version of libsdl2? > I currently have libsdl2-2.0-0 Version: 2.0.18+dfsg-2 Sorry, I thouth you spoke about the increasing shadows(from the button to the dialog) Indeed I dont see the final shadow next to the dialog. |