Paul Licameli
da4fa1d965
Put the scrub bar below
2016-05-02 15:19:08 -04:00
Paul Licameli
f346d40d79
Menu triangle appears in bushbutton when pointer is near bottom; ...
...
... and, again, use either mouse button on the push button.
2016-05-02 11:49:26 -04:00
Paul Licameli
cfe3142ffd
Highlight around pushbuttons for mouse-over
2016-05-02 11:41:45 -04:00
Paul Licameli
9a8c053e04
Improve the logic for tool tips
2016-05-02 10:51:11 -04:00
Paul Licameli
378634a189
Put the scrub bar enabling item back in the menu, topmost, before a separator
2016-05-02 10:40:08 -04:00
Paul Licameli
cac54a3b57
Right click on a ruler pushbutton pops up the appropriate menu, regardless...
...
... of the button's enabled state.
2016-05-02 02:01:02 -04:00
Paul Licameli
31eda6641b
If mouse moves into ruler pushbuttons, do not show the quick play indicator.
2016-05-02 01:41:33 -04:00
Paul Licameli
8cfa9e217f
Improve status bar messages and tooltips for pushbuttons
2016-05-02 01:41:33 -04:00
Paul Licameli
d3c0c94e17
Better choice of font size for time ruler pushbuttons
2016-05-01 17:28:08 -04:00
Paul Licameli
24bb190e21
Various appearance changes for scrubbing: ...
...
Hyphenate "Quick-Play" in pushbutton
Outline pushbuttons
Different tooltip text for the scrub bar
Right click on pushbuttons as for left click, don't open context menu
2016-05-01 15:09:32 -04:00
Paul Licameli
f014e0400c
Event handling for the new pushbuttons, and remove the interim pop-up menu
2016-04-30 22:51:02 -04:00
Paul Licameli
49693fa6b6
Improve the logic for status messages
2016-04-30 22:48:54 -04:00
Paul Licameli
055c33459c
Draw the Quick Pay and Scub Bar pushbuttons
2016-04-30 22:48:54 -04:00
Paul Licameli
2a257fc9bf
Move a few steps in the construction of TrackPanel and AdornedRulerPanel
2016-04-30 22:48:54 -04:00
Paul Licameli
8a97468e5c
Split up big event handling function
2016-04-30 19:08:35 -04:00
Paul Licameli
5a5775c1c1
Implement showing and hiding of a srub bar portion of the ruler...
...
... activated by clicking near the left end of the ruler, then using the
context menu.
This is not finished work, but a proof of concept for a possible new scrubbing
UI.
2016-04-27 18:39:47 -04:00
Paul Licameli
68eda0f802
Cursor line in the ruler should always follow that in TrackPanel, as after "j"
2016-04-27 17:48:55 -04:00
Paul Licameli
926dfb7253
Draw the play or record head in the ruler in their former sizes.
2016-04-27 12:41:49 -04:00
Paul Licameli
5474ff752d
Fix compilation of EXPERIMENTAL_THEMING
2016-04-27 10:49:19 -04:00
Paul Licameli
9ab0e42f29
Control scrub with motion, click, drag, wheel almost anywhere in main window...
...
... if the event is not handled and skipped by sub-windows first, such as for
toolbar button clicks.
(But track panel clicks are skipped even after doing something, so they may
also cause seeking besides other responses. So click can seek AND set cursor.)
This is meant to make drag to seek and wheel for change of speed easier,
without needing to keep the mouse in the narrow time ruler.
Also lets you click in the ruler, then move in any direction, and not miss the
motion event that should start the scrub playback.
The event handling is a bit of a hack, using propagation. It does not use
capture.
2016-04-26 12:12:06 -04:00
Paul Licameli
3d222bcd87
Context menu for scrubbing in the ruler
2016-04-26 12:12:06 -04:00
Paul Licameli
cd57e0a26c
Scrubbing phase 2. Scrub starts with click on the indicator in the ruler...
...
... and works in any of the six tools.
Click and drag in select tool during scrub works just as when not scrubbing.
Seeks now only if you left-click or drag in the ruler, but this may change.
Mouse motion anywhere on the screen controls scrub as before.
No mouse clicks in TrackPanel are used by scrubbing.
The Ctrl-Click in TrackPanel is now unused. Should 2.1.0 behavior be restored?
That was click to quick play, redundant with click in the (lower part of) the
ruler.
2016-04-26 12:12:06 -04:00
Paul Licameli
ea0274b5fa
Change drawing of quick play indicator. It can be green for scrubbing...
...
... But this isn't used yet. Also make the scrub head bigger.
2016-04-25 12:19:47 -04:00
Paul Licameli
0071db6f53
Hide quick play indicator when other playback starts...
...
... but it can reappear when mouse moves. You may still select a quick play
region during play, to jump playback.
2016-04-25 12:00:58 -04:00
Paul Licameli
9f65b80647
Reimplement quick play indicator as an overlay like the cursor
2016-04-18 14:31:36 -04:00
Paul Licameli
70c1d57591
More const qualifications, and mutables, for functions that draw tracks...
...
... The display related members that had to become mutable are probably
ones that don't belong in the track classes, ultimately.
2016-02-27 12:35:17 -05: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
2efa24bc10
Sweep unnecessary wxString copies: widgets
2016-02-22 21:30:04 -05:00
Paul Licameli
56e7653343
"delete"->"DELETE" in comments, easier to find remaining naked operator delete
2016-02-14 18:50:45 -05:00
Paul Licameli
17c9369286
Bug1239: Correct time rulers after importing files (with File>Open) ...
...
... The fisheye stuff was to blame.
2016-01-26 18:09:29 -05:00
David Bailes
13f13490e6
Fix for Bug 1267 - Accessibility: some panels used for graphics are included in tab traversal
...
Bug due to update and wxWidgets bug 1267.
Fix is to add the override of AcceptsFocusFromKeyboard().
2015-11-26 15:21:48 +00:00
Leland Lucius
93aeca9a48
Fix for bug #1203
2015-09-16 13:08:03 -05:00
Leland Lucius
3dec7153a3
Fix missing QP indicator on wxGTK/GTK3 combo.
2015-08-25 16:07:59 -05:00
Leland Lucius
6a9dae20f5
Appearance on OSX is now back to normal or better
...
Some additional wx3 cleanup as well.
2015-08-23 20:25:01 -05:00
Paul Licameli
cab89f6fb4
Remove Envelope.h from other headers
2015-07-28 10:02:09 -04:00
Paul Licameli
9b9ceab6ab
Ruler uses generalized number scale when plotting "log"
2015-07-27 23:01:14 -04:00
Paul Licameli
e3a03ff07e
Tick size on the time ruler will not jump when fisheye approaches ends
2015-07-19 11:44:26 -04:00
Paul Licameli
6b9e7506dd
Ruler-drawing does not assume uniform zoom, ...
...
... and AdornedRulerPanel exposes an invalidation function for later use
2015-07-19 11:44:18 -04:00
Paul-Licameli
c4386f4dc8
Ruler event handler does not directly use zoom (pps) value
2015-07-19 11:44:10 -04:00
Paul-Licameli
ab21f75c77
ViewInfo is becoming a smart class, not a dumb struct
...
Now it has:
A constructor
XML attribute serializer functions (but no XML tag of its own)
Also removed unused lastZoom
2015-07-19 11:43:59 -04:00
Paul Licameli
0bfac5db40
Two colored time ruler, when scrolling past zero enabled.
2015-05-28 17:07:42 -04:00
Steve Daulton
c487b920ca
Improve selection handling in Quick-Play
2015-05-05 13:00:18 +01:00
Steve Daulton
1ad878771f
Update a couple of variable names.
2015-05-05 13:00:18 +01:00
Steve Daulton
0b67e1c5ac
Allow Quick Play to be disabled (requested by Gale Andrews).
2015-04-21 00:51:23 +01:00
Steve Daulton
cc0b4789a8
Apply Paul L's suggestion to simplify compilation.
2015-04-19 23:36:22 +01:00
Steve Daulton
702d9d75e5
Timeline Quick Play bug fixes and enhancements
2015-04-17 17:52:13 +01:00
stevethefiddle@gmail.com
c8cabab88b
Better fix for bug 802.
2015-01-05 11:07:55 +00: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