diff options
| author | Jon A. Cruz <jon@joncruz.org> | 2012-05-21 04:44:54 +0000 |
|---|---|---|
| committer | Jon A. Cruz <jon@joncruz.org> | 2012-05-21 04:44:54 +0000 |
| commit | 9d9347ae2714146bc1a943e8b15f26f161e6e10c (patch) | |
| tree | c25924e3bd82d66e60feff7ef64564f0026ebc3d /src/display | |
| parent | Fix for 1000023 : Fill & Stroke dialog redesign (diff) | |
| download | inkscape-9d9347ae2714146bc1a943e8b15f26f161e6e10c.tar.gz inkscape-9d9347ae2714146bc1a943e8b15f26f161e6e10c.zip | |
Extended control resizing to node editing. Fixes half of bug #172059.
Additional prep for centralizing color setting.
(bzr r11390)
Diffstat (limited to 'src/display')
| -rw-r--r-- | src/display/sp-canvas-item.h | 1 | ||||
| -rw-r--r-- | src/display/sp-canvas.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/display/sp-canvas-item.h b/src/display/sp-canvas-item.h index 5a9d47536..7e4fe5510 100644 --- a/src/display/sp-canvas-item.h +++ b/src/display/sp-canvas-item.h @@ -60,6 +60,7 @@ struct SPCanvasItem : public GtkObject { Geom::Affine xform; Inkscape::ControlType ctrlType; + Inkscape::ControlFlags ctrlFlags; // Replacement for custom GtkObject flag enumeration gboolean visible; diff --git a/src/display/sp-canvas.cpp b/src/display/sp-canvas.cpp index 8fa6d5f5a..eff3b7ac2 100644 --- a/src/display/sp-canvas.cpp +++ b/src/display/sp-canvas.cpp @@ -410,6 +410,7 @@ void sp_canvas_item_init(SPCanvasItem *item) { item->xform = Geom::Affine(Geom::identity()); item->ctrlType = Inkscape::CTRL_TYPE_UNKNOWN; + item->ctrlFlags = Inkscape::CTRL_FLAG_NORMAL; // TODO items should not be visible on creation - this causes kludges with items // that should be initially invisible; examples of such items: node handles, the CtrlRect |
