aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-cursors.h
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/misc/e-cursors.h')
-rw-r--r--widgets/misc/e-cursors.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/widgets/misc/e-cursors.h b/widgets/misc/e-cursors.h
index 973602e175..2111d16d3b 100644
--- a/widgets/misc/e-cursors.h
+++ b/widgets/misc/e-cursors.h
@@ -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);