From 26f8433aa06f52cefb43fa6d69a4101d6563ef8b Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Wed, 21 Jun 2000 03:45:32 +0000 Subject: Added a variable to keep track of the cursor. Set the cursor when 2000-06-20 Christopher James Lahey * e-canvas.c, e-canvas.h: Added a variable to keep track of the cursor. Set the cursor when selection_add is called. Properly unset the cursor at the right times. svn path=/trunk/; revision=3663 --- e-util/e-canvas.h | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'e-util/e-canvas.h') diff --git a/e-util/e-canvas.h b/e-util/e-canvas.h index 9e572a1179..06e3768e12 100644 --- a/e-util/e-canvas.h +++ b/e-util/e-canvas.h @@ -66,12 +66,18 @@ enum { E_CANVAS_ITEM_SELECTION_DELETE_DATA = 1 << 2, }; +typedef struct { + GnomeCanvasItem *item; + gpointer id; +} ECanvasSelectionInfo; + struct _ECanvas { - GnomeCanvas parent; - - int idle_id; - GList *selection; + GnomeCanvas parent; + + int idle_id; + GList *selection; + ECanvasSelectionInfo *cursor; }; struct _ECanvasClass -- cgit v1.2.3