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:
@ -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);
|
||||||
|
@ -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);
|
||||||
|
38
widgets/misc/pixmaps/cursor_cross.xpm
Normal file
38
widgets/misc/pixmaps/cursor_cross.xpm
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
/* XPM */
|
||||||
|
static char * cursor_cross_xpm[] = {
|
||||||
|
"32 32 3 1",
|
||||||
|
" c None",
|
||||||
|
". c #000000",
|
||||||
|
"+ c #FFFFFF",
|
||||||
|
" ",
|
||||||
|
" ",
|
||||||
|
" ",
|
||||||
|
" ",
|
||||||
|
" ",
|
||||||
|
" ......... ",
|
||||||
|
" .+++++++.. ",
|
||||||
|
" .+++++++.. ",
|
||||||
|
" .+++++++.. ",
|
||||||
|
" .+++++++.. ",
|
||||||
|
" .+++++++.. ",
|
||||||
|
" .......+++++++........ ",
|
||||||
|
" .+++++++++++++++++++.. ",
|
||||||
|
" .+++++++++++++++++++.. ",
|
||||||
|
" .+++++++++++++++++++.. ",
|
||||||
|
" .+++++++++++++++++++.. ",
|
||||||
|
" .+++++++++++++++++++.. ",
|
||||||
|
" .+++++++++++++++++++.. ",
|
||||||
|
" .+++++++++++++++++++.. ",
|
||||||
|
" .......+++++++........ ",
|
||||||
|
" ......+++++++........ ",
|
||||||
|
" .+++++++.. ",
|
||||||
|
" .+++++++.. ",
|
||||||
|
" .+++++++.. ",
|
||||||
|
" .+++++++.. ",
|
||||||
|
" .......... ",
|
||||||
|
" ......... ",
|
||||||
|
" ",
|
||||||
|
" ",
|
||||||
|
" ",
|
||||||
|
" ",
|
||||||
|
" "};
|
Reference in New Issue
Block a user