#include <Modal_gump.h>
Inheritance diagram for Modal_gump:


Public Member Functions | |
| Modal_gump (Container_game_object *cont, int initx, int inity, int shnum, ShapeFile shfile=SF_GUMPS_VGA) | |
| Modal_gump (Container_game_object *cont, int shnum, ShapeFile shfile=SF_GUMPS_VGA) | |
| bool | is_done () |
| virtual void | mouse_down (int mx, int my)=0 |
| virtual void | mouse_up (int mx, int my)=0 |
| virtual void | mousewheel_down () |
| virtual void | mousewheel_up () |
| virtual void | mouse_drag (int mx, int my) |
| virtual void | key_down (int chr) |
| virtual void | text_input (int chr, int unicode) |
| virtual bool | is_modal () const |
Protected Attributes | |
| bool | done |
| Gump_button * | pushed |
Private Member Functions | |
| UNREPLICATABLE_CLASS (Modal_gump) | |
Definition at line 29 of file Modal_gump.h.
| Modal_gump::Modal_gump | ( | Container_game_object * | cont, | |
| int | initx, | |||
| int | inity, | |||
| int | shnum, | |||
| ShapeFile | shfile = SF_GUMPS_VGA | |||
| ) | [inline] |
Definition at line 38 of file Modal_gump.h.
| Modal_gump::Modal_gump | ( | Container_game_object * | cont, | |
| int | shnum, | |||
| ShapeFile | shfile = SF_GUMPS_VGA | |||
| ) | [inline] |
Definition at line 44 of file Modal_gump.h.
| Modal_gump::UNREPLICATABLE_CLASS | ( | Modal_gump | ) | [private] |
| bool Modal_gump::is_done | ( | ) | [inline] |
Definition at line 48 of file Modal_gump.h.
References done.
Referenced by Gump_manager::do_modal_gump().
| virtual void Modal_gump::mouse_down | ( | int | mx, | |
| int | my | |||
| ) | [pure virtual] |
Implemented in AudioOptions_gump, CombatOptions_gump, File_gump, Gamemenu_gump, GameplayOptions_gump, Newfile_gump, Slider_gump, VideoOptions_gump, and Yesno_gump.
Referenced by Gump_manager::handle_modal_gump_event().
| virtual void Modal_gump::mouse_up | ( | int | mx, | |
| int | my | |||
| ) | [pure virtual] |
Implemented in AudioOptions_gump, CombatOptions_gump, File_gump, Gamemenu_gump, GameplayOptions_gump, Newfile_gump, Slider_gump, VideoOptions_gump, and Yesno_gump.
Referenced by Gump_manager::handle_modal_gump_event().
| virtual void Modal_gump::mousewheel_down | ( | ) | [inline, virtual] |
Reimplemented in Newfile_gump, and Slider_gump.
Definition at line 53 of file Modal_gump.h.
Referenced by Gump_manager::handle_modal_gump_event().
| virtual void Modal_gump::mousewheel_up | ( | ) | [inline, virtual] |
Reimplemented in Newfile_gump, and Slider_gump.
Definition at line 54 of file Modal_gump.h.
Referenced by Gump_manager::handle_modal_gump_event().
| virtual void Modal_gump::mouse_drag | ( | int | mx, | |
| int | my | |||
| ) | [inline, virtual] |
Reimplemented in Newfile_gump, and Slider_gump.
Definition at line 55 of file Modal_gump.h.
Referenced by Gump_manager::handle_modal_gump_event().
| virtual void Modal_gump::key_down | ( | int | chr | ) | [inline, virtual] |
Reimplemented in Slider_gump, and Yesno_gump.
Definition at line 57 of file Modal_gump.h.
Referenced by Gump_manager::handle_modal_gump_event().
| virtual void Modal_gump::text_input | ( | int | chr, | |
| int | unicode | |||
| ) | [inline, virtual] |
Reimplemented in File_gump, and Newfile_gump.
Definition at line 59 of file Modal_gump.h.
Referenced by Gump_manager::handle_modal_gump_event().
| virtual bool Modal_gump::is_modal | ( | ) | const [inline, virtual] |
bool Modal_gump::done [protected] |
Definition at line 34 of file Modal_gump.h.
Referenced by VideoOptions_gump::cancel(), GameplayOptions_gump::cancel(), CombatOptions_gump::cancel(), AudioOptions_gump::cancel(), VideoOptions_gump::close(), Slider_gump::close(), Newfile_gump::close(), GameplayOptions_gump::close(), Gamemenu_gump::close(), File_gump::close(), CombatOptions_gump::close(), AudioOptions_gump::close(), is_done(), Slider_gump::key_down(), Newfile_gump::load(), Gamemenu_gump::loadsave(), Gamemenu_gump::quit(), and Yesno_gump::set_answer().
Gump_button* Modal_gump::pushed [protected] |
Definition at line 35 of file Modal_gump.h.
Referenced by VideoOptions_gump::mouse_down(), GameplayOptions_gump::mouse_down(), Gamemenu_gump::mouse_down(), CombatOptions_gump::mouse_down(), AudioOptions_gump::mouse_down(), VideoOptions_gump::mouse_up(), GameplayOptions_gump::mouse_up(), Gamemenu_gump::mouse_up(), CombatOptions_gump::mouse_up(), and AudioOptions_gump::mouse_up().
1.5.1