OpenSceneGraph
Public Member Functions | Public Attributes | Protected Attributes | Friends | List of all members
osgWidget::Event Class Reference
Collaboration diagram for osgWidget::Event:
Collaboration graph
[legend]

Public Member Functions

 Event (WindowManager *wm, EventType _type=EVENT_NONE)
 
Event & makeType (EventType _type)
 
Event & makeMouse (double _x, double _y, EventType _type=EVENT_NONE)
 
Event & makeKey (int _key, int _keyMask, EventType _type=EVENT_NONE)
 
WindowManager * getWindowManager ()
 
const WindowManager * getWindowManager () const
 
Window * getWindow ()
 
const Window * getWindow () const
 
Widget * getWidget ()
 
const Widget * getWidget () const
 
void * getData ()
 
const void * getData () const
 
void setData (void *data)
 

Public Attributes

EventType type
 
double x
 
double y
 
int key
 
int keyMask
 

Protected Attributes

WindowManager * _wm
 
Window * _window
 
Widget * _widget
 
void * _data
 

Friends

class WindowManager
 
class Window
 

The documentation for this class was generated from the following file: