On 5/16/07, Robert Osfield <[EMAIL PROTECTED]> wrote:

I have little time, so a quick reply.

On 5/16/07, Serge Lages <[EMAIL PROTECTED]> wrote:
> Hi again,
>
> I would like to know if it's normal that GUIEventAdapter::getWindowWidth
and
> GUIEventAdapter::getWindowHeight always returns the same
> value (in my case the screen resolution) even if I toggle to a windowed
mode
> ?

We possible need a bit info in GUIEventAdapter w.r.t screen
width/window width.  The WindowWidth and WindowHeight should reflect
the window height and width, and they arn't then this is a bug
something in osgGA or in osgViewer.


Hum I found that ea.getXmax() and ea.getYmax() returns the good window size.
Is it possible to have a getXmax() smaller than the window width ? If not,
one of the two methods seems needless. If yes it's just that a
GUIEventAdapter::setWindowRectangle is missing into Viewer.cpp into the
eventTraversal method.

In the same kind of problem, anyone have tried to catch a DoubleClick
event
> ? It seems that with osgViewer they are not propagated anymore. :/

I haven't tried catching double clicks so can't comment.  If you find
something lacking then please roll your sleeves up and see whats
happening w.r.t event propagation in
src/osgViewer/GraphicsWindow*.cpp.


Okay, I will have a look into it and let you know !

--
Serge Lages
http://www.magrathea-engine.org
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to