Code

fix by Preben S for LP bug 389780, flatness
[inkscape.git] / src / ui / previewfillable.h
index 106eda7eac03ccaf287a57dd5a3556cc19c28fee..f863af121969bf5a3d7752d69a3d0b78866c7363 100644 (file)
@@ -14,7 +14,7 @@
 
 
 #include "previewable.h"
-
+#include "../widgets/eek-preview.h"
 
 namespace Inkscape {
 namespace UI {
@@ -25,9 +25,15 @@ public:
     virtual ~PreviewFillable() {}
     virtual void clear() = 0;
     virtual void addPreview( Previewable* preview ) = 0;
-    virtual void setStyle(Gtk::BuiltinIconSize size, ViewType type) = 0;
-    virtual Gtk::BuiltinIconSize getPreviewSize() const = 0;
+    virtual void freezeUpdates() = 0;
+    virtual void thawUpdates() = 0;
+    virtual void setStyle( ::PreviewSize size, ViewType type, guint ratio) = 0;
+    virtual void setOrientation( Gtk::AnchorType how ) = 0;
+    virtual ::PreviewSize getPreviewSize() const = 0;
     virtual ViewType getPreviewType() const = 0;
+    virtual guint getPreviewRatio() const = 0;
+    virtual void setWrap( bool b ) = 0;
+    virtual bool getWrap() const = 0;
 };