Paul Licameli
c001fd97f7
fix comment
2020-03-14 13:47:49 -04:00
Leland Lucius
867775ef99
Looks like FindFocus() on wxGTK can return NULL
2020-03-10 12:56:43 -05:00
Leland Lucius
0e42bd42b6
Bug 682 - Linux: Keyboard Preferences: focus trapped in Search box
...
Gotta love when the solution is right in the bug report. :-)
2020-03-10 09:52:58 -05:00
Leland Lucius
a7bd7331ac
Bug 625 - Track Pan / Gain sliders don't show tool tip on hover
2020-03-09 11:06:07 -05:00
James Crook
4884f59982
Bug 2316 - Meter scale overprints meter options button
2020-03-02 19:29:48 +00:00
James Crook
6c69484899
Bug 2285 - Many action buttons and items in Toolbars activate the action on right-click (expect context menu or null action)
2020-03-01 22:00:05 +00:00
Paul Licameli
a461b7a273
Possible fix for intermittent assertion violations at Linux startup
2020-02-29 17:13:53 -05:00
James Crook
a48483bc19
Bug 2298 - Font size per-platform.
...
My previous fix disrupted mac font size. Now the code should have the right font sizes for each platform.
2020-02-25 10:56:31 +00:00
James Crook
50d16867d5
Bug 2258 - Sliders in the slider dialogs when double-clicked yield a further slider dialog
2020-02-24 21:23:16 +00:00
James Crook
87034a0a67
Bug 2298 - Windows: Font size reduced for Vertical Scale, Timeline and Time Track numbers
2020-02-24 19:25:52 +00:00
James Crook
b2d9f7c396
Bug 2305 - The Gain, Play-at-Speed and Mixer Board sliders do not display the numeric value in the tooltip when sliding
2020-02-17 21:55:32 +00:00
Paul Licameli
87382d51d8
Demote convenience function that makes computed items to base class
2020-02-15 14:44:17 -05:00
Paul Licameli
4d7a9f00a1
Popup menu table for wave track has member function to get the track
2020-02-15 13:52:41 -05:00
Paul Licameli
cfd07af245
PopupMenuTable supports registration
2020-02-15 13:49:13 -05:00
Paul Licameli
46f958f376
Use computed registry items for conditionally shown popup menu items
2020-02-14 21:38:07 -05:00
James Crook
9985b8a9b8
Fix Big Time TimerToolBar, Stage III
...
Fixed issue where format selector could disappear.
Fixed upgrade from 2.3.3.
Remembers time format.
2020-02-14 12:02:21 +00:00
Paul Licameli
db3543500c
Each popup menu item can carry a callback to check or disable it
2020-02-09 23:48:40 -05:00
Paul Licameli
00a419a280
Store a reference to a handler object in each PopupMenuItem
2020-02-09 23:48:40 -05:00
Paul Licameli
e1e0869e26
Replace some macros for popup menus with function calls
2020-02-09 23:48:40 -05:00
James Crook
30b26a0b99
Add <wx/bmpbuttn.h> needed by Linux.
2020-02-09 20:46:16 +00:00
James Crook
41619af8cd
Bug 2274 - Enh: Dialog for orphan block files has no "?" Help button
...
also
Bug 2273 - Enh: Dialog for missing block files has no "?" Help button
These now link to the appropriate page in the manual.
2020-02-09 20:26:29 +00:00
Paul Licameli
8f88aa106e
Bug2312: don't crash using Wave Color, Format, Rate sub-menus of TCP
2020-02-08 13:20:18 -05:00
Paul Licameli
540f2c5e67
Restore separators after "Move Track to Bottom" in TCP menus
2020-02-06 17:52:45 -05:00
James Crook
a09885e995
Fix Big Time TimerToolBar, Stage II
...
- Naming (Time Toolbar, not TimerToolBar Toolbar)
- Default time format hhmmss
- Lower dock
- Enabled by default
- Sensible min and max font size
- Sensible min and initial width
- Omit Audio Time from Selection Toolbar
2020-02-06 09:40:30 +00:00
Paul Licameli
23c7122985
Populate popup menus with a registry visitor
2020-02-06 00:52:54 -05:00
Paul Licameli
99e3dd5d3f
Require an identifier for each popup menu item
2020-02-06 00:52:54 -05:00
Paul Licameli
f68da05c1d
PopupMenuTable ctor requires an identifier
2020-02-06 00:52:54 -05:00
Paul Licameli
08b1be5514
Macros describe popup menus' sections, not their separators
2020-02-06 00:52:54 -05:00
Paul Licameli
3517b900b1
PopupMenuTable need not publicize its wxMenu subclass
2020-02-06 00:52:54 -05:00
Paul Licameli
9435e97fb8
Store popup sub-menu caption with its item table
2020-02-06 00:52:53 -05:00
Paul Licameli
1e37172e6d
Popup sub-menus don't require ids
2020-02-06 00:52:53 -05:00
James Crook
8168dce551
Fix Big Time TimerToolBar, Stage I
...
- Update on idle (new idiom from Paul)
- Dock at x1 or x2 size
- Smooth resizing
- Take some account of width when resizing
- Promote Resizable docking code to ToolBar class
2020-02-05 14:24:59 +00:00
Paul Licameli
3b77af5dfc
Remove TranslatableStringArray.h
2020-02-02 18:02:32 -05:00
Paul Licameli
6e57428e47
PopupMenuTable does not need TranslatableArray...
...
... because the strings in it are TranslatableString, not translated
2020-02-02 17:32:23 -05:00
Paul Licameli
48b5988c7d
Be sure PopupMenuTable::DestroyMenu() gets called...
...
... though it didn't matter yet for any of the overrides
2020-02-02 17:16:11 -05:00
Paul Licameli
646afe9559
comments
2020-02-02 17:16:11 -05:00
David Bailes
46a6d21585
Bug 2299 - Keyboard preferences: names of commands contain &
...
Caused by this commit: 0021a98091a70b : Remove another unnecessary stripping of accelerators from labels
Unfortunately, the stripping was necessary.
Fix:
Reinstate stripping.
Derives from tag: Audacity-2.3.3 + 94 commits
2020-01-31 15:11:18 +00:00
Paul Licameli
68281fe0ee
Split up Ruler::Updater::Update
2020-01-23 13:53:54 -05:00
Paul Licameli
580ad8221e
Mutable cache for ruler updates, so Draw functions can be const
2020-01-23 13:51:12 -05:00
Paul Licameli
a2babc646f
Use the correct font to find lead size for custom fonts
2020-01-23 13:39:22 -05:00
Paul Licameli
99064d6dd5
Mutable cache for Ruler's chosen fonts
2020-01-23 13:35:32 -05:00
Paul Licameli
21306d6186
Remove indirection storing number scale in Ruler
2020-01-23 13:27:05 -05:00
Paul Licameli
fec3b11674
Demote more of the ruler updating procedure into Updater
2020-01-23 13:18:47 -05:00
Paul Licameli
fe4db0dd8e
Nix Ruler member vars used only for grid drawing; more const methods
2020-01-23 12:56:11 -05:00
Paul Licameli
537ace493e
Don't draw 0 at top of spectrogram scale (bug in 8cf7d0b)
2020-01-22 19:58:53 -05:00
Paul Licameli
ec723466ba
Invalidate Ruler, whenever anything the Updater uses is reassigned
2020-01-22 13:38:37 -05:00
Paul Licameli
edba1b5b28
Avoid unnecessary update before drawing ruler grid...
...
... which matters for some displays such as in Equalization, though not for
track vertical rulers
2020-01-22 13:38:36 -05:00
Paul Licameli
b0154f89e0
Move Tick and TickCustom methods to temporary worker structure...
...
... which forces us to be more explicit about just what parts of the Ruler
state are used in it (when we construct it) and be sure they don't modify it
2020-01-22 13:38:34 -05:00
Paul Licameli
8cf7d0b8e9
Make Ruler::Tick and TickCustom const member functions...
...
... on the way to making them not (direct) member functions of Ruler.
Hoist the choice of font and destination label array out of them, and
group other outputs into an argument.
2020-01-22 12:51:08 -05:00
Paul Licameli
2c0afdd77a
TickSizes::LabelString takes one less argument...
...
... so that Ruler::Tick uses major in one less place
2020-01-22 12:09:52 -05:00