murrine r156 - in trunk: . src



Author: acimitan
Date: Tue Mar 17 22:32:24 2009
New Revision: 156
URL: http://svn.gnome.org/viewvc/murrine?rev=156&view=rev

Log:
2009-03-17  Andrea Cimitan  <andrea cimitan gmail com>

	* src/murrine_draw.c (murrine_draw_menuitem):
	I guess this should fix menuitems with roundness = 1, even if I haven't
	seen those bugs (but the code now seems correct).


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	Tue Mar 17 22:32:24 2009
@@ -27,7 +27,7 @@
 #include "cairo-support.h"
 
 static void
-murrine_draw_inset (cairo_t          *cr,
+murrine_draw_inset (cairo_t *cr,
                     const MurrineRGB *bg_color,
                     double x, double y, double w, double h,
                     double radius, uint8 corners)
@@ -84,7 +84,7 @@
 
 static void
 murrine_draw_highlight_and_shade (cairo_t *cr,
-                                  const MurrineColors *colors,
+                                  const MurrineColors    *colors,
                                   const ShadowParameters *widget,
                                   int width, int height, int radius)
 {
@@ -291,7 +291,7 @@
 
 static void
 murrine_draw_entry_progress (cairo_t *cr,
-                             const MurrineColors *colors,
+                             const MurrineColors    *colors,
                              const WidgetParameters *widget,
                              const EntryProgressParameters *progress,
                              int x, int y, int width, int height)
@@ -1354,7 +1354,7 @@
 			cairo_fill (cr);
 
 			murrine_set_color_rgba (cr, border, 0.15);
-			murrine_rounded_rectangle (cr, 0.5, 0.5, width-1, height-1, widget->roundness, widget->corners);
+			murrine_rounded_rectangle_closed (cr, 0.5, 0.5, width-1, height-1, widget->roundness, widget->corners);
 			cairo_fill_preserve (cr);
 			break;
 		default:

Modified: trunk/src/murrine_draw_rgba.c
==============================================================================
--- trunk/src/murrine_draw_rgba.c	(original)
+++ trunk/src/murrine_draw_rgba.c	Tue Mar 17 22:32:24 2009
@@ -27,7 +27,7 @@
 #include "cairo-support.h"
 
 static void
-murrine_draw_inset (cairo_t          *cr,
+murrine_draw_inset (cairo_t *cr,
                     const MurrineRGB *bg_color,
                     double x, double y, double w, double h,
                     double radius, uint8 corners)
@@ -82,7 +82,7 @@
 
 static void
 murrine_draw_highlight_and_shade (cairo_t *cr,
-                                  const MurrineColors *colors,
+                                  const MurrineColors    *colors,
                                   const ShadowParameters *widget,
                                   int width, int height, int radius)
 {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]