summaryrefslogtreecommitdiffstats
path: root/src/ui/tools/pen-tool.h
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2014-03-27 00:42:29 +0000
committerJabiertxof <jtx@jtx.marker.es>2014-03-27 00:42:29 +0000
commitfefbd217fefe5e29d7913e58ff8b1bc9d8d44939 (patch)
tree0fc16570bde5385eeb4933224cdfff67532bf4c4 /src/ui/tools/pen-tool.h
parentAdding cout << output to check bug in Geom::are_near (diff)
parentChanged some return types from gint to bool. (diff)
downloadinkscape-fefbd217fefe5e29d7913e58ff8b1bc9d8d44939.tar.gz
inkscape-fefbd217fefe5e29d7913e58ff8b1bc9d8d44939.zip
update to trunk
(bzr r11950.1.315)
Diffstat (limited to 'src/ui/tools/pen-tool.h')
-rw-r--r--src/ui/tools/pen-tool.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/ui/tools/pen-tool.h b/src/ui/tools/pen-tool.h
index 95565abc9..98fd0a43e 100644
--- a/src/ui/tools/pen-tool.h
+++ b/src/ui/tools/pen-tool.h
@@ -83,11 +83,11 @@ protected:
virtual bool item_handler(SPItem* item, GdkEvent* event);
private:
- gint _handleButtonPress(GdkEventButton const &bevent);
- gint _handleMotionNotify(GdkEventMotion const &mevent);
- gint _handleButtonRelease(GdkEventButton const &revent);
- gint _handle2ButtonPress(GdkEventButton const &bevent);
- gint _handleKeyPress(GdkEvent *event);
+ bool _handleButtonPress(GdkEventButton const &bevent);
+ bool _handleMotionNotify(GdkEventMotion const &mevent);
+ bool _handleButtonRelease(GdkEventButton const &revent);
+ bool _handle2ButtonPress(GdkEventButton const &bevent);
+ bool _handleKeyPress(GdkEvent *event);
//adds spiro & bspline modes
void _pen_context_set_mode(guint mode);
//this function changes the colors red, green and blue making them transparent or not depending on if the function uses spiro
@@ -116,6 +116,7 @@ private:
void _bspline_doEffect(SPCurve * curve);
//function spiro cloned from lpe-spiro.cpp
void _spiro_doEffect(SPCurve * curve);
+
void _setInitialPoint(Geom::Point const p);
void _setSubsequentPoint(Geom::Point const p, bool statusbar, guint status = 0);
void _setCtrl(Geom::Point const p, guint state);