#include <mouseWatcherParameter.h>
Inheritance diagram for MouseWatcherParameter:
Public Types | |
enum | Flags { F_has_button = 0x001, F_has_mouse = 0x002, F_is_outside = 0x004, F_has_keycode = 0x008 } |
Public Member Functions | |
INLINE | MouseWatcherParameter () |
INLINE | MouseWatcherParameter (const MouseWatcherParameter &other) |
INLINE void | operator= (const MouseWatcherParameter &other) |
INLINE | ~MouseWatcherParameter () |
INLINE void | set_button (const ButtonHandle &button) |
INLINE void | set_keycode (int keycode) |
INLINE void | set_modifier_buttons (const ModifierButtons &mods) |
INLINE void | set_mouse (const LPoint2f &mouse) |
INLINE void | set_outside (bool flag) |
INLINE ButtonHandle | get_button () const |
INLINE bool | has_keycode () const |
INLINE int | get_keycode () const |
INLINE const ModifierButtons & | get_modifier_buttons () const |
INLINE bool | has_mouse () const |
INLINE const LPoint2f & | get_mouse () const |
INLINE bool | is_outside () const |
void | output (ostream &out) const |
Public Attributes | |
PUBLISHED | __pad0__: INLINE bool has_button() const |
ButtonHandle | _button |
short | _keycode |
ModifierButtons | _mods |
LPoint2f | _mouse |
int | _flags |
|
Definition at line 69 of file mouseWatcherParameter.h. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Referenced by output(). |
|
Referenced by output(). |
|
Referenced by output(). |
|
Reimplemented in PGMouseWatcherParameter. |
|
Definition at line 27 of file mouseWatcherParameter.cxx. References _button, _keycode, _mods, _mouse, has_keycode(), has_mouse(), ModifierButtons::is_any_down(), and is_outside(). |
|
Referenced by MouseWatcher::enter_region(), and MouseWatcher::exit_region(). |
|
|
|
|
|
|
|
|
|
Reimplemented in PGMouseWatcherParameter. Definition at line 48 of file mouseWatcherParameter.h. |
|
Definition at line 64 of file mouseWatcherParameter.h. Referenced by output(). |
|
Definition at line 75 of file mouseWatcherParameter.h. |
|
Definition at line 65 of file mouseWatcherParameter.h. Referenced by output(). |
|
Definition at line 66 of file mouseWatcherParameter.h. Referenced by output(). |
|
Definition at line 67 of file mouseWatcherParameter.h. Referenced by output(). |