summaryrefslogtreecommitdiffstats
path: root/src/tweak-context.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tweak-context.h')
-rw-r--r--src/tweak-context.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/src/tweak-context.h b/src/tweak-context.h
index da1a50a79..80e2c75b9 100644
--- a/src/tweak-context.h
+++ b/src/tweak-context.h
@@ -21,6 +21,10 @@
#define TC_MAX_PRESSURE 1.0
#define TC_DEFAULT_PRESSURE 0.35
+namespace Inkscape {
+namespace UI {
+namespace Tools {
+
enum {
TWEAK_MODE_MOVE,
TWEAK_MODE_MOVE_IN_OUT,
@@ -37,10 +41,10 @@ enum {
TWEAK_MODE_BLUR
};
-class SPTweakContext : public SPEventContext {
+class TweakTool : public ToolBase {
public:
- SPTweakContext();
- virtual ~SPTweakContext();
+ TweakTool();
+ virtual ~TweakTool();
/* extended input data */
gdouble pressure;
@@ -84,6 +88,10 @@ private:
bool set_style(const SPCSSAttr* css);
};
+}
+}
+}
+
#endif
/*