*******
small commit, tweaked the emboss based on the object buttons, made it really subtle but still make it easier to read compared to no emboss, a new way will be needed for menus to work aswel
This commit is contained in:
Michael Fox
2009-03-14 09:06:31 +00:00
parent 59b08278b4
commit 2aa71b4226

View File

@@ -2238,7 +2238,7 @@ static void ui_draw_text(uiBut *but, float x, float y, int sunken)
/* only draw embossed text if the text color is darker than 0.5 mid-grey */
if ((curcol[0] + curcol[1] + curcol[3]) * 0.3f < 0.5f)
glColor4f(1.0f, 1.0f, 1.0f, 0.25f);
glColor4f(0.6f, 0.6f, 0.6f, 0.3f);
else
return;
}