diff base/View.h @ 78:c983dda79f72

* Replace crash with warning when a transform could not be automatically re-run * More sensible default paths for Vamp plugin lookup (at least on Linux and OS/X) * A start to making the y coords for time value layers etc align * Set sensible y coords for text labels in time instant and value layers
author Chris Cannam
date Thu, 13 Apr 2006 18:29:10 +0000
parents 47fd14e29813
children 5b8392e80ed6
line wrap: on
line diff
--- a/base/View.h	Wed Apr 12 09:59:40 2006 +0000
+++ b/base/View.h	Thu Apr 13 18:29:10 2006 +0000
@@ -220,6 +220,10 @@
     virtual const PropertyContainer *getPropertyContainer(size_t i) const;
     virtual PropertyContainer *getPropertyContainer(size_t i);
 
+    virtual int getTextLabelHeight(const Layer *layer, QPainter &) const;
+
+    virtual bool getValueExtents(QString unit, float &min, float &max) const;
+
     virtual QString toXmlString(QString indent = "",
 				QString extraAttributes = "") const;