murrine r91 - in trunk: . src
- From: acimitan svn gnome org
- To: svn-commits-list gnome org
- Subject: murrine r91 - in trunk: . src
- Date: Tue, 30 Sep 2008 01:16:00 +0000 (UTC)
Author: acimitan
Date: Tue Sep 30 01:16:00 2008
New Revision: 91
URL: http://svn.gnome.org/viewvc/murrine?rev=91&view=rev
Log:
2008-09-30 Andrea Cimitan <andrea cimitan gmail com>
* src/murrine_draw.c (murrine_draw_button):
Trailing spaces
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 Sep 30 01:16:00 2008
@@ -175,8 +175,6 @@
cairo_translate (cr, x, y);
cairo_set_line_width (cr, 1.0);
- /* Start drawing the inset/shadow */
-
if (!widget->active && !widget->disabled && widget->reliefstyle > 1)
{
murrine_rounded_rectangle (cr, xos, yos, width-(xos*2), height-(yos*2), widget->roundness, widget->corners);
@@ -187,7 +185,7 @@
murrine_draw_inset (cr, &widget->parentbg, xos-0.5, yos-0.5,
width-(xos*2)+1, height-(yos*2)+1,
widget->roundness+1, widget->corners);
-
+
murrine_mix_color (&border, &fill, 0.4, &border);
/* Draw the bg */
@@ -439,7 +437,7 @@
int x, int y, int width, int height)
{
const MurrineRGB *border = &colors->shade[4];
- MurrineRGB fill;
+ MurrineRGB fill;
murrine_shade (&widget->parentbg, 0.95, &fill);
@@ -608,7 +606,7 @@
widget->roundness, widget->corners, TRUE);
break;
}
- case 2:
+ case 2:
{
cairo_pattern_t *pat;
double alpha = !widget->mrn_gradient.use_rgba ? 1.0 : 0.7;
@@ -1859,7 +1857,7 @@
}
else
{
-
+
murrine_set_color_rgba (cr, dot, trans);
cairo_arc (cr, 7, 7, 3, 0, G_PI*2);
cairo_fill (cr);
Modified: trunk/src/murrine_draw_rgba.c
==============================================================================
--- trunk/src/murrine_draw_rgba.c (original)
+++ trunk/src/murrine_draw_rgba.c Tue Sep 30 01:16:00 2008
@@ -389,7 +389,7 @@
int x, int y, int width, int height)
{
const MurrineRGB *border = &colors->shade[4];
- MurrineRGB fill;
+ MurrineRGB fill;
murrine_shade (&widget->parentbg, 0.95, &fill);
@@ -1306,7 +1306,7 @@
cairo_fill (cr);
murrine_set_gradient (cr, &highlight, mrn_gradient_custom, 0, 0, 0, height, widget->mrn_gradient.gradients, TRUE);
- clearlooks_rounded_rectangle (cr, 0, 0, width, height/2, widget->roundness > 1 ? widget->roundness+1 : 0,
+ clearlooks_rounded_rectangle (cr, 0, 0, width, height/2, widget->roundness > 1 ? widget->roundness+1 : 0,
widget->corners == MRN_CORNER_ALL ? MRN_CORNER_TOPLEFT | MRN_CORNER_TOPRIGHT : MRN_CORNER_NONE);
cairo_fill (cr);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]