Meldryt wrote:
>
> The reason why i use MouseHandler is because it will send events to the
> WindowManager which knows all about its windows and widgets.
>
I may be wrong since I don't know your code in detail but I think about class
"responsiblities". From my point of view it's not bad to
gambr wrote:
> Honestly I usually derive from osgGA::GUIEventHandler to handle mouse events.
>
> Cheers,
> Gianni
I use the osgWidget::MouseHandler and osgGA::CameraManipulator which both
derive from osgGA::GUIEventHandler.
The reason why i use MouseHandler is because it will send events to
Honestly I usually derive from osgGA::GUIEventHandler to handle mouse events.
Cheers,
Gianni
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=68849#68849
___
osg-users mailing list
gambr wrote:
> Hi Meldryt,
> I worked with osgWidget in the past. I move a widget with
> left_mouse+mouse_move and resize it with central_mouse_button+mouse_move.
> I also tried to show a contextual menu clicking with right mouse button on it.
> Now I'm on OSG 3.4.0 but moved recentrly from OSG
Hi Meldryt,
I worked with osgWidget in the past. I move a widget with left_mouse+mouse_move
and resize it with central_mouse_button+mouse_move.
I also tried to show a contextual menu clicking with right mouse button on it.
Now I'm on OSG 3.4.0 but moved recentrly from OSG 3.0.1.
Could you please
bump!
Does anyone else have this issue?
I have no problem when i try to track this event inside my handle function of
the custom osgGA::StandardManipulator class.
But for my GUI widgets its easier to track this input events just by overriding
mousePush, mouseDrag, ... events of
I have problems with receiving multi input events in my osgWidget::Label class.
f.e.
1. click right mouse
2. click left mouse
3. release left mouse
4. no event when i drag the right mouse
i added
Code:
setEventMask(osgWidget::EVENT_ALL);
to receive all events but i seems like osg is
7 matches
Mail list logo