diff options
| author | Markus Engel <markus.engel@tum.de> | 2013-11-09 22:36:13 +0000 |
|---|---|---|
| committer | Markus Engel <markus.engel@tum.de> | 2013-11-09 22:36:13 +0000 |
| commit | c04e30df241a3ee039077425bab9b9c37abe2854 (patch) | |
| tree | 6b7904966a289832bca2636c3117c893592e5ddd /src/ui/tool/node-tool.h | |
| parent | added missing translation flags and a small text change (diff) | |
| download | inkscape-c04e30df241a3ee039077425bab9b9c37abe2854.tar.gz inkscape-c04e30df241a3ee039077425bab9b9c37abe2854.zip | |
Moved and renamed some tool-related files.
(bzr r12785)
Diffstat (limited to 'src/ui/tool/node-tool.h')
| -rw-r--r-- | src/ui/tool/node-tool.h | 105 |
1 files changed, 0 insertions, 105 deletions
diff --git a/src/ui/tool/node-tool.h b/src/ui/tool/node-tool.h deleted file mode 100644 index a670256bb..000000000 --- a/src/ui/tool/node-tool.h +++ /dev/null @@ -1,105 +0,0 @@ -/** @file - * @brief New node tool with support for multiple path editing - */ -/* Authors: - * Krzysztof KosiĆski <tweenk@gmail.com> - * - * Copyright (C) 2009 Authors - * Released under GNU GPL, read the file 'COPYING' for more information - */ - -#ifndef SEEN_UI_TOOL_NODE_TOOL_H -#define SEEN_UI_TOOL_NODE_TOOL_H - -#include <boost/ptr_container/ptr_map.hpp> -#include <glib.h> -#include "event-context.h" - -namespace Inkscape { - namespace Display { - class TemporaryItem; - } - - namespace UI { - class MultiPathManipulator; - class ControlPointSelection; - class Selector; - class ControlPoint; - - struct PathSharedData; - } -} - -#define INK_NODE_TOOL(obj) (dynamic_cast<Inkscape::UI::Tools::NodeTool*>((Inkscape::UI::Tools::ToolBase*)obj)) -#define INK_IS_NODE_TOOL(obj) (dynamic_cast<const Inkscape::UI::Tools::NodeTool*>((const Inkscape::UI::Tools::ToolBase*)obj)) - -namespace Inkscape { -namespace UI { -namespace Tools { - -class NodeTool : public ToolBase { -public: - NodeTool(); - virtual ~NodeTool(); - - Inkscape::UI::ControlPointSelection* _selected_nodes; - Inkscape::UI::MultiPathManipulator* _multipath; - - bool edit_clipping_paths; - bool edit_masks; - - static const std::string prefsPath; - - virtual void setup(); - virtual void set(const Inkscape::Preferences::Entry& val); - virtual bool root_handler(GdkEvent* event); - - virtual const std::string& getPrefsPath(); - -private: - sigc::connection _selection_changed_connection; - sigc::connection _mouseover_changed_connection; - sigc::connection _sizeUpdatedConn; - - SPItem *flashed_item; - Inkscape::Display::TemporaryItem *flash_tempitem; - Inkscape::UI::Selector* _selector; - Inkscape::UI::PathSharedData* _path_data; - SPCanvasGroup *_transform_handle_group; - SPItem *_last_over; - boost::ptr_map<SPItem*, ShapeEditor> _shape_editors; - - bool cursor_drag; - bool show_handles; - bool show_outline; - bool live_outline; - bool live_objects; - bool show_path_direction; - bool show_transform_handles; - bool single_node_transform_handles; - - void selection_changed(Inkscape::Selection *sel); - - void select_area(Geom::Rect const &sel, GdkEventButton *event); - void select_point(Geom::Point const &sel, GdkEventButton *event); - void mouseover_changed(Inkscape::UI::ControlPoint *p); - void update_tip(GdkEvent *event); - void handleControlUiStyleChange(); -}; - -} -} -} - -#endif - -/* - Local Variables: - mode:c++ - c-file-style:"stroustrup" - c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +)) - indent-tabs-mode:nil - fill-column:99 - End: -*/ -// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 : |
