mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-15 01:25:20 +02:00
Change typedef to normal definitions in GUI code
This commit is contained in:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user