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:
authorHans Goudey <h.goudey@me.com>2020-06-02 22:04:46 +0300
committerHans Goudey <h.goudey@me.com>2020-06-02 22:04:46 +0300
commit7fc0053c27e5e9ba3cc946898c7c11a8545f2777 (patch)
tree2be364f15efc57df1d4df0028a89b41c118ca314 /source/blender/editors/interface/resources.c
parent52cc412e0f56f249d932e1025ea191939c1a6edb (diff)
UI: Fix T77173: Report Background Colors for 2.83 Release
This is a temporary solution for T77173 for the 2.83 release. D7203 provides a more long term solution for future releases. This adds theme colors for the three report backgrounds, setting them to the color used in 2.82. A separate commit in the addons repository will follow for changes to the bundled themes. Differential Revision: https://developer.blender.org/D7908
Diffstat (limited to 'source/blender/editors/interface/resources.c')
-rw-r--r--source/blender/editors/interface/resources.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/source/blender/editors/interface/resources.c b/source/blender/editors/interface/resources.c
index 01c9716ec86..ac7d8783123 100644
--- a/source/blender/editors/interface/resources.c
+++ b/source/blender/editors/interface/resources.c
@@ -1013,6 +1013,15 @@ const uchar *UI_ThemeGetColorPtr(bTheme *btheme, int spacetype, int colorid)
case TH_INFO_OPERATOR_TEXT:
cp = ts->info_operator_text;
break;
+ case TH_INFO_REPORT_ERROR:
+ cp = ts->info_report_error;
+ break;
+ case TH_INFO_REPORT_WARNING:
+ cp = ts->info_report_warning;
+ break;
+ case TH_INFO_REPORT_INFO:
+ cp = ts->info_report_info;
+ break;
case TH_V3D_CLIPPING_BORDER:
cp = ts->clipping_border_3d;
break;