From: buliabyak Date: Fri, 18 Jul 2008 18:50:48 +0000 (+0000) Subject: make the resolution for create bitmap copy settable in ui X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=0c9bf237739584b552cd7b4e5202c75749a10d3c;p=inkscape.git make the resolution for create bitmap copy settable in ui --- diff --git a/src/ui/dialog/inkscape-preferences.cpp b/src/ui/dialog/inkscape-preferences.cpp index dc11a4c2e..455908a06 100644 --- a/src/ui/dialog/inkscape-preferences.cpp +++ b/src/ui/dialog/inkscape-preferences.cpp @@ -1027,6 +1027,10 @@ void InkscapePreferences::initPageBitmaps() g_strfreev(splits); } + _bitmap_copy_res.init("options.createbitmap", "resolution", 1.0, 6000.0, 1.0, 1.0, PX_PER_IN, true, false); + _page_bitmaps.add_line( false, _("Resolution for Create Bitmap Copy:"), _bitmap_copy_res, _("dpi"), + _("Resolution used by the Create Bitmap Copy command"), false); + this->AddPage(_page_bitmaps, _("Bitmaps"), PREFS_PAGE_BITMAPS); } diff --git a/src/ui/dialog/inkscape-preferences.h b/src/ui/dialog/inkscape-preferences.h index 0407de45f..f81ff75d0 100644 --- a/src/ui/dialog/inkscape-preferences.h +++ b/src/ui/dialog/inkscape-preferences.h @@ -171,6 +171,7 @@ protected: PrefCombo _misc_overs_bitmap; PrefCombo _misc_bitmap_editor; PrefCheckButton _misc_bitmap_autoreload; + PrefSpinButton _bitmap_copy_res; PrefCheckButton _autosave_autosave_enable; PrefSpinButton _autosave_autosave_interval;