/[graveman]/graveman/current/src/support.c
ViewVC logotype

Diff of /graveman/current/src/support.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by scresto, Thu Jan 20 02:57:27 2005 UTC revision 1.3 by scresto, Fri Feb 11 00:53:37 2005 UTC
# Line 26  Line 26 
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. */
# Line 147  _DEB("ON ENREGISTRE => '%s'", Lkey); Line 149  _DEB("ON ENREGISTRE => '%s'", Lkey);
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   */   */

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26