diff --git a/src/desktop.h b/src/desktop.h
index a661d99003ad042e563d3f011b98f7a526e786b3..af2473bafaa729759e18de38bb564f9989b4a2e2 100644 (file)
--- a/src/desktop.h
+++ b/src/desktop.h
sigc::signal<void, SPObject *> _layer_changed_signal;
sigc::signal<bool, const SPCSSAttr *>::accumulated<StopOnTrue> _set_style_signal;
sigc::signal<int, SPStyle *, int>::accumulated<StopOnNonZero> _query_style_signal;
+
+ /// Emitted when the zoom factor changes (not emitted when scrolling).
+ /// The parameter is the new zoom factor
+ sigc::signal<void, double> signal_zoom_changed;
+
sigc::connection connectDocumentReplaced (const sigc::slot<void,SPDesktop*,SPDocument*> & slot)
{
return _document_replaced_signal.connect (slot);
void setDisplayModeOutline() {
_setDisplayMode(Inkscape::RENDERMODE_OUTLINE);
}
- void setDisplayModePrintColorsPreview() {
- _setDisplayMode(Inkscape::RENDERMODE_PRINT_COLORS_PREVIEW);
- }
+// void setDisplayModePrintColorsPreview() {
+// _setDisplayMode(Inkscape::RENDERMODE_PRINT_COLORS_PREVIEW);
+// }
void displayModeToggle();
Inkscape::RenderMode _display_mode;
Inkscape::RenderMode getMode() const { return _display_mode; }