#include <uninstall_list.hpp>


Public Member Functions | |
| taddon_uninstall_list (const std::vector< std::string > &addon_ids) | |
| Constructor. | |
| std::vector< std::string > | selected_addons () const |
Private Member Functions | |
| 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 | post_show (twindow &window) |
| Inherited from tdialog. | |
Private Attributes | |
| std::vector< std::string > | ids_ |
| std::vector< std::string > | names_ |
| std::map< std::string, bool > | selections_ |
Definition at line 25 of file uninstall_list.hpp.
| gui2::taddon_uninstall_list::taddon_uninstall_list | ( | const std::vector< std::string > & | addon_ids | ) | [inline, explicit] |
Constructor.
| addon_ids | The information about the addon to show. |
Definition at line 34 of file uninstall_list.hpp.
| void gui2::taddon_uninstall_list::post_show | ( | twindow & | window | ) | [private, virtual] |
Inherited from tdialog.
Reimplemented from gui2::tdialog.
Definition at line 79 of file uninstall_list.cpp.
References gui2::tlistbox::get_item_count(), gui2::tdialog::get_retval(), gui2::tlistbox::get_row_grid(), gui2::ttoggle_button::get_value(), ids_, names_, and selections_.

Inherited from tdialog.
Reimplemented from gui2::tdialog.
Definition at line 58 of file uninstall_list.cpp.
References gui2::tlistbox::add_row(), and make_addon_title().

| std::vector< std::string > gui2::taddon_uninstall_list::selected_addons | ( | ) | const |
Definition at line 98 of file uninstall_list.cpp.
References selections_.
| virtual const std::string& gui2::taddon_uninstall_list::window_id | ( | ) | const [private, virtual] |
Inherited from tdialog, implemented by REGISTER_DIALOG.
Implements gui2::tdialog.
std::vector<std::string> gui2::taddon_uninstall_list::ids_ [private] |
Definition at line 40 of file uninstall_list.hpp.
Referenced by post_show().
std::vector<std::string> gui2::taddon_uninstall_list::names_ [private] |
Definition at line 41 of file uninstall_list.hpp.
Referenced by post_show().
std::map<std::string, bool> gui2::taddon_uninstall_list::selections_ [private] |
Definition at line 42 of file uninstall_list.hpp.
Referenced by post_show(), and selected_addons().
| Generated by doxygen 1.7.1 on Thu May 24 2012 01:21:59 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |