The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
mp::connect::side Class Reference

#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 ()
 

Private Attributes

connectparent_
 
ng::side_engine_ptr engine_
 
bool gold_lock_
 
bool income_lock_
 
bool team_lock_
 
bool color_lock_
 
bool changed_
 
gui::label label_player_number_
 
gui::label label_original_controller_
 
gui::label label_gold_
 
gui::label label_income_
 
gui::combo_drag_ptr combo_controller_
 
gui::combo combo_ai_algorithm_
 
gui::combo combo_faction_
 
gui::label label_leader_name_
 
gui::combo combo_leader_
 
gui::combo combo_gender_
 
gui::combo combo_team_
 
gui::combo combo_color_
 
gui::slider slider_gold_
 
gui::slider slider_income_
 

Detailed Description

Definition at line 42 of file multiplayer_connect.hpp.

Constructor & Destructor Documentation

mp::connect::side::side ( connect parent,
ng::side_engine_ptr  engine 
)
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.

Member Function Documentation

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.

ng::side_engine_ptr mp::connect::side::engine ( )
inline

Definition at line 57 of file multiplayer_connect.hpp.

References engine_.

const ng::side_engine_ptr mp::connect::side::engine ( ) const
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().

void mp::connect::side::update_controller_ui ( )
private
void mp::connect::side::update_faction_combo ( )
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().

Member Data Documentation

bool mp::connect::side::changed_
private

Definition at line 75 of file multiplayer_connect.hpp.

bool mp::connect::side::color_lock_
private

Definition at line 73 of file multiplayer_connect.hpp.

Referenced by side().

gui::combo mp::connect::side::combo_ai_algorithm_
private

Definition at line 82 of file multiplayer_connect.hpp.

gui::combo mp::connect::side::combo_color_
private

Definition at line 88 of file multiplayer_connect.hpp.

Referenced by side().

gui::combo_drag_ptr mp::connect::side::combo_controller_
private

Definition at line 81 of file multiplayer_connect.hpp.

gui::combo mp::connect::side::combo_faction_
private

Definition at line 83 of file multiplayer_connect.hpp.

Referenced by side().

gui::combo mp::connect::side::combo_gender_
private

Definition at line 86 of file multiplayer_connect.hpp.

Referenced by side().

gui::combo mp::connect::side::combo_leader_
private

Definition at line 85 of file multiplayer_connect.hpp.

Referenced by side().

gui::combo mp::connect::side::combo_team_
private

Definition at line 87 of file multiplayer_connect.hpp.

Referenced by side().

ng::side_engine_ptr mp::connect::side::engine_
private

Definition at line 67 of file multiplayer_connect.hpp.

Referenced by engine(), and side().

bool mp::connect::side::gold_lock_
private

Definition at line 70 of file multiplayer_connect.hpp.

Referenced by side().

bool mp::connect::side::income_lock_
private

Definition at line 71 of file multiplayer_connect.hpp.

Referenced by side().

gui::label mp::connect::side::label_gold_
private

Definition at line 79 of file multiplayer_connect.hpp.

Referenced by side().

gui::label mp::connect::side::label_income_
private

Definition at line 80 of file multiplayer_connect.hpp.

Referenced by side().

gui::label mp::connect::side::label_leader_name_
private

Definition at line 84 of file multiplayer_connect.hpp.

gui::label mp::connect::side::label_original_controller_
private

Definition at line 78 of file multiplayer_connect.hpp.

gui::label mp::connect::side::label_player_number_
private

Definition at line 77 of file multiplayer_connect.hpp.

connect* mp::connect::side::parent_
private

Definition at line 66 of file multiplayer_connect.hpp.

Referenced by side().

gui::slider mp::connect::side::slider_gold_
private

Definition at line 89 of file multiplayer_connect.hpp.

Referenced by side().

gui::slider mp::connect::side::slider_income_
private

Definition at line 90 of file multiplayer_connect.hpp.

Referenced by side().

bool mp::connect::side::team_lock_
private

Definition at line 72 of file multiplayer_connect.hpp.

Referenced by side().


The documentation for this class was generated from the following files: