The Battle for Wesnoth  1.15.2+dev
Public Attributes | List of all members
gui2::dialogs::wml_message_options Struct Reference

Parameter pack for message list input options. More...

#include <wml_message.hpp>

Public Attributes

std::vector< wml_message_optionoption_list
 A list of options to select in the dialog. More...
 
int chosen_option
 The initially chosen option. More...
 

Detailed Description

Parameter pack for message list input options.

Definition at line 200 of file wml_message.hpp.

Member Data Documentation

◆ chosen_option

int gui2::dialogs::wml_message_options::chosen_option
mutable

The initially chosen option.

Will be set to the chosen option when the dialog closes.

Definition at line 206 of file wml_message.hpp.

Referenced by lua_gui2::show_message_dialog().

◆ option_list

std::vector<wml_message_option> gui2::dialogs::wml_message_options::option_list

A list of options to select in the dialog.

Definition at line 203 of file wml_message.hpp.

Referenced by lua_gui2::show_message_dialog().


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