diff options
| author | Jabier Arraiza <jabier.arraiza@marker.es> | 2017-07-01 00:35:09 +0000 |
|---|---|---|
| committer | Jabier Arraiza <jabier.arraiza@marker.es> | 2017-07-01 00:35:09 +0000 |
| commit | ff04a08000adfa762ad1f4bc4f4df64c11ed499c (patch) | |
| tree | 9e6f4bcf3c8f87fcecdc8d11dd2eb0ec2d37c0c9 /src/ui/tools/tool-base.h | |
| parent | Merge branch 'master' of https://gitlab.com/jabiertxof/inkscape into selectab... (diff) | |
| download | inkscape-ff04a08000adfa762ad1f4bc4f4df64c11ed499c.tar.gz inkscape-ff04a08000adfa762ad1f4bc4f4df64c11ed499c.zip | |
working on knots selection
Diffstat (limited to 'src/ui/tools/tool-base.h')
| -rw-r--r-- | src/ui/tools/tool-base.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/ui/tools/tool-base.h b/src/ui/tools/tool-base.h index b0140cecb..52f641ecb 100644 --- a/src/ui/tools/tool-base.h +++ b/src/ui/tools/tool-base.h @@ -14,12 +14,12 @@ #include <stddef.h> #include <string> - +#include "knot.h" +#include "knotholder.h" #include <2geom/point.h> #include <gdk/gdk.h> #include <glib-object.h> #include <sigc++/trackable.h> -#include "knot.h" #include "preferences.h" @@ -30,7 +30,7 @@ namespace Glib { class GrDrag; class SPDesktop; class SPItem; - +class KnotHolder; namespace Inkscape { class MessageContext; class SelCue; @@ -42,6 +42,7 @@ namespace Inkscape { namespace Inkscape { namespace UI { + class ShapeEditor; namespace Tools { @@ -219,7 +220,6 @@ public: SPDesktop *desktop; bool _uses_snap; // TODO: make protected or private - protected: /// An xpm containing the shape of the tool's cursor. gchar const *const *cursor_shape; @@ -229,7 +229,9 @@ protected: private: ToolBase(const ToolBase&); ToolBase& operator=(const ToolBase&); + bool _keyboardMove(GdkEventKey const &event, Geom::Point const &dir); + void sp_event_context_set_cursor(GdkCursorType cursor_type); }; |
