Code

make the resolution for create bitmap copy settable in ui
authorbuliabyak <buliabyak@users.sourceforge.net>
Fri, 18 Jul 2008 18:50:48 +0000 (18:50 +0000)
committerbuliabyak <buliabyak@users.sourceforge.net>
Fri, 18 Jul 2008 18:50:48 +0000 (18:50 +0000)
src/ui/dialog/inkscape-preferences.cpp
src/ui/dialog/inkscape-preferences.h

index dc11a4c2e83293f5d20464c6b1b284f38411d616..455908a063396f554afcc149d4e7a11fe02a19ff 100644 (file)
@@ -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);
 }
 
index 0407de45f6d4054e47384f392340fb753ab69ce5..f81ff75d09bbfe057ccef9ddbebc17a4a1311e17 100644 (file)
@@ -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;