[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [paragui-users] Buttons capture all events when pressed...
From: |
Steve McCrea |
Subject: |
Re: [paragui-users] Buttons capture all events when pressed... |
Date: |
Tue, 9 Dec 2003 10:51:28 +0100 |
Ulf wrote:
> > I commented out this part of PG_MessageObject::ProcessEvent() so that
> > messages would continue to go to all objects:
> >
> > if ((captureObject != NULL) && (captureObject != this)) {
> > return false;
> > }
> >
> Do you use PG_TimerObject for your timing? As far as I could see from
> the code, it bypasses the event queue in favor of a direct callback, so
> I am a bit surprised that it doesn't work.
>
No, we're using "update" user events sent 100 times a second,
and "render" user events sent once a frame.
> If the timer function does send user messages, then uncommenting this
> will indeed help. Since this if-clause is redundant and blocks
> processing, it should even be deleted.
>
Thanks!
Steve