diff options
author | Matt Ebb <matt@mke3.net> | 2004-01-10 16:41:03 +0300 |
---|---|---|
committer | Matt Ebb <matt@mke3.net> | 2004-01-10 16:41:03 +0300 |
commit | 589ef22aef3adb7d722b8adb7cc12dda4b1c93c3 (patch) | |
tree | d97d84bd6936708d74df1b6f9a7fef8dede75979 /source/blender/src/interface_draw.c | |
parent | b5071f367df1f88f13bca36b15474405ead1019b (diff) |
* Fixed a silly problem when changing the colours of the 'Neutral' button theme entry (which changed both the outline of buttons and various other grey buttons). Added a new theme colour 'Outline' and left 'Neutral' to remain, well, neutral.
Thanks Desoto for the report.
Diffstat (limited to 'source/blender/src/interface_draw.c')
-rw-r--r-- | source/blender/src/interface_draw.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/src/interface_draw.c b/source/blender/src/interface_draw.c index b17d5010297..058ee4c66cd 100644 --- a/source/blender/src/interface_draw.c +++ b/source/blender/src/interface_draw.c @@ -209,10 +209,10 @@ static void ui_draw_icon(uiBut *but, BIFIconID icon) #define MM_WHITE_OP glColor4ub(255, 255, 255, 60) #define MM_WHITE_TR glColor4ub(255, 255, 255, 0) -#define MM_LIGHT BIF_ThemeColorShade(TH_BUT_NEUTRAL, 45) -#define MM_MEDIUM BIF_ThemeColor(TH_BUT_NEUTRAL) -#define MM_GREY BIF_ThemeColorShade(TH_BUT_NEUTRAL, -45) -#define MM_DARK BIF_ThemeColorShade(TH_BUT_NEUTRAL, -80) +#define MM_LIGHT BIF_ThemeColorShade(TH_BUT_OUTLINE, 45) +#define MM_MEDIUM BIF_ThemeColor(TH_BUT_OUTLINE) +#define MM_GREY BIF_ThemeColorShade(TH_BUT_OUTLINE, -45) +#define MM_DARK BIF_ThemeColorShade(TH_BUT_OUTLINE, -80) /* base shaded button */ static void shaded_button(float x1, float y1, float x2, float y2, float asp, int colorid, int flag, int mid) |