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

5336 Commits

Author SHA1 Message Date
Paul Licameli
a2a7d41c47 Add files to Windows build 2016-06-15 07:24:20 -04:00
Paul Licameli
8b966ae2c1 Merge branch 'master' of github.com:audacity/audacity 2016-06-15 07:19:09 -04:00
Paul Licameli
095804a5cb Add files to mac build 2016-06-15 06:27:38 -04:00
Steve Daulton
27e46d5331 Distortion effect added 2016-06-15 10:51:46 +01:00
Paul Licameli
fd91c88e6a Scrub bar show/hide button on Scrubbing toolbar 2016-06-15 01:16:41 -04:00
Paul Licameli
b1ca48c23e Scrub bar show/hide button on Scrubbing toolbar 2016-06-15 01:11:42 -04:00
Paul Licameli
a590cbd343 Image for new scrubbing toolbar button 2016-06-15 01:11:42 -04:00
Paul Licameli
db6398c4db Merge branch 'master' into scrubbing2 2016-06-15 01:10:54 -04:00
Paul Licameli
995db14fd9 Bug1329, partial fix: redo it as a Mac-only change 2016-06-14 15:31:29 -04:00
David Bailes
b011fc4c6b Fix toolbar resizers being in tab traversal
In commit 89e33da, the override of AcceptsFocus() was removed from the ToolBarResizer class so that ESC could cancel resizing. However this meant that the toolbar resizers were included in the tab traversal of the toolbars.

The fix is the same one that was used to fix the problem with the toolbar grabbers being in the tab traversal: override AcceptsFocusFromKeyboard(), rather than AcceptsFocus().
2016-06-14 14:18:44 +01:00
Paul Licameli
dfa91655d3 Bug1329, partial: Enter invokes OK button again for effects on Mac 2016-06-14 01:11:23 -04:00
Paul Licameli
14f3083f6c Suppress duplicate tool dock points that don't give distinct results 2016-06-13 19:16:44 -04:00
Paul Licameli
2a075558ce Suppress duplicate tool dock points that don't give distinct results 2016-06-13 19:15:43 -04:00
Paul Licameli
e659f9dab6 Merge branch 'master' into toolbars 2016-06-13 19:15:02 -04:00
Paul Licameli
e6f261e009 Don't narrow toolbars on Windows when they re-dock 2016-06-13 14:47:09 -04:00
Paul Licameli
4aa380f82a Don't narrow toolbars on Windows when they re-dock 2016-06-13 14:46:19 -04:00
Paul Licameli
9f25b637a1 Merge branch 'master' into misc 2016-06-13 14:37:24 -04:00
David Bailes
72c397112f Fix that the Device toolbar can be higher than it should be.
This happens on Windows 7 if the display scaling factor is set to 125% (and probably higher). This also happens on Windows 10, but only if in addition to the high scaling factor, the display scaling at high DPI is disabled on the compatibility tab of audacity.exe's properties dialog. (The behaviour on Windows 8.1 wasn't checked.) The effect of the toolbar becoming higher, is that on a row of a tooldock, no other toolbar can be in front of the Device toolbar.

In void DeviceToolBar::RepositionCombos(), the desired size of the combo boxes was set to the best size.

