diff options
author | Mike Erwin <significant.bit@gmail.com> | 2017-02-02 03:00:30 +0300 |
---|---|---|
committer | Mike Erwin <significant.bit@gmail.com> | 2017-02-02 03:00:51 +0300 |
commit | 8e05a5bf8c37174d1019b9dc7efd7a53831f292a (patch) | |
tree | c1018b60c002ca27e949b74f9670f2b77cbb550b /source/blender/blenfont/intern/blf.c | |
parent | 64b4a3185c263f5982bb3ecd324f1befb42531bd (diff) |
fix build: BLF Theme color
blenderplayer uses BLF but not Editor UI, so we got a link error for the missing UI_GetThemeColor function.
Moved the new function from BLF to UI.
@Blendify reported problem in IRC
Diffstat (limited to 'source/blender/blenfont/intern/blf.c')
-rw-r--r-- | source/blender/blenfont/intern/blf.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/source/blender/blenfont/intern/blf.c b/source/blender/blenfont/intern/blf.c index 01feb652f31..4b3a965efdf 100644 --- a/source/blender/blenfont/intern/blf.c +++ b/source/blender/blenfont/intern/blf.c @@ -52,8 +52,6 @@ #include "BLF_api.h" -#include "UI_resources.h" - #include "IMB_colormanagement.h" #ifndef BLF_STANDALONE @@ -467,15 +465,6 @@ void BLF_blur(int fontid, int size) } #endif -void BLF_ThemeColor(int fontid, int colorid) -{ - FontBLF *font = blf_get(fontid); - - if (font) { - UI_GetThemeColor4ubv(colorid, font->color); - } -} - void BLF_color4ubv(int fontid, const unsigned char rgba[4]) { FontBLF *font = blf_get(fontid); |