#include <GameplayOptions_gump.h>
Inheritance diagram for GameplayOptions_gump:
Public Member Functions | |
GameplayOptions_gump () | |
~GameplayOptions_gump () | |
virtual void | paint () |
virtual void | close () |
virtual void | mouse_down (int mx, int my) |
virtual void | mouse_up (int mx, int my) |
void | toggle (Gump_button *btn, int state) |
void | build_buttons () |
void | load_settings () |
void | save_settings () |
void | cancel () |
Private Member Functions | |
UNREPLICATABLE_CLASS_I (GameplayOptions_gump, Modal_gump(0, 0, 0, 0)) | |
Private Attributes | |
Gump_button * | buttons [14] |
int | facestats |
int | fastmouse |
int | mouse3rd |
int | doubleclick |
int | rightclick_close |
int | cheats |
int | paperdolls |
int | text_bg |
int | frames |
int | doubleright_move |
int | gumps_pause |
std::string * | frametext |
int | num_framerates |
Definition at line 27 of file GameplayOptions_gump.h.
GameplayOptions_gump::GameplayOptions_gump | ( | ) |
Definition at line 253 of file GameplayOptions_gump.cc.
References build_buttons(), buttons, canceltext, colx, load_settings(), oktext, rowy, and Gump::set_object_area().
Here is the call graph for this function:
GameplayOptions_gump::~GameplayOptions_gump | ( | ) |
GameplayOptions_gump::UNREPLICATABLE_CLASS_I | ( | GameplayOptions_gump | , | |
Modal_gump(0, 0, 0, 0) | ||||
) | [private] |
void GameplayOptions_gump::paint | ( | ) | [virtual] |
Reimplemented from Gump.
Definition at line 310 of file GameplayOptions_gump.cc.
References buttons, colx, GAME_BG, Game_singletons::gwin, Gump::paint(), Shape_manager::paint_text(), rowy, Game_window::set_painted(), Game_singletons::sman, Gump::x, and Gump::y.
Here is the call graph for this function:
void GameplayOptions_gump::close | ( | ) | [virtual] |
Reimplemented from Gump.
Definition at line 109 of file GameplayOptions_gump.cc.
References Modal_gump::done, and save_settings().
Here is the call graph for this function:
void GameplayOptions_gump::mouse_down | ( | int | mx, | |
int | my | |||
) | [virtual] |
Implements Modal_gump.
Definition at line 332 of file GameplayOptions_gump.cc.
References buttons, Gump::on_button(), Gump_button::push(), and Modal_gump::pushed.
Here is the call graph for this function:
void GameplayOptions_gump::mouse_up | ( | int | mx, | |
int | my | |||
) | [virtual] |
Implements Modal_gump.
Definition at line 351 of file GameplayOptions_gump.cc.
References Gump_button::on_button(), Modal_gump::pushed, and Gump_button::unpush().
Here is the call graph for this function:
void GameplayOptions_gump::toggle | ( | Gump_button * | btn, | |
int | state | |||
) |
Definition at line 120 of file GameplayOptions_gump.cc.
References buttons, cheats, doubleclick, doubleright_move, facestats, fastmouse, frames, gumps_pause, mouse3rd, paperdolls, rightclick_close, and text_bg.
void GameplayOptions_gump::build_buttons | ( | ) |
Definition at line 146 of file GameplayOptions_gump.cc.
References buttons, cheats, colx, doubleclick, doubleright_move, facestats, fastmouse, frames, frametext, GAME_BG, gumps_pause, mouse3rd, num_framerates, paperdolls, rightclick_close, rowy, and text_bg.
Referenced by GameplayOptions_gump().
void GameplayOptions_gump::load_settings | ( | ) |
Definition at line 215 of file GameplayOptions_gump.cc.
References Gump_manager::can_right_click_close(), cheat, cheats, doubleclick, doubleright_move, facestats, fastmouse, frames, framestring(), frametext, Game_window::get_allow_double_right_move(), Shape_manager::get_bg_paperdolls(), Game_window::get_double_click_closes_gumps(), Game_window::get_fastmouse(), Game_window::get_mouse3rd(), Face_stats::get_state(), Game_window::get_std_delay(), Game_window::get_text_bg(), Game_singletons::gumpman, Gump_manager::gumps_dont_pause_game(), gumps_pause, Game_singletons::gwin, mouse3rd, num_default_rates, num_framerates, paperdolls, rightclick_close, Game_singletons::sman, and text_bg.
Referenced by GameplayOptions_gump().
Here is the call graph for this function:
void GameplayOptions_gump::save_settings | ( | ) |
Definition at line 278 of file GameplayOptions_gump.cc.
References Face_stats::AdvanceState(), Shape_manager::can_use_paperdolls(), cheat, cheats, config, doubleclick, doubleright_move, facestats, fastmouse, frames, GAME_BG, Face_stats::get_state(), Game_singletons::gumpman, gumps_pause, Game_singletons::gwin, mouse3rd, paperdolls, rightclick_close, Face_stats::save_config(), Configuration::set(), Game_window::set_allow_double_right_move(), Shape_manager::set_bg_paperdolls(), Game_window::set_double_click_closes_gumps(), Cheat::set_enabled(), Game_window::set_fastmouse(), Gump_manager::set_gumps_dont_pause_game(), Game_window::set_mouse3rd(), Gump_manager::set_right_click_close(), Game_window::set_std_delay(), Game_window::set_text_bg(), Game_singletons::sman, and text_bg.
Referenced by close().
Here is the call graph for this function:
void GameplayOptions_gump::cancel | ( | ) |
Gump_button* GameplayOptions_gump::buttons[14] [private] |
Definition at line 32 of file GameplayOptions_gump.h.
Referenced by build_buttons(), GameplayOptions_gump(), mouse_down(), paint(), toggle(), and ~GameplayOptions_gump().
int GameplayOptions_gump::facestats [private] |
Definition at line 34 of file GameplayOptions_gump.h.
Referenced by build_buttons(), load_settings(), save_settings(), and toggle().
int GameplayOptions_gump::fastmouse [private] |
Definition at line 35 of file GameplayOptions_gump.h.
Referenced by build_buttons(), load_settings(), save_settings(), and toggle().
int GameplayOptions_gump::mouse3rd [private] |
Definition at line 36 of file GameplayOptions_gump.h.
Referenced by build_buttons(), load_settings(), save_settings(), and toggle().
int GameplayOptions_gump::doubleclick [private] |
Definition at line 37 of file GameplayOptions_gump.h.
Referenced by build_buttons(), load_settings(), save_settings(), and toggle().
int GameplayOptions_gump::rightclick_close [private] |
Definition at line 38 of file GameplayOptions_gump.h.
Referenced by build_buttons(), load_settings(), save_settings(), and toggle().
int GameplayOptions_gump::cheats [private] |
Definition at line 39 of file GameplayOptions_gump.h.
Referenced by build_buttons(), load_settings(), save_settings(), and toggle().
int GameplayOptions_gump::paperdolls [private] |
Definition at line 40 of file GameplayOptions_gump.h.
Referenced by build_buttons(), load_settings(), save_settings(), and toggle().
int GameplayOptions_gump::text_bg [private] |
Definition at line 41 of file GameplayOptions_gump.h.
Referenced by build_buttons(), load_settings(), save_settings(), and toggle().
int GameplayOptions_gump::frames [private] |
Definition at line 42 of file GameplayOptions_gump.h.
Referenced by build_buttons(), load_settings(), save_settings(), and toggle().
int GameplayOptions_gump::doubleright_move [private] |
Definition at line 43 of file GameplayOptions_gump.h.
Referenced by build_buttons(), load_settings(), save_settings(), and toggle().
int GameplayOptions_gump::gumps_pause [private] |
Definition at line 44 of file GameplayOptions_gump.h.
Referenced by build_buttons(), load_settings(), save_settings(), and toggle().
std::string* GameplayOptions_gump::frametext [private] |
Definition at line 46 of file GameplayOptions_gump.h.
Referenced by build_buttons(), and load_settings().
int GameplayOptions_gump::num_framerates [private] |
Definition at line 47 of file GameplayOptions_gump.h.
Referenced by build_buttons(), and load_settings().