Code

fix by Preben S for LP bug 389780, flatness
[inkscape.git] / src / ui / previewfillable.h
index 95662732abf7e351d300b19d3d140258992024ba..f863af121969bf5a3d7752d69a3d0b78866c7363 100644 (file)
@@ -14,7 +14,7 @@
 
 
 #include "previewable.h"
-#include "../icon-size.h"
+#include "../widgets/eek-preview.h"
 
 namespace Inkscape {
 namespace UI {
@@ -27,10 +27,11 @@ public:
     virtual void addPreview( Previewable* preview ) = 0;
     virtual void freezeUpdates() = 0;
     virtual void thawUpdates() = 0;
-    virtual void setStyle( Inkscape::IconSize size, ViewType type) = 0;
+    virtual void setStyle( ::PreviewSize size, ViewType type, guint ratio) = 0;
     virtual void setOrientation( Gtk::AnchorType how ) = 0;
-    virtual Inkscape::IconSize getPreviewSize() const = 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;
 };