#include <multiplayer_connect.hpp>
Public Member Functions | |
side (connect &parent, ng::side_engine_ptr engine) | |
side (const side &a) | |
~side () | |
void | process_event () |
bool | changed () |
void | update_ui () |
void | add_widgets_to_scrollpane (gui::scrollpane &pane, int pos) |
ng::side_engine_ptr | engine () |
const ng::side_engine_ptr | engine () const |
Private Member Functions | |
void | update_faction_combo () |
void | update_controller_ui () |
Definition at line 42 of file multiplayer_connect.hpp.
mp::connect::side::side | ( | connect & | parent, |
ng::side_engine_ptr | engine | ||
) |
Definition at line 65 of file multiplayer_connect.cpp.
References color_lock_, combo_color_, combo_faction_, combo_gender_, combo_leader_, combo_team_, DBG_MP, gui::slider::enable(), gui::widget::enable(), gui::button::enable(), engine_, gold_lock_, gui::widget::hide(), income_lock_, label_gold_, label_income_, mp::connect::params(), parent_, mp_game_settings::saved_game, gui::slider::set_increment(), gui::slider::set_max(), gui::widget::set_measurements(), gui::slider::set_min(), gui::slider::set_value(), slider_gold_, slider_income_, team_lock_, update_ui(), and mp_game_settings::use_map_settings.
mp::connect::side::side | ( | const side & | a | ) |
Definition at line 134 of file multiplayer_connect.cpp.
mp::connect::side::~side | ( | ) |
Definition at line 159 of file multiplayer_connect.cpp.
void mp::connect::side::add_widgets_to_scrollpane | ( | gui::scrollpane & | pane, |
int | pos | ||
) |
Definition at line 265 of file multiplayer_connect.cpp.
References gui::scrollpane::add_widget(), and pos.
bool mp::connect::side::changed | ( | ) |
Definition at line 231 of file multiplayer_connect.cpp.
|
inline |
Definition at line 57 of file multiplayer_connect.hpp.
References engine_.
|
inline |
Definition at line 58 of file multiplayer_connect.hpp.
References engine_.
void mp::connect::side::process_event | ( | ) |
Definition at line 163 of file multiplayer_connect.cpp.
References mp::connect::engine_, and mp::get_income_string().
|
private |
Definition at line 320 of file multiplayer_connect.cpp.
References ng::CNTR_COMPUTER, mp::controller_options_names(), mp::connect::engine_, i, ai::description::id, and ai::description::text.
|
private |
Definition at line 297 of file multiplayer_connect.cpp.
References COLUMN_SEPARATOR, mp::connect::engine_, and IMAGE_PREFIX.
void mp::connect::side::update_ui | ( | ) |
Definition at line 241 of file multiplayer_connect.cpp.
References _(), and mp::connect::engine_.
Referenced by side().
|
private |
Definition at line 75 of file multiplayer_connect.hpp.
|
private |
Definition at line 73 of file multiplayer_connect.hpp.
Referenced by side().
|
private |
Definition at line 82 of file multiplayer_connect.hpp.
|
private |
Definition at line 88 of file multiplayer_connect.hpp.
Referenced by side().
|
private |
Definition at line 81 of file multiplayer_connect.hpp.
|
private |
Definition at line 83 of file multiplayer_connect.hpp.
Referenced by side().
|
private |
Definition at line 86 of file multiplayer_connect.hpp.
Referenced by side().
|
private |
Definition at line 85 of file multiplayer_connect.hpp.
Referenced by side().
|
private |
Definition at line 87 of file multiplayer_connect.hpp.
Referenced by side().
|
private |
Definition at line 67 of file multiplayer_connect.hpp.
|
private |
Definition at line 70 of file multiplayer_connect.hpp.
Referenced by side().
|
private |
Definition at line 71 of file multiplayer_connect.hpp.
Referenced by side().
|
private |
Definition at line 79 of file multiplayer_connect.hpp.
Referenced by side().
|
private |
Definition at line 80 of file multiplayer_connect.hpp.
Referenced by side().
|
private |
Definition at line 84 of file multiplayer_connect.hpp.
|
private |
Definition at line 78 of file multiplayer_connect.hpp.
|
private |
Definition at line 77 of file multiplayer_connect.hpp.
|
private |
Definition at line 66 of file multiplayer_connect.hpp.
Referenced by side().
|
private |
Definition at line 89 of file multiplayer_connect.hpp.
Referenced by side().
|
private |
Definition at line 90 of file multiplayer_connect.hpp.
Referenced by side().
|
private |
Definition at line 72 of file multiplayer_connect.hpp.
Referenced by side().