diff view/View.h @ 217:bd2d0346da0e

* Inhibit making and displaying time selections in slice layers
author Chris Cannam
date Mon, 05 Mar 2007 10:53:41 +0000
parents 34bbbcb3c01f
children cd81066ac7ad
line wrap: on
line diff
--- a/view/View.h	Fri Mar 02 14:00:12 2007 +0000
+++ b/view/View.h	Mon Mar 05 10:53:41 2007 +0000
@@ -285,6 +285,12 @@
     // rather than with a translucent fill.
     bool areLayerColoursSignificant() const;
 
+    // True if the top layer has a time axis on the x coordinate (this
+    // is generally the case except for spectrum/slice layers).  It
+    // will not be possible to make or display selections if this is
+    // false.
+    bool hasTopLayerTimeXAxis() const;
+
     bool setCentreFrame(size_t f, bool doEmit);
 
     void checkProgress(void *object);