diff options
| author | Krzysztof Kosi??ski <tweenk.pl@gmail.com> | 2010-01-10 00:46:28 +0000 |
|---|---|---|
| committer | Krzysztof KosiĆski <tweenk.pl@gmail.com> | 2010-01-10 00:46:28 +0000 |
| commit | b52865a71a9f83da9719a3ec5f50a4a2cd7cdace (patch) | |
| tree | 6d8def69ad0aa28aa4414dc9d501707444a5419b /src/ui/tool/control-point.h | |
| parent | Implement selection linear grow (diff) | |
| download | inkscape-b52865a71a9f83da9719a3ec5f50a4a2cd7cdace.tar.gz inkscape-b52865a71a9f83da9719a3ec5f50a4a2cd7cdace.zip | |
* Implement node snapping.
* Fix minor bug in linear grow.
* Add --fixes.
* Move some node selection-related functions to ControlPointSelection.
Fixed bugs:
- https://launchpad.net/bugs/170561
- https://launchpad.net/bugs/171893
- https://launchpad.net/bugs/182585
- https://launchpad.net/bugs/446773
(bzr r8846.2.9)
Diffstat (limited to 'src/ui/tool/control-point.h')
| -rw-r--r-- | src/ui/tool/control-point.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ui/tool/control-point.h b/src/ui/tool/control-point.h index c4b0a42be..4997c5ef4 100644 --- a/src/ui/tool/control-point.h +++ b/src/ui/tool/control-point.h @@ -90,6 +90,9 @@ public: static sigc::signal<void, ControlPoint*> signal_mouseover_change; static Glib::ustring format_tip(char const *format, ...) G_GNUC_PRINTF(1,2); + // temporarily public, until snapping is refactored a little + virtual bool _eventHandler(GdkEvent *event); + protected: ControlPoint(SPDesktop *d, Geom::Point const &initial_pos, Gtk::AnchorType anchor, SPCtrlShapeType shape, unsigned int size, ColorSet *cset = 0, SPCanvasGroup *group = 0); @@ -112,14 +115,13 @@ protected: void _setPixbuf(Glib::RefPtr<Gdk::Pixbuf>); /// @} - virtual bool _eventHandler(GdkEvent *event); virtual Glib::ustring _getTip(unsigned state) { return ""; } virtual Glib::ustring _getDragTip(GdkEventMotion *event) { return ""; } virtual bool _hasDragTips() { return false; } SPDesktop *const _desktop; ///< The desktop this control point resides on. SPCanvasItem * _canvas_item; ///< Visual representation of the control point. - ColorSet *_cset; ///< Describes the colors used to represent the point + ColorSet *_cset; ///< Colors used to represent the point State _state; static int const _grab_event_mask; |
