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:
authorCampbell Barton <ideasman42@gmail.com>2019-02-16 08:13:12 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-02-16 08:30:13 +0300
commit9d09eda0a31027c83430718e5caed3797da51b51 (patch)
tree7bef8516781636751b2e7309a93532986a583305 /source/blender/makesdna
parentae375b4cdc737646b770a722c8a47c22f6992dc4 (diff)
DNA: rename theme space types
Follow enum naming convention, use "space_" prefix instead of "t".
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r--source/blender/makesdna/DNA_userdef_types.h34
-rw-r--r--source/blender/makesdna/intern/dna_rename_defs.h17
2 files changed, 34 insertions, 17 deletions
diff --git a/source/blender/makesdna/DNA_userdef_types.h b/source/blender/makesdna/DNA_userdef_types.h
index cfb52c8fa14..8beed28fe3d 100644
--- a/source/blender/makesdna/DNA_userdef_types.h
+++ b/source/blender/makesdna/DNA_userdef_types.h
@@ -423,23 +423,23 @@ typedef struct bTheme {
/* Individual Spacetypes */
/* note: ensure UI_THEMESPACE_END is updated when adding */
- ThemeSpace tbuts;
- ThemeSpace tv3d;
- ThemeSpace tfile;
- ThemeSpace tipo;
- ThemeSpace tinfo;
- ThemeSpace tact;
- ThemeSpace tnla;
- ThemeSpace tseq;
- ThemeSpace tima;
- ThemeSpace text;
- ThemeSpace toops;
- ThemeSpace tnode;
- ThemeSpace tuserpref;
- ThemeSpace tconsole;
- ThemeSpace tclip;
- ThemeSpace ttopbar;
- ThemeSpace tstatusbar;
+ ThemeSpace space_properties;
+ ThemeSpace space_view3d;
+ ThemeSpace space_file;
+ ThemeSpace space_graph;
+ ThemeSpace space_info;
+ ThemeSpace space_action;
+ ThemeSpace space_nla;
+ ThemeSpace space_sequencer;
+ ThemeSpace space_image;
+ ThemeSpace space_text;
+ ThemeSpace space_outliner;
+ ThemeSpace space_node;
+ ThemeSpace space_preferences;
+ ThemeSpace space_console;
+ ThemeSpace space_clip;
+ ThemeSpace space_topbar;
+ ThemeSpace space_statusbar;
/* 20 sets of bone colors for this theme */
ThemeWireColor tarm[20];
diff --git a/source/blender/makesdna/intern/dna_rename_defs.h b/source/blender/makesdna/intern/dna_rename_defs.h
index 4107797c8a1..babb2bd79b6 100644
--- a/source/blender/makesdna/intern/dna_rename_defs.h
+++ b/source/blender/makesdna/intern/dna_rename_defs.h
@@ -51,6 +51,23 @@ DNA_STRUCT_RENAME_ELEM(Camera, clipend, clip_end)
DNA_STRUCT_RENAME_ELEM(Camera, clipsta, clip_start)
DNA_STRUCT_RENAME_ELEM(View3D, far, clip_end)
DNA_STRUCT_RENAME_ELEM(View3D, near, clip_start)
+DNA_STRUCT_RENAME_ELEM(bTheme, tact, space_action)
+DNA_STRUCT_RENAME_ELEM(bTheme, tbuts, space_properties)
+DNA_STRUCT_RENAME_ELEM(bTheme, tclip, space_clip)
+DNA_STRUCT_RENAME_ELEM(bTheme, tconsole, space_console)
+DNA_STRUCT_RENAME_ELEM(bTheme, text, space_text)
+DNA_STRUCT_RENAME_ELEM(bTheme, tfile, space_file)
+DNA_STRUCT_RENAME_ELEM(bTheme, tima, space_image)
+DNA_STRUCT_RENAME_ELEM(bTheme, tinfo, space_info)
+DNA_STRUCT_RENAME_ELEM(bTheme, tipo, space_graph)
+DNA_STRUCT_RENAME_ELEM(bTheme, tnla, space_nla)
+DNA_STRUCT_RENAME_ELEM(bTheme, tnode, space_node)
+DNA_STRUCT_RENAME_ELEM(bTheme, toops, space_outliner)
+DNA_STRUCT_RENAME_ELEM(bTheme, tseq, space_sequencer)
+DNA_STRUCT_RENAME_ELEM(bTheme, tstatusbar, space_statusbar)
+DNA_STRUCT_RENAME_ELEM(bTheme, ttopbar, space_topbar)
+DNA_STRUCT_RENAME_ELEM(bTheme, tuserpref, space_preferences)
+DNA_STRUCT_RENAME_ELEM(bTheme, tv3d, space_view3d)
#if 0
DNA_STRUCT_RENAME(Lamp, Light)