The fix is only use the x value of the best size, and leave the y value unchanged. Note that this may not be the only problem in the code which causes this problem, and so this problem may resurface in the future.
2016-06-13 17:50:12 +01:00
Gale Andrews
94249f1ea2 Captialization fixes.
Also renamed "Post Timer Recording Action" to "Action after Timer Recording" for
greater clarity.
2016-06-13 15:51:13 +01:00
Paul Licameli
1409c9507d Fix crashes when opening track control panel menu 2016-06-13 10:06:20 -04:00
Paul Licameli
c3437b1d6e Fix Windows build, and some compilation warnings 2016-06-13 09:42:24 -04:00
Steve Daulton
78e16f6e20 include <algorithm> to fix Linux build 2016-06-13 08:38:54 +01:00
Paul Licameli
35ba92560d More flexible toolbar layout routines; now scrub bar can stick left 2016-06-12 20:22:36 -04:00
Paul Licameli
c101f4acdb Enable yet more docking positions by wrapping the cofiguration 2016-06-12 20:21:09 -04:00
Paul Licameli
de17c1ac3a Toolbar placements can push other bars down as well as right 2016-06-12 20:21:09 -04:00
Paul Licameli
37962dd9a8 Visitors unify layout routines; now any bar can stick at lower left 2016-06-12 20:20:51 -04:00
Paul Licameli
3df50f8184 Define the default toolbar configuration (as a tree) 2016-06-12 19:32:52 -04:00
Paul Licameli
65b3d32894 Tool bar configuration stores a tree structure, not a simple sequence 2016-06-12 19:18:56 -04:00
Paul Licameli
7f920ecd0d Starting to make ToolBarConfiguration::Position more general 2016-06-12 12:41:52 -04:00
Paul Licameli
ffb681e658 Delegate reading and writing of toolbar configuration to new class 2016-06-12 10:55:47 -04:00
Paul Licameli
3c13c6eaa6 ToolDock::OnPaint assumes less about configuration details 2016-06-12 10:29:45 -04:00
Paul Licameli
b46e263afb Abstract ToolBarConfiguration further, with an iterator class 2016-06-12 10:27:54 -04:00
Paul Licameli
dd327cd304 More abstract toolbar positioning types, to be generalized later 2016-06-12 10:27:51 -04:00
Paul Licameli
036c13149b The two toolbar positioning functions are simpler and more similar 2016-06-12 08:25:45 -04:00
Paul Licameli
1b1b0ba5e7 Remove forward declaration of nonexistent type 2016-06-12 08:24:27 -04:00
Paul Licameli
c1ee03d48f Tool tips, status messages for most buttons mention shortcut keys...
... Also for the pin/unpin button on the ruler.

Exceptions:  scrubbing toolbar; transcription play does not mention shift
and ctrl modified versions.

Note too that on Mac, the special characters are used to indicate modifiers.
2016-06-12 00:05:43 -04:00
Paul Licameli
0e0df1f2ff Edit toolbar tooltips mention shortcut keys 2016-06-12 00:00:04 -04:00
Paul Licameli
c1a22816f8 Tooltip for Transcription play button mentions the shortcut...
... but only for the version without shift or ctrl modifier key.

Should it mention those others too?  It might get too long.
2016-06-12 00:00:04 -04:00
Paul Licameli
1f72f8db18 Tools toolbar buttons mention shortcuts in status messages 2016-06-12 00:00:04 -04:00
Paul Licameli
e844b07a46 All Toolbars define RegenerateTooltips; invoke during project init...
... and UpdatePrefs
2016-06-12 00:00:04 -04:00
Paul Licameli
16933363fe Update ruler button status messages if changed by keystroke and...
... pointer is in it
2016-06-12 00:00:04 -04:00
Paul Licameli
bb7dba2b67 Shortcut keys can appear as intended in Track Control Panel menus...
... Delayed construction of the menus was needed.

So far this only affects the four menu items that move tracks up and down.
2016-06-12 00:00:04 -04:00
Paul Licameli
9d33d12423 Ruler button tooltip can use Mac special chars 2016-06-12 00:00:03 -04:00
Paul Licameli
5f8fad4a48 Transport button tooltips with shortcuts use Mac special chars 2016-06-12 00:00:03 -04:00
Paul Licameli
8dfaa4dcf8 Implement translation of shortcut key names to Mac special chars 2016-06-11 20:31:03 -04:00
Paul Licameli
de8d0e9918 Define Internat::Parenthesize, for good of right-to-left languages 2016-06-11 18:23:36 -04:00
Paul Licameli
59c3482798 Small fixes for toolbar docking, before the larger project 2016-06-11 16:35:53 -04:00
Paul Licameli
203ddfd1a1 Center toolbar dock indicator triangles on edge of rectangle 2016-06-11 16:32:24 -04:00
Paul Licameli
64ad732aee Removed some unused members, made some members const 2016-06-11 16:31:38 -04:00
Paul Licameli
82cf9b3ab6 Don't increase width when a toolbar is repeatedly docked and undocked 2016-06-11 16:29:25 -04:00