diff options
author | Chris Burt <desoto@exenex.com> | 2005-10-02 01:16:52 +0400 |
---|---|---|
committer | Chris Burt <desoto@exenex.com> | 2005-10-02 01:16:52 +0400 |
commit | 589f91e0ee353c95b3def8a6480557db8fd04b6e (patch) | |
tree | d18038efed40ebb74fe86ae4a10ea6fb4d6f525c /source/blender/src/editscreen.c | |
parent | 453fd9f532178372ed54007388714171baf587e0 (diff) |
This commit sets the info header on the preferences window and the
header prints on the 3d view header to be the same color as the menu text.
This ensures that you can read the text against the color of the header
just as long as the theme color for the menu text is also readable against
the header color. This should make dark themes much better.
Diffstat (limited to 'source/blender/src/editscreen.c')
-rw-r--r-- | source/blender/src/editscreen.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/src/editscreen.c b/source/blender/src/editscreen.c index 70a7e774430..693b1b30a92 100644 --- a/source/blender/src/editscreen.c +++ b/source/blender/src/editscreen.c @@ -230,7 +230,8 @@ void headerprint(char *str) areawinset(curarea->headwin); headerbox(curarea); - cpack(0x0); + + BIF_ThemeColor(TH_MENU_TEXT); /* better than cpack(0x0) color no? (desoto) */ glRasterPos2i(20+curarea->headbutofs, 6); BMF_DrawString(G.font, str); |