The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Private Attributes | List of all members
mp::options::reset_display Class Reference

#include <mp_options.hpp>

Inheritance diagram for mp::options::reset_display:
Inheritance graph

Public Member Functions

 reset_display (CVideo &video, const std::string &comp, manager &m)
 
 ~reset_display ()
 
void layout (int &xpos, int &ypos, int w, int border_size, gui::scrollpane *pane)
 
void set_value (const config::attribute_value &)
 
config::attribute_value get_value () const
 
void hide_children (bool hide)
 
void process_event ()
 
- Public Member Functions inherited from mp::options::option_display
virtual ~option_display ()
 

Private Attributes

managermanager_
 
std::string component_
 
gui::buttonbutton_
 

Detailed Description

Definition at line 132 of file mp_options.hpp.

Constructor & Destructor Documentation

mp::options::reset_display::reset_display ( CVideo video,
const std::string comp,
manager m 
)

Definition at line 573 of file mp_options.cpp.

mp::options::reset_display::~reset_display ( )

Definition at line 579 of file mp_options.cpp.

References button_.

Member Function Documentation

config::attribute_value mp::options::reset_display::get_value ( ) const
inlinevirtual

Implements mp::options::option_display.

Definition at line 140 of file mp_options.hpp.

void mp::options::reset_display::hide_children ( bool  hide)
virtual

Implements mp::options::option_display.

Definition at line 590 of file mp_options.cpp.

References button_, and gui::widget::hide().

void mp::options::reset_display::layout ( int xpos,
int ypos,
int  w,
int  border_size,
gui::scrollpane pane 
)
virtual
void mp::options::reset_display::process_event ( )
virtual
void mp::options::reset_display::set_value ( const config::attribute_value )
inlinevirtual

Implements mp::options::option_display.

Definition at line 139 of file mp_options.hpp.

Member Data Documentation

gui::button* mp::options::reset_display::button_
private

Definition at line 147 of file mp_options.hpp.

Referenced by hide_children(), layout(), process_event(), and ~reset_display().

std::string mp::options::reset_display::component_
private

Definition at line 146 of file mp_options.hpp.

Referenced by process_event().

manager& mp::options::reset_display::manager_
private

Definition at line 145 of file mp_options.hpp.

Referenced by process_event().


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