mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-06 17:41:04 +00:00
Change typedef to normal definitions in GUI code
This commit is contained in:
parent
868749b4f8
commit
9bb381ebd3
2 changed files with 14 additions and 14 deletions
|
@ -29,22 +29,22 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
#include "util/enriched_string.h"
|
||||
|
||||
/******************************************************************************/
|
||||
/* Typedefs and macros */
|
||||
/* Structs and macros */
|
||||
/******************************************************************************/
|
||||
/** texture layer ids */
|
||||
typedef enum {
|
||||
enum texture_layer {
|
||||
TEX_LAYER_BACKGROUND = 0,
|
||||
TEX_LAYER_OVERLAY,
|
||||
TEX_LAYER_HEADER,
|
||||
TEX_LAYER_FOOTER,
|
||||
TEX_LAYER_MAX
|
||||
} texture_layer;
|
||||
};
|
||||
|
||||
typedef struct {
|
||||
struct image_definition {
|
||||
video::ITexture *texture = nullptr;
|
||||
bool tile;
|
||||
unsigned int minsize;
|
||||
} image_definition;
|
||||
};
|
||||
|
||||
/******************************************************************************/
|
||||
/* forward declarations */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue