#include <mouseWatcherRegion.h>
Inheritance diagram for MouseWatcherRegion:

Public Member Functions | |
| INLINE bool | operator< (const MouseWatcherRegion &other) const |
| virtual void | enter (const MouseWatcherParameter ¶m) |
| virtual void | exit (const MouseWatcherParameter ¶m) |
| virtual void | within (const MouseWatcherParameter ¶m) |
| virtual void | without (const MouseWatcherParameter ¶m) |
| virtual void | press (const MouseWatcherParameter ¶m) |
| virtual void | release (const MouseWatcherParameter ¶m) |
| virtual void | keystroke (const MouseWatcherParameter ¶m) |
| virtual TypeHandle | get_type () const |
| virtual TypeHandle | force_init_type () |
Static Public Member Functions | |
| TypeHandle | get_class_type () |
| void | init_type () |
Private Types | |
| enum | SuppressFlags { SF_mouse_button = 0x001, SF_other_button = 0x002, SF_any_button = 0x003, SF_mouse_position = 0x004 } |
| enum | Flags { F_suppress_flags = 0x0ff, F_active = 0x100, F_keyboard = 0x200 } |
Private Member Functions | |
| INLINE | MouseWatcherRegion (const string &name, const LVecBase4f &frame) |
| INLINE void | set_frame (float left, float right, float bottom, float top) |
| INLINE void | set_frame (const LVecBase4f &frame) |
| INLINE const LVecBase4f & | get_frame () const |
| INLINE float | get_area () const |
| INLINE void | set_sort (int sort) |
| INLINE int | get_sort () const |
| INLINE void | set_active (bool active) |
| INLINE bool | get_active () const |
| INLINE void | set_keyboard (bool keyboard) |
| INLINE bool | get_keyboard () const |
| INLINE void | set_suppress_flags (int suppress_flags) |
| INLINE int | get_suppress_flags () const |
| void | output (ostream &out) const |
| void | write (ostream &out, int indent_level=0) const |
Private Attributes | |
| PUBLISHED | __pad0__: INLINE MouseWatcherRegion(const string &name |
| PUBLISHED float | left |
| PUBLISHED float float | right |
| PUBLISHED float float float | bottom |
| PUBLISHED float float float float | top |
| LVecBase4f | _frame |
| float | _area |
| int | _sort |
| int | _flags |
| ModifierButtons | _mods |
Static Private Attributes | |
| TypeHandle | _type_handle |
|
|
Definition at line 86 of file mouseWatcherRegion.h. |
|
|
Definition at line 57 of file mouseWatcherRegion.h. |
|
||||||||||||
|
|
|
|
Reimplemented in PGMouseWatcherRegion. Definition at line 58 of file mouseWatcherRegion.cxx. Referenced by MouseWatcher::enter_region(). |
|
|
Reimplemented in PGMouseWatcherRegion. Definition at line 71 of file mouseWatcherRegion.cxx. Referenced by MouseWatcher::clear_current_regions(), and MouseWatcher::exit_region(). |
|
|
Reimplemented from TypedReferenceCount. Reimplemented in PGMouseWatcherBackground, and PGMouseWatcherRegion. Definition at line 110 of file mouseWatcherRegion.h. References Namable::get_class_type(), and Namable::init_type(). |
|
|
Referenced by MouseWatcher::get_over_regions(). |
|
|
|
|
|
Reimplemented from Namable. Reimplemented in PGMouseWatcherBackground, and PGMouseWatcherRegion. Definition at line 97 of file mouseWatcherRegion.h. Referenced by PGMouseWatcherRegion::force_init_type(), PGMouseWatcherBackground::force_init_type(), PGMouseWatcherRegion::get_type(), PGMouseWatcherBackground::get_type(), PGMouseWatcherRegion::init_type(), and PGMouseWatcherBackground::init_type(). |
|
|
Referenced by MouseWatcher::get_over_regions(). |
|
|
Referenced by MouseWatcher::global_keyboard_press(), MouseWatcher::global_keyboard_release(), and MouseWatcher::keystroke(). |
|
|
|
|
|
|
|
|
Reimplemented from TypedReferenceCount. Reimplemented in PGMouseWatcherBackground, and PGMouseWatcherRegion. Definition at line 107 of file mouseWatcherRegion.h. References Namable::get_class_type(). |
|
|
Reimplemented from Namable. Reimplemented in PGMouseWatcherBackground, and PGMouseWatcherRegion. Definition at line 100 of file mouseWatcherRegion.h. References Namable::get_class_type(), TypedObject::get_class_type(), Namable::init_type(), TypedReferenceCount::init_type(), and register_type(). Referenced by ConfigureFn(), PGMouseWatcherRegion::force_init_type(), PGMouseWatcherBackground::force_init_type(), PGMouseWatcherRegion::init_type(), and PGMouseWatcherBackground::init_type(). |
|
|
Reimplemented in PGMouseWatcherBackground, and PGMouseWatcherRegion. Definition at line 128 of file mouseWatcherRegion.cxx. Referenced by MouseWatcher::keystroke(). |
|
|
|
|
|
Reimplemented from Namable. Definition at line 32 of file mouseWatcherRegion.cxx. References _frame, and Namable::get_name(). Referenced by operator<<(). |
|
|
Reimplemented in PGMouseWatcherBackground, and PGMouseWatcherRegion. Definition at line 107 of file mouseWatcherRegion.cxx. Referenced by MouseWatcher::enter_region(), and MouseWatcher::global_keyboard_press(). |
|
|
Reimplemented in PGMouseWatcherBackground, and PGMouseWatcherRegion. Definition at line 118 of file mouseWatcherRegion.cxx. Referenced by MouseWatcher::exit_region(), and MouseWatcher::global_keyboard_release(). |
|
|
|
|
|
|
|
||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented in PGMouseWatcherRegion. Definition at line 85 of file mouseWatcherRegion.cxx. |
|
|
Reimplemented in PGMouseWatcherRegion. Definition at line 96 of file mouseWatcherRegion.cxx. |
|
||||||||||||
|
Definition at line 42 of file mouseWatcherRegion.cxx. References _frame, _sort, Namable::get_name(), and indent(). Referenced by MouseWatcher::write(). |
|
|
Reimplemented from Namable. Reimplemented in PGMouseWatcherBackground. Definition at line 39 of file mouseWatcherRegion.h. |
|
|
Definition at line 83 of file mouseWatcherRegion.h. |
|
|
Definition at line 93 of file mouseWatcherRegion.h. |
|
|
Definition at line 82 of file mouseWatcherRegion.h. |
|
|
Definition at line 94 of file mouseWatcherRegion.h. |
|
|
Definition at line 84 of file mouseWatcherRegion.h. Referenced by write(). |
|
|
Reimplemented from Namable. Reimplemented in PGMouseWatcherBackground, and PGMouseWatcherRegion. Definition at line 24 of file mouseWatcherRegion.cxx. |
|
|
Definition at line 39 of file mouseWatcherRegion.h. |
|
|
Definition at line 39 of file mouseWatcherRegion.h. |
|
|
Definition at line 39 of file mouseWatcherRegion.h. |
|
|
Definition at line 39 of file mouseWatcherRegion.h. |
1.3