aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-canvas.h
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-06-21 11:45:32 +0800
committerChris Lahey <clahey@src.gnome.org>2000-06-21 11:45:32 +0800
commit26f8433aa06f52cefb43fa6d69a4101d6563ef8b (patch)
tree1fc10cbb639cf7efac573125d3718ce7e25ecd4d /e-util/e-canvas.h
parente7b121771f307c4eed3ca92a6920d4b6328261de (diff)
downloadgsoc2013-evolution-26f8433aa06f52cefb43fa6d69a4101d6563ef8b.tar.gz
gsoc2013-evolution-26f8433aa06f52cefb43fa6d69a4101d6563ef8b.tar.zst
gsoc2013-evolution-26f8433aa06f52cefb43fa6d69a4101d6563ef8b.zip
Added a variable to keep track of the cursor. Set the cursor when
2000-06-20 Christopher James Lahey <clahey@helixcode.com> * 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
Diffstat (limited to 'e-util/e-canvas.h')
-rw-r--r--e-util/e-canvas.h14
1 files changed, 10 insertions, 4 deletions
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