mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-13 04:10:13 +00:00
40 lines
686 B
C
40 lines
686 B
C
|
#ifndef __GDK_CURSOR_H__
|
||
|
#define __GDK_CURSOR_H__
|
||
|
|
||
|
#include <gdk/gdktypes.h>
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif /* __cplusplus */
|
||
|
|
||
|
/* Cursor types.
|
||
|
*/
|
||
|
typedef enum
|
||
|
{
|
||
|
#include <gdk/gdkcursors.h>
|
||
|
GDK_LAST_CURSOR,
|
||
|
GDK_CURSOR_IS_PIXMAP = -1
|
||
|
} GdkCursorType;
|
||
|
|
||
|
struct _GdkCursor
|
||
|
{
|
||
|
GdkCursorType type;
|
||
|
};
|
||
|
|
||
|
/* Cursors
|
||
|
*/
|
||
|
GdkCursor* gdk_cursor_new (GdkCursorType cursor_type);
|
||
|
GdkCursor* gdk_cursor_new_from_pixmap (GdkPixmap *source,
|
||
|
GdkPixmap *mask,
|
||
|
GdkColor *fg,
|
||
|
GdkColor *bg,
|
||
|
gint x,
|
||
|
gint y);
|
||
|
void gdk_cursor_destroy (GdkCursor *cursor);
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif /* __cplusplus */
|
||
|
|
||
|
#endif /* __GDK_CURSOR_H__ */
|