gdkcursor-win32.c File Reference

#include "config.h"
#include "gdkcursor.h"
#include "gdkwin32.h"

Go to the source code of this file.

Functions

GdkCursorgdk_cursor_new (GdkCursorType cursor_type)
GdkCursorgdk_syscursor_new (unsigned long syscur)
static gboolean color_is_white (GdkColor *color)
GdkCursorgdk_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 []


Function Documentation

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().

static gboolean color_is_white ( GdkColor color  )  [static]

Definition at line 127 of file gdkcursor-win32.c.

Referenced by gdk_cursor_new_from_pixmap().

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().

GdkCursor* gdk_syscursor_new ( unsigned long  syscur  ) 

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().


Variable Documentation

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.


Generated on Tue Jul 5 15:58:42 2011 for ROOT_528-00b_version by  doxygen 1.5.1