diff base/View.h @ 46:5364a9d338a2

* Add Insert Instant function in main window * Ensure selections and window geometry are saved in session file * Add wait cursor on session file save * Various improvements to display of texts in pane (clearer readability) * Use commands for setting properties on layers and panes (still need to batch up multiple sets on the same property) * Fix failure of spectrogram to refresh when initial part became visible * Some fixes & paint optimisations in View &c * Make curve mode for time value layers work properly when resolution == 1 * Some vague improvements for time value layer vertical scale
author Chris Cannam
date Thu, 16 Mar 2006 18:46:00 +0000
parents b11edc8b8ea0
children 39ae3dee27b9
line wrap: on
line diff
--- a/base/View.h	Wed Mar 15 18:11:23 2006 +0000
+++ b/base/View.h	Thu Mar 16 18:46:00 2006 +0000
@@ -170,7 +170,8 @@
 	OutlinedText
     };
 
-    virtual void drawVisibleText(int x, int y, QString text, TextStyle style);
+    virtual void drawVisibleText(QPainter &p, int x, int y,
+				 QString text, TextStyle style);
 
     virtual bool shouldIlluminateLocalFeatures(const Layer *, QPoint &) const {
 	return false;