diff options
author | Michael Fox <mfoxdogg@gmail.com> | 2009-03-14 12:06:31 +0300 |
---|---|---|
committer | Michael Fox <mfoxdogg@gmail.com> | 2009-03-14 12:06:31 +0300 |
commit | 2aa71b42266a2b1ad278eba0a343f6008a0d1418 (patch) | |
tree | d60b92027debf04d17b0133188fef0b29e250bcd /source | |
parent | 59b08278b408cb79e341bea4c67c29ead95dd231 (diff) |
2.5
*******
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
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/interface/interface_draw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_draw.c b/source/blender/editors/interface/interface_draw.c index 18d7e0f06cf..9c81f54473c 100644 --- a/source/blender/editors/interface/interface_draw.c +++ b/source/blender/editors/interface/interface_draw.c @@ -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; } |