summaryrefslogtreecommitdiffstats
path: root/src/eraser-context.cpp
diff options
context:
space:
mode:
authorMarkus Engel <markus.engel@tum.de>2013-11-09 22:36:13 +0000
committerMarkus Engel <markus.engel@tum.de>2013-11-09 22:36:13 +0000
commitc04e30df241a3ee039077425bab9b9c37abe2854 (patch)
tree6b7904966a289832bca2636c3117c893592e5ddd /src/eraser-context.cpp
parentadded missing translation flags and a small text change (diff)
downloadinkscape-c04e30df241a3ee039077425bab9b9c37abe2854.tar.gz
inkscape-c04e30df241a3ee039077425bab9b9c37abe2854.zip
Moved and renamed some tool-related files.
(bzr r12785)
Diffstat (limited to '')
-rw-r--r--src/ui/tools/eraser-tool.cpp (renamed from src/eraser-context.cpp)8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/eraser-context.cpp b/src/ui/tools/eraser-tool.cpp
index 6445ac3d5..270987d27 100644
--- a/src/eraser-context.cpp
+++ b/src/ui/tools/eraser-tool.cpp
@@ -67,7 +67,7 @@
#include <2geom/math-utils.h>
#include <2geom/pathvector.h>
-#include "eraser-context.h"
+#include "ui/tools/eraser-tool.h"
using Inkscape::DocumentUndo;
@@ -103,7 +103,7 @@ const std::string& EraserTool::getPrefsPath() {
const std::string EraserTool::prefsPath = "/tools/eraser";
-EraserTool::EraserTool() : SPCommonContext() {
+EraserTool::EraserTool() : DynamicBase() {
this->cursor_shape = cursor_eraser_xpm;
this->hot_x = 4;
this->hot_y = 4;
@@ -113,7 +113,7 @@ EraserTool::~EraserTool() {
}
void EraserTool::setup() {
- SPCommonContext::setup();
+ DynamicBase::setup();
this->accumulated = new SPCurve();
this->currentcurve = new SPCurve();
@@ -618,7 +618,7 @@ bool EraserTool::root_handler(GdkEvent* event) {
}
if (!ret) {
- ret = SPCommonContext::root_handler(event);
+ ret = DynamicBase::root_handler(event);
}
return ret;