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

#include <parsers_declarations.hpp>

Public Member Functions

void clicksound (parsers::association_type, std::string_view, parsers::error_handler &err, int32_t line, building_gfx_context &context)
 
void finish (building_gfx_context &context)
 

Public Attributes

std::optional< int32_t > size
 
std::optional< gfx_xy_pairsize_obj
 
std::optional< gfx_xy_pairbordersize
 
std::string_view name
 
std::string_view primary_texture
 
std::string_view secondary_texture
 
int32_t noofframes = 1
 
bool horizontal = true
 
bool allwaystransparent = false
 
bool flipv = false
 
bool clicksound_set = false
 
bool transparencecheck = false
 

Detailed Description

Definition at line 67 of file parsers_declarations.hpp.

Member Function Documentation

◆ clicksound()

void parsers::gfx_object::clicksound ( parsers::association_type  ,
std::string_view  ,
parsers::error_handler err,
int32_t  line,
building_gfx_context context 
)
inline

Definition at line 83 of file parsers_declarations.hpp.

◆ finish()

void parsers::gfx_object::finish ( building_gfx_context context)
inline

Definition at line 88 of file parsers_declarations.hpp.

Member Data Documentation

◆ allwaystransparent

bool parsers::gfx_object::allwaystransparent = false

Definition at line 78 of file parsers_declarations.hpp.

◆ bordersize

std::optional<gfx_xy_pair> parsers::gfx_object::bordersize

Definition at line 70 of file parsers_declarations.hpp.

◆ clicksound_set

bool parsers::gfx_object::clicksound_set = false

Definition at line 80 of file parsers_declarations.hpp.

◆ flipv

bool parsers::gfx_object::flipv = false

Definition at line 79 of file parsers_declarations.hpp.

◆ horizontal

bool parsers::gfx_object::horizontal = true

Definition at line 77 of file parsers_declarations.hpp.

◆ name

std::string_view parsers::gfx_object::name

Definition at line 71 of file parsers_declarations.hpp.

◆ noofframes

int32_t parsers::gfx_object::noofframes = 1

Definition at line 75 of file parsers_declarations.hpp.

◆ primary_texture

std::string_view parsers::gfx_object::primary_texture

Definition at line 72 of file parsers_declarations.hpp.

◆ secondary_texture

std::string_view parsers::gfx_object::secondary_texture

Definition at line 73 of file parsers_declarations.hpp.

◆ size

std::optional<int32_t> parsers::gfx_object::size

Definition at line 68 of file parsers_declarations.hpp.

◆ size_obj

std::optional<gfx_xy_pair> parsers::gfx_object::size_obj

Definition at line 69 of file parsers_declarations.hpp.

◆ transparencecheck

bool parsers::gfx_object::transparencecheck = false

Definition at line 81 of file parsers_declarations.hpp.


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