#include "config.h"
#include "gdkcursor.h"
#include "gdkwin32.h"
Go to the source code of this file.
Functions | |
GdkCursor * | gdk_cursor_new (GdkCursorType cursor_type) |
GdkCursor * | gdk_syscursor_new (unsigned long syscur) |
static gboolean | color_is_white (GdkColor *color) |
GdkCursor * | gdk_cursor_new_from_pixmap (GdkPixmap *source, GdkPixmap *mask, GdkColor *fg, GdkColor *bg, gint x, gint y) |
void | _gdk_cursor_destroy (GdkCursor *cursor) |
Variables | |
struct { | |
const char * name | |
int type | |
} | cursors [] |
void _gdk_cursor_destroy | ( | GdkCursor * | cursor | ) |
Definition at line 258 of file gdkcursor-win32.c.
References g_free(), g_print(), g_return_if_fail, GDK_CURSOR_IS_PIXMAP, GDK_NOTE, NULL, private, _GdkCursor::type, and WIN32_API_FAILED.
Referenced by gdk_cursor_unref().
GdkCursor* gdk_cursor_new | ( | GdkCursorType | cursor_type | ) |
Definition at line 77 of file gdkcursor-win32.c.
References cursors, g_new, g_print(), g_warning(), gdk_DLLInstance, GDK_NOTE, i, name, NULL, _GdkCursor::ref_count, _GdkCursor::type, and WIN32_API_FAILED.
Referenced by TGWin32::OpenDisplay(), TGWin32::RequestLocator(), and TGWin32::RequestString().
GdkCursor* gdk_cursor_new_from_pixmap | ( | GdkPixmap * | source, | |
GdkPixmap * | mask, | |||
GdkColor * | fg, | |||
GdkColor * | bg, | |||
gint | x, | |||
gint | y | |||
) |
Definition at line 133 of file gdkcursor-win32.c.
References _GdkImage::bpl, color_is_white(), CreateCursor(), _GdkImage::depth, for(), g_free(), g_malloc(), g_malloc0(), g_new, g_print(), g_return_val_if_fail, GDK_CURSOR_IS_PIXMAP, GDK_DRAWABLE_XID, gdk_image_get(), gdk_image_unref(), GDK_NOTE, gdk_ProgInstance, _GdkDrawablePrivate::height, height, mask, _GdkImage::mem, NULL, p, _GdkCursor::ref_count, _GdkCursor::type, _GdkDrawablePrivate::width, and width.
Referenced by TGWin32::OpenDisplay().
Definition at line 107 of file gdkcursor-win32.c.
References g_new, g_print(), GDK_NOTE, NULL, _GdkCursor::ref_count, _GdkCursor::type, and WIN32_API_FAILED.
Referenced by TGWin32::OpenDisplay(), TGWin32::RequestLocator(), and TGWin32::RequestString().
struct { ... } cursors[] [static] |
Referenced by gdk_cursor_new().
const char* name |
Definition at line 26 of file gdkcursor-win32.c.
int type |
Definition at line 27 of file gdkcursor-win32.c.