summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 184c579)
raw | patch | inline | side by side (parent: 184c579)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Tue, 27 Feb 2007 06:18:45 +0000 (06:18 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Tue, 27 Feb 2007 06:18:45 +0000 (06:18 +0000) |
src/flood-context.cpp | patch | blob | history | |
src/pixmaps/cursor-paintbucket.xpm | [new file with mode: 0644] | patch | blob |
diff --git a/src/flood-context.cpp b/src/flood-context.cpp
index a6ef8a266b846f7e0b81c0098cb5a0d33c18bf24..cb41ce85a6cc8a94f4188eeaa9657c7e39e9fd63 100644 (file)
--- a/src/flood-context.cpp
+++ b/src/flood-context.cpp
#include "desktop-style.h"
#include "message-stack.h"
#include "message-context.h"
-#include "pixmaps/cursor-rect.xpm"
+#include "pixmaps/cursor-paintbucket.xpm"
#include "flood-context.h"
#include "sp-metrics.h"
#include <glibmm/i18n.h>
{
SPEventContext *event_context = SP_EVENT_CONTEXT(flood_context);
- event_context->cursor_shape = cursor_rect_xpm;
- event_context->hot_x = 4;
- event_context->hot_y = 4;
+ event_context->cursor_shape = cursor_paintbucket_xpm;
+ event_context->hot_x = 11;
+ event_context->hot_y = 30;
event_context->xp = 0;
event_context->yp = 0;
event_context->tolerance = 0;
diff --git a/src/pixmaps/cursor-paintbucket.xpm b/src/pixmaps/cursor-paintbucket.xpm
--- /dev/null
@@ -0,0 +1,38 @@
+/* XPM */
+static char * cursor_paintbucket_xpm[] = {
+"32 32 3 1",
+" c None",
+". c #FFFFFF",
+"+ c #000000",
+" ",
+" ... ",
+" ... ...... ",
+" ..++.. ...++++.. ",
+" .+..+....++....+.. ",
+" ..+..+..++.......+.. ",
+" ..+..+++..........+.. ",
+" ..+..+++............+. ",
+" ..+++..+............+. ",
+" .+++...+............+.. ",
+" .++.+...+............+. ",
+" .+..++..+............+. ",
+" .+...+..+............+. ",
+" .+....+.+............+. ",
+" .+....++++...........+. ",
+" ..+....+.+...........+. ",
+" .+....++...........+.. ",
+" .++...+..........++.. ",
+" ..+....+.......++... ",
+" .++...+.....++... ",
+" .+...+...++... ",
+" .++.++.++... ",
+" .+++++... ",
+" .+++. ",
+" .++. ",
+" .++. ",
+" .++. ",
+" .++. ",
+" .++. ",
+" .+.. ",
+" ... ",
+" "};