Commit Graph

50 Commits

Author SHA1 Message Date
Paul Licameli 906e55f047 Experimental.h in all .h or .cpp files that directly use EXPERIMENTALs...
... except Audacity.h; and in no others.

Do so even if Experimental.h gets multiply included, as in both the .h and
.cpp files.

This makes it easier to do a text scan to be sure there are no unintended quiet
changes of meaning because of omission of Experimental.h when the flag is
an enabled one.

Also move inclusions of Experimental.h earlier.

Also don't require Experimental.h to be preceded by Audacity.h to define
EXPERIMENTAL_MIDI_OUT correctly.
2019-03-17 22:54:00 -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
James Crook 0ea4ff1395 Add internationalization hints. 2018-08-28 16:35:06 +01:00
James Crook 7f96f85676 Add some Right-To-Left language workarounds.
MixerBoard, LyricsWindow, Screenshot and most effects are now LTR in RTL locales.
Also added a pref so this can be overridden.  As RTL affects window creation, the language choice and this preference may only fully take effect after a restart of Audacity.
2018-08-10 18:39:33 +01:00
Paul Licameli f7f721b52d Automatic setting size hints in all choice controls in ShuttleGui...
... excpet in a few places that populate the choice control late and then
do it explicitly
2018-03-20 14:42:36 -04:00
James Crook e45a6b09d4 Change wordings and consolidate prefs.
- Bring more options together into one static in prefs
- Use verb followed by description for options.
- Capitalise D in 'Down' in a menu item.
2018-03-04 09:39:42 +00:00
Paul Licameli 228388a63c Follow wxWidgets argument conventions for PrefsPanel factories 2018-02-21 19:21:04 -05:00
James Crook a019addafb All preferences in scrollers
We now do not need to worry about the preference dialogs getting too big for small screens.
2018-01-17 20:41:40 +00:00
Steve Daulton 0a93172265 Cautions re. size of Preference pages
Clarify meaning / purpose of assert in PrefsDialog
and add scrollers to pages that may grow in future versions.
2018-01-15 22:23:59 +00:00
Paul Licameli 5407079c62 Remove EXPERIMENTAL_OUTPUT_DISPLAY...
... Maybe a good feature idea, but the implementation pollutes the code in
too many places.

It's a special case of the more general idea of many-to-one associations
between screen rectangles and track objects.  More generalized ways to
accommodate that should be sought.
2018-01-12 12:08:09 -05:00
Paul Licameli c6696f1b49 Move definition of _ and related into Internat.h 2018-01-06 21:03:32 -05:00
Paul Licameli 66d5861360 i18n-hints 2017-11-06 11:01:05 -05:00
Paul Licameli 3b7e99273e Remove some unused strings that confused translators...
... "Light" was used in two different meanings, but one place was the obsolete
Leveller effect, whose code is removed now.  (I leave the files in place, to
make it easier for the curious to know it was once there, and find its history.)

i18n-hints added for the surviving use of "Light" to name a theme, and also for
some of the other themes.
2017-09-10 19:24:08 -04:00
James Crook 11f9a8bb00 "Hi Contrast" -> "High Contrast" 2017-07-02 09:39:44 +01:00
Paul Licameli 48202284b2 Change virtual function interface of PrefsPanel 2017-06-25 11:42:20 -04:00
James Crook 64a28861a0 Make light theme default.
Or as our RM said, 'Let it be Light'.
2017-06-09 19:40:29 +01:00
windinthew 2323e8d222 Shorter preferences 2017-06-07 10:24:10 +01:00
Steve Daulton e16f6f9221 Add small help button to Prefs pages 2017-05-14 19:02:36 +01:00
Richard Bunel 4c3455c2c7 Bug 1523 - OK in Preferences changes language from "System" to the specific system locale 2017-05-14 10:52:30 +01:00
James Crook 9d501f69d6 Add preference for Record being to new track. 2017-05-01 12:04:27 +01:00
James Crook 2cc39d791f Option so (theme) developers can work with Mac buttons on PC (and vice versa) 2017-04-25 17:24:50 +01:00
James Crook 03af77387e Button and hover effect for microphone/speaker on meter bar.
Also fixed capitalisation of "Blend system and Audacity theme"
2017-04-24 20:07:48 +01:00
James Crook d0bafebfdf Fix posterisation. Add blend themes option.
Posterisation was caused by having a bright theme cache and using a darker theme (in linux) so the light colours 'got stretched' and showed up the relatively few distinct values there.  So the Classic theme is now darker, and we expect (on Windows) that it will be recoloured to windows lighter colours.
2017-04-24 18:33:46 +01:00
Gale Andrews e7007c1d59 Remove unwanted period 2017-04-22 01:35:05 +01:00
James Crook 6d361687d6 Add Show/Hide Extra menus preference.
The new preference is in the view menu and on the Gui preferences page.
Also Ext Menus rearranged to more closely match default toolbar order.
Also F11 (a new menu command to show/hide maximised) now has a check mark.

