diff view/PaneStack.h @ 277:8acd30ed735c

* Fix up and simplify the LayerTreeModel, removing a horrible memory leak * Move phase-unwrapped frequency estimation from SpectrogramLayer to FFTDataServer * Make the spectrum show peak phase-unwrapped frequencies as well (still needs work) * Start adding piano keyboard horizontal scale to spectrum * Debug output for id3 tags
author Chris Cannam
date Tue, 03 Jul 2007 12:46:18 +0000
parents 1a49bd0d8375
children 6de6f78b13a1
line wrap: on
line diff
--- a/view/PaneStack.h	Mon Jul 02 14:58:34 2007 +0000
+++ b/view/PaneStack.h	Tue Jul 03 12:46:18 2007 +0000
@@ -43,6 +43,7 @@
 
     int getPaneCount() const; // Returns only count of visible panes
     Pane *getPane(int n); // Of visible panes; I own the returned value
+    int getPaneIndex(Pane *pane); // so getPane(index)==pane; -1 if absent
 
     void hidePane(Pane *pane); // Also removes pane from getPane/getPaneCount
     void showPane(Pane *pane); // Returns pane to getPane/getPaneCount