1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-02 17:09:26 +02:00

14 Commits

Author SHA1 Message Date
Paul Licameli
1bcb7c20a5 Remove some nested #include from Project.h 2019-03-16 13:09:54 -04:00
Paul Licameli
d4c8e9e7b9 Bug2056 residual: Linux only time ruler drags and focus...
... Cross platform differences in Focus handling are confusing, and we don't
know yet how to abort drags and also put focus back where we want it on Linux.

So don't take focus even temporarily in the time ruler.  Sorry, ESC key won't
work.
2019-02-09 18:38:37 -05:00
Paul Licameli
93f4e3bd66 Bug2056: TrackPanel should keep focus after quick play...
... Fixed as suggested by David Bailes.

Confirmed on Mac and Windows that the intended ESC key handling to abort drag
in the ruler also now works.  (It didn't on Windows in 2.3.0.)
2019-02-01 14:30:19 -05:00
Paul Licameli
01551913f0 nonvirtual reimplementation of CellularPanel::FindRect using nodes 2018-11-01 18:25:02 -04:00
Paul Licameli
cfa7afcb24 nonvirtual reimplementation of CellularPanel::FindCell using nodes 2018-11-01 18:25:02 -04:00
Paul Licameli
588c050bbb Define visitation procedure skeleton for subdivision of CellularPanel 2018-11-01 17:43:04 -04:00
Paul Licameli
542adefac1 Bug1931: more precautions, higher level and more general...
... Do for release as was already done for click and drag:  hold a shared
pointer.

This will protect against reentrancy surprises as in this bug, where a
reference to the handle may be removed during one of the handle's own
methods.
2018-08-12 15:55:27 -04:00
Paul Licameli
22f85f244b Bug1917: TrackPanel should keep focus after click or drag...
... though ruler won't, and if you start to drag in TrackPanel but abort it
with the ESC key, that too returns focus
2018-08-07 10:42:38 -04:00
Paul Licameli
3010d3aaa8 More conservative rewriting of status as mouse moves over panels 2018-08-06 21:52:47 -04:00
Paul Licameli
0fc4747742 CellularPanel handles leave and capture loss like other transitions 2018-08-05 14:55:27 -04:00
Paul Licameli
ff98ca5a32 CellularPanel saves and restores focus for each click-drag-release...
... while the project makes note of which window has temporarily given up the
focus; and TrackPanel can detect that, so that the yellow border of the focused
track is still drawn while the panel "lends" the focus.

Why do all this?  So that, when the ruler is another CellularPanel, ESC key
will work to abort drags in the ruler, but TrackPanel appearance won't change
during the drags.
2018-08-05 14:51:58 -04:00
Paul Licameli
7cbe85facf Add CellularPanel::LastCell 2018-08-05 14:34:56 -04:00
Paul Licameli
4e1a80f5ac Move CellularPanel data members into a state structure out of the .h file 2018-08-05 14:33:48 -04:00
Paul Licameli
f6609e5ffb Move class CellularPanel into its own files 2018-08-05 14:02:55 -04:00