Shows the list of addons on the server. More...
#include <addon_list.hpp>


Public Member Functions | |
| taddon_list (const config &cfg) | |
Private Member Functions | |
| void | collapse (tgrid &grid) |
| Collapses the description of an addon. | |
| void | expand (tgrid &grid) |
| Expands the description of an addon. | |
| virtual const std::string & | window_id () const |
| Inherited from tdialog, implemented by REGISTER_DIALOG. | |
| void | pre_show (CVideo &video, twindow &window) |
| Inherited from tdialog. | |
| void | create_campaign (tpane &pane, const config &campaign) |
| Creates a single campaign. | |
| void | load (tpane &pane) |
| Debug function to load a single campaign. | |
Private Attributes | |
| const config & | cfg_ |
| Config which contains the list with the campaigns. | |
| config::const_child_itors | cfg_iterators_ |
| Debug iterators for testing with --new-widgets. | |
Shows the list of addons on the server.
Definition at line 31 of file addon_list.hpp.
| gui2::taddon_list::taddon_list | ( | const config & | cfg | ) | [inline, explicit] |
Definition at line 35 of file addon_list.hpp.
| void gui2::taddon_list::collapse | ( | tgrid & | grid | ) | [private] |
Collapses the description of an addon.
| grid | The grid of the item whose description to collapse. |
Definition at line 59 of file addon_list.cpp.
Creates a single campaign.
| pane | The pane to add the campaigns to. | |
| campaign | A config object containing the campaign info as send by campaignd. |
Definition at line 210 of file addon_list.cpp.
| void gui2::taddon_list::expand | ( | tgrid & | grid | ) | [private] |
Expands the description of an addon.
| grid | The grid of the item whose description to expand. |
Definition at line 71 of file addon_list.cpp.
References gui2::twidget::INVISIBLE, and gui2::twidget::VISIBLE.
| void gui2::taddon_list::load | ( | tpane & | pane | ) | [private] |
Debug function to load a single campaign.
| pane | The pane to add the campaigns to. |
Definition at line 296 of file addon_list.cpp.
Inherited from tdialog.
Reimplemented from gui2::tdialog.
Definition at line 83 of file addon_list.cpp.
| virtual const std::string& gui2::taddon_list::window_id | ( | ) | const [private, virtual] |
Inherited from tdialog, implemented by REGISTER_DIALOG.
Implements gui2::tdialog.
const config& gui2::taddon_list::cfg_ [private] |
Config which contains the list with the campaigns.
Definition at line 75 of file addon_list.hpp.
Debug iterators for testing with --new-widgets.
Definition at line 80 of file addon_list.hpp.
| Generated by doxygen 1.7.1 on Thu May 24 2012 01:21:59 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |