[cairo-commit]
cairo-demo/sproing ChangeLog, 1.4, 1.5 sproing.c, 1.3, 1.4
Carl Worth
commit at pdx.freedesktop.org
Mon Mar 28 06:28:40 PST 2005
Committed by: cworth
Update of /cvs/cairo/cairo-demo/sproing
In directory gabe:/tmp/cvs-serv32409
Modified Files:
ChangeLog sproing.c
Log Message:
* sproing.c: (sproing_expose_event), (sproing_button_press_event),
(sproing_motion_notify_event), (create_window): Remove old
scribble names left over from some copy-and-paste.
Index: ChangeLog
===================================================================
RCS file: /cvs/cairo/cairo-demo/sproing/ChangeLog,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- ChangeLog 28 Mar 2005 14:25:19 -0000 1.4
+++ ChangeLog 28 Mar 2005 14:28:38 -0000 1.5
@@ -1,5 +1,16 @@
2005-03-28 Carl Worth <cworth at cworth.org>
+ * sproing.c: (sproing_expose_event), (sproing_button_press_event),
+ (sproing_motion_notify_event), (create_window): Remove old
+ scribble names left over from some copy-and-paste.
+
+2005-03-28 Carl Worth <cworth at cworth.org>
+
+ * sproing.c: (sproing_expose_event), (sproing_button_press_event),
+ (sproing_motion_notify_event), (create_window):
+
+2005-03-28 Carl Worth <cworth at cworth.org>
+
* sproing.c (scribble_button_press_event): Fix pixel-alignment bug
on button press without motion.
Index: sproing.c
===================================================================
RCS file: /cvs/cairo/cairo-demo/sproing/sproing.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- sproing.c 28 Mar 2005 14:25:19 -0000 1.3
+++ sproing.c 28 Mar 2005 14:28:38 -0000 1.4
@@ -452,9 +452,9 @@
}
static gboolean
-scribble_expose_event (GtkWidget *widget,
- GdkEventExpose *event,
- gpointer data)
+sproing_expose_event (GtkWidget *widget,
+ GdkEventExpose *event,
+ gpointer data)
{
Model *model = data;
int i;
@@ -479,9 +479,9 @@
}
static gboolean
-scribble_button_press_event (GtkWidget *widget,
- GdkEventButton *event,
- gpointer data)
+sproing_button_press_event (GtkWidget *widget,
+ GdkEventButton *event,
+ gpointer data)
{
Model *model = data;
@@ -492,9 +492,9 @@
}
static gboolean
-scribble_motion_notify_event (GtkWidget *widget,
- GdkEventMotion *event,
- gpointer data)
+sproing_motion_notify_event (GtkWidget *widget,
+ GdkEventMotion *event,
+ gpointer data)
{
Model *model = data;
int x, y;
@@ -575,7 +575,7 @@
gtk_container_add (GTK_CONTAINER (window), vbox);
/*
- * Create the scribble area
+ * Create the drawing area
*/
frame = gtk_frame_new (NULL);
@@ -591,14 +591,14 @@
/* Signals used to handle backing pixmap */
g_signal_connect (da, "expose_event",
- G_CALLBACK (scribble_expose_event), model);
+ G_CALLBACK (sproing_expose_event), model);
/* Event signals */
g_signal_connect (da, "motion_notify_event",
- G_CALLBACK (scribble_motion_notify_event), model);
+ G_CALLBACK (sproing_motion_notify_event), model);
g_signal_connect (da, "button_press_event",
- G_CALLBACK (scribble_button_press_event), model);
+ G_CALLBACK (sproing_button_press_event), model);
/* Ask to receive events the drawing area doesn't normally
More information about the cairo-commit
mailing list