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:
authorSergey Sharybin <sergey.vfx@gmail.com>2012-06-15 18:11:05 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2012-06-15 18:11:05 +0400
commitfb278a501e2c64f4ecba541545465975eebb8dcc (patch)
treeeeacabe20da162e23751eeb8c9f277e85c50652d /source/blender/makesdna/DNA_screen_types.h
parente11692bc73576ff2942f4e65b89bf75f4e29f301 (diff)
Ensure enums in DNA files has got explicit values
See http://wiki.blender.org/index.php/Dev:Doc/CodeStyle#Macros.2C_Enums.2C_Inline_functions
Diffstat (limited to 'source/blender/makesdna/DNA_screen_types.h')
-rw-r--r--source/blender/makesdna/DNA_screen_types.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/source/blender/makesdna/DNA_screen_types.h b/source/blender/makesdna/DNA_screen_types.h
index 75d9b91e9c8..34fb7ce60be 100644
--- a/source/blender/makesdna/DNA_screen_types.h
+++ b/source/blender/makesdna/DNA_screen_types.h
@@ -225,13 +225,13 @@ typedef struct ARegion {
/* Do NOT change order, append on end. Types are hardcoded needed */
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
+ RGN_TYPE_HEADER = 1,
+ RGN_TYPE_CHANNELS = 2,
+ RGN_TYPE_TEMPORARY = 3,
+ RGN_TYPE_UI = 4,
+ RGN_TYPE_TOOLS = 5,
+ RGN_TYPE_TOOL_PROPS = 6,
+ RGN_TYPE_PREVIEW = 7
};
/* region alignment */