#include <pgButton.h>
Inheritance diagram for PGButton:

Public Member Functions | |
| virtual PandaNode * | make_copy () const |
| virtual void | enter (const MouseWatcherParameter ¶m) |
| virtual void | exit (const MouseWatcherParameter ¶m) |
| virtual void | press (const MouseWatcherParameter ¶m, bool background) |
| virtual void | release (const MouseWatcherParameter ¶m, bool background) |
| virtual void | click (const MouseWatcherParameter ¶m) |
| void | setup (const string &label) |
| INLINE void | setup (const NodePath &ready) |
| INLINE void | setup (const NodePath &ready, const NodePath &depressed) |
| INLINE void | setup (const NodePath &ready, const NodePath &depressed, const NodePath &rollover) |
| void | setup (const NodePath &ready, const NodePath &depressed, const NodePath &rollover, const NodePath &inactive) |
| virtual void | set_active (bool active) |
| bool | add_click_button (const ButtonHandle &button) |
| bool | remove_click_button (const ButtonHandle &button) |
| bool | has_click_button (const ButtonHandle &button) |
| INLINE string | get_click_event (const ButtonHandle &button) const |
| virtual TypeHandle | get_type () const |
| virtual TypeHandle | force_init_type () |
Static Public Member Functions | |
| INLINE string | get_click_prefix () |
| TypeHandle | get_class_type () |
| void | init_type () |
Public Attributes | |
| PUBLISHED | __pad1__: enum State { S_ready = 0 |
| PUBLISHED | S_depressed |
| PUBLISHED | S_rollover |
| PUBLISHED | S_inactive |
Protected Member Functions | |
| PGButton (const PGButton ©) | |
Private Types | |
| typedef pset< ButtonHandle > | Buttons |
Private Member Functions | |
| virtual | ~PGButton () |
Private Attributes | |
| PUBLISHED | __pad0__: PGButton(const string &name) |
| Buttons | _click_buttons |
| bool | _button_down |
Static Private Attributes | |
| TypeHandle | _type_handle |
|
|
Definition at line 79 of file pgButton.h. |
|
|
Definition at line 50 of file pgButton.cxx. |
|
|
Definition at line 59 of file pgButton.cxx. References _button_down. Referenced by make_copy(). |
|
|
Definition at line 263 of file pgButton.cxx. References _click_buttons. |
|
|
Definition at line 154 of file pgButton.cxx. References get_click_event(), param, PGItem::play_sound(), and throw_event(). Referenced by release(). |
|
|
Reimplemented from PGItem. Definition at line 85 of file pgButton.cxx. References _button_down, PGItem::enter(), PGItem::get_active(), param, S_depressed, S_rollover, and PGItem::set_state(). |
|
|
Reimplemented from PGItem. Definition at line 99 of file pgButton.cxx. References PGItem::exit(), PGItem::get_active(), param, and PGItem::set_state(). |
|
|
Reimplemented from PGItem. Definition at line 96 of file pgButton.h. References PGItem::get_class_type(), and PGItem::init_type(). |
|
|
Reimplemented from PGItem. Definition at line 85 of file pgButton.h. |
|
|
Referenced by click(). |
|
|
|
|
|
Reimplemented from PGItem. Definition at line 93 of file pgButton.h. References PGItem::get_class_type(). |
|
|
Definition at line 289 of file pgButton.cxx. References _click_buttons. |
|
|
Reimplemented from PGItem. Definition at line 88 of file pgButton.h. References PGItem::get_class_type(), PGItem::init_type(), and register_type(). Referenced by init_libpgui(). |
|
|
Reimplemented from PGItem. Definition at line 74 of file pgButton.cxx. References PGButton(). |
|
||||||||||||
|
Reimplemented from PGItem. Definition at line 114 of file pgButton.cxx. References _button_down, PGItem::get_active(), has_click_button(), param, PGItem::press(), S_depressed, and PGItem::set_state(). |
|
||||||||||||
|
Reimplemented from PGItem. Definition at line 132 of file pgButton.cxx. References _button_down, click(), PGItem::get_active(), has_click_button(), param, PGItem::release(), S_rollover, and PGItem::set_state(). |
|
|
Definition at line 277 of file pgButton.cxx. References _click_buttons. |
|
|
Reimplemented from PGItem. Definition at line 247 of file pgButton.cxx. References PGItem::get_active(), S_inactive, PGItem::set_active(), and PGItem::set_state(). |
|
||||||||||||||||||||
|
Definition at line 226 of file pgButton.cxx. References PGItem::clear_state_def(), PGItem::instance_to_state_def(), S_depressed, S_inactive, and S_rollover. |
|
||||||||||||||||
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
Reimplemented from PGItem. Definition at line 37 of file pgButton.h. |
|
|
Reimplemented from PGItem. Definition at line 55 of file pgButton.h. |
|
|
Definition at line 82 of file pgButton.h. Referenced by enter(), PGButton(), press(), and release(). |
|
|
Definition at line 80 of file pgButton.h. Referenced by add_click_button(), has_click_button(), and remove_click_button(). |
|
|
Reimplemented from PGItem. Definition at line 28 of file pgButton.cxx. |
|
|
Definition at line 55 of file pgButton.h. |
|
|
Definition at line 55 of file pgButton.h. Referenced by set_active(), and setup(). |
|
|
Definition at line 55 of file pgButton.h. |
1.3