Paul Licameli
5cef2cd3e4
Remove a few macro _
2020-05-22 13:07:49 -04:00
Paul Licameli
32d2d2390f
Eliminate GetActiveProject from MixerBoard, Snap, Meter
2020-01-07 17:06:23 -05:00
Paul Licameli
05efeeb5bd
New files for ProjectSettings
2019-06-03 01:13:13 -04:00
Paul Licameli
dd10e00a2d
New attached structure ProjectSettings stores rate, snap-to, et al.
2019-06-02 14:42:00 -04:00
Paul Licameli
b5a57682b6
static ViewInfo::Get() and ZoomInfo::Get()...
...
... not member functions of AudacityProject
2019-05-23 12:58:47 -04:00
Paul Licameli
f45300f032
This is only comments, in files where USE_ macros are tested...
...
... following the comment convention used in the preceding commit.
2019-03-22 12:38:30 -04:00
Paul Licameli
b4ce681867
WaveTrack.h does not include WaveClip.h
2019-03-18 01:44:42 -04:00
Paul Licameli
6d5bc21d50
Define and use wxArrayStringEx...
...
reducing verbosity where there were repeated calls of Add(), and defining
move construction and assignment for efficient returns from functions
2019-03-10 16:23:44 -04:00
Paul Licameli
617ac20e7f
remove some unused things
2019-03-09 12:02:12 -05:00
Paul Licameli
1be3187b99
Use TrackIterRange::Visit
2018-10-01 10:59:24 -04:00
Paul Licameli
0fb02a8024
IdentInterfaceSymbol in NumericTextCtrl; don't persist translated
2018-03-28 14:00:17 -04:00
Paul Licameli
080dd34e61
Get rid of wx object arrays, use std::vector
2018-02-21 19:33:27 -05:00
Paul Licameli
67282cbb61
SnapManager::Snap returns its results in a struct
2017-07-13 12:11:13 -04:00
Paul Licameli
ac10dc13d5
Construct SnapManager with const TrackList
2017-07-13 12:11:12 -04:00
Paul Licameli
fb75f1d00b
build fix
2017-07-09 13:33:15 -04:00
Paul Licameli
a3037b5734
Move drawing of snap guidelines out of TrackPanel.cpp
2017-06-10 20:48:02 -04:00
Paul Licameli
c300c33901
Remove a few unused members from class TrackPanel, and an unused #include
2017-06-08 15:30:31 -04:00
Paul Licameli
692a033968
Remove naked new[] in: various
2017-03-17 17:52:47 -04:00
Paul Licameli
39d514b183
Some more const, some stl idioms, remove unused declaration
2016-09-13 22:03:58 -04:00
James Crook
4eeef25191
More unused parameters and local variables.
2016-09-12 12:33:44 +01:00
David Bailes
7f122a42f9
Fix Windows build
...
vs2013/5 do not support defaulted move constructed, so made it explicit.
2016-08-13 13:18:34 +01:00
Paul Licameli
cb48ca2b91
Use arrays of smart pointers to WaveClip
2016-08-12 20:53:38 -04:00
Paul Licameli
b548e641ae
Simplify iterations over WaveClips outside of WaveTrack/WaveClip; ...
...
... also add some const qualifiers
2016-08-12 20:53:37 -04:00
Paul Licameli
cb7872f980
use std::vector to hold TrackClip; move ctor and dtor out of line
2016-08-12 20:53:37 -04:00
Paul Licameli
71efb13161
Remove some naked new amd delete in: widgets
2016-08-08 07:51:26 -04:00
Paul Licameli
d9c2ff6dc2
fix compilation
2016-02-19 01:39:44 -05:00
Paul Licameli
1758f85451
No extra indirection accessing SnapPoint
2016-02-18 20:19:48 -05:00
Paul Licameli
7c4c45a0d5
"new"->"NEW" in comments, easier to find remaining naked operator new
2016-02-14 18:52:41 -05:00
Paul Licameli
b57df1674d
Fix warnings, reduce header file dependencies
2015-08-24 23:08:28 -04:00
Leland Lucius
6a9dae20f5
Appearance on OSX is now back to normal or better
...
Some additional wx3 cleanup as well.
2015-08-23 20:25:01 -05:00
Paul Licameli
cfdbc35990
Bug 1132: Time shift should not snap to starting positions of moving labels
2015-08-08 16:10:33 -04:00
Paul Licameli
d8ce9f0d7d
Move an array definition to Snap.h, use std::vector
2015-07-28 11:49:51 -04:00
Paul Licameli
d39eaa4e65
Remove WaveTrack.h from other headers
2015-07-28 10:02:05 -04:00
Paul-Licameli
fe36b636cb
Rewrite SnapManager to avoid using ZoomInfo::zoom
2015-07-19 11:44:05 -04:00
james.k.crook@gmail.com
67d2b274e2
Frequency Selection toolbar from Paul Licameli.
...
Linux/Mac will need new files adding to project, SpectralSelectionBar.cpp, NumericTextCtrl.cpp.
2014-11-08 15:18:43 +00:00
james.k.crook@gmail.com
f5e593cc4c
Paul L's new SelectedRegion class replacing use of t0 and t1. Also LabelTrack.h no longer in TrackPanel.h includes.
...
This change is believed to be a direct refactoring that does not change functionality. It paves the way for more complex kinds of selection, such as selections involving frequency as well as time. It also reduces risk of left and right edges being swapped in future code using SelectedRegion, as the default is to swap on assignment if needed.
2014-10-05 17:10:09 +00:00
benjamin.drung@gmail.com
277932dccb
Remove trailing spaces.
2014-06-03 20:30:19 +00:00
lllucius
ce00d5b507
[Bug 647] Snap-To clicks find nearest snap point, not nearest previous.
...
Convert SnapTo from on/off to a choice of off/nearest/prior.
2013-11-01 14:13:39 +00:00
lllucius
3cd39fedea
Fix BSG problems introduced with my recent Snap/TimeConverter changes.
2013-10-27 18:17:00 +00:00
lllucius
3d95126e0e
Bug 275 - Snap-To status/quantisation are global, leading to incorrect indications in multiple projects
...
This adds (I believe) project specific selection format.
2013-10-27 01:58:35 +00:00
lllucius
0bb9467cd6
Truly make snapto project specific.
2013-10-26 09:36:49 +00:00
lllucius
7bb67e33fd
I accidentially included the patch for bug #647 along with the patch for
...
bug #115 .
But, since there's some definite preferences on which is correct, I've
left the change in, but added a simple way (SNAP_TO_NEAREST define in Snap.c)
to change it once a decision is made.
If set SNAP_TO_NEAREST back to true since that is the current (as of 2.0.5)
behavior.
2013-10-23 22:51:57 +00:00
lllucius
71fde85bfe
Bug 115 - Snap-to causes spurious 'toolbar' to appear momentarily at start of dragging.
...
Completes James' TimeConverter work
This completes the work that James started. It moves most of the non-GUI
related processing from TimeTextCtrl to James' TimeConverter class.
Other changes include:
1) TimeTextCtrl now expects the format name instead of the format string to be
passed when creating a new instance. I found that almost all cases created the
instance with a blank format string and then set the string after creation.
2) To simplify maintenance and prevent a possible discrepancy between the two,
Increase() and Decrease() were merged into a single routine.
As a result:
1) All cases where a TimeTextCtrl was being used to extract information and
not actually display a control have been changed to use TimeConverter instead.
2) All cases where TimeTextCtrl was being created with an empty format and
then immediately followed by something like this:
tt.SetFormatString(tt.GetBuiltinFormat(c->GetFormat()))
have been changed to pass the format name instead of the format string when
creating the TimeTextCtrl instance.
2013-10-23 21:01:52 +00:00
martynshaw99
4ce2643d5f
Remove the
...
// Indentation settings for Vim and Emacs
etc. lines from all files, as Campbell's patch (except for other changes to Languages.cpp)
2013-09-24 00:14:37 +00:00
RichardAsh1981@gmail.com
28e9f0ca73
make many functions which do not require access to class member variables static so they can be called without an object to do so with. Based on part of a patch by Campbell Barton
2013-09-21 19:15:42 +00:00
rbdannenberg
a1f0e5ed5b
Extensive changes to improve NoteTrack display and (some) editing, NoteTrack playback via MIDI, and Midi-to-Audio alignment.
2010-09-18 21:02:36 +00:00
james.k.crook
e801b39943
Bugzilla#115. Split TimeConverter from the TimeTextCtrl GUI class so that we do not create a ctrl every time we want to do a time conversion.
...
Also avoided creating a SnapManager when snap-to is disabled.
2010-02-12 21:28:34 +00:00
BusinessmanProgrammerSteve
dbc4aab314
Fix lots of snapping problems by moving snap-to-time into SnapManager.
...
Do a 'make dep' after updating, some #includes are added.
2010-02-02 19:43:52 +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