Panda3D
|
This is a special kind of MouseWatcherRegion that doesn't have a rectangle and is never active, but just quietly listens for keypresses and sends them to all the PGItems with background focus. More...
#include "pgMouseWatcherBackground.h"
Public Member Functions | |
virtual void | candidate (const MouseWatcherParameter ¶m) |
This is a callback hook function, called whenever the user uses the IME. | |
virtual TypeHandle | force_init_type () |
virtual TypeHandle | get_type () const |
virtual void | keystroke (const MouseWatcherParameter ¶m) |
This is a callback hook function, called whenever the user presses a key. | |
virtual void | press (const MouseWatcherParameter ¶m) |
This is a callback hook function, called whenever a mouse or keyboard button is depressed while the mouse is within the background. | |
virtual void | release (const MouseWatcherParameter ¶m) |
This is a callback hook function, called whenever a mouse or keyboard button previously depressed with press() is released. | |
Static Public Member Functions | |
static TypeHandle | get_class_type () |
static void | init_type () |
This is a special kind of MouseWatcherRegion that doesn't have a rectangle and is never active, but just quietly listens for keypresses and sends them to all the PGItems with background focus.
Definition at line 29 of file pgMouseWatcherBackground.h.
void PGMouseWatcherBackground::candidate | ( | const MouseWatcherParameter & | param | ) | [virtual] |
This is a callback hook function, called whenever the user uses the IME.
Reimplemented from MouseWatcherRegion.
Definition at line 84 of file pgMouseWatcherBackground.cxx.
References PGItem::background_candidate().
void PGMouseWatcherBackground::keystroke | ( | const MouseWatcherParameter & | param | ) | [virtual] |
This is a callback hook function, called whenever the user presses a key.
Reimplemented from MouseWatcherRegion.
Definition at line 73 of file pgMouseWatcherBackground.cxx.
References PGItem::background_keystroke().
void PGMouseWatcherBackground::press | ( | const MouseWatcherParameter & | param | ) | [virtual] |
This is a callback hook function, called whenever a mouse or keyboard button is depressed while the mouse is within the background.
Reimplemented from MouseWatcherRegion.
Definition at line 50 of file pgMouseWatcherBackground.cxx.
References PGItem::background_press().
void PGMouseWatcherBackground::release | ( | const MouseWatcherParameter & | param | ) | [virtual] |
This is a callback hook function, called whenever a mouse or keyboard button previously depressed with press() is released.
Reimplemented from MouseWatcherRegion.
Definition at line 62 of file pgMouseWatcherBackground.cxx.
References PGItem::background_release().