Classes | Public Member Functions | Public Attributes

gui2::implementation::tbuilder_tree_view Struct Reference

#include <tree_view.hpp>

Inheritance diagram for gui2::implementation::tbuilder_tree_view:
Inheritance graph
[legend]
Collaboration diagram for gui2::implementation::tbuilder_tree_view:
Collaboration graph
[legend]

List of all members.

Classes

struct  tnode

Public Member Functions

 tbuilder_tree_view (const config &cfg)
twidgetbuild () const

Public Attributes

tscrollbar_container::tscrollbar_mode vertical_scrollbar_mode
tscrollbar_container::tscrollbar_mode horizontal_scrollbar_mode
unsigned indention_step_size
std::vector< tnodenodes
 The types of nodes in the tree view.

Detailed Description

Definition at line 27 of file tree_view.hpp.


Constructor & Destructor Documentation

gui2::implementation::tbuilder_tree_view::tbuilder_tree_view ( const config cfg  )  [explicit]

Definition at line 28 of file tree_view.cpp.

References config::child_range(), gui2::implementation::get_scrollbar_mode(), and nodes.

Here is the call graph for this function:


Member Function Documentation

twidget * gui2::implementation::tbuilder_tree_view::build (  )  const [virtual]

Implements gui2::tbuilder_widget.

Definition at line 45 of file tree_view.cpp.


Member Data Documentation

Definition at line 35 of file tree_view.hpp.

Definition at line 37 of file tree_view.hpp.

The types of nodes in the tree view.

Since we expect the amount of nodes to remain low it's stored in a vector and not in a map.

Definition at line 53 of file tree_view.hpp.

Definition at line 34 of file tree_view.hpp.


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

Generated by doxygen 1.7.1 on Fri May 25 2012 01:23:39 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs