#include <lobby_player_info.hpp>


Definition at line 30 of file lobby_player_info.hpp.
| gui2::tlobby_player_info::tlobby_player_info | ( | events::chat_handler & | chat, | |
| user_info & | info, | |||
| const lobby_info & | li | |||
| ) |
Definition at line 32 of file lobby_player_info.cpp.
| gui2::tlobby_player_info::~tlobby_player_info | ( | ) |
Definition at line 39 of file lobby_player_info.cpp.
| void gui2::tlobby_player_info::add_to_friends_button_callback | ( | twindow & | w | ) | [private] |
Definition at line 152 of file lobby_player_info.cpp.
References preferences::add_friend(), info_, user_info::name, user_info::relation, and update_relation().
Referenced by pre_show().


| void gui2::tlobby_player_info::add_to_ignores_button_callback | ( | twindow & | w | ) | [private] |
Definition at line 159 of file lobby_player_info.cpp.
References preferences::add_ignore(), info_, user_info::name, user_info::relation, and update_relation().
Referenced by pre_show().


| void gui2::tlobby_player_info::check_status_button_callback | ( | twindow & | w | ) | [private] |
Definition at line 180 of file lobby_player_info.cpp.
References chat_, gui2::twindow::close(), info_, user_info::name, and events::chat_handler::send_command().
Referenced by pre_show().


| void gui2::tlobby_player_info::do_kick_ban | ( | bool | ban | ) | [private] |
Definition at line 198 of file lobby_player_info.cpp.
References chat_, gui2::ttext_::get_value(), if(), info_, user_info::name, reason_, events::chat_handler::send_command(), and time_.
Referenced by kick_ban_button_callback(), and kick_button_callback().


| void gui2::tlobby_player_info::kick_ban_button_callback | ( | twindow & | w | ) | [private] |
Definition at line 192 of file lobby_player_info.cpp.
References gui2::twindow::close(), and do_kick_ban().
Referenced by pre_show().


| void gui2::tlobby_player_info::kick_button_callback | ( | twindow & | w | ) | [private] |
Definition at line 186 of file lobby_player_info.cpp.
References gui2::twindow::close(), and do_kick_ban().
Referenced by pre_show().


| void gui2::tlobby_player_info::post_show | ( | twindow & | window | ) | [private, virtual] |
Inherited from tdialog.
Reimplemented from gui2::tdialog.
Definition at line 118 of file lobby_player_info.cpp.
Inherited from tdialog.
Reimplemented from gui2::tdialog.
Definition at line 43 of file lobby_player_info.cpp.
References _, add_to_friends_, add_to_friends_button_callback(), add_to_ignores_, add_to_ignores_button_callback(), check_status_button_callback(), gui2::event::connect_signal_mouse_left_click(), user_info::game_id, lobby_info::get_game_by_id(), info_, gui2::twidget::INVISIBLE, preferences::is_authenticated(), kick_ban_button_callback(), kick_button_callback(), lobby_info_, game_info::name, user_info::name, user_info::observing, relation_, remove_from_list_, remove_from_list_button_callback(), gui2::set_label(), gui2::twidget::set_visible(), start_whisper_button_callback(), and update_relation().

| void gui2::tlobby_player_info::remove_from_list_button_callback | ( | twindow & | w | ) | [private] |
Definition at line 166 of file lobby_player_info.cpp.
References info_, user_info::name, user_info::relation, preferences::remove_friend(), preferences::remove_ignore(), and update_relation().
Referenced by pre_show().


| bool gui2::tlobby_player_info::result_open_whisper | ( | ) | const [inline] |
Definition at line 37 of file lobby_player_info.hpp.
References result_open_whisper_.
Referenced by gui2::tlobby_main::user_dialog_callback().

| void gui2::tlobby_player_info::start_whisper_button_callback | ( | twindow & | w | ) | [private] |
Definition at line 174 of file lobby_player_info.cpp.
References gui2::twindow::close(), and result_open_whisper_.
Referenced by pre_show().


| void gui2::tlobby_player_info::update_relation | ( | twindow & | w | ) | [private] |
Definition at line 122 of file lobby_player_info.cpp.
References _, add_to_friends_, add_to_ignores_, user_info::FRIEND, user_info::IGNORED, info_, gui2::twindow::invalidate_layout(), user_info::ME, user_info::NEUTRAL, user_info::relation, relation_, remove_from_list_, gui2::tbutton::set_active(), and gui2::tcontrol::set_label().
Referenced by add_to_friends_button_callback(), add_to_ignores_button_callback(), pre_show(), and remove_from_list_button_callback().


| virtual const std::string& gui2::tlobby_player_info::window_id | ( | ) | const [private, virtual] |
Inherited from tdialog, implemented by REGISTER_DIALOG.
Implements gui2::tdialog.
tbutton* gui2::tlobby_player_info::add_to_friends_ [private] |
Definition at line 78 of file lobby_player_info.hpp.
Referenced by pre_show(), and update_relation().
tbutton* gui2::tlobby_player_info::add_to_ignores_ [private] |
Definition at line 80 of file lobby_player_info.hpp.
Referenced by pre_show(), and update_relation().
Definition at line 68 of file lobby_player_info.hpp.
Referenced by check_status_button_callback(), and do_kick_ban().
user_info& gui2::tlobby_player_info::info_ [private] |
Definition at line 70 of file lobby_player_info.hpp.
Referenced by add_to_friends_button_callback(), add_to_ignores_button_callback(), check_status_button_callback(), do_kick_ban(), pre_show(), remove_from_list_button_callback(), and update_relation().
const lobby_info& gui2::tlobby_player_info::lobby_info_ [private] |
Definition at line 86 of file lobby_player_info.hpp.
Referenced by pre_show().
ttext_box* gui2::tlobby_player_info::reason_ [private] |
Definition at line 72 of file lobby_player_info.hpp.
Referenced by do_kick_ban().
tlabel* gui2::tlobby_player_info::relation_ [private] |
Definition at line 76 of file lobby_player_info.hpp.
Referenced by pre_show(), and update_relation().
Definition at line 82 of file lobby_player_info.hpp.
Referenced by pre_show(), and update_relation().
bool gui2::tlobby_player_info::result_open_whisper_ [private] |
Definition at line 84 of file lobby_player_info.hpp.
Referenced by result_open_whisper(), and start_whisper_button_callback().
ttext_box* gui2::tlobby_player_info::time_ [private] |
Definition at line 74 of file lobby_player_info.hpp.
Referenced by do_kick_ban().
| Generated by doxygen 1.7.1 on Thu May 24 2012 01:22:30 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |