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:
authorTon Roosendaal <ton@blender.org>2012-12-15 20:35:00 +0400
committerTon Roosendaal <ton@blender.org>2012-12-15 20:35:00 +0400
commit91c5f4a7b4f05db9a90e659bfb2a5d1c8fc7fd09 (patch)
tree10181b777abb50ba720bd37251b69865ae44d370 /source/blender
parent2681cc66a50f16c77c8ad46915a53640f65bb51f (diff)
Cleanup:
Removed unused panel colors (and panel text) from Themes.
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/editors/include/UI_resources.h6
-rw-r--r--source/blender/makesrna/intern/rna_userdef.c31
2 files changed, 0 insertions, 37 deletions
diff --git a/source/blender/editors/include/UI_resources.h b/source/blender/editors/include/UI_resources.h
index dbbcc6953ed..eaab17c4137 100644
--- a/source/blender/editors/include/UI_resources.h
+++ b/source/blender/editors/include/UI_resources.h
@@ -64,18 +64,12 @@ enum {
TH_HEADER_TEXT,
TH_HEADER_TEXT_HI,
- /* float panels */
- TH_PANEL,
- TH_PANEL_TEXT,
- TH_PANEL_TEXT_HI,
-
/* panels */
TH_PANEL_HEADER,
TH_PANEL_BACK,
TH_PANEL_SHOW_HEADER,
TH_PANEL_SHOW_BACK,
-
TH_BUTBACK,
TH_BUTBACK_TEXT,
TH_BUTBACK_TEXT_HI,
diff --git a/source/blender/makesrna/intern/rna_userdef.c b/source/blender/makesrna/intern/rna_userdef.c
index c0467a43222..dd25958ffa8 100644
--- a/source/blender/makesrna/intern/rna_userdef.c
+++ b/source/blender/makesrna/intern/rna_userdef.c
@@ -504,13 +504,6 @@ static void rna_def_userdef_theme_ui_style(BlenderRNA *brna)
RNA_def_property_ui_text(prop, "Panel Zoom", "Default zoom level for panel areas");
#endif
-// prop = RNA_def_property(srna, "panel_title", PROP_POINTER, PROP_NONE);
-// RNA_def_property_flag(prop, PROP_NEVER_NULL);
-// RNA_def_property_pointer_sdna(prop, NULL, "paneltitle");
-// RNA_def_property_struct_type(prop, "ThemeFontStyle");
-// RNA_def_property_ui_text(prop, "Panel Style", "");
-// RNA_def_property_update(prop, 0, "rna_userdef_update");
-
/* (not used yet) */
#if 0
prop = RNA_def_property(srna, "group_label", PROP_POINTER, PROP_NONE);
@@ -1125,11 +1118,6 @@ static void rna_def_userdef_theme_space_view3d(BlenderRNA *brna)
RNA_def_property_ui_text(prop, "Grid", "");
RNA_def_property_update(prop, 0, "rna_userdef_update");
-// prop = RNA_def_property(srna, "panel", PROP_FLOAT, PROP_COLOR_GAMMA);
-// RNA_def_property_array(prop, 4);
-// RNA_def_property_ui_text(prop, "Panel", "");
-// RNA_def_property_update(prop, 0, "rna_userdef_update");
-
prop = RNA_def_property(srna, "wire", PROP_FLOAT, PROP_COLOR_GAMMA);
RNA_def_property_array(prop, 3);
RNA_def_property_ui_text(prop, "Wire", "");
@@ -1284,11 +1272,6 @@ static void rna_def_userdef_theme_space_graph(BlenderRNA *brna)
RNA_def_property_ui_text(prop, "Grid", "");
RNA_def_property_update(prop, 0, "rna_userdef_update");
-// prop = RNA_def_property(srna, "panel", PROP_FLOAT, PROP_COLOR_GAMMA);
-// RNA_def_property_array(prop, 3);
-// RNA_def_property_ui_text(prop, "Panel", "");
-// RNA_def_property_update(prop, 0, "rna_userdef_update");
-
prop = RNA_def_property(srna, "window_sliders", PROP_FLOAT, PROP_COLOR_GAMMA);
RNA_def_property_float_sdna(prop, NULL, "shade1");
RNA_def_property_array(prop, 3);
@@ -1371,12 +1354,6 @@ static void rna_def_userdef_theme_space_file(BlenderRNA *brna)
RNA_def_property_ui_text(prop, "Selected File", "");
RNA_def_property_update(prop, 0, "rna_userdef_update");
-// prop = RNA_def_property(srna, "tiles", PROP_FLOAT, PROP_COLOR_GAMMA);
-// RNA_def_property_float_sdna(prop, NULL, "panel");
-// RNA_def_property_array(prop, 3);
-// RNA_def_property_ui_text(prop, "Tiles", "");
-// RNA_def_property_update(prop, 0, "rna_userdef_update");
-
prop = RNA_def_property(srna, "scrollbar", PROP_FLOAT, PROP_COLOR_GAMMA);
RNA_def_property_float_sdna(prop, NULL, "shade1");
RNA_def_property_array(prop, 3);
@@ -1676,10 +1653,6 @@ static void rna_def_userdef_theme_space_logic(BlenderRNA *brna)
rna_def_userdef_theme_spaces_main(srna);
-// prop = RNA_def_property(srna, "panel", PROP_FLOAT, PROP_COLOR_GAMMA);
-// RNA_def_property_array(prop, 3);
-// RNA_def_property_ui_text(prop, "Panel", "");
-// RNA_def_property_update(prop, 0, "rna_userdef_update");
}
@@ -1697,10 +1670,6 @@ static void rna_def_userdef_theme_space_buts(BlenderRNA *brna)
rna_def_userdef_theme_spaces_main(srna);
-// prop = RNA_def_property(srna, "panel", PROP_FLOAT, PROP_COLOR_GAMMA);
-// RNA_def_property_array(prop, 3);
-// RNA_def_property_ui_text(prop, "Panel", "");
-// RNA_def_property_update(prop, 0, "rna_userdef_update");
}
static void rna_def_userdef_theme_space_time(BlenderRNA *brna)