Sweeping out old events
- From: Daniel Skarda <0rfelyus atrey karlin mff cuni cz>
- To: gtk-list redhat com
- Subject: Sweeping out old events
- Date: Fri, 24 Apr 1998 17:16:19 +0200
Hello,
I have following problem: in my program there is an OpenGL widget. According
to the mouse movement I rotate whole scene. Unfortunately mouse events
("motion_notify_event") come in at higher rate than OpenGL can redraw scene. So
my question is: how can I erase too old events or how to detect that this event
can be ignored (since there is new mouse position somewhere in the queue).
Thank you for any your advice,
Dan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]