OpenSceneGraph  3.0.1
Public Member Functions | Public Attributes | Protected Attributes | Friends
osgWidget::Event Class Reference

List of all members.

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

Constructor & Destructor Documentation

osgWidget::Event::Event ( WindowManager *  wm,
EventType  _type = EVENT_NONE 
) [inline]

Member Function Documentation

void* osgWidget::Event::getData ( ) [inline]
const void* osgWidget::Event::getData ( ) const [inline]
const Widget* osgWidget::Event::getWidget ( ) const [inline]
const Window* osgWidget::Event::getWindow ( ) const [inline]
Event& osgWidget::Event::makeKey ( int  _key,
int  _keyMask,
EventType  _type = EVENT_NONE 
) [inline]

References osgWidget::EVENT_NONE.

Event& osgWidget::Event::makeMouse ( double  _x,
double  _y,
EventType  _type = EVENT_NONE 
) [inline]

References osgWidget::EVENT_NONE.

References osgWidget::EVENT_NONE.

void osgWidget::Event::setData ( void *  data) [inline]

Friends And Related Function Documentation

friend class Window [friend]
friend class WindowManager [friend]

Member Data Documentation

void* osgWidget::Event::_data [protected]

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

osg logo
Generated at Thu Sep 27 2012 12:20:32 for the OpenSceneGraph by doxygen 1.7.6.1.