gtk-css-engine r84 - in branches/bzr: . libccd/ccd



Author: robsta
Date: Fri Sep  5 11:34:00 2008
New Revision: 84
URL: http://svn.gnome.org/viewvc/gtk-css-engine?rev=84&view=rev

Log:
Tweak some white space.

Modified:
   branches/bzr/   (props changed)
   branches/bzr/libccd/ccd/ccd-border.c

Modified: branches/bzr/libccd/ccd/ccd-border.c
==============================================================================
--- branches/bzr/libccd/ccd/ccd-border.c	(original)
+++ branches/bzr/libccd/ccd/ccd-border.c	Fri Sep  5 11:34:00 2008
@@ -21,65 +21,65 @@
 #include <string.h>
 #include "ccd-border.h"
 
-#define SET_COMMON_WIDTH(spec_, border_, val_)					\
-if (CCD_PROPERTY_SPEC_SET == spec_ && 						\
-    !(CCD_BORDER_FLAGS_SPECIFIC_WIDTH & border_.flags)) {			\
-	border_.width = val_;							\
-	border_.flags |= CCD_BORDER_FLAGS_COMMON_WIDTH;				\
-}										\
-if (spec_ != CCD_PROPERTY_SPEC_UNSET) {						\
-	border_.width_spec = spec_;						\
-}
-
-#define SET_SPECIFIC_WIDTH(spec_, border_, val_)				\
-if (CCD_PROPERTY_SPEC_SET == spec_) {						\
-	border_.width = val_;							\
-	border_.flags |= CCD_BORDER_FLAGS_SPECIFIC_WIDTH;			\
-}										\
-if (spec_ != CCD_PROPERTY_SPEC_UNSET) {						\
-	border_.width_spec = spec_;						\
-}
-
-#define SET_COMMON_STYLE(spec_, border_, val_)					\
-if (CCD_PROPERTY_SPEC_SET == spec_ && 						\
-    !(CCD_BORDER_FLAGS_SPECIFIC_STYLE & border_.flags)) {			\
-	border_.style = val_;							\
-	border_.flags |= CCD_BORDER_FLAGS_COMMON_STYLE;				\
-}										\
-if (spec_ != CCD_PROPERTY_SPEC_UNSET) {						\
-	border_.style_spec = spec_;						\
-}
-
-#define SET_SPECIFIC_STYLE(spec_, border_, val_)				\
-if (CCD_PROPERTY_SPEC_SET == spec_) {						\
-	border_.style = val_;							\
-	border_.flags |= CCD_BORDER_FLAGS_SPECIFIC_STYLE;			\
-}										\
-if (spec_ != CCD_PROPERTY_SPEC_UNSET) {						\
-	border_.style_spec = spec_;						\
-}
-
-#define SET_COMMON_COLOR(spec_, border_, val_)					\
-if (CCD_PROPERTY_SPEC_SET == spec_ && 						\
-    !(CCD_BORDER_FLAGS_SPECIFIC_COLOR & border_.flags)) { 			\
-	border_.color.red = val_.red;						\
-	border_.color.green = val_.green;					\
-	border_.color.blue = val_.blue;						\
-	border_.flags |= CCD_BORDER_FLAGS_COMMON_COLOR;				\
-}										\
-if (spec_ != CCD_PROPERTY_SPEC_UNSET) {						\
-	border_.color_spec = spec_;						\
-}
-
-#define SET_SPECIFIC_COLOR(spec_, border_, val_)				\
-if (CCD_PROPERTY_SPEC_SET == spec_) { 						\
-	border_.color.red = val_.red;						\
-	border_.color.green = val_.green;					\
-	border_.color.blue = val_.blue;						\
-	border_.flags |= CCD_BORDER_FLAGS_SPECIFIC_COLOR;			\
-}										\
-if (spec_ != CCD_PROPERTY_SPEC_UNSET) {						\
-	border_.color_spec = spec_;						\
+#define SET_COMMON_WIDTH(spec_, border_, val_)				       \
+if (CCD_PROPERTY_SPEC_SET == spec_ && 					       \
+    !(CCD_BORDER_FLAGS_SPECIFIC_WIDTH & border_.flags)) {		       \
+	border_.width = val_;						       \
+	border_.flags |= CCD_BORDER_FLAGS_COMMON_WIDTH;			       \
+}									       \
+if (spec_ != CCD_PROPERTY_SPEC_UNSET) {					       \
+	border_.width_spec = spec_;					       \
+}
+
+#define SET_SPECIFIC_WIDTH(spec_, border_, val_)			       \
+if (CCD_PROPERTY_SPEC_SET == spec_) {					       \
+	border_.width = val_;						       \
+	border_.flags |= CCD_BORDER_FLAGS_SPECIFIC_WIDTH;		       \
+}									       \
+if (spec_ != CCD_PROPERTY_SPEC_UNSET) {					       \
+	border_.width_spec = spec_;					       \
+}
+
+#define SET_COMMON_STYLE(spec_, border_, val_)				       \
+if (CCD_PROPERTY_SPEC_SET == spec_ && 					       \
+    !(CCD_BORDER_FLAGS_SPECIFIC_STYLE & border_.flags)) {		       \
+	border_.style = val_;						       \
+	border_.flags |= CCD_BORDER_FLAGS_COMMON_STYLE;			       \
+}									       \
+if (spec_ != CCD_PROPERTY_SPEC_UNSET) {					       \
+	border_.style_spec = spec_;					       \
+}
+
+#define SET_SPECIFIC_STYLE(spec_, border_, val_)			       \
+if (CCD_PROPERTY_SPEC_SET == spec_) {					       \
+	border_.style = val_;						       \
+	border_.flags |= CCD_BORDER_FLAGS_SPECIFIC_STYLE;		       \
+}									       \
+if (spec_ != CCD_PROPERTY_SPEC_UNSET) {					       \
+	border_.style_spec = spec_;					       \
+}
+
+#define SET_COMMON_COLOR(spec_, border_, val_)				       \
+if (CCD_PROPERTY_SPEC_SET == spec_ && 					       \
+    !(CCD_BORDER_FLAGS_SPECIFIC_COLOR & border_.flags)) { 		       \
+	border_.color.red = val_.red;					       \
+	border_.color.green = val_.green;				       \
+	border_.color.blue = val_.blue;					       \
+	border_.flags |= CCD_BORDER_FLAGS_COMMON_COLOR;			       \
+}									       \
+if (spec_ != CCD_PROPERTY_SPEC_UNSET) {					       \
+	border_.color_spec = spec_;					       \
+}
+
+#define SET_SPECIFIC_COLOR(spec_, border_, val_)			       \
+if (CCD_PROPERTY_SPEC_SET == spec_) { 					       \
+	border_.color.red = val_.red;					       \
+	border_.color.green = val_.green;				       \
+	border_.color.blue = val_.blue;					       \
+	border_.flags |= CCD_BORDER_FLAGS_SPECIFIC_COLOR;		       \
+}									       \
+if (spec_ != CCD_PROPERTY_SPEC_UNSET) {					       \
+	border_.color_spec = spec_;					       \
 }
 
 /*!
@@ -378,25 +378,29 @@
 	if (left && left->flags) {
 		draw_func = get_draw_func (left);
 		off = left->width / 2.;
-		draw_func (left, cr, x + off, y, x + off, y + height);
+		draw_func (left, cr,
+			   x + off, y, x + off, y + height);
 	}
 
 	if (top && top->flags) {
 		draw_func = get_draw_func (top);
 		off = top->width / 2.;
-		draw_func (top, cr, x, y + off, x + width, y + off);
+		draw_func (top, cr,
+			   x, y + off, x + width, y + off);
 	}
 
 	if (right && right->flags) {
 		draw_func = get_draw_func (right);
 		off = right->width / 2.;
-		draw_func (right, cr, x + width - off, y, x + width - off, y + height);
+		draw_func (right, cr,
+			   x + width - off, y, x + width - off, y + height);
 	}
 
 	if (bottom && bottom->flags) {
 		draw_func = get_draw_func (bottom);
 		off = bottom->width / 2.;
-		draw_func (bottom, cr, x + width, y + height - off, x, y + height - off);
+		draw_func (bottom, cr,
+			   x + width, y + height - off, x, y + height - off);
 	}
 }
 



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