murrine r153 - in trunk: . src
- From: acimitan svn gnome org
- To: svn-commits-list gnome org
- Subject: murrine r153 - in trunk: . src
- Date: Tue, 17 Mar 2009 02:31:06 +0000 (UTC)
Author: acimitan
Date: Tue Mar 17 02:31:06 2009
New Revision: 153
URL: http://svn.gnome.org/viewvc/murrine?rev=153&view=rev
Log:
2009-03-17  Andrea Cimitan  <andrea cimitan gmail com>
	* TODO:
	* src/murrine_draw.c (murrine_draw_scrollbar_slider):
	* src/murrine_draw_rgba.c (murrine_rgba_draw_scrollbar_slider):
	Fixed the rendering bug on the scrollbars slider by reducing the 
	roundness of the clipped area.
Modified:
   trunk/ChangeLog
   trunk/TODO
   trunk/src/murrine_draw.c
   trunk/src/murrine_draw_rgba.c
Modified: trunk/TODO
==============================================================================
--- trunk/TODO	(original)
+++ trunk/TODO	Tue Mar 17 02:31:06 2009
@@ -9,6 +9,3 @@
 
 Scrollbars:
 - try to use spot[2] for handles and border when colorize_scrollbar is enabled
-- fix rounded corners when using a dark color on a bright background, 
-  seems an issue in the clip, maybe I should increase the roundness of 
-  the clipped area.
Modified: trunk/src/murrine_draw.c
==============================================================================
--- trunk/src/murrine_draw.c	(original)
+++ trunk/src/murrine_draw.c	Tue Mar 17 02:31:06 2009
@@ -1528,7 +1528,7 @@
 
 	cairo_save (cr);
 
-	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_clip_preserve (cr);
 
 	murrine_draw_glaze (cr, &fill,
Modified: trunk/src/murrine_draw_rgba.c
==============================================================================
--- trunk/src/murrine_draw_rgba.c	(original)
+++ trunk/src/murrine_draw_rgba.c	Tue Mar 17 02:31:06 2009
@@ -1253,7 +1253,7 @@
 
 	cairo_set_operator (cr, CAIRO_OPERATOR_SOURCE);
 
-	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_clip_preserve (cr);
 
 	murrine_draw_glaze (cr, &fill,
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]