The Battle for Wesnoth  1.15.1+dev
Public Member Functions | Public Attributes | List of all members
gui2::implementation::tree_node Struct Reference

#include <tree_view.hpp>

Public Member Functions

 tree_node (const config &cfg)
 

Public Attributes

std::string id
 
bool unfolded
 
builder_grid_ptr builder
 

Detailed Description

Definition at line 25 of file tree_view.hpp.

Constructor & Destructor Documentation

◆ tree_node()

gui2::implementation::tree_node::tree_node ( const config cfg)
explicit

Definition at line 419 of file tree_view.cpp.

References _(), builder, config::child(), missing_mandatory_wml_key(), and VALIDATE.

Member Data Documentation

◆ builder

builder_grid_ptr gui2::implementation::tree_node::builder

Definition at line 31 of file tree_view.hpp.

Referenced by tree_node().

◆ id

std::string gui2::implementation::tree_node::id

Definition at line 29 of file tree_view.hpp.

◆ unfolded

bool gui2::implementation::tree_node::unfolded

Definition at line 30 of file tree_view.hpp.


The documentation for this struct was generated from the following files: