murrine r61 - in trunk: . src



Author: acimitan
Date: Fri Sep 12 10:07:37 2008
New Revision: 61
URL: http://svn.gnome.org/viewvc/murrine?rev=61&view=rev

Log:
2008-09-12  Andrea Cimitan  <andrea cimitan gmail com>

	* src/murrine_draw.c (murrine_draw_tab):
	* src/murrine_draw_rgba.c (murrine_rgba_draw_tab):
	Fixed two rendering errors of the highlight, introduced in r60



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	Fri Sep 12 10:07:37 2008
@@ -1106,7 +1106,7 @@
 		murrine_shade (&highlight, mrn_gradient_custom.gradient_shades[0]*custom_highlight_ratio, &shade1);
 		murrine_shade (&highlight, mrn_gradient_custom.gradient_shades[1]*custom_highlight_ratio, &shade2);
 		murrine_shade (&highlight, mrn_gradient_custom.gradient_shades[2], &shade3);
-		murrine_shade (fill, 0.96, &shade4); /* this value should change as draw_frame */
+		murrine_shade (fill, 1.04, &shade4); /* this value should change as draw_frame */
 
 		switch (tab->gap_side)
 		{

Modified: trunk/src/murrine_draw_rgba.c
==============================================================================
--- trunk/src/murrine_draw_rgba.c	(original)
+++ trunk/src/murrine_draw_rgba.c	Fri Sep 12 10:07:37 2008
@@ -1190,7 +1190,7 @@
 		murrine_shade (fill, mrn_gradient_custom.gradient_shades[0]*custom_highlight_ratio, &shade1);
 		murrine_shade (fill, mrn_gradient_custom.gradient_shades[1]*custom_highlight_ratio, &shade2);
 		murrine_shade (fill, mrn_gradient_custom.gradient_shades[2], &shade3);
-		murrine_shade (fill, 1.15, &shade4); /* this value should change as draw_frame */
+		murrine_shade (fill, 1.0, &shade4); /* this value should change as draw_frame */
 
 		/* Draw shade */
 		switch (tab->gap_side)
@@ -1229,7 +1229,7 @@
 		murrine_shade (&highlight, mrn_gradient_custom.gradient_shades[0]*custom_highlight_ratio, &shade1);
 		murrine_shade (&highlight, mrn_gradient_custom.gradient_shades[1]*custom_highlight_ratio, &shade2);
 		murrine_shade (&highlight, mrn_gradient_custom.gradient_shades[2], &shade3);
-		murrine_shade (fill, 0.96, &shade4); /* this value should change as draw_frame */
+		murrine_shade (fill, 1.15, &shade4); /* this value should change as draw_frame */
 
 		switch (tab->gap_side)
 		{



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