diff options
author | Pablo Dobarro <pablodp606@gmail.com> | 2020-02-19 21:11:47 +0300 |
---|---|---|
committer | Pablo Dobarro <pablodp606@gmail.com> | 2020-02-19 21:12:46 +0300 |
commit | 05fd2acf895847c51d8c02166a87d9fa50def39c (patch) | |
tree | 0b0eb65f52501288f897ca1ef4eab7f29d412389 /source/blender/editors/include/UI_resources.h | |
parent | 2df040ed58fb9e80ae69f50262bb702f50f0d71f (diff) |
Theme: Radial gradient background and enum for gradient type
This commit replaces the "Use Gradient" checkbox theme option with an
enum and implements a radial background.
Whith this change, it should be easier to implemet other types of more
complex background types, like a world space oriented gradient.
Reviewed By: billreynish, fclem, brecht
Differential Revision: https://developer.blender.org/D6825
Diffstat (limited to 'source/blender/editors/include/UI_resources.h')
-rw-r--r-- | source/blender/editors/include/UI_resources.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/include/UI_resources.h b/source/blender/editors/include/UI_resources.h index 1e6e46cbe71..e4b11977214 100644 --- a/source/blender/editors/include/UI_resources.h +++ b/source/blender/editors/include/UI_resources.h @@ -309,7 +309,7 @@ typedef enum ThemeColorID { TH_GIZMO_A, TH_GIZMO_B, - TH_SHOW_BACK_GRAD, + TH_BACKGROUND_TYPE, TH_INFO_SELECTED, TH_INFO_SELECTED_TEXT, |