log view/View.cpp @ 1620:dc0e47f234a2 tip

age author description
Wed, 06 May 2020 11:44:38 +0100 Chris Cannam Reduce font size when pane is very thin
Thu, 30 Apr 2020 14:47:13 +0100 Chris Cannam When asked to render the whole view width, we need to wait for the layers to be ready before we can determine what the width is
Wed, 29 Apr 2020 17:47:37 +0100 Chris Cannam Debug
Thu, 09 Jan 2020 14:29:21 +0000 Chris Cannam Give timer a parent so as not to leak it spectrogram-export
Thu, 17 Oct 2019 14:44:22 +0100 Chris Cannam Permit getScaleProvidingLayerForUnit to return a dormant layer if there is no visible alternative. This is necessary to avoid the scale disappearing in Tony when the spectrogram is toggled off.
Wed, 16 Oct 2019 12:19:04 +0100 Chris Cannam Fix getScaleProvidingLayerForUnit to make it only return a layer that actually has display extents. Modify getVisibleExtentsForUnit to make it more like the behaviour in 3.x: where no layer with display extents is found, use the union of the value extents of layers with the right unit. Partial fix for #1954 Peculiar alignment for Amplitude Follower y-scale in Auto-Align mode.
Tue, 15 Oct 2019 14:53:25 +0100 Chris Cannam Overhaul choice of layer to show scale, in Pane::drawVerticalScale, making it call out to the same logic used by View::getVisibleExtentsForUnit when appropriate. Also refuse to accept scale from dormant top layer.
Tue, 15 Oct 2019 11:40:56 +0100 Chris Cannam Clarify naming of some view-related methods. Rename LayerGeometryProvider::getValueExtents to getVisibleExtentsForUnit, and View::getTextLabelHeight to getTextLabelYCoord. Add View::getVisibleExtentsForAnyUnit to be used to determine which unit to adopt in a new e.g. box layer.