diff options
| author | Martin Owens <doctormo@gmail.com> | 2017-06-30 03:58:14 +0000 |
|---|---|---|
| committer | Martin Owens <doctormo@gmail.com> | 2017-06-30 03:58:14 +0000 |
| commit | f55448431e934bf29bb9a983711d204614db7cc7 (patch) | |
| tree | 52358e8121babdf471b4cb86f1b704275e5865ac /src/ui/tools/pen-tool.cpp | |
| parent | Merge branch 'master' of gitlab.com:inkscape/inkscape (diff) | |
| download | inkscape-f55448431e934bf29bb9a983711d204614db7cc7.tar.gz inkscape-f55448431e934bf29bb9a983711d204614db7cc7.zip | |
Hackfest: Refactor cursors so the hot spot is inside the xpm
Diffstat (limited to 'src/ui/tools/pen-tool.cpp')
| -rw-r--r-- | src/ui/tools/pen-tool.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/tools/pen-tool.cpp b/src/ui/tools/pen-tool.cpp index caf6faec2..265ddf2ea 100644 --- a/src/ui/tools/pen-tool.cpp +++ b/src/ui/tools/pen-tool.cpp @@ -81,7 +81,7 @@ const std::string& PenTool::getPrefsPath() { const std::string PenTool::prefsPath = "/tools/freehand/pen"; PenTool::PenTool() - : FreehandBase(cursor_pen_xpm, 4, 4) + : FreehandBase(cursor_pen_xpm) , p() , npoints(0) , mode(MODE_CLICK) @@ -100,8 +100,8 @@ PenTool::PenTool() { } -PenTool::PenTool(gchar const *const *cursor_shape, gint hot_x, gint hot_y) - : FreehandBase(cursor_shape, hot_x, hot_y) +PenTool::PenTool(gchar const *const *cursor_shape) + : FreehandBase(cursor_shape) , p() , npoints(0) , mode(MODE_CLICK) |
