Code

store display mode in desktop too
authorbuliabyak <buliabyak@users.sourceforge.net>
Sat, 4 Nov 2006 21:59:40 +0000 (21:59 +0000)
committerbuliabyak <buliabyak@users.sourceforge.net>
Sat, 4 Nov 2006 21:59:40 +0000 (21:59 +0000)
src/desktop.h

index 708ca8fd5a3ae34caadad4226c1ef7a6a66721b4..e9e2f638e764d5388ba433ea12bf6fdae8a55e29 100644 (file)
@@ -162,6 +162,8 @@ struct SPDesktop : public Inkscape::UI::View::View
     void setDisplayModeNormal();
     void setDisplayModeOutline();
     void displayModeToggle();
+    int displayMode;
+    int getMode() const { return displayMode; }
 
     void set_active (bool new_active);
     SPObject *currentRoot() const;