This change needs testing on mac as mac is pickier about when menus are updated.
2017-04-21 17:32:53 +01:00
James Crook a868d0c118 Add Hi-Contrast Theme 2017-04-10 12:09:38 +01:00
James Crook ce37650d04 Theme to be a drop-down
Also moved checkbox options to end and got rid of 'ergonomic order of buttons' preference.
2017-04-06 15:27:12 +01:00
James Crook 8c8f38079d Make default theme depend on EXPERIMENTAL_DA #define. 2017-04-03 13:18:34 +01:00
James Crook 028ed19d90 Sync with DarkAudacity 2017-04-02 23:07:13 +01:00
Paul Licameli df6a7c5464 More uses of safenew for classes we derive from wxWindow classes...
... Also removed some unnecessary deletes of widgets that are managed by parent
windows
2016-02-14 20:39:28 -05:00
Paul Licameli 907c950a0e Bug1288: Don't crash when changing language to "Simplified"...
... but give a warning message about the unknown language.
2016-01-26 20:09:54 -05:00
Steve Daulton 8a6edf3623 Add custom track name defaults to preferences 2016-01-21 02:42:25 +00:00
Paul Licameli 9c483e2e86 Add (redundant) #include "Experimental.h" in all .cpp files using the symbols 2015-08-31 17:56:10 -04:00
Paul Licameli cf45a58fdc dB range is now in Waveforms preferences and view settings, and ...
... the preference is independent of those in Interface and Recording
preferences, which affect meters, sound activated recordings, time track,
and Plot Spectrum
2015-08-15 18:07:29 -04:00
Paul Licameli e0621819ed Move ENV_DB_RANGE out of Envelope.h; that file can be included in fewer places. 2015-07-28 11:55:52 -04:00
Paul Licameli 8399effc45 Table-driven construction of Prefs dialog. A factory for each kind of panel...
... and maybe a future plug-in protocol to break compilation dependency on
all of the PrefsPanel subclasses.
2015-07-26 19:41:20 -04:00
Steve Daulton 2437ef24d2 fill gaps in meter / Waveform (dB) ranges 2015-04-11 15:35:47 +01: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
martynshaw99 f209391d59 John (Thales) code to make the waveform display look like the output of the gain and pan sliders, rather than the input. Added as EXPERIMENTAL_OUTPUT_DISPLAY since there is work to do, but I think this deserves wider input/views. 2013-05-30 23:14:25 +00:00
martynshaw99 1af35d4168 Removal of all the stuff marked as 'Experimental CLEANSPEECH' about a year ago. 2013-04-29 23:23:14 +00:00
v.audacity e0fb5c898f Benjamin's patch for http://bugzilla.audacityteam.org/show_bug.cgi?id=466 2012-07-18 23:32:36 +00:00
v.audacity 312fee2c77 BenBenjamin Drung's patch for http://bugzilla.audacityteam.org/show_bug.cgi?id=466 2012-06-25 00:13:59 +00:00
james.k.crook@gmail.com 63f0b8b09e Fixed more internationalisation hints. 2012-03-20 16:17:37 +00:00
martynshaw99 fb7dfdc699 Norm C's patch to put the full name of the track in the waveform. Defaulted to 'off' but selectable in prefs->Interface->Show track name in waveform display.
Thanks Norm!
2012-01-18 00:02:46 +00:00
martynshaw99 d5393344c3 Remove the option of going to CleanSpeech mode from the prefs. 2011-06-27 22:17:16 +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 bd39b07260 'How to Get Help' is a title, so needs title capitalization, so changed "get" to "Get". And it's a dialog box, not a message.
Internet is a proper name, so should always be capitalized.
2010-09-28 01:50:45 +00:00
BusinessmanProgrammerSteve 828481a3c8 Fix window closing behavior, remove (bug 151) 2010-04-19 06:03:21 +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