Mercurial > hg > svgui
changeset 1519:235e08aa2d5d time-frequency-boxes
Make getTopLayerDisplayExtents public (ugh) for use when setting up a new empty layer with auto-align over the top of another one
author | Chris Cannam |
---|---|
date | Wed, 25 Sep 2019 09:46:20 +0100 |
parents | 2e94c268f7a0 |
children | 4eafe5a1b655 |
files | view/Pane.h |
diffstat | 1 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/view/Pane.h Wed Sep 25 09:45:42 2019 +0100 +++ b/view/Pane.h Wed Sep 25 09:46:20 2019 +0100 @@ -106,6 +106,10 @@ void mouseEnteredWidget(); void mouseLeftWidget(); + bool getTopLayerDisplayExtents(double &valueMin, double &valueMax, + double &displayMin, double &displayMax, + QString *unit = 0); + protected slots: void playbackScheduleTimerElapsed(); @@ -149,9 +153,6 @@ void updateVerticalPanner(); bool canTopLayerMoveVertical(); - bool getTopLayerDisplayExtents(double &valueMin, double &valueMax, - double &displayMin, double &displayMax, - QString *unit = 0); bool setTopLayerDisplayExtents(double displayMin, double displayMax); void dragTopLayer(QMouseEvent *e);