Public Member Functions | Private Member Functions | Private Attributes

gui2::taddon_uninstall_list Class Reference

#include <uninstall_list.hpp>

Inheritance diagram for gui2::taddon_uninstall_list:
Inheritance graph
[legend]
Collaboration diagram for gui2::taddon_uninstall_list:
Collaboration graph
[legend]

List of all members.

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_

Detailed Description

Definition at line 25 of file uninstall_list.hpp.


Constructor & Destructor Documentation

gui2::taddon_uninstall_list::taddon_uninstall_list ( const std::vector< std::string > &  addon_ids  )  [inline, explicit]

Constructor.

Parameters:
addon_ids The information about the addon to show.

Definition at line 34 of file uninstall_list.hpp.


Member Function Documentation

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_.

Here is the call graph for this function:

void gui2::taddon_uninstall_list::pre_show ( CVideo video,
twindow window 
) [private, virtual]

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

Here is the call graph for this function:

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.


Member Data Documentation

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


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Thu May 24 2012 01:21:59 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs