summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog
diff options
context:
space:
mode:
authorgustav_b <gustav_b@users.sourceforge.net>2007-09-20 22:21:16 +0000
committergustav_b <gustav_b@users.sourceforge.net>2007-09-20 22:21:16 +0000
commit024385f2a04f6ae680fa949e544ec50778293f8d (patch)
treec3124a2e8391982925fe57678248647294d13b50 /src/ui/dialog
parentReplace Reihenfolge with Ordnung. Fixes 1798139. (diff)
downloadinkscape-024385f2a04f6ae680fa949e544ec50778293f8d.tar.gz
inkscape-024385f2a04f6ae680fa949e544ec50778293f8d.zip
Add functions for showing a specific notebook page in the F&S dialog,
replaced the use of the old sp_object_properties_{fill,stroke} with them. (bzr r3780)
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;