diff options
| author | bulia byak <buliabyak@gmail.com> | 2006-04-20 00:56:20 +0000 |
|---|---|---|
| committer | buliabyak <buliabyak@users.sourceforge.net> | 2006-04-20 00:56:20 +0000 |
| commit | 790f464078bf6cffde0b7f9adf5321afee21cd45 (patch) | |
| tree | 0cb2f75b3ae4b585017399374262d39f0b828cce /src/ui | |
| parent | prevent fit canvas button from expanding (diff) | |
| download | inkscape-790f464078bf6cffde0b7f9adf5321afee21cd45.tar.gz inkscape-790f464078bf6cffde0b7f9adf5321afee21cd45.zip | |
add abs_width switch for calligraphy pen width; switch it to 1..100 displayed range
(bzr r548)
Diffstat (limited to 'src/ui')
| -rw-r--r-- | src/ui/dialog/inkscape-preferences.cpp | 4 | ||||
| -rw-r--r-- | src/ui/dialog/inkscape-preferences.h | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/ui/dialog/inkscape-preferences.cpp b/src/ui/dialog/inkscape-preferences.cpp index 3ebf50eb9..649dda100 100644 --- a/src/ui/dialog/inkscape-preferences.cpp +++ b/src/ui/dialog/inkscape-preferences.cpp @@ -300,6 +300,8 @@ void InkscapePreferences::initPageTools() Gtk::TreeModel::iterator iter_tools = this->AddPage(_page_tools, _("Tools"), PREFS_PAGE_TOOLS); _path_tools = _page_list.get_model()->get_path(iter_tools); + _calligrapy_use_abs_size.init ( _("Width is in absolute units"), "tools.calligraphic", "abs_width", false); + //Selector this->AddPage(_page_selector, _("Selector"), iter_tools, PREFS_PAGE_TOOLS_SELECTOR); @@ -368,6 +370,8 @@ void InkscapePreferences::initPageTools() //Calligraphy this->AddPage(_page_calligraphy, _("Calligraphy"), iter_tools, PREFS_PAGE_TOOLS_CALLIGRAPHY); this->AddNewObjectsStyle(_page_calligraphy, "tools.calligraphic"); + _page_calligraphy.add_line( false, "", _calligrapy_use_abs_size, "", + _("If on, pen width is in absolute units (px) independent of zoom; otherwise pen width depends on zoom so that it looks the same at any zoom")); //Text this->AddPage(_page_text, _("Text"), iter_tools, PREFS_PAGE_TOOLS_TEXT); this->AddSelcueCheckbox(_page_text, "tools.text", true); diff --git a/src/ui/dialog/inkscape-preferences.h b/src/ui/dialog/inkscape-preferences.h index 3702c88f3..d850dd431 100644 --- a/src/ui/dialog/inkscape-preferences.h +++ b/src/ui/dialog/inkscape-preferences.h @@ -114,6 +114,8 @@ protected: PrefRadioButton _win_ontop_none, _win_ontop_normal, _win_ontop_agressive; PrefCheckButton _win_save_geom, _win_hide_task, _win_zoom_resize; + PrefCheckButton _calligrapy_use_abs_size; + PrefRadioButton _clone_option_parallel, _clone_option_stay, _clone_option_transform, _clone_option_unlink, _clone_option_delete; |
