Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Bakker <jeroen@blender.org>2020-06-19 09:11:25 +0300
committerJeroen Bakker <jeroen@blender.org>2020-06-19 09:11:25 +0300
commitd093f61667b26c5942f0743eb7b7125a17005304 (patch)
tree05117ce0d780c34982bc76768b96592acc08960f /source/blender/makesdna/DNA_screen_types.h
parent642b19c8b8a501c6a0f4b0ae36daef304bfd8ee1 (diff)
Cleanup: use bool and enums in `match_region_with_redraws`
Function used int for everything.
Diffstat (limited to 'source/blender/makesdna/DNA_screen_types.h')
-rw-r--r--source/blender/makesdna/DNA_screen_types.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesdna/DNA_screen_types.h b/source/blender/makesdna/DNA_screen_types.h
index 07cba2bad1c..d60409eb0d6 100644
--- a/source/blender/makesdna/DNA_screen_types.h
+++ b/source/blender/makesdna/DNA_screen_types.h
@@ -609,7 +609,7 @@ enum {
/* regiontype, first two are the default set */
/* Do NOT change order, append on end. Types are hardcoded needed */
-enum {
+typedef enum eRegionType {
RGN_TYPE_WINDOW = 0,
RGN_TYPE_HEADER = 1,
RGN_TYPE_CHANNELS = 2,
@@ -625,7 +625,7 @@ enum {
RGN_TYPE_EXECUTE = 10,
RGN_TYPE_FOOTER = 11,
RGN_TYPE_TOOL_HEADER = 12,
-};
+} eRegionType;
/* use for function args */
#define RGN_TYPE_ANY -1