14 #ifndef GUI_WIDGETS_UNIT_PREVIEW_PANE_HPP_INCLUDED
15 #define GUI_WIDGETS_UNIT_PREVIEW_PANE_HPP_INCLUDED
34 struct tbuilder_unit_preview_pane;
69 virtual void set_active(
const bool active)
override;
75 virtual unsigned get_state()
const override;
std::string current_type_
virtual unsigned get_state() const override
See tcontrol::get_state.
GLuint GLuint GLsizei GLenum type
tresolution(const config &cfg)
void set_displayed_type(const unit_type *type)
Displays the stats of a specified unit type.
void finalize_setup()
Initializes the interneral sub-widget pointers.
Base class of a resolution, contains the common keys for a resolution.
A class inherited from ttext_box that displays its input as stars.
virtual bool get_active() const override
See tcontrol::get_active.
virtual const std::string & get_control_type() const override
See tcontrol::get_control_type.
virtual void set_active(const bool active) override
See tcontrol::set_active.
void profile_button_callback()
Callback for the profile button.
tbuilder_unit_preview_pane(const config &cfg)
virtual void set_self_active(const bool active) override
See tcontainer_::set_self_active.
A generic container base class.
A config object defines a single node in a WML file, with access to child nodes.
tbutton * button_profile_
tunit_preview_pane_definition(const config &cfg)
GLsizei const GLcharARB ** string
Contains the implementation details for lexical_cast and shouldn't be used directly.