Paul Licameli
70c1d57591
More const qualifications, and mutables, for functions that draw tracks...
...
... The display related members that had to become mutable are probably
ones that don't belong in the track classes, ultimately.
2016-02-27 12:35:17 -05:00
Paul Licameli
990080ae7d
Replace virtual with override wherever possible; eliminate needless virtual...
...
... for functions in final classes.
override is like const -- it's not necessary, but it helps the compiler to
catch mistakes.
There may be some overriding functions not explicitly declared virtual and I did
not identify such cases, in which I might also add override.
2016-02-26 12:35:38 -05:00
Paul Licameli
7824e94030
Harmlessly qualify classes as final (or explicitly comment not)...
...
... Should have no effect on generated code, except perhaps some slight faster
virtual function calls. Mostly useful as documentation of design intent.
Tried to mark every one of our classes that inherits from another, or is a
base for others, or has abstract virtual functions, and a few others besides.
2016-02-24 20:58:30 -05:00
Paul Licameli
56e7653343
"delete"->"DELETE" in comments, easier to find remaining naked operator delete
2016-02-14 18:50:45 -05:00
Paul Licameli
fbc75907dd
One less indirection accessing EnvPoint
2016-02-02 11:49:52 -05:00
Paul Licameli
cf45a58fdc
dB range is now in Waveforms preferences and view settings, and ...
...
... the preference is independent of those in Interface and Recording
preferences, which affect meters, sound activated recordings, time track,
and Plot Spectrum
2015-08-15 18:07:29 -04:00
Paul Licameli
e0621819ed
Move ENV_DB_RANGE out of Envelope.h; that file can be included in fewer places.
2015-07-28 11:55:52 -04:00
Paul Licameli
7bba4500c4
Move mdBr from TrackPanel to ViewInfo, no more lookup of prefs in Envelope.cpp
2015-07-28 11:53:01 -04:00
Paul Licameli
c5754ee751
Remove Envelope::GetValueAtX
2015-07-19 11:44:19 -04:00
Paul Licameli
e0f4595485
TrackArtist, LabelTrack, TimeTrack, Envelope functions take ZoomInfo...
...
... and SelectedRegion, and not ViewInfo or zoom level as a double.
Also some leftOffset arguments.
Assumptions of uniform zoom level persist in TrackArtist::DrawClipSpectrum and
in TrackArtist::DrawClipWaveform but no longer in the rest.
2015-07-19 11:44:13 -04:00
Paul Licameli
5316032fee
An overload of Envelope::GetValues for nonuniform time steps, taking ZoomInfo
2015-07-19 11:44:11 -04:00
Paul-Licameli
bd08c7c778
Envelope event handlers do not directly use zoom (pps) values
2015-07-19 11:44:08 -04:00
Paul Licameli
68174ad657
Envelope::GetValue works faster when called in a loop with increasing arugments
2015-07-19 11:43:50 -04:00
Paul Licameli
437e28db1a
Moved ValueOfPixel into global namespace, it wants to live next to its inverse
2015-06-02 19:16:05 -04:00
Paul-Licameli
5abfd25a34
Support backwards play, a requirement for scrubbing
...
Uncomment the line at the top of ControlToolBar::PlayPlayRegion to play
everything backwards and test it
It even works correctly with a time track
2015-04-17 02:25:52 -04:00
Paul-Licameli
fe12fce270
Bug830 - Paste should not destroy envelope information in the clipboard
2015-04-09 19:49:01 -04:00
benjamin.drung@gmail.com
277932dccb
Remove trailing spaces.
2014-06-03 20:30:19 +00:00
RichardAsh1981@gmail.com
8d8e008b45
Patch by Maarten Baert for compatibility with project files from previous versions of Audacity, by re-scaling on load. Opening newer project files in older builds works but the time track gets messed up. This needs to be release noted.
2013-01-06 16:55:19 +00:00
richardash1981
72f6eded20
I got fed up of unused parameter warning from my compiler hiding the warnings I wanted to see, so have added WXUNUSED annotations to a lot of widely used header files, and cleaned up trailing junk on the way.
2012-12-31 16:57:15 +00:00
RichardAsh1981@gmail.com
2326bb8347
Commit most of patch-envelope-range-2.patch from Maarten Baert, excluding an unrelated change and some independent ones already committed. There is an outstanding potential issue with the TimeTrack:: copy constructor awaiting further input
2012-12-29 16:28:28 +00:00
RichardAsh1981@gmail.com
dd8bc9cb93
add missing includes which break mac debug build
2012-12-28 13:42:10 +00:00
richardash1981
55be06c9e4
commit a large patch by Maarten Baert maarten-baert<at>hotmail<dot>com to fix and improve time track support. Several fix-me issues remain but none are new with this patch.
2012-12-19 21:49:25 +00:00
v.audacity
4038f214cd
(bug 451, p2) Add some asserts against mMaxSamples. In Sequence::Paste(), correct var largerBlockLen declaration to be sampleCount, not the smaller int, that can overflow on comparing to sampleCount and add log error msg. Add alert dialog, log warning, and limitation in Sequence::WriteXML() if mMaxSamples exceeded. Obviate EnvPoint::WriteXML(), unused. A few comments on some "TODO" comments. Make DirManager::WriteXML() fail in debug mode, as it should not be called.
2011-11-01 04:39:14 +00:00
ra
e74978ba77
Locate and position the current Audacity source code, and clear a variety of old junk out of the way into junk-branches
2010-01-23 19:44:49 +00:00