From 3aa344e9a40d97db7cd5a89671896bab70da33a4 Mon Sep 17 00:00:00 2001 From: Markus Engel Date: Sun, 2 Mar 2014 01:31:12 +0100 Subject: Added some consts. Turned functions to member functions. (bzr r13089) --- src/ui/tools/pencil-tool.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'src/ui/tools/pencil-tool.h') diff --git a/src/ui/tools/pencil-tool.h b/src/ui/tools/pencil-tool.h index 6ced9eb56..efc1f60e0 100644 --- a/src/ui/tools/pencil-tool.h +++ b/src/ui/tools/pencil-tool.h @@ -48,6 +48,24 @@ public: protected: virtual void setup(); virtual bool root_handler(GdkEvent* event); + +private: + gint _handleButtonPress(GdkEventButton const &bevent); + gint _handleMotionNotify(GdkEventMotion const &mevent); + gint _handleButtonRelease(GdkEventButton const &revent); + gint _handleKeyPress(guint const keyval, guint const state); + gint _handleKeyRelease(guint const keyval, guint const state); + + void _setStartpoint(Geom::Point const &p); + void _setEndpoint(Geom::Point const &p); + void _finishEndpoint(); + void _addFreehandPoint(Geom::Point const &p, guint state); + void _fitAndSplit(); + void _interpolate(); + void _sketchInterpolate(); + + void _cancel(); + void _endpointSnap(Geom::Point &p, guint const state); }; } -- cgit v1.2.3