summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFelipe Corr??a da Silva Sanches <juca@members.fsf.org>2011-06-13 07:13:27 +0000
committerFelipe C. da S. Sanches <juca@members.fsf.org>2011-06-13 07:13:27 +0000
commitb7ca7be174c5b81b147d68425f1fa275fa154dd7 (patch)
tree294fcad2a97e74ba80d0b9971418ce79209b4afd /src
parentusing green color instead of parentheses to differentiate the angle label in ... (diff)
downloadinkscape-b7ca7be174c5b81b147d68425f1fa275fa154dd7.tar.gz
inkscape-b7ca7be174c5b81b147d68425f1fa275fa154dd7.zip
fixing the measure tool cursor to have a crosshair just like all other drawing tools
fixes bug #796446 (bzr r10293)
Diffstat (limited to 'src')
-rw-r--r--src/measure-context.cpp4
-rw-r--r--src/pixmaps/cursor-measure.xpm58
2 files changed, 31 insertions, 31 deletions
diff --git a/src/measure-context.cpp b/src/measure-context.cpp
index c8046049e..371ac3356 100644
--- a/src/measure-context.cpp
+++ b/src/measure-context.cpp
@@ -89,8 +89,8 @@ static void sp_measure_context_init (SPMeasureContext *measure_context)
SPEventContext *event_context = SP_EVENT_CONTEXT(measure_context);
event_context->cursor_shape = cursor_measure_xpm;
- event_context->hot_x = 3;
- event_context->hot_y = 5;
+ event_context->hot_x = 4;
+ event_context->hot_y = 4;
}
static void
diff --git a/src/pixmaps/cursor-measure.xpm b/src/pixmaps/cursor-measure.xpm
index 753bfd14e..2a28579c6 100644
--- a/src/pixmaps/cursor-measure.xpm
+++ b/src/pixmaps/cursor-measure.xpm
@@ -1,37 +1,37 @@
/* XPM */
-static char const * cursor_measure_xpm[] = {
+static char const *cursor_measure_xpm[] = {
"32 32 3 1",
" c None",
". c #FFFFFF",
"+ c #000000",
-" .. ",
-" .++. ",
-" .+..+. ",
-" .+....+. ",
-".+..+...+. ",
-".+.+.....+. ",
-" .+.......+. ",
-" .+.+.....+. ",
-" .+...+...+. ",
-" .+.+.....+. ",
-" .+.......+. ",
-" .+.+.....+. ",
-" .+...+...+. ",
-" .+.+.....+. ",
-" .+.......+. ",
-" .+.+.....+. ",
-" .+...+.+. ",
-" .+.+.+. ",
-" .+.+. ",
-" .+. ",
-" . ",
-" ",
-" ",
-" ",
-" ",
-" ",
-" ",
-" ",
+" ... ",
+" .+. ",
+" .+. ",
+"....+.... ",
+".+++ +++. ",
+"....+.... ",
+" .+. ",
+" .+. .. ",
+" ... .++. ",
+" .+..+. ",
+" .+....+. ",
+" .+..+...+. ",
+" .+.+.....+. ",
+" .+.......+. ",
+" .+.+.....+. ",
+" .+...+...+. ",
+" .+.+.....+. ",
+" .+.......+. ",
+" .+.+.....+. ",
+" .+...+...+. ",
+" .+.+.....+. ",
+" .+.......+. ",
+" .+.+.....+. ",
+" .+...+.+. ",
+" .+.+.+. ",
+" .+.+. ",
+" .+. ",
+" . ",
" ",
" ",
" ",