David Megginson writes:
>
>Norman Vine writes:
>
> > necessary fix so that PUI can do it's thing
>
>Thanks for the patch, Norm.  It compiled fine and didn't cause any
>obvious problems, but I noticed that the menu didn't disappear with
>mouse motion as intended.

Hmm works fine for me in game-mode < no window borders >
someone might have to tweak this for X but these are the same
xy values I used before and I think they worked for everyone ?

>I am curious, though, about why you moved the puMouse calls from
>FGInput::doMouseClick and FGInput::doMouseMovement to GLUTmouse and
>GLUTmotion
>>I deliberately made the puMouse calls conditional on pass_through so
>that PUI would *not* see clicks and movement in alternative modes like
>the view mode -- with your change, PUI will always see clicks and
>movement, no matter what the mouse mode.

I didn't try to tweak the code any and just made the minimal changes to
get your stuff working with PUI Dialogs

HINT -  try testing the autopilot adjuster and the Pilot Offset adjuster if
you
want to see if you are cooperating with PUI when handling mouse events
though 'when' you change my code.

Norman


_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to