diff options
author | Thomas Dinges <blender@dingto.org> | 2012-03-24 00:50:38 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2012-03-24 00:50:38 +0400 |
commit | ac69593b7fa66b231df11cae122251d31f7f2cdc (patch) | |
tree | b51e6cce7b4ff9dcaf77e36d5b4fd02987d9832b /source/blender/makesrna/intern/rna_userdef.c | |
parent | 7ff77ed4ea7c6d8fb8b2e75320175b9cbd6ff20a (diff) |
Sequence Editor Themes:
* Preview Background is now themeable. Patch by Pablo Vazquez (venomgfx).
Diffstat (limited to 'source/blender/makesrna/intern/rna_userdef.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_userdef.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_userdef.c b/source/blender/makesrna/intern/rna_userdef.c index 8e4ebe0b22e..360f8222619 100644 --- a/source/blender/makesrna/intern/rna_userdef.c +++ b/source/blender/makesrna/intern/rna_userdef.c @@ -1799,6 +1799,12 @@ static void rna_def_userdef_theme_space_seq(BlenderRNA *brna) RNA_def_property_array(prop, 3); RNA_def_property_ui_text(prop, "Draw Action", ""); RNA_def_property_update(prop, 0, "rna_userdef_update"); + + prop = RNA_def_property(srna, "preview_back", PROP_FLOAT, PROP_COLOR_GAMMA); + RNA_def_property_float_sdna(prop, NULL, "preview_back"); + RNA_def_property_array(prop, 3); + RNA_def_property_ui_text(prop, "Preview Background", ""); + RNA_def_property_update(prop, 0, "rna_userdef_update"); } static void rna_def_userdef_theme_space_action(BlenderRNA *brna) |