summaryrefslogtreecommitdiffstats
path: root/src/ui/tools/text-tool.h
diff options
context:
space:
mode:
authorKrzysztof Kosi??ski <tweenk.pl@gmail.com>2014-03-05 23:30:47 +0000
committerKrzysztof KosiƄski <tweenk.pl@gmail.com>2014-03-05 23:30:47 +0000
commit7366f7cc4018447f99dc42c22d9e67a504cd059c (patch)
tree4a5fb9ee09441ce9150ca14799e6d6e4d01ea005 /src/ui/tools/text-tool.h
parentWhen an externally linked image is modified, mark it for update instead (diff)
downloadinkscape-7366f7cc4018447f99dc42c22d9e67a504cd059c.tar.gz
inkscape-7366f7cc4018447f99dc42c22d9e67a504cd059c.zip
Derive ToolBase from sigc::trackable for easier slot management.
Fix TextTool to use mem_fun instead of ptr_fun to avoid the generation of stale slots. (bzr r13118)
Diffstat (limited to 'src/ui/tools/text-tool.h')
-rw-r--r--src/ui/tools/text-tool.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ui/tools/text-tool.h b/src/ui/tools/text-tool.h
index c5336d378..ca2b3d19a 100644
--- a/src/ui/tools/text-tool.h
+++ b/src/ui/tools/text-tool.h
@@ -84,6 +84,12 @@ public:
virtual bool item_handler(SPItem* item, GdkEvent* event);
virtual const std::string& getPrefsPath();
+
+private:
+ void _selectionChanged(Inkscape::Selection *selection);
+ void _selectionModified(Inkscape::Selection *selection, guint flags);
+ bool _styleSet(SPCSSAttr const *css);
+ int _styleQueried(SPStyle *style, int property);
};
bool sp_text_paste_inline(ToolBase *ec);