26 |
|
|
27 |
#include "graveman.h" |
#include "graveman.h" |
28 |
|
|
29 |
|
static GdkCursor *_cursor = NULL; |
30 |
|
|
31 |
static GList *pixmaps_directories = NULL; |
static GList *pixmaps_directories = NULL; |
32 |
|
|
33 |
/* Use this function to set the directory containing installed pixmaps. */ |
/* Use this function to set the directory containing installed pixmaps. */ |
149 |
|
|
150 |
return Lreturn; |
return Lreturn; |
151 |
} |
} |
152 |
|
|
153 |
|
/* gestion du curseur de la souris */ |
154 |
|
void set_cursor(GtkWidget *Awindow, GdkCursorType Acursortype) |
155 |
|
{ |
156 |
|
_cursor = gdk_cursor_new(Acursortype); |
157 |
|
gdk_window_set_cursor(GDK_WINDOW(Awindow->window), _cursor); |
158 |
|
gdk_flush (); |
159 |
|
} |
160 |
|
|
161 |
|
void unset_cursor(GtkWidget *Awindow) |
162 |
|
{ |
163 |
|
gdk_window_set_cursor(GDK_WINDOW(Awindow->window), NULL); |
164 |
|
gdk_cursor_unref(_cursor); |
165 |
|
} |
166 |
|
|
167 |
/* |
/* |
168 |
* vim:et:ts=8:sts=2:sw=2 |
* vim:et:ts=8:sts=2:sw=2 |
169 |
*/ |
*/ |