summaryrefslogtreecommitdiffstats
path: root/src/tweak-context.h
diff options
context:
space:
mode:
authorMarkus Engel <markus.engel@tum.de>2013-11-07 20:44:00 +0000
committerMarkus Engel <markus.engel@tum.de>2013-11-07 20:44:00 +0000
commit55b451bf382e0c3d5ed8728e42fbb535acfa8a33 (patch)
tree094d9faca06cfffc89a872732db4ac3ef60508d9 /src/tweak-context.h
parentFix for Bug #1247985 (Incorrect implementation of plural forms). (diff)
downloadinkscape-55b451bf382e0c3d5ed8728e42fbb535acfa8a33.tar.gz
inkscape-55b451bf382e0c3d5ed8728e42fbb535acfa8a33.zip
First step of moving tools into appropriate namespaces.
(bzr r12782)
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
/*