Public Member Functions | |
Stat_bar (Gump *par, int px, int py, Actor *a, int s, int m, unsigned char c) | |
virtual void | double_clicked (int x, int y) |
virtual void | paint () |
virtual void | activate () |
virtual void | push () |
virtual void | unpush () |
virtual void | update_widget () |
virtual bool | is_draggable () |
Private Attributes | |
Actor * | actor |
int | prop |
int | prop_max |
unsigned char | colour |
int | val |
int | max_val |
Definition at line 42 of file Face_stats.cc.
Definition at line 65 of file Face_stats.cc.
References actor, Game_window::add_dirty(), Actor::get_effective_prop(), Gump_widget::get_rect(), Game_singletons::gwin, max_val, prop, prop_max, and val.
Here is the call graph for this function:
void Stat_bar::double_clicked | ( | int | x, | |
int | y | |||
) | [virtual] |
Reimplemented from Gump_button.
Definition at line 75 of file Face_stats.cc.
References actor, Gump_manager::add_gump(), game, Game::get_shape(), and Game_singletons::gumpman.
Referenced by Portrait_button::double_clicked().
Here is the call graph for this function:
void Stat_bar::paint | ( | ) | [virtual] |
Reimplemented from Gump_button.
Definition at line 87 of file Face_stats.cc.
References Image_window8::fill8(), Game_window::get_win(), gwin, Gump_button::paint(), and width.
Referenced by Portrait_button::paint().
Here is the call graph for this function:
virtual void Stat_bar::activate | ( | ) | [inline, virtual] |
virtual void Stat_bar::push | ( | ) | [inline, virtual] |
virtual void Stat_bar::unpush | ( | ) | [inline, virtual] |
void Stat_bar::update_widget | ( | ) | [virtual] |
Reimplemented from Gump_widget.
Definition at line 115 of file Face_stats.cc.
References actor, Game_window::add_dirty(), Actor::get_effective_prop(), Gump_widget::get_rect(), Game_singletons::gwin, max_val, prop, prop_max, and val.
Referenced by Portrait_button::update_widget().
Here is the call graph for this function:
virtual bool Stat_bar::is_draggable | ( | ) | [inline, virtual] |
Actor* Stat_bar::actor [private] |
Definition at line 44 of file Face_stats.cc.
Referenced by double_clicked(), Stat_bar(), and update_widget().
int Stat_bar::prop [private] |
int Stat_bar::prop_max [private] |
unsigned char Stat_bar::colour [private] |
Definition at line 47 of file Face_stats.cc.
int Stat_bar::val [private] |
int Stat_bar::max_val [private] |