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
theme::slider Class Reference

#include <theme.hpp>

Inheritance diagram for theme::slider:
Inheritance graph

Public Member Functions

 slider ()
 
 slider (const config &cfg)
 
const std::stringtitle () const
 
const std::stringtooltip () const
 
const std::stringimage () const
 
const std::stringoverlay () const
 
bool black_line () const
 
void set_title (const std::string &new_title)
 
- Public Member Functions inherited from theme::object
 object ()
 
 object (const config &cfg)
 
virtual ~object ()
 
SDL_Rect & location (const SDL_Rect &screen) const
 
const SDL_Rect & get_location () const
 
const std::stringget_id () const
 
void modify_location (const _rect &rect)
 
void modify_location (std::string rect_str, SDL_Rect rect_ref)
 

Private Attributes

std::string title_
 
std::string tooltip_
 
std::string image_
 
std::string overlay_
 
bool black_line_
 

Additional Inherited Members

- Public Types inherited from theme::object
enum  ANCHORING { FIXED, TOP_ANCHORED, PROPORTIONAL, BOTTOM_ANCHORED }
 

Detailed Description

Definition at line 203 of file theme.hpp.

Constructor & Destructor Documentation

theme::slider::slider ( )

Definition at line 528 of file theme.cpp.

theme::slider::slider ( const config cfg)
explicit

Definition at line 536 of file theme.cpp.

Member Function Documentation

bool theme::slider::black_line ( ) const
inline

Definition at line 219 of file theme.hpp.

References black_line_.

const std::string& theme::slider::image ( ) const
inline

Definition at line 215 of file theme.hpp.

References image_.

const std::string& theme::slider::overlay ( ) const
inline

Definition at line 217 of file theme.hpp.

References overlay_.

void theme::slider::set_title ( const std::string new_title)
inline

Definition at line 221 of file theme.hpp.

References title_.

const std::string& theme::slider::title ( ) const
inline

Definition at line 211 of file theme.hpp.

References title_.

const std::string& theme::slider::tooltip ( ) const
inline

Definition at line 213 of file theme.hpp.

References tooltip_.

Member Data Documentation

bool theme::slider::black_line_
private

Definition at line 224 of file theme.hpp.

Referenced by black_line().

std::string theme::slider::image_
private

Definition at line 223 of file theme.hpp.

Referenced by image().

std::string theme::slider::overlay_
private

Definition at line 223 of file theme.hpp.

Referenced by overlay().

std::string theme::slider::title_
private

Definition at line 223 of file theme.hpp.

Referenced by set_title(), and title().

std::string theme::slider::tooltip_
private

Definition at line 223 of file theme.hpp.

Referenced by tooltip().


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