r3612 - in trunk/src/target/OM-2007.2/libraries/moko-gtk-engine: . src
thomas at sita.openmoko.org
thomas at sita.openmoko.org
Fri Dec 7 16:04:24 CET 2007
Author: thomas
Date: 2007-12-07 16:04:23 +0100 (Fri, 07 Dec 2007)
New Revision: 3612
Modified:
trunk/src/target/OM-2007.2/libraries/moko-gtk-engine/ChangeLog
trunk/src/target/OM-2007.2/libraries/moko-gtk-engine/src/moko-draw.c
Log:
* src/moko-draw.c: (moko_draw_vline), (moko_draw_hline),
(moko_draw_style_class_init):
Add hline and vline functions, but don't actually draw anything
Modified: trunk/src/target/OM-2007.2/libraries/moko-gtk-engine/ChangeLog
===================================================================
--- trunk/src/target/OM-2007.2/libraries/moko-gtk-engine/ChangeLog 2007-12-07 14:06:28 UTC (rev 3611)
+++ trunk/src/target/OM-2007.2/libraries/moko-gtk-engine/ChangeLog 2007-12-07 15:04:23 UTC (rev 3612)
@@ -1,5 +1,12 @@
2007-12-07 Thomas Wood <thomas at openedhand.com>
+ * src/moko-draw.c: (moko_draw_vline), (moko_draw_hline),
+ (moko_draw_style_class_init):
+
+ Add hline and vline functions, but don't actually draw anything
+
+2007-12-07 Thomas Wood <thomas at openedhand.com>
+
* src/moko-draw.c: (moko_gradient):
* src/moko-utils.c: (moko_shade_colour):
Change how shading operates to allow shading up from black.
Modified: trunk/src/target/OM-2007.2/libraries/moko-gtk-engine/src/moko-draw.c
===================================================================
--- trunk/src/target/OM-2007.2/libraries/moko-gtk-engine/src/moko-draw.c 2007-12-07 14:06:28 UTC (rev 3611)
+++ trunk/src/target/OM-2007.2/libraries/moko-gtk-engine/src/moko-draw.c 2007-12-07 15:04:23 UTC (rev 3612)
@@ -448,8 +448,25 @@
}
+void
+moko_draw_vline (GtkStyle *style, GdkWindow *window, GtkStateType state_type,
+ GdkRectangle *area, GtkWidget *widget, const gchar *detail, gint x1, gint
+ x2, gint y)
+{
+ /* don't paint anything for the moment */
+}
void
+moko_draw_hline (GtkStyle *style, GdkWindow *window, GtkStateType state_type,
+ GdkRectangle *area, GtkWidget *widget, const gchar *detail, gint x1, gint
+ x2, gint y)
+{
+ /* don't paint anything for the moment */
+}
+
+
+
+void
moko_draw_style_class_init (GtkStyleClass * style_class)
{
@@ -463,4 +480,7 @@
style_class->draw_shadow_gap = moko_draw_box_gap;
style_class->draw_extension = moko_draw_extension;
style_class->draw_focus = moko_draw_focus;
+ style_class->draw_vline = moko_draw_vline;
+ style_class->draw_hline = moko_draw_hline;
+
}
More information about the commitlog
mailing list