diff view/Pane.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 6dab3ac2fe73
children 2d891e02c5ce
line wrap: on
line diff
--- a/view/Pane.h	Tue Mar 13 19:51:09 2007 +0000
+++ b/view/Pane.h	Wed Mar 14 14:39:39 2007 +0000
@@ -50,8 +50,10 @@
 
     virtual size_t getFirstVisibleFrame() const;
 
-    virtual bool render(QPainter &paint, QRect rect);
-    virtual QImage *toNewImage();
+    virtual QImage *toNewImage(size_t f0, size_t f1);
+    virtual QImage *toNewImage() { return View::toNewImage(); }
+    virtual QSize getImageSize(size_t f0, size_t f1);
+    virtual QSize getImageSize() { return View::getImageSize(); }
 
     virtual QString toXmlString(QString indent = "",
 				QString extraAttributes = "") const;
@@ -86,6 +88,8 @@
     virtual void wheelEvent(QWheelEvent *e);
     virtual void resizeEvent(QResizeEvent *e);
 
+    virtual bool render(QPainter &paint, int x0, size_t f0, size_t f1);
+
     Selection getSelectionAt(int x, bool &closeToLeft, bool &closeToRight) const;
 
     bool editSelectionStart(QMouseEvent *e);