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::title_display Class Reference

#include <mp_options.hpp>

Inheritance diagram for mp::options::title_display:
Inheritance graph

Public Member Functions

 title_display (CVideo &video, const std::string &label)
 
 ~title_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
 
virtual void hide_children (bool hide)
 
- Public Member Functions inherited from mp::options::option_display
virtual ~option_display ()
 
virtual void process_event ()
 

Private Attributes

gui::labeltitle_
 

Detailed Description

Definition at line 115 of file mp_options.hpp.

Constructor & Destructor Documentation

mp::options::title_display::title_display ( CVideo video,
const std::string label 
)

Definition at line 499 of file mp_options.cpp.

mp::options::title_display::~title_display ( )

Definition at line 503 of file mp_options.cpp.

References title_.

Member Function Documentation

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

Implements mp::options::option_display.

Definition at line 123 of file mp_options.hpp.

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

Implements mp::options::option_display.

Definition at line 515 of file mp_options.cpp.

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

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

Implements mp::options::option_display.

Definition at line 122 of file mp_options.hpp.

Member Data Documentation

gui::label* mp::options::title_display::title_
private

Definition at line 127 of file mp_options.hpp.

Referenced by hide_children(), layout(), and ~title_display().


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