gdkcursor.h

Go to the documentation of this file.
00001 #ifndef __GDK_CURSOR_H__
00002 #define __GDK_CURSOR_H__
00003 
00004 #include <gdk/gdktypes.h>
00005 
00006 #ifdef __cplusplus
00007 extern "C" {
00008 #endif                          /* __cplusplus */
00009 
00010 /* Cursor types.
00011  */
00012    typedef enum {
00013 #include <gdk/gdkcursors.h>
00014       GDK_LAST_CURSOR,
00015       GDK_CURSOR_IS_PIXMAP = -1
00016    } GdkCursorType;
00017 
00018    struct _GdkCursor {
00019       GdkCursorType type;
00020       guint ref_count;
00021    };
00022 
00023 /* Cursors
00024  */
00025    GdkCursor *gdk_cursor_new(GdkCursorType cursor_type);
00026    GdkCursor *gdk_cursor_new_from_pixmap(GdkPixmap * source,
00027                                          GdkPixmap * mask,
00028                                          GdkColor * fg,
00029                                          GdkColor * bg, gint x, gint y);
00030    GdkCursor *gdk_syscursor_new(unsigned long syscur);
00031    GdkCursor *gdk_cursor_ref(GdkCursor * cursor);
00032    void gdk_cursor_unref(GdkCursor * cursor);
00033 
00034 #ifdef __cplusplus
00035 }
00036 #endif                          /* __cplusplus */
00037 #endif                          /* __GDK_CURSOR_H__ */

Generated on Tue Jul 5 14:14:37 2011 for ROOT_528-00b_version by  doxygen 1.5.1