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
gui2::twml_message_option Class Reference

Helper class for message options. More...

#include <wml_message.hpp>

Public Member Functions

 twml_message_option (std::string label, std::string description="", std::string image="")
 
std::string label () const
 
std::string description () const
 
std::string image () const
 

Private Attributes

std::string label_
 
std::string description_
 
std::string image_
 

Detailed Description

Helper class for message options.

Definition at line 26 of file wml_message.hpp.

Constructor & Destructor Documentation

gui2::twml_message_option::twml_message_option ( std::string  label,
std::string  description = "",
std::string  image = "" 
)
inlineexplicit

Definition at line 28 of file wml_message.hpp.

Member Function Documentation

std::string gui2::twml_message_option::description ( ) const
inline

Definition at line 34 of file wml_message.hpp.

References description_.

std::string gui2::twml_message_option::image ( ) const
inline

Definition at line 35 of file wml_message.hpp.

std::string gui2::twml_message_option::label ( ) const
inline

Definition at line 33 of file wml_message.hpp.

References label_.

Member Data Documentation

std::string gui2::twml_message_option::description_
private

Definition at line 35 of file wml_message.hpp.

Referenced by description().

std::string gui2::twml_message_option::image_
private

Definition at line 35 of file wml_message.hpp.

std::string gui2::twml_message_option::label_
private

Definition at line 35 of file wml_message.hpp.

Referenced by label().


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