summaryrefslogtreecommitdiffstats
path: root/src/desktop.h
diff options
context:
space:
mode:
authorFelipe Corr??a da Silva Sanches <juca@members.fsf.org>2009-12-11 08:37:11 +0000
committerFelipe C. da S. Sanches <juca@members.fsf.org>2009-12-11 08:37:11 +0000
commitb13df173f8e6471ce720d45370447b9e52cd3925 (patch)
treed1735aba3e3d2a25f96967272394922f07509635 /src/desktop.h
parentFrench translation update (diff)
downloadinkscape-b13df173f8e6471ce720d45370447b9e52cd3925.tar.gz
inkscape-b13df173f8e6471ce720d45370447b9e52cd3925.zip
- new: Print Colors Preview Dialog and rendermode
- works with shapes. I still need to make it work with gradients and imported images (bzr r8881)
Diffstat (limited to 'src/desktop.h')
-rw-r--r--src/desktop.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/desktop.h b/src/desktop.h
index cfb977425..a02a31034 100644
--- a/src/desktop.h
+++ b/src/desktop.h
@@ -201,6 +201,9 @@ struct SPDesktop : public Inkscape::UI::View::View
void setDisplayModeOutline() {
_setDisplayMode(Inkscape::RENDERMODE_OUTLINE);
}
+ void setDisplayModePrintColorsPreview() {
+ _setDisplayMode(Inkscape::RENDERMODE_PRINT_COLORS_PREVIEW);
+ }
void displayModeToggle();
Inkscape::RenderMode _display_mode;
Inkscape::RenderMode getMode() const { return _display_mode; }