[Tuxpaint-devel] Prompt drop-shadows in SDL2
An award-winning drawing program for children of all ages
Brought to you by:
wkendrick
From: Bill K. <nb...@so...> - 2022-09-02 09:52:22
|
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! -- -bill! Sent from my computer |