[SDL] WM_PAINT equivalent?

Leo M. Cabrera leo28c at gmail.com
Sun Feb 10 15:02:47 PST 2008


I'll see how to implement it in my game. Thanks!

Brian wrote:
> The expose event seems to be what you are looking for:
> http://www.libsdl.org/cgi/docwiki.cgi/SDL_5fExposeEvent
>
> On Feb 10, 2008 9:05 PM, L-28C <kixdemp at gmail.com> wrote:
>   
>> A portion of my game (the menu) doesn't need to be updated on every
>> cycle. So I thought, why not just update it when the screen needs to be
>> redrawn? Is there an equivalent to handling Win32's WM_PAINT in SDL?
>>     
> _______________________________________________
> SDL mailing list
> SDL at lists.libsdl.org
> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
>
>   




More information about the SDL mailing list