15 #include "pgMouseWatcherBackground.h" 18 TypeHandle PGMouseWatcherBackground::_type_handle;
25 PGMouseWatcherBackground::
26 PGMouseWatcherBackground() :
38 PGMouseWatcherBackground::
39 ~PGMouseWatcherBackground() {
void set_active(bool active)
Sets whether the region is active or not.
static void background_release(const MouseWatcherParameter ¶m)
Calls release() on all the PGItems with background focus.
virtual void press(const MouseWatcherParameter ¶m)
This is a callback hook function, called whenever a mouse or keyboard button is depressed while the m...
void set_keyboard(bool keyboard)
Sets whether the region is interested in global keyboard events.
static void background_press(const MouseWatcherParameter ¶m)
Calls press() on all the PGItems with background focus.
This is the class that defines a rectangular region on the screen for the MouseWatcher.
virtual void keystroke(const MouseWatcherParameter ¶m)
This is a callback hook function, called whenever the user presses a key.
virtual void candidate(const MouseWatcherParameter ¶m)
This is a callback hook function, called whenever the user uses the IME.
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 release(const MouseWatcherParameter ¶m)
This is a callback hook function, called whenever a mouse or keyboard button previously depressed wit...
static void background_candidate(const MouseWatcherParameter ¶m)
Calls candidate() on all the PGItems with background focus.
static void background_keystroke(const MouseWatcherParameter ¶m)
Calls keystroke() on all the PGItems with background focus.