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
This commit is contained in:
Arturo Espinosa
1998-09-15 04:19:56 +00:00
parent 95099ae101
commit 70fa0cb326
3 changed files with 60 additions and 2 deletions

View File

@ -1,7 +1,17 @@
#ifndef CURSORS_H #ifndef CURSORS_H
#define 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_init (void);
void cursors_shutdown (void); void cursors_shutdown (void);

View File

@ -1,7 +1,17 @@
#ifndef CURSORS_H #ifndef CURSORS_H
#define 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_init (void);
void cursors_shutdown (void); void cursors_shutdown (void);

View File

@ -0,0 +1,38 @@
/* XPM */
static char * cursor_cross_xpm[] = {
"32 32 3 1",
" c None",
". c #000000",
"+ c #FFFFFF",
" ",
" ",
" ",
" ",
" ",
" ......... ",
" .+++++++.. ",
" .+++++++.. ",
" .+++++++.. ",
" .+++++++.. ",
" .+++++++.. ",
" .......+++++++........ ",
" .+++++++++++++++++++.. ",
" .+++++++++++++++++++.. ",
" .+++++++++++++++++++.. ",
" .+++++++++++++++++++.. ",
" .+++++++++++++++++++.. ",
" .+++++++++++++++++++.. ",
" .+++++++++++++++++++.. ",
" .......+++++++........ ",
" ......+++++++........ ",
" .+++++++.. ",
" .+++++++.. ",
" .+++++++.. ",
" .+++++++.. ",
" .......... ",
" ......... ",
" ",
" ",
" ",
" ",
" "};