diff options
| author | Martin Owens <doctormo@gmail.com> | 2013-07-07 14:12:44 +0000 |
|---|---|---|
| committer | Martin Owens <doctormo@gmail.com> | 2013-07-07 14:12:44 +0000 |
| commit | c2476065a96485c282da32a8859ef8c5617b5b7d (patch) | |
| tree | 808f901f7c5cb3dde124a7915ba6772a868b7328 | |
| parent | Fix build failure with GDL >= 3.6 (diff) | |
| download | inkscape-c2476065a96485c282da32a8859ef8c5617b5b7d.tar.gz inkscape-c2476065a96485c282da32a8859ef8c5617b5b7d.zip | |
Make colour a guint instead of a uint. bug 1198501
Fixed bugs:
- https://launchpad.net/bugs/1198501
(bzr r12408)
| -rw-r--r-- | src/seltrans.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/seltrans.h b/src/seltrans.h index 880f30c94..67d581471 100644 --- a/src/seltrans.h +++ b/src/seltrans.h @@ -71,6 +71,7 @@ public: gboolean skewRequest(SPSelTransHandle const &handle, Geom::Point &pt, guint state); gboolean rotateRequest(Geom::Point &pt, guint state); gboolean centerRequest(Geom::Point &pt, guint state); + void alignClick(SPSelTransHandle const &handle); gboolean handleRequest(SPKnot *knot, Geom::Point *position, guint state, SPSelTransHandle const &handle); void handleGrab(SPKnot *knot, guint state, SPSelTransHandle const &handle); @@ -130,6 +131,7 @@ private: }; SPDesktop *_desktop; + SPCanvasItem *aguide; std::vector<SPItem *> _items; std::vector<SPItem const *> _items_const; @@ -180,7 +182,7 @@ private: bool _center_is_set; ///< we've already set _center, no need to reread it from items int _center_handle; - SPKnot *knots[17]; + SPKnot *knots[NUMHANDS]; SPCanvasItem *_norm; SPCanvasItem *_grip; SPCtrlLine *_l[4]; |
