Luanti 5.16.0-dev
Loading...
Searching...
No Matches
GUIFormSpecMenu::FieldSpec Struct Reference
Collaboration diagram for GUIFormSpecMenu::FieldSpec:

Public Member Functions

 FieldSpec ()=default
 FieldSpec (const std::string &name, const std::wstring &label, const std::wstring &default_text, s32 id, int priority=0, gui::ECURSOR_ICON cursor_icon=ECI_NORMAL)

Public Attributes

std::string fname
std::wstring flabel
std::wstring fdefault
std::string url
s32 fid
bool send
FormspecFieldType ftype
bool is_exit
int priority
gui::ECURSOR_ICON fcursor_icon
std::string sound
f32 aux_f32 = 0

Constructor & Destructor Documentation

◆ FieldSpec() [1/2]

GUIFormSpecMenu::FieldSpec::FieldSpec ( )
default

◆ FieldSpec() [2/2]

GUIFormSpecMenu::FieldSpec::FieldSpec ( const std::string & name,
const std::wstring & label,
const std::wstring & default_text,
s32 id,
int priority = 0,
gui::ECURSOR_ICON cursor_icon = ECI_NORMAL )
inline

References f_Unknown, fcursor_icon, fdefault, fid, flabel, fname, ftype, is_exit, priority, send, translate_string(), and unescape_enriched().

Here is the call graph for this function:

Member Data Documentation

◆ aux_f32

f32 GUIFormSpecMenu::FieldSpec::aux_f32 = 0

◆ fcursor_icon

gui::ECURSOR_ICON GUIFormSpecMenu::FieldSpec::fcursor_icon

Referenced by FieldSpec().

◆ fdefault

std::wstring GUIFormSpecMenu::FieldSpec::fdefault

◆ fid

◆ flabel

◆ fname

◆ ftype

◆ is_exit

bool GUIFormSpecMenu::FieldSpec::is_exit

◆ priority

int GUIFormSpecMenu::FieldSpec::priority

Referenced by FieldSpec().

◆ send

◆ sound

◆ url

std::string GUIFormSpecMenu::FieldSpec::url

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