Mercurial > hg > svgui
comparison layer/SliceLayer.h @ 538:3bf74851d93e
* A few minor fixes to SliceLayer based on using it for slices of key plots
author | Chris Cannam |
---|---|
date | Fri, 05 Jun 2009 16:08:18 +0000 |
parents | 2f83b6e3b8ca |
children | 5b72899d692b |
comparison
equal
deleted
inserted
replaced
537:0cc658fe1423 | 538:3bf74851d93e |
---|---|
1 | |
2 /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ | 1 /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ |
3 | 2 |
4 /* | 3 /* |
5 Sonic Visualiser | 4 Sonic Visualiser |
6 An audio file viewer and annotation editor. | 5 An audio file viewer and annotation editor. |
68 | 67 |
69 virtual bool hasTimeXAxis() const { return false; } | 68 virtual bool hasTimeXAxis() const { return false; } |
70 | 69 |
71 virtual bool isLayerScrollable(const View *) const { return false; } | 70 virtual bool isLayerScrollable(const View *) const { return false; } |
72 | 71 |
73 enum EnergyScale { LinearScale, MeterScale, dBScale }; | 72 enum EnergyScale { LinearScale, MeterScale, dBScale, AbsoluteScale }; |
74 | 73 |
75 enum SamplingMode { NearestSample, SampleMean, SamplePeak }; | 74 enum SamplingMode { NearestSample, SampleMean, SamplePeak }; |
76 | 75 |
77 enum PlotStyle { PlotLines, PlotSteps, PlotBlocks, PlotFilledBlocks }; | 76 enum PlotStyle { PlotLines, PlotSteps, PlotBlocks, PlotFilledBlocks }; |
78 | 77 |