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

Public Member Functions | |
| MotionCondition (int must_modifier=InputEvent::NoModifier, int must_not_modifier=InputEvent::NoModifier) | |
| virtual bool | satisfied (Event *) const |
| For a given event, a condition is either satisfied or unsatisfied. | |
| int | mustModifier () const |
| int | mustNotModifier () const |
| VRS_TYPEINFO (MotionCondition, Condition) | |
| VRS_SERIALIZABLE (MotionCondition) | |
| VRS::MotionCondition::MotionCondition | ( | int | must_modifier = InputEvent::NoModifier, |
|
| int | must_not_modifier = InputEvent::NoModifier | |||
| ) |
An `MotionCondition' is satisfied if an event of type `MotionEvent' has been received which matches the modifiers. Two types of modifier masks are specified: The mask of those modifiers which have to be pressed, and the mask of those modifiers which must not be pressed.
| virtual bool VRS::MotionCondition::satisfied | ( | Event * | ) | const [virtual] |
| int VRS::MotionCondition::mustModifier | ( | ) | const [inline] |
| int VRS::MotionCondition::mustNotModifier | ( | ) | const [inline] |
| VRS::MotionCondition::VRS_TYPEINFO | ( | MotionCondition | , | |
| Condition | ||||
| ) |
| VRS::MotionCondition::VRS_SERIALIZABLE | ( | MotionCondition | ) |