diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2014-02-26 21:30:12 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx.marker.es> | 2014-02-26 21:30:12 +0000 |
| commit | 802a1a7537a691e36a6f41d50714905ba809e289 (patch) | |
| tree | 6af369bfc55a66c2b3461dae064f7a62d636f794 /src/ui/tools/star-tool.cpp | |
| parent | Fixed some/all bugs related to continuing bspline/spiro curves advertaising b... (diff) | |
| parent | Added template functions as a casting-macro replacement. (diff) | |
| download | inkscape-802a1a7537a691e36a6f41d50714905ba809e289.tar.gz inkscape-802a1a7537a691e36a6f41d50714905ba809e289.zip | |
update to trunk
(bzr r11950.1.258)
Diffstat (limited to 'src/ui/tools/star-tool.cpp')
| -rw-r--r-- | src/ui/tools/star-tool.cpp | 28 |
1 files changed, 9 insertions, 19 deletions
diff --git a/src/ui/tools/star-tool.cpp b/src/ui/tools/star-tool.cpp index b5d8c4418..42010788f 100644 --- a/src/ui/tools/star-tool.cpp +++ b/src/ui/tools/star-tool.cpp @@ -69,25 +69,15 @@ const std::string& StarTool::getPrefsPath() { const std::string StarTool::prefsPath = "/tools/shapes/star"; -StarTool::StarTool() : ToolBase() { - this->randomized = 0; - this->rounded = 0; - - this->cursor_shape = cursor_star_xpm; - this->hot_x = 4; - this->hot_y = 4; - this->xp = 0; - this->yp = 0; - this->tolerance = 0; - this->within_tolerance = false; - this->item_to_select = NULL; - //this->tool_url = "/tools/shapes/star"; - - this->star = NULL; - - this->magnitude = 5; - this->proportion = 0.5; - this->isflatsided = false; +StarTool::StarTool() + : ToolBase(cursor_star_xpm, 4, 4) + , star(NULL) + , magnitude(5) + , proportion(0.5) + , isflatsided(false) + , rounded(0) + , randomized(0) +{ } void StarTool::finish() { |
