[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [paragui-users] paragui 1.0.1 draging of scrollbar button
From: |
John Rainey |
Subject: |
RE: [paragui-users] paragui 1.0.1 draging of scrollbar button |
Date: |
Fri, 10 May 2002 14:54:22 -0400 |
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?
Does SDL need time to process the idle event or should a registered object
simply get the event and do it's thing.
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??????