

Public Member Functions | |
| lobby_sorter (const config &cfg) | |
Private Types | |
| enum | { MAP_COLUMN = 0, STATUS_COLUMN = 2 } |
Private Member Functions | |
| bool | column_sortable (int column) const |
| bool | less (int column, const gui::menu::item &row1, const gui::menu::item &row2) const |
Private Attributes | |
| const config & | cfg_ |
Definition at line 155 of file multiplayer_lobby.hpp.
anonymous enum [private] |
Definition at line 162 of file multiplayer_lobby.hpp.
| mp::lobby::lobby_sorter::lobby_sorter | ( | const config & | cfg | ) |
Definition at line 666 of file multiplayer_lobby.cpp.
References gui::menu::basic_sorter::set_alpha_sort().

| bool mp::lobby::lobby_sorter::column_sortable | ( | int | column | ) | const [private, virtual] |
Reimplemented from gui::menu::basic_sorter.
Definition at line 671 of file multiplayer_lobby.cpp.
References MAP_COLUMN, and STATUS_COLUMN.
| bool mp::lobby::lobby_sorter::less | ( | int | column, | |
| const gui::menu::item & | row1, | |||
| const gui::menu::item & | row2 | |||
| ) | const [private, virtual] |
Reimplemented from gui::menu::basic_sorter.
Definition at line 683 of file multiplayer_lobby.cpp.
References cfg_, config::child(), config::child_count(), config::child_range(), gui::menu::item::id, MAP_COLUMN, and STATUS_COLUMN.

const config& mp::lobby::lobby_sorter::cfg_ [private] |
Definition at line 157 of file multiplayer_lobby.hpp.
Referenced by less().
| Generated by doxygen 1.7.1 on Thu May 24 2012 01:24:52 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |