Move fallback dnd cursors to resources
This commit is contained in:
parent
622b78c000
commit
6afeb8d355
@ -426,7 +426,6 @@ gtk_private_h_sources = \
|
|||||||
gtkcssstylefuncsprivate.h \
|
gtkcssstylefuncsprivate.h \
|
||||||
gtkcssstylepropertyprivate.h \
|
gtkcssstylepropertyprivate.h \
|
||||||
gtkcustompaperunixdialog.h \
|
gtkcustompaperunixdialog.h \
|
||||||
gtkdndcursors.h \
|
|
||||||
gtkentryprivate.h \
|
gtkentryprivate.h \
|
||||||
gtkfilechooserdefault.h \
|
gtkfilechooserdefault.h \
|
||||||
gtkfilechooserembed.h \
|
gtkfilechooserembed.h \
|
||||||
@ -947,6 +946,13 @@ EXTRA_DIST += $(gtk_private_h_sources) $(gtk_extra_sources)
|
|||||||
EXTRA_DIST += $(gtk_built_sources)
|
EXTRA_DIST += $(gtk_built_sources)
|
||||||
EXTRA_DIST += $(STOCK_ICONS)
|
EXTRA_DIST += $(STOCK_ICONS)
|
||||||
|
|
||||||
|
DND_CURSORS = \
|
||||||
|
cursor_dnd_ask.png \
|
||||||
|
cursor_dnd_copy.png \
|
||||||
|
cursor_dnd_link.png \
|
||||||
|
cursor_dnd_move.png \
|
||||||
|
cursor_dnd_none.png
|
||||||
|
|
||||||
#
|
#
|
||||||
# rules to generate built sources
|
# rules to generate built sources
|
||||||
#
|
#
|
||||||
@ -991,7 +997,7 @@ gtktypebuiltins.c: @REBUILD@ $(gtk_public_h_sources) $(deprecated_h_sources) gtk
|
|||||||
gtkresources.h: gtk.gresource.xml
|
gtkresources.h: gtk.gresource.xml
|
||||||
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) gtk.gresource.xml \
|
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) gtk.gresource.xml \
|
||||||
--target=$@ --sourcedir=$(srcdir) --c-name _gtk --generate-header --manual-register
|
--target=$@ --sourcedir=$(srcdir) --c-name _gtk --generate-header --manual-register
|
||||||
gtkresources.c: gtk.gresource.xml gtk-default.css gtk-win32.css
|
gtkresources.c: gtk.gresource.xml gtk-default.css gtk-win32.css $(DND_CURSORS)
|
||||||
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) gtk.gresource.xml \
|
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) gtk.gresource.xml \
|
||||||
--target=$@ --sourcedir=$(srcdir) --c-name _gtk --generate-source --manual-register
|
--target=$@ --sourcedir=$(srcdir) --c-name _gtk --generate-source --manual-register
|
||||||
|
|
||||||
@ -1525,6 +1531,7 @@ endif
|
|||||||
|
|
||||||
EXTRA_DIST += \
|
EXTRA_DIST += \
|
||||||
$(STOCK_ICONS) \
|
$(STOCK_ICONS) \
|
||||||
|
$(DND_CURSORS) \
|
||||||
$(GENERATED_ICONS) \
|
$(GENERATED_ICONS) \
|
||||||
gtk.def \
|
gtk.def \
|
||||||
gtk-win32.rc \
|
gtk-win32.rc \
|
||||||
|
@ -3,5 +3,10 @@
|
|||||||
<gresource prefix="/org/gtk/libgtk">
|
<gresource prefix="/org/gtk/libgtk">
|
||||||
<file>gtk-default.css</file>
|
<file>gtk-default.css</file>
|
||||||
<file>gtk-win32.css</file>
|
<file>gtk-win32.css</file>
|
||||||
|
<file alias="cursor/dnd-ask.png">cursor_dnd_ask.png</file>
|
||||||
|
<file alias="cursor/dnd-link.png">cursor_dnd_link.png</file>
|
||||||
|
<file alias="cursor/dnd-none.png">cursor_dnd_none.png</file>
|
||||||
|
<file alias="cursor/dnd-move.png">cursor_dnd_move.png</file>
|
||||||
|
<file alias="cursor/dnd-copy.png">cursor_dnd_copy.png</file>
|
||||||
</gresource>
|
</gresource>
|
||||||
</gresources>
|
</gresources>
|
||||||
|
42
gtk/gtkdnd.c
42
gtk/gtkdnd.c
@ -52,7 +52,6 @@
|
|||||||
#include "gtktooltip.h"
|
#include "gtktooltip.h"
|
||||||
#include "gtkwindow.h"
|
#include "gtkwindow.h"
|
||||||
#include "gtkintl.h"
|
#include "gtkintl.h"
|
||||||
#include "gtkdndcursors.h"
|
|
||||||
#include "gtkselectionprivate.h"
|
#include "gtkselectionprivate.h"
|
||||||
|
|
||||||
|
|
||||||
@ -309,16 +308,15 @@ static void set_icon_helper (GdkDragContext *context,
|
|||||||
static struct {
|
static struct {
|
||||||
GdkDragAction action;
|
GdkDragAction action;
|
||||||
const gchar *name;
|
const gchar *name;
|
||||||
const guint8 *data;
|
|
||||||
GdkPixbuf *pixbuf;
|
GdkPixbuf *pixbuf;
|
||||||
GdkCursor *cursor;
|
GdkCursor *cursor;
|
||||||
} drag_cursors[] = {
|
} drag_cursors[] = {
|
||||||
{ GDK_ACTION_DEFAULT, NULL },
|
{ GDK_ACTION_DEFAULT, NULL },
|
||||||
{ GDK_ACTION_ASK, "dnd-ask", dnd_cursor_ask, NULL, NULL },
|
{ GDK_ACTION_ASK, "dnd-ask", NULL, NULL },
|
||||||
{ GDK_ACTION_COPY, "dnd-copy", dnd_cursor_copy, NULL, NULL },
|
{ GDK_ACTION_COPY, "dnd-copy", NULL, NULL },
|
||||||
{ GDK_ACTION_MOVE, "dnd-move", dnd_cursor_move, NULL, NULL },
|
{ GDK_ACTION_MOVE, "dnd-move", NULL, NULL },
|
||||||
{ GDK_ACTION_LINK, "dnd-link", dnd_cursor_link, NULL, NULL },
|
{ GDK_ACTION_LINK, "dnd-link", NULL, NULL },
|
||||||
{ 0 , "dnd-none", dnd_cursor_none, NULL, NULL },
|
{ 0 , "dnd-none", NULL, NULL },
|
||||||
};
|
};
|
||||||
|
|
||||||
/*********************
|
/*********************
|
||||||
@ -820,6 +818,22 @@ gtk_drag_can_use_rgba_cursor (GdkDisplay *display,
|
|||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void
|
||||||
|
ensure_drag_cursor_pixbuf (int i)
|
||||||
|
{
|
||||||
|
if (drag_cursors[i].pixbuf == NULL)
|
||||||
|
{
|
||||||
|
char *path = g_strconcat ("/org/gtk/libgtk/cursor/", drag_cursors[i].name, ".png", NULL);
|
||||||
|
GInputStream *stream = g_resources_open_stream (path, 0, NULL);
|
||||||
|
if (stream != NULL)
|
||||||
|
{
|
||||||
|
drag_cursors[i].pixbuf = gdk_pixbuf_new_from_stream (stream, NULL, NULL);
|
||||||
|
g_object_unref (stream);
|
||||||
|
}
|
||||||
|
g_free (path);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
static GdkCursor *
|
static GdkCursor *
|
||||||
gtk_drag_get_cursor (GtkWidget *widget,
|
gtk_drag_get_cursor (GtkWidget *widget,
|
||||||
GdkDisplay *display,
|
GdkDisplay *display,
|
||||||
@ -845,10 +859,6 @@ gtk_drag_get_cursor (GtkWidget *widget,
|
|||||||
if (drag_cursors[i].action == action)
|
if (drag_cursors[i].action == action)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
if (drag_cursors[i].pixbuf == NULL)
|
|
||||||
drag_cursors[i].pixbuf =
|
|
||||||
gdk_pixbuf_new_from_inline (-1, drag_cursors[i].data, FALSE, NULL);
|
|
||||||
|
|
||||||
if (drag_cursors[i].cursor != NULL)
|
if (drag_cursors[i].cursor != NULL)
|
||||||
{
|
{
|
||||||
if (display != gdk_cursor_get_display (drag_cursors[i].cursor))
|
if (display != gdk_cursor_get_display (drag_cursors[i].cursor))
|
||||||
@ -862,7 +872,10 @@ gtk_drag_get_cursor (GtkWidget *widget,
|
|||||||
drag_cursors[i].cursor = gdk_cursor_new_from_name (display, drag_cursors[i].name);
|
drag_cursors[i].cursor = gdk_cursor_new_from_name (display, drag_cursors[i].name);
|
||||||
|
|
||||||
if (drag_cursors[i].cursor == NULL)
|
if (drag_cursors[i].cursor == NULL)
|
||||||
drag_cursors[i].cursor = gdk_cursor_new_from_pixbuf (display, drag_cursors[i].pixbuf, 0, 0);
|
{
|
||||||
|
ensure_drag_cursor_pixbuf (i);
|
||||||
|
drag_cursors[i].cursor = gdk_cursor_new_from_pixbuf (display, drag_cursors[i].pixbuf, 0, 0);
|
||||||
|
}
|
||||||
|
|
||||||
if (info && info->icon_helper)
|
if (info && info->icon_helper)
|
||||||
{
|
{
|
||||||
@ -893,7 +906,10 @@ gtk_drag_get_cursor (GtkWidget *widget,
|
|||||||
hot_x = hot_y = 0;
|
hot_x = hot_y = 0;
|
||||||
cursor_pixbuf = gdk_cursor_get_image (drag_cursors[i].cursor);
|
cursor_pixbuf = gdk_cursor_get_image (drag_cursors[i].cursor);
|
||||||
if (!cursor_pixbuf)
|
if (!cursor_pixbuf)
|
||||||
cursor_pixbuf = g_object_ref (drag_cursors[i].pixbuf);
|
{
|
||||||
|
ensure_drag_cursor_pixbuf (i);
|
||||||
|
cursor_pixbuf = g_object_ref (drag_cursors[i].pixbuf);
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (gdk_pixbuf_get_option (cursor_pixbuf, "x_hot"))
|
if (gdk_pixbuf_get_option (cursor_pixbuf, "x_hot"))
|
||||||
|
@ -1,347 +0,0 @@
|
|||||||
/* GdkPixbuf RGBA C-Source image dump */
|
|
||||||
|
|
||||||
#ifdef __SUNPRO_C
|
|
||||||
#pragma align 4 (dnd_cursor_ask)
|
|
||||||
#endif
|
|
||||||
#ifdef __GNUC__
|
|
||||||
static const guint8 dnd_cursor_ask[] __attribute__ ((__aligned__ (4))) =
|
|
||||||
#else
|
|
||||||
static const guint8 dnd_cursor_ask[] =
|
|
||||||
#endif
|
|
||||||
{ ""
|
|
||||||
/* Pixbuf magic (0x47646b50) */
|
|
||||||
"GdkP"
|
|
||||||
/* length: header (24) + pixel_data (1024) */
|
|
||||||
"\0\0\4\30"
|
|
||||||
/* pixdata_type (0x1010002) */
|
|
||||||
"\1\1\0\2"
|
|
||||||
/* rowstride (64) */
|
|
||||||
"\0\0\0@"
|
|
||||||
/* width (16) */
|
|
||||||
"\0\0\0\20"
|
|
||||||
/* height (16) */
|
|
||||||
"\0\0\0\20"
|
|
||||||
/* pixel_data: */
|
|
||||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
|
||||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
|
||||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
|
||||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
|
||||||
"\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377"
|
|
||||||
"\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377"
|
|
||||||
"\377\377\377\377\377\377\377\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0"
|
|
||||||
"\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0"
|
|
||||||
"\0\377\0\0\0\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
|
||||||
"\377\377\377\0\0\0\377\0\0\0\377\377\377\377\377\377\377\377\377\377"
|
|
||||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
|
||||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
|
||||||
"\377\0\0\0\0\0\0\0\0\377\377\377\377\0\0\0\377\0\0\0\377\377\377\377"
|
|
||||||
"\377\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377\377\377\377\377\377\377"
|
|
||||||
"\377\377\377\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377"
|
|
||||||
"\377\377\377\0\0\0\377\0\0\0\377\377\377\377\377\0\0\0\0\0\0\0\0\377"
|
|
||||||
"\377\377\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\377\377\377\377"
|
|
||||||
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377\0\0\0\377\0\0\0\377"
|
|
||||||
"\377\377\377\377\0\0\0\0\377\377\377\377\0\0\0\377\0\0\0\377\377\377"
|
|
||||||
"\377\377\377\377\377\377\0\0\0\377\0\0\0\377\377\377\377\377\0\0\0\0"
|
|
||||||
"\0\0\0\0\0\0\0\0\377\377\377\377\0\0\0\377\0\0\0\377\377\377\377\377"
|
|
||||||
"\377\377\377\377\0\0\0\377\0\0\0\377\377\377\377\377\0\0\0\0\0\0\0\0"
|
|
||||||
"\377\377\377\377\0\0\0\377\0\0\0\377\377\377\377\377\0\0\0\0\0\0\0\0"
|
|
||||||
"\377\377\377\377\0\0\0\377\0\0\0\377\377\377\377\377\377\377\377\377"
|
|
||||||
"\0\0\0\377\0\0\0\377\377\377\377\377\0\0\0\0\0\0\0\0\377\377\377\377"
|
|
||||||
"\0\0\0\377\0\0\0\377\377\377\377\377\0\0\0\0\0\0\0\0\377\377\377\377"
|
|
||||||
"\0\0\0\377\0\0\0\377\377\377\377\377\0\0\0\0\377\377\377\377\377\377"
|
|
||||||
"\377\377\0\0\0\0\377\377\377\377\377\377\377\377\0\0\0\377\0\0\0\377"
|
|
||||||
"\377\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377\0\0\0\377\0"
|
|
||||||
"\0\0\377\377\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377\0\0"
|
|
||||||
"\0\377\0\0\0\377\0\0\0\377\377\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0\0"
|
|
||||||
"\0\0\0\377\377\377\377\0\0\0\377\0\0\0\377\377\377\377\377\0\0\0\0\0"
|
|
||||||
"\0\0\0\0\0\0\0\377\377\377\377\0\0\0\377\0\0\0\377\377\377\377\377\0"
|
|
||||||
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377\0\0\0\377\0\0"
|
|
||||||
"\0\377\377\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377"
|
|
||||||
"\377\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377"
|
|
||||||
"\377\377\377\0\0\0\377\377\377\377\377\377\377\377\377\0\0\0\0\0\0\0"
|
|
||||||
"\0\0\0\0\0\377\377\377\377\0\0\0\377\0\0\0\377\377\377\377\377\0\0\0"
|
|
||||||
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377\0\0\0\377\377\377"
|
|
||||||
"\377\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377\0\0\0\377\0"
|
|
||||||
"\0\0\377\377\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377"
|
|
||||||
"\377\377\377\377\377\377\377\377\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0"
|
|
||||||
"\0\0\0\0\0\0\0\0\377\377\377\377\377\377\377\377\0\0\0\0\0\0\0\0\0\0"
|
|
||||||
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0"};
|
|
||||||
|
|
||||||
|
|
||||||
/* GdkPixbuf RGBA C-Source image dump */
|
|
||||||
|
|
||||||
#ifdef __SUNPRO_C
|
|
||||||
#pragma align 4 (dnd_cursor_move)
|
|
||||||
#endif
|
|
||||||
#ifdef __GNUC__
|
|
||||||
static const guint8 dnd_cursor_move[] __attribute__ ((__aligned__ (4))) =
|
|
||||||
#else
|
|
||||||
static const guint8 dnd_cursor_move[] =
|
|
||||||
#endif
|
|
||||||
{ ""
|
|
||||||
/* Pixbuf magic (0x47646b50) */
|
|
||||||
"GdkP"
|
|
||||||
/* length: header (24) + pixel_data (1024) */
|
|
||||||
"\0\0\4\30"
|
|
||||||
/* pixdata_type (0x1010002) */
|
|
||||||
"\1\1\0\2"
|
|
||||||
/* rowstride (64) */
|
|
||||||
"\0\0\0@"
|
|
||||||
/* width (16) */
|
|
||||||
"\0\0\0\20"
|
|
||||||
/* height (16) */
|
|
||||||
"\0\0\0\20"
|
|
||||||
/* pixel_data: */
|
|
||||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
|
||||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
|
||||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
|
||||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
|
||||||
"\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377"
|
|
||||||
"\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377"
|
|
||||||
"\377\377\377\377\377\377\377\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0"
|
|
||||||
"\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0"
|
|
||||||
"\0\377\0\0\0\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
|
||||||
"\377\377\377\0\0\0\377\0\0\0\377\377\377\377\377\377\377\377\377\377"
|
|
||||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
|
||||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
|
||||||
"\377\0\0\0\0\0\0\0\0\377\377\377\377\0\0\0\377\0\0\0\377\377\377\377"
|
|
||||||
"\377\0\0\0\0\377\377\377\377\377\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0"
|
|
||||||
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377\0\0"
|
|
||||||
"\0\377\0\0\0\377\377\377\377\377\377\377\377\377\0\0\0\377\377\377\377"
|
|
||||||
"\377\377\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
|
|
||||||
"\0\0\0\0\0\0\0\0\377\377\377\377\0\0\0\377\0\0\0\377\377\377\377\377"
|
|
||||||
"\377\377\377\377\377\377\377\377\0\0\0\377\0\0\0\377\377\377\377\377"
|
|
||||||
"\377\377\377\377\377\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
|
|
||||||
"\0\0\377\377\377\377\0\0\0\377\0\0\0\377\377\377\377\377\0\0\0\0\377"
|
|
||||||
"\377\377\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\377\377\377\377"
|
|
||||||
"\377\377\377\377\377\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377"
|
|
||||||
"\377\0\0\0\377\0\0\0\377\377\377\377\377\0\0\0\0\377\377\377\377\377"
|
|
||||||
"\377\377\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\377\377"
|
|
||||||
"\377\377\377\377\377\377\377\377\377\377\0\0\0\0\377\377\377\377\0\0"
|
|
||||||
"\0\377\0\0\0\377\377\377\377\377\0\0\0\0\0\0\0\0\377\377\377\377\0\0"
|
|
||||||
"\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\377"
|
|
||||||
"\377\377\377\0\0\0\0\377\377\377\377\0\0\0\377\0\0\0\377\377\377\377"
|
|
||||||
"\377\0\0\0\0\0\0\0\0\377\377\377\377\377\377\377\377\0\0\0\377\0\0\0"
|
|
||||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
|
||||||
"\0\0\0\0\0\0\0\0\377\377\377\377\0\0\0\377\0\0\0\377\377\377\377\377"
|
|
||||||
"\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377\0\0\0\377\0\0\0\377\377\377"
|
|
||||||
"\377\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377\0\0"
|
|
||||||
"\0\377\0\0\0\377\377\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377"
|
|
||||||
"\377\377\377\377\377\0\0\0\377\377\377\377\377\0\0\0\0\0\0\0\0\0\0\0"
|
|
||||||
"\0\0\0\0\0\0\0\0\0\377\377\377\377\0\0\0\377\377\377\377\377\377\377"
|
|
||||||
"\377\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377\0\0\0\377\377"
|
|
||||||
"\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377"
|
|
||||||
"\0\0\0\377\377\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377"
|
|
||||||
"\377\377\377\377\377\377\377\377\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0"
|
|
||||||
"\0\0\0\0\0\0\0\0\377\377\377\377\377\377\377\377\377\377\377\377\0\0"
|
|
||||||
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
|
|
||||||
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"};
|
|
||||||
|
|
||||||
|
|
||||||
/* GdkPixbuf RGBA C-Source image dump */
|
|
||||||
|
|
||||||
#ifdef __SUNPRO_C
|
|
||||||
#pragma align 4 (dnd_cursor_link)
|
|
||||||
#endif
|
|
||||||
#ifdef __GNUC__
|
|
||||||
static const guint8 dnd_cursor_link[] __attribute__ ((__aligned__ (4))) =
|
|
||||||
#else
|
|
||||||
static const guint8 dnd_cursor_link[] =
|
|
||||||
#endif
|
|
||||||
{ ""
|
|
||||||
/* Pixbuf magic (0x47646b50) */
|
|
||||||
"GdkP"
|
|
||||||
/* length: header (24) + pixel_data (1024) */
|
|
||||||
"\0\0\4\30"
|
|
||||||
/* pixdata_type (0x1010002) */
|
|
||||||
"\1\1\0\2"
|
|
||||||
/* rowstride (64) */
|
|
||||||
"\0\0\0@"
|
|
||||||
/* width (16) */
|
|
||||||
"\0\0\0\20"
|
|
||||||
/* height (16) */
|
|
||||||
"\0\0\0\20"
|
|
||||||
/* pixel_data: */
|
|
||||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
|
||||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
|
||||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
|
||||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
|
||||||
"\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377"
|
|
||||||
"\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377"
|
|
||||||
"\377\377\377\377\377\377\377\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0"
|
|
||||||
"\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0"
|
|
||||||
"\0\377\0\0\0\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
|
||||||
"\377\377\377\0\0\0\377\0\0\0\377\377\377\377\377\377\377\377\377\377"
|
|
||||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
|
||||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
|
||||||
"\377\0\0\0\0\0\0\0\0\377\377\377\377\0\0\0\377\0\0\0\377\377\377\377"
|
|
||||||
"\377\0\0\0\0\0\0\0\0\377\377\377\377\377\377\377\377\377\377\377\377"
|
|
||||||
"\377\377\377\377\377\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
|
|
||||||
"\0\0\377\377\377\377\0\0\0\377\0\0\0\377\377\377\377\377\0\0\0\0\377"
|
|
||||||
"\377\377\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\377\377"
|
|
||||||
"\377\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377\0\0\0\377\0"
|
|
||||||
"\0\0\377\377\377\377\377\377\377\377\377\0\0\0\377\0\0\0\377\377\377"
|
|
||||||
"\377\377\377\377\377\377\377\377\377\377\0\0\0\377\0\0\0\377\377\377"
|
|
||||||
"\377\377\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377\0\0\0\377\0\0\0\377"
|
|
||||||
"\377\377\377\377\377\377\377\377\0\0\0\377\377\377\377\377\0\0\0\0\377"
|
|
||||||
"\377\377\377\377\377\377\377\377\377\377\377\0\0\0\377\377\377\377\377"
|
|
||||||
"\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377\0\0\0\377\0\0\0\377\377\377"
|
|
||||||
"\377\377\377\377\377\377\0\0\0\377\377\377\377\377\377\377\377\377\0"
|
|
||||||
"\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\377\377\377\377\0\0"
|
|
||||||
"\0\0\0\0\0\0\377\377\377\377\0\0\0\377\0\0\0\377\377\377\377\377\377"
|
|
||||||
"\377\377\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\377\377\377\377"
|
|
||||||
"\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\377\377\377\377\0\0\0\0\377"
|
|
||||||
"\377\377\377\0\0\0\377\0\0\0\377\377\377\377\377\0\0\0\0\377\377\377"
|
|
||||||
"\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\377\377\377\377"
|
|
||||||
"\377\377\377\377\0\0\0\377\377\377\377\377\0\0\0\0\377\377\377\377\0"
|
|
||||||
"\0\0\377\0\0\0\377\377\377\377\377\0\0\0\0\0\0\0\0\377\377\377\377\0"
|
|
||||||
"\0\0\377\377\377\377\377\377\377\377\377\377\377\377\377\0\0\0\0\377"
|
|
||||||
"\377\377\377\0\0\0\377\377\377\377\377\0\0\0\0\377\377\377\377\0\0\0"
|
|
||||||
"\377\0\0\0\377\377\377\377\377\0\0\0\0\0\0\0\0\377\377\377\377\0\0\0"
|
|
||||||
"\377\0\0\0\377\377\377\377\377\377\377\377\377\377\377\377\377\0\0\0"
|
|
||||||
"\377\0\0\0\377\377\377\377\377\0\0\0\0\377\377\377\377\0\0\0\377\377"
|
|
||||||
"\377\377\377\377\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377"
|
|
||||||
"\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\377\377\377\377\0"
|
|
||||||
"\0\0\0\0\0\0\0\377\377\377\377\0\0\0\377\377\377\377\377\0\0\0\0\0\0"
|
|
||||||
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377\377\377\377\377\377\377"
|
|
||||||
"\377\377\377\377\377\377\377\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0\377"
|
|
||||||
"\377\377\377\377\377\377\377\377\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0"
|
|
||||||
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
|
|
||||||
"\0\0\0\0\0\0"};
|
|
||||||
|
|
||||||
|
|
||||||
/* GdkPixbuf RGBA C-Source image dump */
|
|
||||||
|
|
||||||
#ifdef __SUNPRO_C
|
|
||||||
#pragma align 4 (dnd_cursor_copy)
|
|
||||||
#endif
|
|
||||||
#ifdef __GNUC__
|
|
||||||
static const guint8 dnd_cursor_copy[] __attribute__ ((__aligned__ (4))) =
|
|
||||||
#else
|
|
||||||
static const guint8 dnd_cursor_copy[] =
|
|
||||||
#endif
|
|
||||||
{ ""
|
|
||||||
/* Pixbuf magic (0x47646b50) */
|
|
||||||
"GdkP"
|
|
||||||
/* length: header (24) + pixel_data (1024) */
|
|
||||||
"\0\0\4\30"
|
|
||||||
/* pixdata_type (0x1010002) */
|
|
||||||
"\1\1\0\2"
|
|
||||||
/* rowstride (64) */
|
|
||||||
"\0\0\0@"
|
|
||||||
/* width (16) */
|
|
||||||
"\0\0\0\20"
|
|
||||||
/* height (16) */
|
|
||||||
"\0\0\0\20"
|
|
||||||
/* pixel_data: */
|
|
||||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
|
||||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
|
||||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
|
||||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
|
||||||
"\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377"
|
|
||||||
"\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377"
|
|
||||||
"\377\377\377\377\377\377\377\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0"
|
|
||||||
"\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0"
|
|
||||||
"\0\377\0\0\0\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
|
||||||
"\377\377\377\0\0\0\377\0\0\0\377\377\377\377\377\377\377\377\377\377"
|
|
||||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
|
||||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
|
||||||
"\377\0\0\0\0\0\0\0\0\377\377\377\377\0\0\0\377\0\0\0\377\377\377\377"
|
|
||||||
"\377\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377\0\0\0\377\0\0\0\377\377"
|
|
||||||
"\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377"
|
|
||||||
"\0\0\0\377\0\0\0\377\377\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0\377\377"
|
|
||||||
"\377\377\0\0\0\377\0\0\0\377\377\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0"
|
|
||||||
"\0\0\0\0\0\0\0\0\377\377\377\377\0\0\0\377\0\0\0\377\377\377\377\377"
|
|
||||||
"\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377\0\0\0\377\0\0\0\377\377\377"
|
|
||||||
"\377\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377\0\0"
|
|
||||||
"\0\377\0\0\0\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
|
||||||
"\377\377\377\377\377\377\377\0\0\0\377\0\0\0\377\377\377\377\377\377"
|
|
||||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\0\0\0\0"
|
|
||||||
"\377\377\377\377\0\0\0\377\0\0\0\377\377\377\377\377\0\0\0\377\0\0\0"
|
|
||||||
"\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0"
|
|
||||||
"\0\377\0\0\0\377\377\377\377\377\0\0\0\0\377\377\377\377\0\0\0\377\0"
|
|
||||||
"\0\0\377\377\377\377\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0"
|
|
||||||
"\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\377\377\377"
|
|
||||||
"\377\0\0\0\0\377\377\377\377\0\0\0\377\0\0\0\377\377\377\377\377\377"
|
|
||||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\0\0\0\377"
|
|
||||||
"\0\0\0\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
|
||||||
"\377\377\377\377\377\0\0\0\0\377\377\377\377\0\0\0\377\0\0\0\377\377"
|
|
||||||
"\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377\0\0\0\377\0\0\0"
|
|
||||||
"\377\377\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\377"
|
|
||||||
"\377\377\0\0\0\377\0\0\0\377\377\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0"
|
|
||||||
"\377\377\377\377\0\0\0\377\0\0\0\377\377\377\377\377\0\0\0\0\0\0\0\0"
|
|
||||||
"\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377\0\0\0\377\377\377\377\377\377"
|
|
||||||
"\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377\0\0\0\377\0\0\0"
|
|
||||||
"\377\377\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\377"
|
|
||||||
"\377\377\0\0\0\377\377\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377"
|
|
||||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\0\0\0\0"
|
|
||||||
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377\377\377\377\377\377"
|
|
||||||
"\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
|
|
||||||
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"};
|
|
||||||
|
|
||||||
|
|
||||||
/* GdkPixbuf RGBA C-Source image dump */
|
|
||||||
|
|
||||||
#ifdef __SUNPRO_C
|
|
||||||
#pragma align 4 (dnd_cursor_none)
|
|
||||||
#endif
|
|
||||||
#ifdef __GNUC__
|
|
||||||
static const guint8 dnd_cursor_none[] __attribute__ ((__aligned__ (4))) =
|
|
||||||
#else
|
|
||||||
static const guint8 dnd_cursor_none[] =
|
|
||||||
#endif
|
|
||||||
{ ""
|
|
||||||
/* Pixbuf magic (0x47646b50) */
|
|
||||||
"GdkP"
|
|
||||||
/* length: header (24) + pixel_data (1024) */
|
|
||||||
"\0\0\4\30"
|
|
||||||
/* pixdata_type (0x1010002) */
|
|
||||||
"\1\1\0\2"
|
|
||||||
/* rowstride (64) */
|
|
||||||
"\0\0\0@"
|
|
||||||
/* width (16) */
|
|
||||||
"\0\0\0\20"
|
|
||||||
/* height (16) */
|
|
||||||
"\0\0\0\20"
|
|
||||||
/* pixel_data: */
|
|
||||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
|
||||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
|
||||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
|
||||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
|
||||||
"\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377"
|
|
||||||
"\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377"
|
|
||||||
"\377\377\377\377\377\377\377\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0"
|
|
||||||
"\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377\0\0"
|
|
||||||
"\0\377\0\0\0\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
|
||||||
"\377\377\377\0\0\0\377\0\0\0\377\377\377\377\377\377\377\377\377\377"
|
|
||||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
|
||||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
|
||||||
"\377\0\0\0\0\0\0\0\0\377\377\377\377\0\0\0\377\0\0\0\377\377\377\377"
|
|
||||||
"\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
|
|
||||||
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377\0\0\0\377\0\0\0\377"
|
|
||||||
"\377\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
|
|
||||||
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377\0\0\0\377"
|
|
||||||
"\0\0\0\377\377\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
|
|
||||||
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377"
|
|
||||||
"\0\0\0\377\0\0\0\377\377\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
|
|
||||||
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377"
|
|
||||||
"\377\377\377\0\0\0\377\0\0\0\377\377\377\377\377\0\0\0\0\0\0\0\0\0\0"
|
|
||||||
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
|
|
||||||
"\0\0\0\0\377\377\377\377\0\0\0\377\0\0\0\377\377\377\377\377\0\0\0\0"
|
|
||||||
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
|
|
||||||
"\0\0\0\0\0\0\0\0\0\0\377\377\377\377\0\0\0\377\0\0\0\377\377\377\377"
|
|
||||||
"\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
|
|
||||||
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377\0\0\0\377\0\0\0\377"
|
|
||||||
"\377\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
|
|
||||||
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377\0\0\0\377"
|
|
||||||
"\0\0\0\377\377\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
|
|
||||||
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377"
|
|
||||||
"\0\0\0\377\377\377\377\377\377\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0\0"
|
|
||||||
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
|
|
||||||
"\0\377\377\377\377\0\0\0\377\377\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0"
|
|
||||||
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
|
|
||||||
"\0\0\0\0\0\0\377\377\377\377\377\377\377\377\377\377\377\377\0\0\0\0"
|
|
||||||
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
|
|
||||||
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0"};
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user