1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-02 08:39:46 +02:00

30 Commits

Author SHA1 Message Date
lllucius
6a0492e15d Default all toolbars to docked on reset and new config
Combined meter and spectral toolbars default to hidden.
2014-12-20 22:03:10 +00:00
lllucius@gmail.com
9404a28954 Fix missing toolbars at startup on Linux
The problem was that on Linux (not Windows or Mac) menu
events are generated when checking the menu items in
the toolbar menu.

Becuase of the recent changes I made and how the toolbars
are being shown (toggled) when the toolbar menu is checked,
they were simply being hidden.  Actually, the were being
shown and then hidden because of the toggle.

So, with this change I made exposing toolbars a bit more
deterministic.  The menus still use a toggle, but the 
ToolManager now shows or hides the bars explicitly during
setup, so the menu toggle issue is resolved.
2014-12-20 20:08:45 +00:00
lllucius
fe42e881a5 First stab at taming the meter toolbars
This should correct at least a couple of the reported
issues.  And it also has some fixes in for multiple
project support.
2014-12-17 19:16:08 +00:00
james.k.crook@gmail.com
c71397beae Changes to seeking and scrubbing from Paul Licameli.
These are mostly under an EXPERIMENTAL_ #ifdef.  Also has a change for the prompt string for preferences so the displayed keybinding is adjusted when in multitool mode.
2014-11-29 22:09:57 +00:00
james.k.crook@gmail.com
7ee3c47441 Added Space-Saver meters. These are now the default.
Fixed ResetToolbars so that SpectralSelectionBar is not shown after a reset.
2014-11-09 15:47:09 +00:00
james.k.crook@gmail.com
96531ef766 Hide spectral selection bar by default. Tidy up folders within MSVC project. 2014-11-08 15:47:08 +00: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
799230b882 Much easier to dock with an empty dock now.
Overlapping a dock is now enough to trigger docking.  Previously the top left corner had to be in the dock.
2014-11-02 17:39:50 +00:00
james.k.crook@gmail.com
72038d0e06 Update to r13516 to also deal with horizontal movement. Toolbars should now dock where you undocked them from, if you don't move them.
Thanks to Gale for a very clear description of the issue, which I hadn't seen because of how I click/drag.
2014-11-01 23:26:52 +00:00
james.k.crook@gmail.com
a94bfed0cc Incremental improvement to toolbars.
Fixes the undock-redock moving the toolbar to a new position.  No change expected to 'dock marker vanishes' in linux issue.
2014-10-29 19:15:19 +00:00
james.k.crook@gmail.com
c26917a0ee Fix to toolbar positioning.
1) No longer have toolbars appearing at top-left of screen.
2) If using an old config, we won't have combined, play and record meter bars all at the same time anymore.
2014-10-25 13:53:25 +00:00
james.k.crook@gmail.com
f824dfcd0d Fix: With no prior config set show Record and Play meter, don't show Combined meter. 2014-10-24 20:37:19 +00:00
james.k.crook@gmail.com
8567775efb Fixed docking of large toolbars.
Previously there were three problems:
1) Docking marker calculation was relative to the mouse rather than relative to the top left of the dragged toolbar.  On a big toolbar dragged from the bottom of the dragger that could be a long way off.
2) Docking markers appeared too low down.  Their position was relative to the middle of the dragged toolbar.  However as the toolbar may be resized on placement that does not make sense.
3) Large (Height()>120) toolbars could be thought to be too tall to dock in some places.  The positioning code used their current size rather than their minimum size.
2014-10-24 18:18:51 +00:00
james.k.crook@gmail.com
fbbab2ce1b Now have three varieties of the Meter Toolbar.
We have separate record and play meters.  The original kind of meter is now called a combined meter.  I've kept it because it can be useful when undocked if you do want both meters.  I've also fixed it so that if made very narrow the meters stack vertically just as they already did horizontally.
2014-10-24 16:42:46 +00:00
james.k.crook@gmail.com
e31644eda8 Fix: Can now drag double height toolbars onto start of last row, even when last row is single height.
I also simplified the code by (a) exiting from a loop as soon as we know the answer and by (b) not treating the initial case of a loop as 'special'.
2014-10-21 16:36:32 +00:00
lllucius
bdcefb4850 Preliminary changes for wxWidgets 3.0.1
We can't go to 3.0.1 yet as there are still build issues on
Linux and OSX.  You can get Windows to build, but there's
still some display issues.

These changes should work with wxWidgets 2.8.12 as well, so
we can take our time to get things working properly before
switching over.
2014-10-06 08:10:50 +00:00
benjamin.drung@gmail.com
277932dccb Remove trailing spaces. 2014-06-03 20:30:19 +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
james.k.crook@gmail.com
dba81b3f1c Cleanup: Fixed lots of trivial MSVC warnings. 2013-08-25 21:51:26 +00:00
v.audacity
0e287db4c9 Turns out the failsafe I added yesterday in r11929 was the correct solution to bug 367. This commit just adjusts the comments.
This also has the fix for bug 232, derived from the patch by Gaurav Agarwal.

Also changed several lingering "linking" comments to "sync-lock", the agreed on current terminology.
2012-08-20 20:26:42 +00:00
v.audacity
f7841b4d8f Add selection settings to Device Toolbar tooltips. Adjust some comments. 2012-08-07 04:16:13 +00:00
v.audacity
ebb4f530bb Apparently, wxConfigBase::Write() does not update values for next access on all platforms unless Flush() method is called. Added many calls to wxConfigBase::Flush() to make sure the Rad() calls get the right values. 2012-08-02 06:03:19 +00:00
james.k.crook@gmail.com
6cc4b04784 Bug:382 Resetting control toolbar whilst audio was playing led to attempts by gAudio to update a non-existent window and crash on OSX. We now stop the current monitoring on a toolbar reset. 2011-05-03 12:00:45 +00:00
mchinen
c6228a7042 bug 11 followup: make DeviceToolBar shown when user selects reset toolbars menu item 2011-01-22 21:27:27 +00:00
mchinen
ab3df2f512 Revert premature comment - this was an extra file commit mistake while committing other changes. 2011-01-22 21:11:15 +00:00
mchinen
350b96038c bug 11 followup: fix sizing and positioning issues. Also autoresizes now. 2011-01-17 04:17:25 +00:00
mchinen
ce5103b8df Make DeviceToolBar on by default as preferences are now gone 2011-01-09 21:26:11 +00:00
v.audacity
93485f5c50 ControlToolBar now appears in GUI as "Transport Toolbar" instead of "Control Toolbar", to better relate it to the Transport menu. 2010-11-16 01:18:39 +00:00
v.audacity
a07fe36456 Change "Sync-Lock Tracks" button image from chain-link to clock.
EXPERIMENTAL_LINKING -> EXPERIMENTAL_SYNC_LOCK

Restore some "border" lines in TrackInfo.


Get rid of unused DEFINE_COLOUR( clrTrackInfoSyncLockSel...).

Clean out some undocumented commented-out code. Add/remove some comments.
2010-09-14 05:52:01 +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