Paul Licameli
132f04d272
ManualPageID is a new type; rewrite HelpSystem::ShowHelp and its uses
2021-07-01 13:35:57 -04:00
Paul Licameli
f369b5109b
Change almost all uses of WaveTrack::Get() to GetFloats() ...
...
... A call graph browser easily shows that the extra generality of fetching
samples in some other format is only used in Benchmark -- where the format is
always the same as what the track is constructed with.
This makes re-verification of the claims in comments two commits ago easier.
2021-05-27 11:38:10 -04:00
Paul Licameli
c5ebc396eb
Audacity.h has shrunk to nothing, now remove it!
2021-05-10 00:05:23 -05:00
Leland Lucius
20ace313fa
Bug 1872 - Most Non-Modal dialogs do not update buttons when language changed
2021-02-14 01:25:52 -06:00
JohnColket
a3d9f41fb4
Bug 2582 - Enh: Repeat last Process, Part 2 ( #734 )
2021-02-03 11:02:49 +00:00
Paul Licameli
caa312ab7b
Remove some unneeded #includes and forward declarations
2020-11-20 13:47:47 -05:00
Paul Licameli
fa4d35296e
AllThemeResources.h has a .cpp & doesnt include Theme.h...
...
... (it used to, via MacroMagic)
This splits a cycle of 8 into 6 + 1 + 1
2020-05-28 05:50:24 -04:00
Paul Licameli
c44ae15a4d
Remove inclusions of wx/filedlg.h
2020-05-22 20:18:51 -04:00
Paul Licameli
4d09705a73
Change XO to XXO in many more places, with no effects at all...
...
... because the two macros have the same expansion, and are both checked for
in the --keyword arguments passed to msgfmt by locale/update_po_files.sh.
This commit makes ONLY such changes, and comments in Internat.h. It is big
but quite harmless.
The intention is to introduce a type distinction in a later release, by defining
XXO differently. XXO is used where & characters in strings (for hotkeys of menu
items or control prompts) are permitted, XO where not.
2020-05-22 13:07:50 -04:00
Yuri Chornoivan
d1ada5f08c
Fix minor typos
2020-04-11 10:06:24 +01:00
Paul Licameli
4d43967add
Restore commit c1d129ec98
2020-01-31 23:51:12 -05:00
Paul Licameli
2c25a37994
Revert to a465ce0046
2020-01-31 22:34:25 -05:00
Paul Licameli
d9d3f95570
Several nonmodal top level window tools register their menu items...
...
... removing link dependencies on them from src/menus, so they are now suitable
for moving out into modules.
They are:
Mixer Board
Karaoke (also called Lyrics)
History
Contrast
Plot Spectrum
Their header files are now no longer included anywhere but in their own
implementation files!
2020-01-31 21:12:36 -05:00
Paul Licameli
2570b56176
Rename Maybe and its members more like std::optional of C++17
2020-01-19 11:38:12 -05:00
Paul Licameli
6eb0f3aca1
Move SpectrumAnalyst into its own files...
...
... It's the pure calculation common to the Plot Spectrum window and
to spectral editing
This removes some dependencies on FreqWindow
2020-01-18 13:38:19 -05:00
Paul Licameli
54542c532f
Eliminate GetActiveProject from FreqWindow.cpp
2020-01-07 16:16:18 -05:00
Paul Licameli
7bce0a643b
Bug2281: Revert changes to FreqWindow.cpp at f0b7583
, don't crash
2020-01-07 13:11:24 -05:00
Paul Licameli
f0b75832b4
Remove uses of GetActiveProject in some dialogs
2020-01-04 13:55:34 -05:00
Paul Licameli
aa39f9ade2
Rewrite FileNames::SelectFile using FileTypes...
...
... And more uniformity in the descriptions of file types used in more than
one place
Also fixes missing translations in VSTEffect.cpp
2019-12-29 15:35:04 -05:00
Paul Licameli
6e14d2e56c
RulerPanel uses TranslatableString for units string...
...
... also fixing missed translation of "k" in spectrum vertical ruler
2019-12-28 23:49:18 -05:00
Paul Licameli
f932d2d550
Rewrite export of data in FreqWindow.cpp
2019-12-26 22:11:45 -05:00
Paul Licameli
d2eb085bd6
Fix export of Plot Spectrum on Mac
2019-12-26 21:38:38 -05:00
Paul Licameli
d1637c22c0
TranslatableString for explicit prompts and units in ShuttleGui
2019-12-23 19:22:03 -05:00
Paul Licameli
747c35645a
TranslatableString for checkbox captions
2019-12-23 19:15:34 -05:00
Paul Licameli
21e7b9f2de
TranslatableString for prompts of choice controls
2019-12-23 15:39:49 -05:00
Paul Licameli
1944ac2040
TranslatableString for labels of ShuttleGui buttons
2019-12-23 15:35:48 -05:00
Paul Licameli
75996a851c
ShuttleGui::AddChoice and TieChoice take TranslatableStrings
2019-12-23 15:35:47 -05:00
Paul Licameli
65b6d5aad5
i18n of names of FFT window functions (transliterations, maybe)...
...
... and fix format string in FreqWindow.cpp that wasn't really translated
2019-12-21 12:48:24 -05:00
Paul Licameli
86e9288bbd
return pitch names as TranslatableString
2019-12-21 12:45:24 -05:00
Paul Licameli
dc39f22442
AudacityMessageBox takes TranslatableString message and caption
2019-12-20 21:32:50 -05:00
Paul Licameli
ae42397d64
FileNames::SelectFile takes TranslatableString for message
2019-12-20 13:40:20 -05:00
Paul Licameli
53ee9c9800
TranslatableString for titles, names, labels of wxDialogWrappers...
...
... Found one missed translation in CommandTargets.cpp
2019-12-16 10:58:05 -05:00
Paul Licameli
0cf90d65e6
S.GetParent() for all windows passed to ShuttleGui::AddWindow()...
...
... Verified that this makes no real change.
2019-12-10 09:58:38 -05:00
James Crook
5a3e9cd063
Fix dialog naming
...
For nicer Doxygen results, we need consistency in naming of classes.
Dialag classes are now called SomethingDialog.
2019-12-06 10:39:07 +00:00
Paul Licameli
96291c5476
Remove second argument of AddWindow(), use Position() instead
2019-12-02 22:01:22 -05:00
Paul Licameli
b5ee7676fd
Rename ShuttleGui::SetSizeHints, chain-call it like other methods...
...
... And rewrite some other existing calls to SetMinSize
2019-12-02 19:35:06 -05:00
Paul Licameli
c72dbf5b51
Define and use ShuttleGui::Focus
2019-12-02 17:26:40 -05:00
Paul Licameli
1bfbfb9640
ShuttleGui::Style analogous to other functions
2019-12-02 17:23:34 -05:00
Paul Licameli
9eeef4713d
Define and use ShuttleGui::Name and NameSuffix...
...
... For radio buttons, the name will default to the same as the prompt if not
otherwise specified
2019-12-02 16:55:46 -05:00
Paul Licameli
7e1c469d7f
Remove some unnecessary #include directives
2019-07-09 12:45:50 -04:00
Steve Daulton
c5a1dad275
Fix bug 387
...
Mac and Linux (correctly) allow files to be saved with an arbitrary
file extension, or no file extension at all. For the exported file
to be visible in the export dialog, the dialog must include an optional
wildcard for "All files".
2019-06-09 19:25:59 +01: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
14ab93a01f
static TrackList::Get()...
...
... not member function of AudacityProject
2019-05-23 12:58:47 -04:00
Paul Licameli
f86403378b
Move AudacityMessageBox to its own files...
...
... breaking cycles among low-level files introduced by 273ba9f
2019-05-20 14:48:36 -04:00
Paul Licameli
6c57948d8f
Remove unnecessary #include-s from .cpp files...
...
... Unnecessary because transitively included.
But each .cpp file still includes its own .h file near the top to ensure
that it compiles indenendently, even if it is reincluded transitively later.
2019-05-16 17:21:00 -04:00
Paul Licameli
c8d95e1117
Bug2105: Enable TAB to sliders on Mac...
...
... I think this is a defect in wxWidgets, but one we can work around with a
simple wrapper class around wxSlider overriding one method.
To make the fix complete, change all occurrences of "safenew wxSlider"
but the one in ShuttleGui.cpp covers most cases
2019-04-30 21:50:22 +01:00
Paul Licameli
08c16b6eb7
Remove wx/{html/htmlwin,fileconf,dragimag,debug,dcclient}.h from *.h
2019-03-30 10:53:22 -04:00
Paul Licameli
de60edc62f
Remove wx/{app,statbmp,spinctrl,scrolbar,dynlib,dcmemory}.h from *.h
2019-03-30 07:57:37 -04:00
Paul Licameli
d71a54b4e9
Remove wx/checkbox.h from headers
2019-03-28 12:55:34 -04:00
Paul Licameli
7766d9a192
AddCheckBox takes a bool for initial state, not string
2019-03-27 12:58:40 -04:00