summaryrefslogtreecommitdiff
path: root/src/gui/guiEngine.h
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2020-11-26 22:19:46 +0100
committersfan5 <sfan5@live.de>2020-11-26 22:42:19 +0100
commit9bb381ebd387cd783da8d582949bf284a29d9b3a (patch)
tree05b1f213e67069e487d54f495f393744eb73eda2 /src/gui/guiEngine.h
parent868749b4f8e898be0c01f892ea78d859d054c17e (diff)
downloadminetest-9bb381ebd387cd783da8d582949bf284a29d9b3a.tar.gz
minetest-9bb381ebd387cd783da8d582949bf284a29d9b3a.tar.bz2
minetest-9bb381ebd387cd783da8d582949bf284a29d9b3a.zip
Change typedef to normal definitions in GUI code
Diffstat (limited to 'src/gui/guiEngine.h')
-rw-r--r--src/gui/guiEngine.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/guiEngine.h b/src/gui/guiEngine.h
index e5b3edce7..eef1ad8aa 100644
--- a/src/gui/guiEngine.h
+++ b/src/gui/guiEngine.h
@@ -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 */