diff options
| author | Markus Engel <markus.engel@tum.de> | 2014-03-02 00:31:12 +0000 |
|---|---|---|
| committer | Markus Engel <markus.engel@tum.de> | 2014-03-02 00:31:12 +0000 |
| commit | 3aa344e9a40d97db7cd5a89671896bab70da33a4 (patch) | |
| tree | 1ea673a167ac9d121b64689c084383791bddf65a /src/ui/tools/connector-tool.h | |
| parent | Fix for crash when cycle-selecting. (diff) | |
| download | inkscape-3aa344e9a40d97db7cd5a89671896bab70da33a4.tar.gz inkscape-3aa344e9a40d97db7cd5a89671896bab70da33a4.zip | |
Added some consts. Turned functions to member functions.
(bzr r13089)
Diffstat (limited to 'src/ui/tools/connector-tool.h')
| -rw-r--r-- | src/ui/tools/connector-tool.h | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/src/ui/tools/connector-tool.h b/src/ui/tools/connector-tool.h index 7cd6a6dad..59534a173 100644 --- a/src/ui/tools/connector-tool.h +++ b/src/ui/tools/connector-tool.h @@ -108,8 +108,31 @@ public: virtual const std::string& getPrefsPath(); + void cc_clear_active_shape(); + void cc_set_active_conn(SPItem *item); + void cc_clear_active_conn(); + private: - void selection_changed(Inkscape::Selection *selection); + void _selectionChanged(Inkscape::Selection *selection); + + gint _handleButtonPress(GdkEventButton const &bevent); + gint _handleMotionNotify(GdkEventMotion const &mevent); + gint _handleButtonRelease(GdkEventButton const &revent); + gint _handleKeyPress(guint const keyval); + + void _setInitialPoint(Geom::Point const p); + void _setSubsequentPoint(Geom::Point const p); + void _finishSegment(Geom::Point p); + void _resetColors(); + void _finish(); + void _concatColorsAndFlush(); + void _flushWhite(SPCurve *gc); + + void _activeShapeAddKnot(SPItem* item); + void _setActiveShape(SPItem *item); + bool _ptHandleTest(Geom::Point& p, gchar **href); + + void _reroutingFinish(Geom::Point *const p); }; void cc_selection_set_avoid(bool const set_ignore); |
