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

30 Commits

Author SHA1 Message Date
James Crook
9e1291b2b7 Improve initial and minimum widths of resizable toolbars.
In particular, device toolbar previously could be made ridiculously small.
Also in the default configuration it takes a whole line, so we now use that space in its initial size.

Mixer Toolbar initial size was a little small.  Now it matches the Transport Toolbar width.
Meter Toolbar initial size was too small.
Transcription Toolbar was a little too small.  Better to start out slightly wider than previously.
2018-07-22 15:19:51 +01:00
Paul Licameli
31231a54d2 use override 2017-11-05 21:01:52 -05:00
James Crook
c17a7f535e Improve repainting after a theme change.
Now most things repaint properly after a theme change.  The sliders on the tracks don't yet.
2017-04-04 14:43:47 +01:00
Paul Licameli
5d5edecca5 Remove unnecessary semicolons 2016-09-18 10:36:53 -04:00
Paul Licameli
52d12c6913 Remove some naked new amd delete in: toolbars 2016-08-08 07:51:25 -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
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
3bd4f463f2 Bug49 (partial): Correctly recreate tooltips in device bar for language change 2016-01-21 10:08:00 -05:00
Leland Lucius
255be8cfe7 Reworked the TipPanel used with ASliders
It was producing "ghost" windows on OSX in wx3.  These were
supposed to be hidden, but they weren't any longer and after
reviewing TipPanel, I realized that there was a separate
code path for OSX entirely...must've gone back to some of the
earliest versions.

Now all platforms use the same bit of code.
2015-07-20 02:10:05 -05:00
benjamin.drung@gmail.com
277932dccb Remove trailing spaces. 2014-06-03 20:30:19 +00:00
richardash1981
72f6eded20 I got fed up of unused parameter warning from my compiler hiding the warnings I wanted to see, so have added WXUNUSED annotations to a lot of widely used header files, and cleaned up trailing junk on the way. 2012-12-31 16:57:15 +00:00
v.audacity
0baaa8d736 Widen Device and Meter Toolbars, to use the extra space created with r11889. 2012-08-07 23:34:06 +00:00
mchinen
c1cf9b4a76 bug 11 - Use const references when returning the map vector to ensure the device maps are not modified. I don't expect this to fix the bug behavior, but am committing because some testers see bad behavior that suggests the maps are modified between scans. 2011-03-20 22:20:41 +00:00
mchinen
4a762fc936 bug 29/11 - add rescan capability for devices.
This is a workaround for the portaudio issue where changing the default device in xp will corrupt the portaudio device indecies.
This combined with the portmixer fix (earlier today) should address bug 29.
2011-02-13 23:00:43 +00:00
mchinen
fe570ac355 add singleton device manager to refactor and minimize portaudio change bugs. Adds rescan functionality which will address some bugs but not added to menu yet. will add files to mac and windows build soon 2011-02-13 18:57:43 +00:00
mchinen
a9437f795b DeviceToolBar.cpp: Better event handling -
Make OnChoice only do the action associated with the combo box being interacted with.
Also refactor associated input and output device code into new function.
2011-02-06 23:34:32 +00:00
mchinen
84c6013a17 fix build on mac 2011-01-29 22:08:22 +00:00
mchinen
47ac55b29c bug 11 followup: Add dialogs and shortcuts for each combo of device toolbar 2011-01-29 18:46:06 +00:00
mchinen
4511331f88 bug 11 followup: let DeviceToolBar be resize smaller than intial width 2011-01-29 16:06:40 +00:00
mchinen
90be578616 bug 11 followup: remove rec channels label from DeviceToolBar and add input channels to within combobox text 2011-01-29 15:15:06 +00:00
mchinen
48899f983d DeviceToolBar.cpp: improve resizing, refactor common elements.
Also change minimum width to accommodate 600px wide screens
2011-01-23 16:25:17 +00:00
mchinen
2672b3a019 bug 11 followup: DeviceToolbar - fix mirroring issue when using reset toolbars menu item 2011-01-23 05:13:17 +00:00
mchinen
0d1e121aa4 Bug 11 followup: DeviceToolBar - fix initial size conditions when audacity.cfg is not present 2011-01-23 03:53:57 +00:00
mchinen
25800063d7 fix linux build - needed foward declaration in last commit 2011-01-17 04:39:07 +00:00
mchinen
350b96038c bug 11 followup: fix sizing and positioning issues. Also autoresizes now. 2011-01-17 04:17:25 +00:00
mchinen
14cc918d7f bug 11 followup fix input hotswapping while monitoring; enable/disable when recording/playing 2011-01-09 13:12:51 +00:00
mchinen
8c645724a1 bug 11 partial fix - add host and num channels to DeviceToolbar
removal of device prefs and source selection from mixer toolbar to follow.
2011-01-09 05:12:09 +00:00
mchinen
d22b3b4f5e bug 11: partial fix: Aggregate Device/Source selection in Device Toolbar 2011-01-02 04:06:23 +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