* 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.
This commit is contained in:
2004-01-10 13:41:03 +00:00
parent b5071f367d
commit 589ef22aef
5 changed files with 26 additions and 19 deletions

View File

@@ -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)