1
/* GDK - The GIMP Drawing Kit
2
* Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
4
* This library is free software; you can redistribute it and/or
5
* modify it under the terms of the GNU Lesser General Public
6
* License as published by the Free Software Foundation; either
7
* version 2 of the License, or (at your option) any later version.
9
* This library is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12
* Lesser General Public License for more details.
14
* You should have received a copy of the GNU Lesser General Public
15
* License along with this library; if not, write to the
16
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17
* Boston, MA 02111-1307, USA.
21
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS
22
* file for a list of people on the GTK+ Team. See the ChangeLog
23
* files for a list of changes. These files are distributed with
24
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
27
#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION)
28
#error "Only <gdk/gdk.h> can be included directly."
31
#ifndef __GDK_CURSOR_H__
32
#define __GDK_CURSOR_H__
34
#include <gdk/gdktypes.h>
35
#include <gdk-pixbuf/gdk-pixbuf.h>
39
#define GDK_TYPE_CURSOR (gdk_cursor_get_type ())
47
GDK_BASED_ARROW_DOWN = 4,
48
GDK_BASED_ARROW_UP = 6,
51
GDK_BOTTOM_LEFT_CORNER = 12,
52
GDK_BOTTOM_RIGHT_CORNER = 14,
61
GDK_CROSS_REVERSE = 32,
63
GDK_DIAMOND_CROSS = 36,
66
GDK_DOUBLE_ARROW = 42,
86
GDK_MIDDLEBUTTON = 82,
91
GDK_QUESTION_ARROW = 92,
95
GDK_RIGHTBUTTON = 100,
98
GDK_SB_DOWN_ARROW = 106,
99
GDK_SB_H_DOUBLE_ARROW = 108,
100
GDK_SB_LEFT_ARROW = 110,
101
GDK_SB_RIGHT_ARROW = 112,
102
GDK_SB_UP_ARROW = 114,
103
GDK_SB_V_DOUBLE_ARROW = 116,
111
GDK_TOP_LEFT_ARROW = 132,
112
GDK_TOP_LEFT_CORNER = 134,
113
GDK_TOP_RIGHT_CORNER = 136,
123
GDK_BLANK_CURSOR = -2,
124
GDK_CURSOR_IS_PIXMAP = -1
129
GdkCursorType GSEAL (type);
131
guint GSEAL (ref_count);
137
GType gdk_cursor_get_type (void) G_GNUC_CONST;
139
GdkCursor* gdk_cursor_new_for_display (GdkDisplay *display,
140
GdkCursorType cursor_type);
141
#ifndef GDK_MULTIHEAD_SAFE
142
GdkCursor* gdk_cursor_new (GdkCursorType cursor_type);
144
GdkCursor* gdk_cursor_new_from_pixmap (GdkPixmap *source,
150
GdkCursor* gdk_cursor_new_from_pixbuf (GdkDisplay *display,
154
GdkDisplay* gdk_cursor_get_display (GdkCursor *cursor);
155
GdkCursor* gdk_cursor_ref (GdkCursor *cursor);
156
void gdk_cursor_unref (GdkCursor *cursor);
157
GdkCursor* gdk_cursor_new_from_name (GdkDisplay *display,
159
GdkPixbuf* gdk_cursor_get_image (GdkCursor *cursor);
160
GdkCursorType gdk_cursor_get_cursor_type (GdkCursor *cursor);
162
#ifndef GDK_DISABLE_DEPRECATED
163
#define gdk_cursor_destroy gdk_cursor_unref
164
#endif /* GDK_DISABLE_DEPRECATED */
168
#endif /* __GDK_CURSOR_H__ */