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>2018-04-28 14:34:52 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-04-28 14:34:52 +0300
commita74097dc19d1b1d43797fe7dfbc4a2137ad21c22 (patch)
treefba62577508bdf18bcdb2d320d57d8e6b73cf7eb /source/blender/editors/interface/resources.c
parent69ca12c45c8dfede5b6d088cfe22811fa345d4c2 (diff)
UI: Add icon color saturation preference
Toolbar icon saturation can now be set from the preferences, (use 0.4 by default).
Diffstat (limited to 'source/blender/editors/interface/resources.c')
-rw-r--r--source/blender/editors/interface/resources.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/interface/resources.c b/source/blender/editors/interface/resources.c
index d284bde6ce6..96ba722289d 100644
--- a/source/blender/editors/interface/resources.c
+++ b/source/blender/editors/interface/resources.c
@@ -2999,6 +2999,7 @@ void init_userdef_do_versions(void)
};
for (bTheme *btheme = U.themes.first; btheme; btheme = btheme->next) {
btheme->tui.wcol_toolbar_item = wcol_toolbar_item;
+ btheme->tui.icon_saturation = 0.4f;
}
}