summaryrefslogtreecommitdiffstats
path: root/src/ui
diff options
context:
space:
mode:
authorJohn Bintz <me@johnbintz.com>2007-02-25 06:04:46 +0000
committerjohncoswell <johncoswell@users.sourceforge.net>2007-02-25 06:04:46 +0000
commit3d5921c0249b6dba6d3035a760d7232811c3654e (patch)
tree524eadd72b4595172e952c39624be57f743e07bc /src/ui
parentFactor out bpath_to_Path (diff)
downloadinkscape-3d5921c0249b6dba6d3035a760d7232811c3654e.tar.gz
inkscape-3d5921c0249b6dba6d3035a760d7232811c3654e.zip
Add flood fill tool
(bzr r2432)
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/dialog/inkscape-preferences.cpp3
-rw-r--r--src/ui/dialog/inkscape-preferences.h3
2 files changed, 5 insertions, 1 deletions
diff --git a/src/ui/dialog/inkscape-preferences.cpp b/src/ui/dialog/inkscape-preferences.cpp
index 34cdee00b..c9e154201 100644
--- a/src/ui/dialog/inkscape-preferences.cpp
+++ b/src/ui/dialog/inkscape-preferences.cpp
@@ -397,6 +397,9 @@ void InkscapePreferences::initPageTools()
this->AddPage(_page_dropper, _("Dropper"), iter_tools, PREFS_PAGE_TOOLS_DROPPER);
this->AddSelcueCheckbox(_page_dropper, "tools.dropper", true);
this->AddGradientCheckbox(_page_dropper, "tools.dropper", true);
+ //Flood
+ this->AddPage(_page_flood, _("Flood Fill"), iter_tools, PREFS_PAGE_TOOLS_FLOOD);
+ this->AddNewObjectsStyle(_page_flood, "tools.flood");
}
void InkscapePreferences::initPageWindows()
diff --git a/src/ui/dialog/inkscape-preferences.h b/src/ui/dialog/inkscape-preferences.h
index 74a3604c4..96aea6e61 100644
--- a/src/ui/dialog/inkscape-preferences.h
+++ b/src/ui/dialog/inkscape-preferences.h
@@ -52,6 +52,7 @@ enum {
PREFS_PAGE_TOOLS_GRADIENT,
PREFS_PAGE_TOOLS_CONNECTOR,
PREFS_PAGE_TOOLS_DROPPER,
+ PREFS_PAGE_TOOLS_FLOOD,
PREFS_PAGE_WINDOWS,
PREFS_PAGE_CLONES,
PREFS_PAGE_FILTERS,
@@ -98,7 +99,7 @@ protected:
_page_clones, _page_transforms, _page_filters, _page_select, _page_misc;
DialogPage _page_selector, _page_node, _page_zoom, _page_shapes, _page_pencil, _page_pen,
_page_calligraphy, _page_text, _page_gradient, _page_connector, _page_dropper;
- DialogPage _page_rectangle, _page_ellipse, _page_star, _page_spiral;
+ DialogPage _page_rectangle, _page_ellipse, _page_star, _page_spiral, _page_flood;
PrefSpinButton _mouse_sens, _mouse_thres;