| VRS - The Virtual Rendering System |
| version 3.3 |
#include <vrs/sg/inputevent.h>

Public Types | |
| enum | Modifier { NoModifier = 0x0000, Shift = 0x0001, Lock = 0x0002, Ctrl = 0x0004, Mod1 = 0x0008, Alt = Mod1, Mod2 = 0x0010, Mod3 = 0x0020, Mod4 = 0x0040, Mod5 = 0x0080, AllKeys = 0x00ff } |
| enum | Button { NoMouseButton = 0x0000, MouseButton1 = 0x0100, MouseButtonLeft = MouseButton1, MouseButton2 = 0x0200, MouseButtonMiddle = MouseButton2, MouseButton3 = 0x0400, MouseButtonRight = MouseButton3, MouseButton4 = 0x0800, MouseButton5 = 0x1000, AllMouseButtons = 0x1f00 } |
| enum | Change { NoChange = 0x0000, Pressed = 0x0001, Released = 0x0002, DoubleClick = 0x0004, AllChanges = 0x0007 } |
Public Member Functions | |
| VRS_SERIALIZABLE_CLASS_ENUM (Modifier) | |
| VRS_SERIALIZABLE_CLASS_ENUM (Button) | |
| VRS_SERIALIZABLE_CLASS_ENUM (Change) | |
| Modifier | modifier () const |
| VRSTime | time () const |
| The time at which the event was created. | |
| VRS_TYPEINFO (InputEvent, CanvasEvent) | |
Protected Member Functions | |
| InputEvent (Canvas *canvas, Modifier modifiers=InputEvent::NoModifier, VRSTime t=0) | |
Friends | |
| class | Canvas |
| VRS::InputEvent::InputEvent | ( | Canvas * | canvas, | |
| Modifier | modifiers = InputEvent::NoModifier, |
|||
| VRSTime | t = 0 | |||
| ) | [protected] |
| VRS::InputEvent::VRS_SERIALIZABLE_CLASS_ENUM | ( | Modifier | ) |
| VRS::InputEvent::VRS_SERIALIZABLE_CLASS_ENUM | ( | Button | ) |
| VRS::InputEvent::VRS_SERIALIZABLE_CLASS_ENUM | ( | Change | ) |
| InputEvent::Modifier VRS::InputEvent::modifier | ( | ) | const [inline] |
| VRSTime VRS::InputEvent::time | ( | ) | const [inline] |
The time at which the event was created.
| VRS::InputEvent::VRS_TYPEINFO | ( | InputEvent | , | |
| CanvasEvent | ||||
| ) |
friend class Canvas [friend] |
Reimplemented from VRS::CanvasEvent.
Reimplemented in VRS::ButtonEvent, VRS::KeyEvent, VRS::MotionEvent, VRS::PointerEvent, and VRS::WheelEvent.