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)
 
EventmakeType (EventType _type)
 
EventmakeMouse (double _x, double _y, EventType _type=EVENT_NONE)
 
EventmakeKey (int _key, int _keyMask, EventType _type=EVENT_NONE)
 
WindowManagergetWindowManager ()
 
const WindowManagergetWindowManager () const
 
WindowgetWindow ()
 
const WindowgetWindow () const
 
WidgetgetWidget ()
 
const WidgetgetWidget () 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: