[SDL] Double Click
Mattias Karlsson
betasoft at acc.umu.se
Mon May 7 05:46:18 PDT 2007
On Sun, 6 May 2007, Paulo Pinto wrote:
> Well, at least on Windows there are specific double click messages.
>
> Just search the SDK documentation for WM_LBUTTONDBLCLK.
>
> Now since this is the SDL mailing list I guess that you want to do
> it in a portable way.
>
> So just patch SDL event loop to process these messages and provide
> the information on the SDL_event structure. Maybe this could then
> be integrated on the standard SDL.
That part i easy: just come up with a reason why Tux Paint needs double
clicks and it sorts it self out just fine ;)
On a more serious note: I whould be glad if double clicks and key repeat
was added to 1.3 event system, since it would give everybody's homegrown
GUI-system a bit more native feeling.
More information about the SDL
mailing list