diff options
author | Ton Roosendaal <ton@blender.org> | 2006-05-09 11:45:06 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2006-05-09 11:45:06 +0400 |
commit | 1736624d3ea5fc6af582ac004a41b44f9424c2c8 (patch) | |
tree | f81723911b5a35049346b47e84c6e2fa4bbd6c4e /source/blender/src/interface_draw.c | |
parent | 4b310f2b8f788c7cb3a8e28d5c9313ca90f7b0cb (diff) |
Small fix: "Curves" UI widget used wrong method for defining shades for
drawing grid lines, which didn't show in default theme.
Diffstat (limited to 'source/blender/src/interface_draw.c')
-rw-r--r-- | source/blender/src/interface_draw.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/src/interface_draw.c b/source/blender/src/interface_draw.c index 59436aa9d5c..281c3abf78e 100644 --- a/source/blender/src/interface_draw.c +++ b/source/blender/src/interface_draw.c @@ -2168,13 +2168,13 @@ static void ui_draw_but_CURVE(uiBut *but) } /* grid, every .25 step */ - BIF_ThemeColorBlend(TH_BUT_NEUTRAL, TH_BUT_OUTLINE, 0.06f); + BIF_ThemeColorShade(TH_BUT_NEUTRAL, -16); ui_draw_but_curve_grid(but, zoomx, zoomy, offsx, offsy, 0.25f); /* grid, every 1.0 step */ - BIF_ThemeColorBlend(TH_BUT_NEUTRAL, TH_BUT_OUTLINE, 0.12f); + BIF_ThemeColorShade(TH_BUT_NEUTRAL, -24); ui_draw_but_curve_grid(but, zoomx, zoomy, offsx, offsy, 1.0f); /* axes */ - BIF_ThemeColorBlend(TH_BUT_NEUTRAL, TH_BUT_OUTLINE, 0.25f); + BIF_ThemeColorShade(TH_BUT_NEUTRAL, -50); glBegin(GL_LINES); glVertex2f(but->x1, but->y1 + zoomy*(-offsy)); glVertex2f(but->x2, but->y1 + zoomy*(-offsy)); |