15 #ifndef PGMOUSEWATCHERREGION_H 16 #define PGMOUSEWATCHERREGION_H 18 #include "pandabase.h" 20 #include "mouseWatcherRegion.h" 48 static int _next_index;
54 static void init_type() {
55 MouseWatcherRegion::init_type();
56 register_type(_type_handle,
"PGMouseWatcherRegion",
57 MouseWatcherRegion::get_class_type());
60 return get_class_type();
62 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
70 #include "pgMouseWatcherRegion.I" virtual void without_region(const MouseWatcherParameter ¶m)
This is a callback hook function, called whenever the mouse moves completely outside the boundaries o...
This is the base class for all the various kinds of gui widget objects.
virtual void exit_region(const MouseWatcherParameter ¶m)
This is a callback hook function, called whenever the mouse exits the region.
virtual void release(const MouseWatcherParameter ¶m)
This is a callback hook function, called whenever a mouse or keyboard button previously depressed wit...
virtual void enter_region(const MouseWatcherParameter ¶m)
This is a callback hook function, called whenever the mouse enters the region.
virtual void within_region(const MouseWatcherParameter ¶m)
This is a callback hook function, called whenever the mouse moves within the boundaries of the region...
virtual void press(const MouseWatcherParameter ¶m)
This is a callback hook function, called whenever a mouse or keyboard button is depressed while the m...
virtual void candidate(const MouseWatcherParameter ¶m)
This is a callback hook function, called whenever an IME candidate is highlighted by the user...
This is the class that defines a rectangular region on the screen for the MouseWatcher.
This is a specialization on MouseWatcherRegion, to add a bit more fields that are relevant to the PG ...
virtual void keystroke(const MouseWatcherParameter ¶m)
This is a callback hook function, called whenever a keystroke is generated by the user...
TypeHandle is the identifier used to differentiate C++ class types.
This is sent along as a parameter to most events generated for a region to indicate the mouse and but...
virtual void move(const MouseWatcherParameter ¶m)
This is a callback hook function, called whenever a mouse is moved within the region.