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:
authorNathan Letwory <nathan@letworyinteractive.com>2006-11-07 14:24:11 +0300
committerNathan Letwory <nathan@letworyinteractive.com>2006-11-07 14:24:11 +0300
commit008d6987d0d2b0b2d3bc44c649b769c2d32d6f59 (patch)
tree0d765dd87b3ba0ad12f0baee21d14381fdf852a3 /source/blender/makesdna/DNA_screen_types.h
parenta8d1f308072261afb90a12cdb6c54c9a3981e087 (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.h26
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