aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-cursors.c
diff options
context:
space:
mode:
authorArturo Espinosa <unammx@src.gnome.org>1998-09-15 12:19:56 +0800
committerArturo Espinosa <unammx@src.gnome.org>1998-09-15 12:19:56 +0800
commit70fa0cb32695a4e52637d3d2071ae3f638157c41 (patch)
tree9dba1f0ddbcbf3783a9eea48192aa9b1028924ad /widgets/misc/e-cursors.c
parent95099ae101afb0f56803478a93ac5a0b2ca09915 (diff)
downloadgsoc2013-evolution-70fa0cb32695a4e52637d3d2071ae3f638157c41.tar
gsoc2013-evolution-70fa0cb32695a4e52637d3d2071ae3f638157c41.tar.gz
gsoc2013-evolution-70fa0cb32695a4e52637d3d2071ae3f638157c41.tar.bz2
gsoc2013-evolution-70fa0cb32695a4e52637d3d2071ae3f638157c41.tar.lz
gsoc2013-evolution-70fa0cb32695a4e52637d3d2071ae3f638157c41.tar.xz
gsoc2013-evolution-70fa0cb32695a4e52637d3d2071ae3f638157c41.tar.zst
gsoc2013-evolution-70fa0cb32695a4e52637d3d2071ae3f638157c41.zip
Got cursors working.
Got cursors working. Use the cursors properly on the spreadhseet (gives good feedback on what is going to happen). More work on autofill. miguel. svn path=/trunk/; revision=377
Diffstat (limited to 'widgets/misc/e-cursors.c')
-rw-r--r--widgets/misc/e-cursors.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/widgets/misc/e-cursors.c b/widgets/misc/e-cursors.c
index 973602e175..2111d16d3b 100644
--- a/widgets/misc/e-cursors.c
+++ b/widgets/misc/e-cursors.c
@@ -1,7 +1,17 @@
#ifndef CURSORS_H
#define CURSORS_H
-extern GdkCursor *gnumeric_cursors [];
+typedef struct {
+ GdkCursor *cursor;
+ int hot_x, hot_y;
+ char **xpm;
+} GnumericCursorDef;
+
+#define GNUMERIC_CURSOR_FAT_CROSS 0
+#define GNUMERIC_CURSOR_THIN_CROSS 1
+#define GNUMERIC_CURSOR_ARROW 2
+
+extern GnumericCursorDef gnumeric_cursors [];
void cursors_init (void);
void cursors_shutdown (void);