Code

Fix Ctrl-drag in node tool with zero snap delay.
[inkscape.git] / src / ui / previewfillable.h
index d12771c90eb32d7bcf52c3cf09e8ef6686571aff..f863af121969bf5a3d7752d69a3d0b78866c7363 100644 (file)
@@ -14,7 +14,7 @@
 
 
 #include "previewable.h"
-#include "../dialogs/eek-preview.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( ::PreviewSize size, ViewType type) = 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;
 };