diff options
| author | Diederik van Lierop <mail@diedenrezi.nl> | 2007-04-13 20:41:28 +0000 |
|---|---|---|
| committer | dvlierop2 <dvlierop2@users.sourceforge.net> | 2007-04-13 20:41:28 +0000 |
| commit | e3c036c933ce805b893fb7297fdc0f47275b1ab5 (patch) | |
| tree | 3058b9a54afa02b1e7f8bdb1029af33ac5eca584 /src/ui/dialog/inkscape-preferences.cpp | |
| parent | Switched to using EgeSelectOneAction on Star/Flat choice (diff) | |
| download | inkscape-e3c036c933ce805b893fb7297fdc0f47275b1ab5.tar.gz inkscape-e3c036c933ce805b893fb7297fdc0f47275b1ab5.zip | |
Add global preference for selector tool, chosing between GEOMETRIC_BBOX or VISUAL_BBOX
(bzr r2877)
Diffstat (limited to 'src/ui/dialog/inkscape-preferences.cpp')
| -rw-r--r-- | src/ui/dialog/inkscape-preferences.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/ui/dialog/inkscape-preferences.cpp b/src/ui/dialog/inkscape-preferences.cpp index 3a3c4f14f..a182a9305 100644 --- a/src/ui/dialog/inkscape-preferences.cpp +++ b/src/ui/dialog/inkscape-preferences.cpp @@ -337,7 +337,15 @@ void InkscapePreferences::initPageTools() _t_sel_cue_box.init ( _("Box"), "options.selcue", "value", Inkscape::SelCue::BBOX, false, &_t_sel_cue_none); _page_selector.add_line( true, "", _t_sel_cue_box, "", _("Each selected object displays its bounding box")); - + + _page_selector.add_group_header( _("Bounding box to use:")); + _t_sel_bbox_visual.init ( _("Visual bounding box"), "tools.select", "bounding_box", "visual", false, 0); + _page_selector.add_line( true, "", _t_sel_bbox_visual, "", + _("This bounding box includes stroke width, markers, filter margins, etc.")); + _t_sel_bbox_geometric.init ( _("Geometric bounding box"), "tools.select", "bounding_box", "geometric", true, &_t_sel_bbox_visual); + _page_selector.add_line( true, "", _t_sel_bbox_geometric, "", + _("This bounding box includes only the bare path")); + //Node this->AddPage(_page_node, _("Node"), iter_tools, PREFS_PAGE_TOOLS_NODE); AddSelcueCheckbox(_page_node, "tools.nodes", true); |
