From: buliabyak Date: Tue, 2 Oct 2007 15:24:27 +0000 (+0000) Subject: 3dbox cursor X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=601e071be147e0fb3d27ac9763ad33e8b6b1b7ed;p=inkscape.git 3dbox cursor --- diff --git a/src/box3d-context.cpp b/src/box3d-context.cpp index cb6dd1d0b..db1eef311 100644 --- a/src/box3d-context.cpp +++ b/src/box3d-context.cpp @@ -29,7 +29,7 @@ #include "display/curve.h" #include "desktop.h" #include "message-context.h" -#include "pixmaps/cursor-rect.xpm" +#include "pixmaps/cursor-3dbox.xpm" #include "box3d.h" #include "box3d-context.h" #include "sp-metrics.h" @@ -94,7 +94,7 @@ static void sp_3dbox_context_init(SP3DBoxContext *box3d_context) { SPEventContext *event_context = SP_EVENT_CONTEXT(box3d_context); - event_context->cursor_shape = cursor_rect_xpm; + event_context->cursor_shape = cursor_3dbox_xpm; event_context->hot_x = 4; event_context->hot_y = 4; event_context->xp = 0; diff --git a/src/pixmaps/cursor-3dbox.xpm b/src/pixmaps/cursor-3dbox.xpm new file mode 100644 index 000000000..7104789de --- /dev/null +++ b/src/pixmaps/cursor-3dbox.xpm @@ -0,0 +1,38 @@ +/* XPM */ +static char const *cursor_3dbox_xpm[] = { +"32 32 3 1", +" c None", +". c #FFFFFF", +"+ c #000000", +" ... ", +" .+. ", +" .+. ", +"....+.... ", +".+++ +++. ", +"....+.... . ", +" .+. .+. ", +" .+. .+++. ", +" ... .+.+.+. ", +" .+..+..+. ", +" .+...+...+. ", +" .+....+....+. ", +" .+.....+.....+. ", +" .+....+++....+. ", +" .+..++...++..+. ", +" .+++.......+++. ", +" .++.........++. ", +" ..++.....++.. ", +" ..+++++.. ", +" ..+.. ", +" . ", +" ", +" ", +" ", +" ", +" ", +" ", +" ", +" ", +" ", +" ", +" "};