BRL-CAD
|
Go to the source code of this file.
Macros | |
#define | BV_KEY_PRESS 0x001 |
#define | BV_KEY_RELEASE 0x002 |
#define | BV_LEFT_MOUSE_PRESS 0x004 |
#define | BV_LEFT_MOUSE_RELEASE 0x008 |
#define | BV_RIGHT_MOUSE_PRESS 0x010 |
#define | BV_RIGHT_MOUSE_RELEASE 0x020 |
#define | BV_MIDDLE_MOUSE_PRESS 0x040 |
#define | BV_MIDDLE_MOUSE_RELEASE 0x080 |
#define | BV_CTRL_MOD 0x100 |
#define | BV_SHIFT_MOD 0x200 |
#define | BV_ALT_MOD 0x400 |
View objects may define their behaviors in response to events (key presses, mouse movements, etc.). Because such events are defined on a per-environment basis, we need to define a common language to express responses to those events in order to avoid dependence on that environment.
The calling code is responsible for translating the environment specific events into bv events.
Definition in file events.h.