1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-13 07:07:46 +02:00

18 Commits

Author SHA1 Message Date
James Crook
ea4968e094 Add GetInfo Preferences. 2018-02-27 22:26:28 +00:00
Paul Licameli
228388a63c Follow wxWidgets argument conventions for PrefsPanel factories 2018-02-21 19:21:04 -05:00
Paul Licameli
48202284b2 Change virtual function interface of PrefsPanel 2017-06-25 11:42:20 -04:00
Steve Daulton
e16f6f9221 Add small help button to Prefs pages 2017-05-14 19:02:36 +01:00
Paul Licameli
256a595d0f Use const 2016-08-11 11:51:33 -04:00
Paul Licameli
8572b425c1 More safenew 2016-08-10 11:05:51 -04:00
Paul Licameli
70bd46b8ad travis 2016-04-09 22:55:15 -04:00
Paul Licameli
990080ae7d Replace virtual with override wherever possible; eliminate needless virtual...
... for functions in final classes.

override is like const -- it's not necessary, but it helps the compiler to
catch mistakes.

There may be some overriding functions not explicitly declared virtual and I did
not identify such cases, in which I might also add override.
2016-02-26 12:35:38 -05:00
Paul Licameli
7824e94030 Harmlessly qualify classes as final (or explicitly comment not)...
... Should have no effect on generated code, except perhaps some slight faster
virtual function calls.  Mostly useful as documentation of design intent.

Tried to mark every one of our classes that inherits from another, or is a
base for others, or has abstract virtual functions, and a few others besides.
2016-02-24 20:58:30 -05: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
Paul Licameli
e70f91c64e Removed ShuttleGui.h from other headers 2015-07-19 12:31:03 -04:00
benjamin.drung@gmail.com
277932dccb Remove trailing spaces. 2014-06-03 20:30:19 +00:00
richardash1981
393129d9b9 fix the line endings on this file, and set svn:eol-style to native so they stay fixed 2013-01-01 15:54:53 +00:00
LRN1986
6151d3d4e2 ExtImport: don't let user select multiple rules at once
While selection with Shift+Up/Down is still possible, it
will only last until Shift is released.
2010-04-24 12:29:14 +00:00
LRN1986
1d83aeeb12 Further ExtImport improvements and fixes
* Implemented drag'n'drop reordering for Plugin list.
 Now single wxDropTarget subclass is used for both RuleTable
  and PluginList.
 Now ExtImportPrefsDropTarget interfacing with PrefsPanel is
  a bit more object-oriented (no direct access to properties)
 Now row swapping in PluginList is made by separate function
  (the code is a bit less ugly)
* Fixed PluginList reordering by a button (broken by previous
   commit)
 Made a special FakeOnPluginKeyDown() function for that, also
  added some conditions into handler itself to emulate list
  navigation.
* Fixed PluginList initialization in PopulateOrExchange
* Fixed RuleTable drag'n'drop reordering to work with single click
 Now it is possible to click-and-drag previously unselected item
  to reorder it, no need to select it beforehand
2010-04-23 22:28:43 +00:00
LRN1986
b6972df871 Second big batch of Extended Import Filtering improvements
* /ExtendedImport/OverrideExtendedImportByOpenFileDialogChoice preference enables the override (backward-compatibel behaviour), and it is now false by default
* File names (and mime types) and patterns are Lower()'ed before being fed to wxMatchWild(), now matching should be case-insensitive
* Now empty rule elements (empty list of extensions, empty list of mime types) will match anything (just as if they had one "*" element)
* "Extended Import" preferences tab is now next to "Import/Export" tab
* Preferences now use Grid class (the one used in Tag editor) instead of default wxGrid. Tabbing now works correctly.
* First attempt to add Drag'n'Drop re-ordering for Rule table. Seems to be working.
* Cleaned up a couple of cruft code comments.
* Separate buttons (with hotkeys) for moving rules and filters up and down (ctrl+up/down still works)
* Moved some code into helper funcions (can be called from both button and keyboard event handlers)
* Grid is now configured in PopulateOrExchange (the same way it is in Tags.cpp)
* Keep selection while moving table rows and list items
* Detect trailing/leading spaces in rule condition and offer to trim them
2010-04-09 19:57:28 +00:00
BusinessmanProgrammerSteve
918d4c7cdc Fix broken build (on Linux) 2010-04-04 16:17:55 +00:00
LRN1986
0a6148b06f Extended import filtering 2010-04-04 08:19:53 +00:00