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

#include <parsers_declarations.hpp>

Inheritance diagram for parsers::province_script_button:
Collaboration diagram for parsers::province_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 152 of file parsers_declarations.hpp.

Member Function Documentation

◆ allow()

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

Definition at line 466 of file gui_graphics_parsers.cpp.

◆ effect()

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

Definition at line 472 of file gui_graphics_parsers.cpp.

Member Data Documentation

◆ added_allow

int32_t parsers::province_script_button::added_allow = -1

Definition at line 153 of file parsers_declarations.hpp.

◆ added_effect

int32_t parsers::province_script_button::added_effect = -1

Definition at line 154 of file parsers_declarations.hpp.


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