index 95662732abf7e351d300b19d3d140258992024ba..6f02b60a8235b5a42aaf52acc1bfee7f776eaede 100644 (file)
--- a/src/ui/previewfillable.h
+++ b/src/ui/previewfillable.h
#include "previewable.h"
-#include "../icon-size.h"
+#include "../dialogs/eek-preview.h"
namespace Inkscape {
namespace UI {
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;
};