diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2015-04-21 20:01:09 +0300 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2015-04-21 20:01:09 +0300 |
commit | e1ce83f7629750a5900e0c0e83c6aa2860160aec (patch) | |
tree | c0313fed0fb1e6747ba3f3e0ed850e51f7e6e445 /source/blender/editors/screen/area.c | |
parent | 58c511fb0149339b8942bb2124c215fd70219b63 (diff) |
Initialize and use the theme for metadata text
Diffstat (limited to 'source/blender/editors/screen/area.c')
-rw-r--r-- | source/blender/editors/screen/area.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/screen/area.c b/source/blender/editors/screen/area.c index fff55842f71..63eaf7d0296 100644 --- a/source/blender/editors/screen/area.c +++ b/source/blender/editors/screen/area.c @@ -2197,7 +2197,7 @@ void ED_region_image_metadata_draw(ARegion *ar, ImBuf *ibuf, float zoomx, float BLF_clipping(fontid, rect.xmin, rect.ymin, rect.xmax, rect.ymax); BLF_enable(fontid, BLF_CLIPPING); - UI_ThemeColor(TH_TEXT_HI); + UI_ThemeColor(TH_METADATA_TEXT); metadata_draw_imbuf(ibuf, rect, fontid, true, zoomy); BLF_disable(fontid, BLF_CLIPPING); @@ -2219,7 +2219,7 @@ void ED_region_image_metadata_draw(ARegion *ar, ImBuf *ibuf, float zoomx, float BLF_clipping(fontid, rect.xmin, rect.ymin, rect.xmax, rect.ymax); BLF_enable(fontid, BLF_CLIPPING); - UI_ThemeColor(TH_TEXT_HI); + UI_ThemeColor(TH_METADATA_TEXT); metadata_draw_imbuf(ibuf, rect, fontid, false, zoomy); BLF_disable(fontid, BLF_CLIPPING); |