murrine r84 - in trunk: . src
- From: acimitan svn gnome org
- To: svn-commits-list gnome org
- Subject: murrine r84 - in trunk: . src
- Date: Mon, 29 Sep 2008 18:44:34 +0000 (UTC)
Author: acimitan
Date: Mon Sep 29 18:44:34 2008
New Revision: 84
URL: http://svn.gnome.org/viewvc/murrine?rev=84&view=rev
Log:
2008-09-29 Andrea Cimitan <andrea cimitan gmail com>
* src/murrine_draw.c (murrine_draw_button),
(murrine_draw_scrollbar_stepper):
* src/murrine_draw_rgba.c (murrine_rgba_draw_button),
(murrine_rgba_draw_scrollbar_stepper):
Fixes in button's corners
Modified:
trunk/ChangeLog
trunk/src/murrine_draw.c
trunk/src/murrine_draw_rgba.c
Modified: trunk/src/murrine_draw.c
==============================================================================
--- trunk/src/murrine_draw.c (original)
+++ trunk/src/murrine_draw.c Mon Sep 29 18:44:34 2008
@@ -191,7 +191,7 @@
murrine_shade (&border, 0.8, &border);
/* Draw the bg */
- murrine_rounded_rectangle_closed (cr, xos+1, yos+1, width-(xos*2)-2, height-(yos*2)-2, widget->roundness, widget->corners);
+ murrine_rounded_rectangle_closed (cr, xos+1, yos+1, width-(xos*2)-2, height-(yos*2)-2, widget->roundness-1, widget->corners);
cairo_save (cr);
if (widget->roundness > 1)
@@ -1319,7 +1319,7 @@
cairo_set_line_width (cr, 1.0);
/* Draw the bg */
- murrine_rounded_rectangle_closed (cr, 1, 1, width-2, height-2, widget->roundness, widget->corners);
+ murrine_rounded_rectangle_closed (cr, 1, 1, width-2, height-2, widget->roundness-1, widget->corners);
cairo_save (cr);
Modified: trunk/src/murrine_draw_rgba.c
==============================================================================
--- trunk/src/murrine_draw_rgba.c (original)
+++ trunk/src/murrine_draw_rgba.c Mon Sep 29 18:44:34 2008
@@ -189,7 +189,7 @@
murrine_shade (&border, 0.8, &border);
/* Draw the bg */
- murrine_rounded_rectangle_closed (cr, xos+1, yos+1, width-(xos*2)-2, height-(yos*2)-2, widget->roundness, widget->corners);
+ murrine_rounded_rectangle_closed (cr, xos+1, yos+1, width-(xos*2)-2, height-(yos*2)-2, widget->roundness-1, widget->corners);
cairo_save (cr);
cairo_set_operator (cr, CAIRO_OPERATOR_SOURCE);
@@ -1109,7 +1109,7 @@
cairo_set_operator (cr, CAIRO_OPERATOR_SOURCE);
/* Draw the bg */
- murrine_rounded_rectangle_closed (cr, 1, 1, width-2, height-2, widget->roundness, widget->corners);
+ murrine_rounded_rectangle_closed (cr, 1, 1, width-2, height-2, widget->roundness-1, widget->corners);
cairo_save (cr);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]