Public Member Functions | Public Attributes

gui2::tgamestate_inspector::model Class Reference

Collaboration diagram for gui2::tgamestate_inspector::model:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 model (const vconfig &c)
void clear_stuff_list ()
void clear_stuff_types_list ()
void add_row_to_stuff_list (const std::string &id, const std::string &label)
void add_row_to_stuff_types_list (const std::string &id, const std::string &label)
void set_inspect_window_text (const std::string &s)

Public Attributes

vconfig cfg
std::string name
tlistboxstuff_list
tlistboxstuff_types_list
tcontrolinspect
tcontrolinspector_name

Detailed Description

Definition at line 92 of file gamestate_inspector.cpp.


Constructor & Destructor Documentation

gui2::tgamestate_inspector::model::model ( const vconfig c  )  [inline]

Definition at line 94 of file gamestate_inspector.cpp.

References cfg, and name.


Member Function Documentation

void gui2::tgamestate_inspector::model::add_row_to_stuff_list ( const std::string &  id,
const std::string &  label 
) [inline]

Definition at line 120 of file gamestate_inspector.cpp.

References gui2::tlistbox::add_row(), and stuff_list.

Referenced by gui2::team_mode_controller::show_stuff_list(), gui2::unit_mode_controller::show_stuff_list(), and gui2::variable_mode_controller::show_stuff_list().

Here is the call graph for this function:

Here is the caller graph for this function:

void gui2::tgamestate_inspector::model::add_row_to_stuff_types_list ( const std::string &  id,
const std::string &  label 
) [inline]

Definition at line 131 of file gamestate_inspector.cpp.

References gui2::tlistbox::add_row(), and stuff_types_list.

Referenced by gui2::tgamestate_inspector::controller::show_stuff_types_list().

Here is the call graph for this function:

Here is the caller graph for this function:

void gui2::tgamestate_inspector::model::clear_stuff_list (  )  [inline]
void gui2::tgamestate_inspector::model::clear_stuff_types_list (  )  [inline]

Definition at line 115 of file gamestate_inspector.cpp.

References gui2::tlistbox::clear(), and stuff_types_list.

Referenced by gui2::tgamestate_inspector::controller::show_stuff_types_list().

Here is the call graph for this function:

Here is the caller graph for this function:

void gui2::tgamestate_inspector::model::set_inspect_window_text ( const std::string &  s  )  [inline]

Member Data Documentation

Definition at line 100 of file gamestate_inspector.cpp.

Referenced by model().


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

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