The Battle for Wesnoth  1.19.0-dev
Public Member Functions | Private Attributes | List of all members
gui2::dialogs::wml_message_option Class Reference

Helper class for message options. More...

#include <wml_message.hpp>

Public Member Functions

 wml_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

◆ wml_message_option()

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

Definition at line 28 of file wml_message.hpp.

Member Function Documentation

◆ description()

std::string gui2::dialogs::wml_message_option::description ( ) const
inline

Definition at line 34 of file wml_message.hpp.

References description_.

◆ image()

std::string gui2::dialogs::wml_message_option::image ( ) const
inline

Definition at line 35 of file wml_message.hpp.

References image_.

◆ label()

std::string gui2::dialogs::wml_message_option::label ( ) const
inline

Definition at line 33 of file wml_message.hpp.

References label_.

Member Data Documentation

◆ description_

std::string gui2::dialogs::wml_message_option::description_
private

Definition at line 37 of file wml_message.hpp.

Referenced by description().

◆ image_

std::string gui2::dialogs::wml_message_option::image_
private

Definition at line 37 of file wml_message.hpp.

Referenced by image().

◆ label_

std::string gui2::dialogs::wml_message_option::label_
private

Definition at line 37 of file wml_message.hpp.

Referenced by label().


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