diff options
| author | gustav_b <gustav_b@users.sourceforge.net> | 2007-09-20 22:21:16 +0000 |
|---|---|---|
| committer | gustav_b <gustav_b@users.sourceforge.net> | 2007-09-20 22:21:16 +0000 |
| commit | 024385f2a04f6ae680fa949e544ec50778293f8d (patch) | |
| tree | c3124a2e8391982925fe57678248647294d13b50 /src/ui/dialog | |
| parent | Replace Reihenfolge with Ordnung. Fixes 1798139. (diff) | |
| download | inkscape-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.cpp | 22 | ||||
| -rw-r--r-- | src/ui/dialog/fill-and-stroke.h | 4 |
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; |
