Hi Max,

I'll let Jeremy do a review on these changes.

Cheers,
Robert.

On Tue, Oct 7, 2008 at 8:17 PM, Max Bandazian <[EMAIL PROTECTED]> wrote:
> Hi,
> I've been using osgWidget quite a bit, and run into a few issues. The
> attached code addresses some of them. Here's a quick list:
> - Windows can't live in more than one window manager
> - Mouse buttons don't work right (left vs. right click etc.)
> - Mouse events don't have modifiers (alt, shift, etc.) associated with them
> - WindowManager::childRemoved misinterprets its second parameter (it's #
> children removed, not end index)
> - Layers seem to be global across all windows, so it seems impossible to use
> layers within two windows and then have all of one window draw on top of the
> other
> - Due to some use of private scope and friend classes, it is impossible to
> subclass things to deal with the limitations/bugs from outside osgWidget
> In the attached code, I have added a keyMask parameter to all mouse events,
> so things like shift+clicking for selecting a group of widgets are possible.
> I've also fixed the childRemoved function.  Adding the keyMask parameter
> broke a few examples that relied on overriding functions from
> EventInterface, so I updated those as well and they are included in the
> attached archive. IMHO the changes are pretty essential to using osgWidget
> for making a gui, so I hope this stuff can make it into an OSG release at
> some point.
> I've fixed the rest of the issues above in a way that works fine for what
> I'm doing with osgWidget, but some of the fixes break various pieces of
> osgWidget that I don't use. I'm working on getting everything playing nicely
> together, and I'll make further incremental submissions as that happens.
> Thanks,
> Max Bandazian
> _______________________________________________
> osg-submissions mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
>
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to