1
0
Fork 0
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:
sfan5 2020-11-26 22:19:46 +01:00
parent 868749b4f8
commit 9bb381ebd3
2 changed files with 14 additions and 14 deletions

View file

@ -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 */