1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-19 09:30:06 +02:00

808 Commits

Author SHA1 Message Date
Paul Licameli
e048a4aacd Move a static function and an enumeration out of MenuCommandHandler 2018-10-24 12:16:46 -04:00
Paul Licameli
800f6500ba No more member definitions of AudacityProject inside Menus.cpp 2018-10-24 12:16:46 -04:00
Paul Licameli
64b6493bec Help Menus 2018-10-24 12:16:45 -04:00
Paul Licameli
574fc7f2ec Extra Menus 2018-10-24 12:16:45 -04:00
Paul Licameli
4a8a30f1a9 Navigation Menus 2018-10-24 12:16:45 -04:00
Paul Licameli
c7521b211d Window Menu for Mac 2018-10-24 12:16:44 -04:00
Paul Licameli
9759c6bd4f Plugin Menus 2018-10-24 12:16:44 -04:00
Paul Licameli
1be1217d1d Tracks Menus 2018-10-24 12:16:40 -04:00
Paul Licameli
903b42f84a Transport Menus 2018-10-24 12:16:35 -04:00
Paul Licameli
c65fd0ebe1 View and Toolbar Menus 2018-10-24 12:16:35 -04:00
Paul Licameli
fb8b5029e5 Select and Clip Menus 2018-10-24 12:16:33 -04:00
Paul Licameli
2792faa114 Edit and Label Menus 2018-10-24 12:14:05 -04:00
Paul Licameli
4d6cad8ebc File Menus 2018-10-24 12:14:01 -04:00
Paul Licameli
280e8d9bac Some machinery to add more menu handler object classes...
...without adding linkage dependencies to AudacityProject constructor
2018-10-24 11:02:33 -04:00
Paul Licameli
8ca9edc2a4 Move some label editing functions into class LabelTrack 2018-10-24 11:02:33 -04:00
Paul Licameli
7b422afda5 Some further factoring of the menu building functions 2018-10-24 08:52:03 -04:00
David Bailes
5494185a88 Dialog for the name of a label: positioning fixes
Problems fixed:
1. When adding a label at playback position, the position of the dialog was calculated using the position of the edit cursor
2. When adding a label at selection, the dialog could be to the left of the Audacity Window, and indeed offscreen.
2018-10-24 11:07:17 +01:00
Paul Licameli
78656f6543 Define table for Help menu 2018-10-21 12:16:30 -04:00
Paul Licameli
611ab0cc91 Define table for ungrouped Extra commands...
... and finish replacement of the old Extra menu code
2018-10-21 12:16:30 -04:00
Paul Licameli
2d03524760 Define table for Extra Scriptables II menu 2018-10-21 12:16:30 -04:00
Paul Licameli
f8379e2109 Define table for Extra Scriptables I menu 2018-10-21 12:16:29 -04:00
Paul Licameli
700eca1c9c Define table for Extra Track menu 2018-10-21 12:16:29 -04:00
Paul Licameli
b13e0e641d Define table for Extra Cursor menu 2018-10-21 12:16:29 -04:00
Paul Licameli
9b3f1a1335 Define table for Extra Focus menu 2018-10-21 12:16:29 -04:00
Paul Licameli
237bf4d9a3 Define table for Extra global commands...
... Is it important to preserve the old sequence of registration?  It does at
least make some difference in what you see in the Keyboard preferences dialog.
2018-10-21 12:16:28 -04:00
Paul Licameli
5d4a7a76ad Define table for Extra Selection menu 2018-10-21 12:16:28 -04:00
Paul Licameli
17e6218bcd Define table for Extra Device menu 2018-10-21 12:16:28 -04:00
Paul Licameli
bbc2837d67 Define table for Extra Seek menu 2018-10-21 12:16:28 -04:00
Paul Licameli
9e4e1ae699 Define table for Extra Play at Speed menu 2018-10-21 12:16:27 -04:00
Paul Licameli
e848390818 Define table for Extra Edit menu 2018-10-21 12:16:27 -04:00
Paul Licameli
0c9cf45188 Define table for Extra Mixer menu 2018-10-21 12:16:27 -04:00
Paul Licameli
620640c7a2 Define table for Extra Tools menu 2018-10-21 12:16:27 -04:00
Paul Licameli
cac88ce4cd Define table for Extra Transport menu 2018-10-21 12:16:26 -04:00
Paul Licameli
8c0944d65a Stub function for Extra menus, to be managed as sub-tables...
... There will be two menus, "Extra" and "Extra_" in these interim commits as
we move items from the latter to the former.
2018-10-21 12:16:26 -04:00
Paul Licameli
434dcfa4b3 Define table for Window menu (Mac only) 2018-10-21 12:16:26 -04:00
Paul Licameli
4895dfdf7a Define tables for Generate, Effects, Analyze, Tools menus 2018-10-21 12:16:26 -04:00
Paul Licameli
4b71950022 Define table for Tracks menu 2018-10-21 12:16:25 -04:00
Paul Licameli
032070a2d9 Define table for Transport menu 2018-10-21 12:16:25 -04:00
Paul Licameli
a9512fe450 Define table for View menu 2018-10-21 12:16:25 -04:00
Paul Licameli
dfc555e5f4 Define table for Select menu 2018-10-21 12:16:25 -04:00
Paul Licameli
3b997aa7e2 Define table for Edit menu 2018-10-21 12:16:24 -04:00
Paul Licameli
298971b6e4 Define table for File menu 2018-10-21 12:16:24 -04:00
Paul Licameli
2c5f56b9ae A table of menu description factories; iterate it; but it's empty...
... to be populated in succeeding commits.
2018-10-21 12:16:24 -04:00
Paul Licameli
e756f2e71c Define classes and interpreter to be used in menu definition tables 2018-10-21 12:16:22 -04:00
Paul Licameli
5277584bb0 Hide details of managing occult command items 2018-10-20 14:19:58 -04:00
Paul Licameli
01875db4bd Don't hold a dangling pointer to a menu bar in CommandManager 2018-10-20 12:53:03 -04:00
Paul Licameli
fefc3bf35d Don't call CommandManger::AddGlobalCommand, use an option instead 2018-10-20 11:59:39 -04:00
Paul Licameli
7f5e6d12b1 Only one public CommandManager fn to begin a menu and one to end...
... It knows the nesting, so it decides for itself whether to manage the menu
as main or sub-.
2018-10-20 09:40:03 -04:00
Paul Licameli
27aa59ed50 AddItemList takes IdentInterfaceSymbol (untranslated) ...
... so that we can use a static constant table of names, which can't use
macro _ in initializers.
2018-10-20 09:21:22 -04:00
Paul Licameli
1b05ba9a78 A compile-time constant for the number of align menu items 2018-10-20 09:21:22 -04:00