summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/dialog')
-rw-r--r--src/ui/dialog/fill-and-stroke.cpp22
-rw-r--r--src/ui/dialog/fill-and-stroke.h4
2 files changed, 26 insertions, 0 deletions
diff --git a/src/ui/dialog/fill-and-stroke.cpp b/src/ui/dialog/fill-and-stroke.cpp
index ad9a9f031..15f39db1c 100644
--- a/src/ui/dialog/fill-and-stroke.cpp
+++ b/src/ui/dialog/fill-and-stroke.cpp
@@ -138,6 +138,28 @@ FillAndStroke::_layoutPageStrokeStyle()
}
void
+FillAndStroke::showPageFill()
+{
+ present();
+ _notebook.set_current_page(0);
+}
+
+void
+FillAndStroke::showPageStrokePaint()
+{
+ present();
+ _notebook.set_current_page(1);
+}
+
+void
+FillAndStroke::showPageStrokeStyle()
+{
+ present();
+ _notebook.set_current_page(2);
+}
+
+
+void
FillAndStroke::_blendBlurValueChanged()
{
if (_blocked)
diff --git a/src/ui/dialog/fill-and-stroke.h b/src/ui/dialog/fill-and-stroke.h
index 87d5181db..8c27d6d0a 100644
--- a/src/ui/dialog/fill-and-stroke.h
+++ b/src/ui/dialog/fill-and-stroke.h
@@ -42,6 +42,10 @@ public:
void selectionChanged(Inkscape::Application *inkscape,
Inkscape::Selection *selection);
+ void showPageFill();
+ void showPageStrokePaint();
+ void showPageStrokeStyle();
+
protected:
Gtk::Notebook _notebook;