[murrine] Some fixes to spinbuttonstyle = 1, though I guess it could be not yet perfect
- From: Andrea Cimitan <acimitan src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [murrine] Some fixes to spinbuttonstyle = 1, though I guess it could be not yet perfect
- Date: Mon, 11 Jan 2010 22:39:26 +0000 (UTC)
commit 24bf7a93ff089ae05b16e50dfe6f43a677ee1cab
Author: Andrea Cimitan <andrea cimitan gmail com>
Date: Mon Jan 11 23:38:45 2010 +0100
Some fixes to spinbuttonstyle = 1, though I guess it could be not yet perfect
src/murrine_draw.c | 8 ++++----
src/murrine_draw_rgba.c | 8 ++++----
2 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/src/murrine_draw.c b/src/murrine_draw.c
index a32521c..1f902b4 100644
--- a/src/murrine_draw.c
+++ b/src/murrine_draw.c
@@ -447,13 +447,13 @@ murrine_draw_spinbutton (cairo_t *cr,
if (height % 2 != 0)
height++;
- cairo_move_to (cr, x+3, y+height/2.0-0.5);
- cairo_line_to (cr, width-2, y+height/2.0-0.5);
+ cairo_move_to (cr, x+2, y+height/2.0-0.5);
+ cairo_line_to (cr, width-3, y+height/2.0-0.5);
murrine_set_color_rgb (cr, &line);
cairo_stroke (cr);
- cairo_move_to (cr, x+4, y+height/2.0+0.5);
- cairo_line_to (cr, width-3, y+height/2.0+0.5);
+ cairo_move_to (cr, x+3, y+height/2.0+0.5);
+ cairo_line_to (cr, width-4, y+height/2.0+0.5);
murrine_set_color_rgba (cr, &highlight, 0.5);
cairo_stroke (cr);
break;
diff --git a/src/murrine_draw_rgba.c b/src/murrine_draw_rgba.c
index cbb1f76..86de9b9 100644
--- a/src/murrine_draw_rgba.c
+++ b/src/murrine_draw_rgba.c
@@ -485,13 +485,13 @@ murrine_rgba_draw_spinbutton (cairo_t *cr,
if (height % 2 != 0)
height++;
- cairo_move_to (cr, x+3, y+height/2.0-0.5);
- cairo_line_to (cr, width-2, y+height/2.0-0.5);
+ cairo_move_to (cr, x+2, y+height/2.0-0.5);
+ cairo_line_to (cr, width-3, y+height/2.0-0.5);
murrine_set_color_rgb (cr, &line);
cairo_stroke (cr);
- cairo_move_to (cr, x+4, y+height/2.0+0.5);
- cairo_line_to (cr, width-3, y+height/2.0+0.5);
+ cairo_move_to (cr, x+3, y+height/2.0+0.5);
+ cairo_line_to (cr, width-4, y+height/2.0+0.5);
murrine_set_color_rgba (cr, &highlight, 0.5);
cairo_stroke (cr);
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]