diff options
author | Nathan Letwory <nathan@letworyinteractive.com> | 2006-11-07 14:24:11 +0300 |
---|---|---|
committer | Nathan Letwory <nathan@letworyinteractive.com> | 2006-11-07 14:24:11 +0300 |
commit | 008d6987d0d2b0b2d3bc44c649b769c2d32d6f59 (patch) | |
tree | 0d765dd87b3ba0ad12f0baee21d14381fdf852a3 /source/blender/makesdna/DNA_screen_types.h | |
parent | a8d1f308072261afb90a12cdb6c54c9a3981e087 (diff) |
move SPACE_* (enum) and SPACEICONMAX to DNA_space_types (being the more logical place than DNA_screen_types). SPACEICONMAX gets its value now through this enum, so it is not anymore easy to forget to update it correctly :)
Diffstat (limited to 'source/blender/makesdna/DNA_screen_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_screen_types.h | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/source/blender/makesdna/DNA_screen_types.h b/source/blender/makesdna/DNA_screen_types.h index 82588b19886..7aab508c473 100644 --- a/source/blender/makesdna/DNA_screen_types.h +++ b/source/blender/makesdna/DNA_screen_types.h @@ -164,31 +164,5 @@ typedef struct ScrArea { #define SCREEN_HANDLER_PYTHON 2 #define SCREEN_HANDLER_VERSE 3 -/* dunno who thought this below is nice code, but be warned, the values are written in - a file, and cannot be switched or altered. enum here is out of focus (ton) */ -enum { - SPACE_EMPTY, - SPACE_VIEW3D, - SPACE_IPO, - SPACE_OOPS, - SPACE_BUTS, - SPACE_FILE, - SPACE_IMAGE, - SPACE_INFO, - SPACE_SEQ, - SPACE_TEXT, - SPACE_IMASEL, - SPACE_SOUND, - SPACE_ACTION, - SPACE_NLA, - SPACE_SCRIPT, - SPACE_TIME, - SPACE_NODE -/* SPACE_LOGIC */ -}; - -/* Adding a new space type? Change SPACEICONMAX in BSE_headerbuttons.h */ -/* -- should rather handle this with the above enum... */ - #endif |