The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
gui2::tgamestate_inspector::model Class Reference

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, bool colorize=false)
 
void add_row_to_stuff_types_list (const std::string &id, const std::string &label, bool colorize=false)
 
void set_inspect_window_text (const std::string &s, unsigned int page=0)
 
unsigned int get_num_page (const std::string &s)
 

Public Attributes

vconfig cfg
 
std::string name
 
tlistboxstuff_list
 
tlistboxstuff_types_list
 
tcontrolinspect
 
tcontrolinspector_name
 
tbuttoncopy_button
 
tbuttonlua_button
 

Static Public Attributes

static const unsigned int max_inspect_win_len = 20000
 

Detailed Description

Definition at line 132 of file gamestate_inspector.cpp.

Constructor & Destructor Documentation

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

Definition at line 135 of file gamestate_inspector.cpp.

References cfg.

Member Function Documentation

void gui2::tgamestate_inspector::model::add_row_to_stuff_list ( const std::string id,
const std::string label,
bool  colorize = false 
)
inline
void gui2::tgamestate_inspector::model::add_row_to_stuff_types_list ( const std::string id,
const std::string label,
bool  colorize = false 
)
inline
void gui2::tgamestate_inspector::model::clear_stuff_list ( )
inline
void gui2::tgamestate_inspector::model::clear_stuff_types_list ( )
inline
unsigned int gui2::tgamestate_inspector::model::get_num_page ( const std::string s)
inline
void gui2::tgamestate_inspector::model::set_inspect_window_text ( const std::string s,
unsigned int  page = 0 
)
inline

Member Data Documentation

vconfig gui2::tgamestate_inspector::model::cfg

Definition at line 148 of file gamestate_inspector.cpp.

Referenced by model().

tbutton* gui2::tgamestate_inspector::model::copy_button

Definition at line 155 of file gamestate_inspector.cpp.

Referenced by gui2::tgamestate_inspector::view::bind().

tcontrol* gui2::tgamestate_inspector::model::inspect
tcontrol* gui2::tgamestate_inspector::model::inspector_name
tbutton* gui2::tgamestate_inspector::model::lua_button

Definition at line 156 of file gamestate_inspector.cpp.

Referenced by gui2::tgamestate_inspector::view::bind().

const unsigned int gui2::tgamestate_inspector::model::max_inspect_win_len = 20000
static

Definition at line 158 of file gamestate_inspector.cpp.

Referenced by get_num_page().

std::string gui2::tgamestate_inspector::model::name
tlistbox* gui2::tgamestate_inspector::model::stuff_list
tlistbox* gui2::tgamestate_inspector::model::stuff_types_list

The documentation for this class was generated from the following file: