#include <Gump_button.h>
Inheritance diagram for Gump_button:
Public Member Functions | |
Gump_button (Gump *par, int shnum, int px, int py, ShapeFile shfile=SF_GUMPS_VGA) | |
virtual int | on_button (int mx, int my) |
virtual void | activate ()=0 |
virtual void | double_clicked (int x, int y) |
virtual void | push () |
virtual void | unpush () |
virtual void | paint () |
Protected Attributes | |
unsigned char | pushed |
Private Member Functions | |
UNREPLICATABLE_CLASS (Gump_button) | |
Friends | |
class | Gump |
Definition at line 27 of file Gump_button.h.
Gump_button::Gump_button | ( | Gump * | par, | |
int | shnum, | |||
int | px, | |||
int | py, | |||
ShapeFile | shfile = SF_GUMPS_VGA | |||
) | [inline] |
Definition at line 36 of file Gump_button.h.
Gump_button::UNREPLICATABLE_CLASS | ( | Gump_button | ) | [private] |
virtual int Gump_button::on_button | ( | int | mx, | |
int | my | |||
) | [inline, virtual] |
Reimplemented in Portrait_button, and Text_button.
Definition at line 41 of file Gump_button.h.
References Gump_widget::on_widget().
Referenced by Portrait_button::double_clicked(), VideoOptions_gump::mouse_up(), GameplayOptions_gump::mouse_up(), Gamemenu_gump::mouse_up(), CombatOptions_gump::mouse_up(), AudioOptions_gump::mouse_up(), and Portrait_button::on_button().
Here is the call graph for this function:
virtual void Gump_button::activate | ( | ) | [pure virtual] |
Implemented in AudioOptions_button, CombatOptions_button, Enabled_button, Face_button, Stat_bar, Load_save_button, Quit_button, Sound_button, Gamemenu_button, GameplayOptions_button, Gump_ToggleButton, Gump_ToggleTextButton, Checkmark_button, Heart_button, Disk_button, Combat_button, Halo_button, Combat_mode_button, Cstats_button, Newfile_button, Newfile_Textbutton, Slider_button, Page_button, Bookmark_button, Spell_button, VideoOptions_button, and Yesno_button.
Referenced by Newfile_gump::text_input(), and File_gump::text_input().
void Gump_button::double_clicked | ( | int | x, | |
int | y | |||
) | [virtual] |
Reimplemented in Face_button, Stat_bar, Portrait_button, and Spell_button.
Definition at line 59 of file Gump_button.cc.
Referenced by Gump_manager::double_clicked().
void Gump_button::push | ( | ) | [virtual] |
Reimplemented in Face_button, Stat_bar, Page_button, Bookmark_button, and Spell_button.
Definition at line 33 of file Gump_button.cc.
References gwin, and Game_window::set_painted().
Referenced by VideoOptions_gump::mouse_down(), Slider_gump::mouse_down(), GameplayOptions_gump::mouse_down(), Gamemenu_gump::mouse_down(), File_gump::mouse_down(), CombatOptions_gump::mouse_down(), AudioOptions_gump::mouse_down(), Newfile_gump::text_input(), and File_gump::text_input().
Here is the call graph for this function:
void Gump_button::unpush | ( | ) | [virtual] |
Reimplemented in Face_button, Stat_bar, Page_button, Bookmark_button, and Spell_button.
Definition at line 46 of file Gump_button.cc.
References gwin, and Game_window::set_painted().
Referenced by VideoOptions_gump::mouse_up(), GameplayOptions_gump::mouse_up(), Gamemenu_gump::mouse_up(), CombatOptions_gump::mouse_up(), AudioOptions_gump::mouse_up(), Newfile_gump::text_input(), and File_gump::text_input().
Here is the call graph for this function:
void Gump_button::paint | ( | ) | [virtual] |
Reimplemented from Gump_widget.
Reimplemented in Stat_bar, Portrait_button, Combat_button, and Text_button.
Definition at line 70 of file Gump_button.cc.
References Ucscript::prev_frame.
Referenced by Gump_ToggleButton::activate(), Combat_button::paint(), Jawbone_gump::paint(), Portrait_button::paint(), Stat_bar::paint(), CombatStats_gump::paint(), Spellscroll_gump::paint_button(), Spellbook_gump::paint_button(), Newfile_gump::text_input(), and File_gump::text_input().
friend class Gump [friend] |
unsigned char Gump_button::pushed [protected] |
Definition at line 32 of file Gump_button.h.
Referenced by Combat_button::Combat_button(), Halo_button::Halo_button(), Text_button::paint(), and Sound_button::Sound_button().