Project Alice
Loading...
Searching...
No Matches
parsers::nation_script_button Struct Reference

#include <parsers_declarations.hpp>

Inheritance diagram for parsers::nation_script_button:
Collaboration diagram for parsers::nation_script_button:

Public Member Functions

void allow (bool, error_handler &err, int32_t line, building_gfx_context &context)
 
void effect (bool, error_handler &err, int32_t line, building_gfx_context &context)
 
- Public Member Functions inherited from parsers::button
 button ()
 
void spritetype (association_type, std::string_view txt, error_handler &err, int32_t line, building_gfx_context &context)
 
void shortcut (association_type, std::string_view txt, error_handler &err, int32_t line, building_gfx_context &context)
 
void buttontext (association_type, std::string_view txt, error_handler &err, int32_t line, building_gfx_context &context)
 
void buttonfont (association_type, std::string_view txt, error_handler &err, int32_t line, building_gfx_context &context)
 
void format (association_type, std::string_view txt, error_handler &err, int32_t line, building_gfx_context &context)
 
void clicksound (association_type, std::string_view txt, error_handler &err, int32_t line, building_gfx_context &context)
 
- Public Member Functions inherited from parsers::gui_element_common
 gui_element_common ()
 
void size (gfx_xy_pair const &pr, error_handler &err, int32_t line, building_gfx_context &context)
 
void position (gfx_xy_pair const &pr, error_handler &err, int32_t line, building_gfx_context &context)
 
void orientation (association_type, std::string_view txt, error_handler &err, int32_t line, building_gfx_context &context)
 
void name (association_type, std::string_view txt, error_handler &err, int32_t line, building_gfx_context &context)
 
void extends (association_type, std::string_view txt, error_handler &err, int32_t line, building_gfx_context &context)
 
void rotation (association_type, std::string_view txt, error_handler &err, int32_t line, building_gfx_context &context)
 
void maxwidth (association_type, int32_t v, error_handler &err, int32_t line, building_gfx_context &context)
 
void maxheight (association_type, int32_t v, error_handler &err, int32_t line, building_gfx_context &context)
 
void maxsize (gfx_xy_pair const &pr, error_handler &err, int32_t line, building_gfx_context &context)
 
void add_size (gfx_xy_pair const &pr, error_handler &err, int32_t line, building_gfx_context &context)
 
void add_position (gfx_xy_pair const &pr, error_handler &err, int32_t line, building_gfx_context &context)
 
void table_layout (gfx_xy_pair const &pr, error_handler &err, int32_t line, building_gfx_context &context)
 
void finish (building_gfx_context &context)
 

Public Attributes

int32_t added_allow = -1
 
int32_t added_effect = -1
 
- Public Attributes inherited from parsers::gui_element_common
ui::element_data target
 
dcon::text_key extension
 

Detailed Description

Definition at line 145 of file parsers_declarations.hpp.

Member Function Documentation

◆ allow()

void parsers::nation_script_button::allow ( bool  ,
error_handler err,
int32_t  line,
building_gfx_context context 
)

Definition at line 454 of file gui_graphics_parsers.cpp.

◆ effect()

void parsers::nation_script_button::effect ( bool  ,
error_handler err,
int32_t  line,
building_gfx_context context 
)

Definition at line 460 of file gui_graphics_parsers.cpp.

Member Data Documentation

◆ added_allow

int32_t parsers::nation_script_button::added_allow = -1

Definition at line 146 of file parsers_declarations.hpp.

◆ added_effect

int32_t parsers::nation_script_button::added_effect = -1

Definition at line 147 of file parsers_declarations.hpp.


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