diff view/View.h @ 229:387f2f6fc333 sv1-1.0pre2

* Remove tip dialog for now. I don't like it enough * Fixes to export image
author Chris Cannam
date Wed, 14 Mar 2007 14:39:39 +0000
parents 2ccd02015530
children 4ed1446ad604
line wrap: on
line diff
--- a/view/View.h	Tue Mar 13 19:51:09 2007 +0000
+++ b/view/View.h	Wed Mar 14 14:39:39 2007 +0000
@@ -215,9 +215,11 @@
     virtual const PropertyContainer *getPropertyContainer(size_t i) const;
     virtual PropertyContainer *getPropertyContainer(size_t i);
 
-    // Render the entire contents on a wide canvas
-    virtual bool render(QPainter &paint, QRect rect);
+    // Render the contents on a wide canvas
+    virtual QImage *toNewImage(size_t f0, size_t f1);
     virtual QImage *toNewImage();
+    virtual QSize getImageSize(size_t f0, size_t f1);
+    virtual QSize getImageSize();
 
     virtual int getTextLabelHeight(const Layer *layer, QPainter &) const;
 
@@ -276,6 +278,7 @@
     virtual void paintEvent(QPaintEvent *e);
     virtual void drawSelections(QPainter &);
     virtual bool shouldLabelSelections() const { return true; }
+    virtual bool render(QPainter &paint, int x0, size_t f0, size_t f1);
 
     typedef std::vector<Layer *> LayerList;