#include <graphicsWindowInputDevice.h>
Public Member Functions | |
INLINE | GraphicsWindowInputDevice () |
GraphicsWindowInputDevice (const GraphicsWindowInputDevice ©) | |
void | operator= (const GraphicsWindowInputDevice ©) |
~GraphicsWindowInputDevice () | |
INLINE string | get_name () const |
INLINE bool | has_pointer () const |
INLINE bool | has_keyboard () const |
INLINE const MouseData & | get_mouse_data () const |
bool | has_button_event () const |
ButtonEvent | get_button_event () |
void | button_down (ButtonHandle button) |
void | button_resume_down (ButtonHandle button) |
void | button_up (ButtonHandle button) |
void | keystroke (int keycode) |
INLINE void | set_pointer_in_window (int x, int y) |
INLINE void | set_pointer_out_of_window () |
INLINE bool | operator== (const GraphicsWindowInputDevice &other) const |
INLINE bool | operator!= (const GraphicsWindowInputDevice &other) const |
INLINE bool | operator< (const GraphicsWindowInputDevice &other) const |
Static Public Member Functions | |
GraphicsWindowInputDevice | pointer_only (const string &name) |
GraphicsWindowInputDevice | keyboard_only (const string &name) |
GraphicsWindowInputDevice | pointer_and_keyboard (const string &name) |
Private Types | |
typedef pdeque< ButtonEvent > | ButtonEvents |
enum | InputDeviceFlags { IDF_has_pointer = 0x01, IDF_has_keyboard = 0x02 } |
Private Member Functions | |
GraphicsWindowInputDevice (const string &name, int flags) | |
Private Attributes | |
string | _name |
int | _flags |
MouseData | _mouse_data |
ButtonEvents | _button_events |
|
Definition at line 84 of file graphicsWindowInputDevice.h. |
|
Definition at line 80 of file graphicsWindowInputDevice.h. |
|
Definition at line 48 of file graphicsWindowInputDevice.cxx. |
|
Referenced by keyboard_only(), pointer_and_keyboard(), and pointer_only(). |
|
Definition at line 94 of file graphicsWindowInputDevice.cxx. |
|
Definition at line 121 of file graphicsWindowInputDevice.cxx. |
|
Definition at line 157 of file graphicsWindowInputDevice.cxx. References _button_events, and ButtonEvent::T_down. |
|
Definition at line 170 of file graphicsWindowInputDevice.cxx. References _button_events, and ButtonEvent::T_resume_down. |
|
Definition at line 180 of file graphicsWindowInputDevice.cxx. References _button_events, and ButtonEvent::T_up. |
|
Definition at line 145 of file graphicsWindowInputDevice.cxx. References _button_events. |
|
|
|
|
|
Definition at line 134 of file graphicsWindowInputDevice.cxx. References _button_events. |
|
|
|
|
|
Definition at line 72 of file graphicsWindowInputDevice.cxx. References GraphicsWindowInputDevice(), and IDF_has_keyboard. |
|
Definition at line 191 of file graphicsWindowInputDevice.cxx. References _button_events. |
|
|
|
|
|
Definition at line 108 of file graphicsWindowInputDevice.cxx. References _button_events, _flags, _mouse_data, and _name. |
|
|
|
Definition at line 83 of file graphicsWindowInputDevice.cxx. References GraphicsWindowInputDevice(), IDF_has_keyboard, and IDF_has_pointer. Referenced by wcrGraphicsWindow::config(), glxGraphicsWindow::glxGraphicsWindow(), and WinGraphicsWindow::WinGraphicsWindow(). |
|
Definition at line 61 of file graphicsWindowInputDevice.cxx. References GraphicsWindowInputDevice(), and IDF_has_pointer. |
|
|
|
|
|
Definition at line 89 of file graphicsWindowInputDevice.h. Referenced by button_down(), button_resume_down(), button_up(), get_button_event(), has_button_event(), keystroke(), and operator=(). |
|
Definition at line 87 of file graphicsWindowInputDevice.h. Referenced by operator=(). |
|
Definition at line 88 of file graphicsWindowInputDevice.h. Referenced by operator=(). |
|
Definition at line 86 of file graphicsWindowInputDevice.h. Referenced by operator=(). |