diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-01-01 23:50:58 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-01-01 23:50:58 +0300 |
commit | a81a98148a627558dc7fbd64b71c653e8216ba03 (patch) | |
tree | 9597556f24a5da3034a9b427c13c2189d2e5ccdc /source/blender/makesdna/DNA_screen_types.h | |
parent | a2fe0cf5d79b399c0dd97d9a144333ddece71015 (diff) |
made region type into an enum
Diffstat (limited to 'source/blender/makesdna/DNA_screen_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_screen_types.h | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/source/blender/makesdna/DNA_screen_types.h b/source/blender/makesdna/DNA_screen_types.h index 2bc7b1e8431..12f61cbb026 100644 --- a/source/blender/makesdna/DNA_screen_types.h +++ b/source/blender/makesdna/DNA_screen_types.h @@ -212,14 +212,16 @@ typedef struct ARegion { #define SCREEN_HANDLER_VERSE 3 /* regiontype, first two are the default set */ -#define RGN_TYPE_WINDOW 0 -#define RGN_TYPE_HEADER 1 -#define RGN_TYPE_CHANNELS 2 -#define RGN_TYPE_TEMPORARY 3 -#define RGN_TYPE_UI 4 -#define RGN_TYPE_TOOLS 5 -#define RGN_TYPE_TOOL_PROPS 6 -#define RGN_TYPE_PREVIEW 7 +enum { + RGN_TYPE_WINDOW = 0, + RGN_TYPE_HEADER, + RGN_TYPE_CHANNELS, + RGN_TYPE_TEMPORARY, + RGN_TYPE_UI, + RGN_TYPE_TOOLS, + RGN_TYPE_TOOL_PROPS, + RGN_TYPE_PREVIEW +}; /* region alignment */ #define RGN_ALIGN_NONE 0 |