paragui-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [paragui-users] paragui 1.0.1 draging of scrollbar button


From: Alexander Pipelka
Subject: RE: [paragui-users] paragui 1.0.1 draging of scrollbar button
Date: 27 May 2002 18:21:15 +0200

Am Fre, 2002-05-10 um 20.54 schrieb John Rainey:
> 
> The problem (scroll button getting stuck) stems from the SDL_Delay(1); call
> in PG_MessageObject::eventIdle(). If I comment this line out all works well.
> Why is this delay needed?

Not needed at all. It's just a relict which can be removed.
In the meantime you could subclass PG_Application and reimplement
eventIdle() to get rid of the SDL_Delay(1) call.

> Also before processing any events "mouse move events" are being peeped in
> the main event loop in order to not flood the event que, could this also be
> a factor? The combination of peeping the mouse events before processing the
> events which triggers a SDL_Delay causes an extended amount of time before a
> mouse move event finds it's way into the event que??????

Maybe

Alex






reply via email to

[Prev in Thread] Current Thread [Next in Thread]