Commit graph

40884 commits

Author SHA1 Message Date
Robin Gareus
0516c12694
MetaButton: handle boxy theme, separate active state from menu index 2025-01-28 22:52:00 +01:00
Paul Davis
7bb4ae2cb8 remove unused variables 2025-01-28 13:29:40 -07:00
Paul Davis
53e1e7a032 better text 2025-01-28 13:29:40 -07:00
Paul Davis
b82ae5590c ensure that a Pianoroll window (and its action groups) are deleted when appropriate 2025-01-28 13:29:40 -07:00
Paul Davis
146df0306c provide new API for Gtkmm2ext to allow ActionGroup cleanup 2025-01-28 13:29:40 -07:00
Robin Gareus
6cdf6b6e42
Properly propagate un/map window events
This fixes issues with openGL rendering bleeding
behind when switching editor/mixer and other related
window events that depend on  on_unmap()
2025-01-28 17:43:33 +01:00
Robin Gareus
fb6b64f736
Allow left-click on MetaButton Dropdown indicator 2025-01-28 17:38:38 +01:00
Robin Gareus
ccc2273d54
Tweak editor sidebar dropdown/button layout 2025-01-28 14:11:28 +01:00
Robin Gareus
7035189346
Use meta-button instead of editor sidebar notebook tabs (again)
This reverts commit a0fd339f64
and db90906c7c.

and replaces it with three meta-buttons
2025-01-28 07:52:35 +01:00
Robin Gareus
ff2c33e42e
Add MetaButton Widget
A Button that changes functionality.

* right click: show a drop-down to pick what left click will do
* left click: activate selected action
2025-01-28 07:52:35 +01:00
Robin Gareus
d280c46d44
Add API to add sizing-texts to ArdourButton 2025-01-28 07:52:34 +01:00
Paul Davis
4f711c9155 more basics of a clip recording control on the cue editor 2025-01-27 20:21:23 -07:00
Paul Davis
c4f44c045d basics of a rec-enable control and rec-length control for pianoroll 2025-01-27 15:15:51 -07:00
Paul Davis
24e8165c12 fix duplicated drawing of rec-related icons in trigger box UIs 2025-01-27 15:15:20 -07:00
Paul Davis
49d26236ac remove unused members of CueEntry 2025-01-27 13:26:15 -07:00
Paul Davis
0ddc050555 avoid double-free of MIDI sys ex and patch change canvas items 2025-01-27 12:42:13 -07:00
Paul Davis
ee4419003c no ghost note in draw mode in midi view if dragging something 2025-01-27 10:48:19 -07:00
Paul Davis
c4af078acb prevent crashes in pianoroll when showing velocity
Crash caused by an assumption that all automation has a line
2025-01-27 10:24:03 -07:00
Paul Davis
86f451ecef in pianoroll, zoom to show full region when appropriate and possible 2025-01-27 09:50:28 -07:00
Paul Davis
454f87568a pianoroll window needs to forward key press events to make MIDI bindings active 2025-01-26 19:57:41 -07:00
Paul Davis
0015cc8c68 move zoom scaling out of ::zoom_to_show() and into the caller 2025-01-26 15:51:18 -07:00
Paul Davis
27de5bdb22 abandon attempts to keep visible duration constant as pianoroll window is resized 2025-01-26 15:51:18 -07:00
Paul Davis
829d798759 use _track_canvas_width not _visible_canvas_width for zoom math in Pianoroll
The latter is the width of the entire canvas including the pianoroll header
2025-01-26 15:51:18 -07:00
Paul Davis
eff21bb3e9 add debug printf to explain a stacktrace (for now) 2025-01-26 15:51:18 -07:00
Paul Davis
698ae7ca9f fix Pianoroll::zoom_to_show() so that it does what it says
... and also interacts with EditingContext::reset_zoom() correctly due to the
scaling factor that, for the Pianoroll, tries to show a bit more time than
is represented by the data
2025-01-26 15:51:18 -07:00
Robin Gareus
37d16167e9
Set mini-timeline font to match marker font-size
Previously different main application bars used different
fontsizes, depending on current get_pango_context().
2025-01-23 22:04:34 +01:00
Robin Gareus
58f1d46e31
One font to rule the rulers.
Remove bold fonts for Bar/beats and font-size
inconsistency on macOS (VerySmall, SmallBold).

This reverts commit e3dc0a24f2.
and 14318dd342
and a76afae0e9
and 7c27f617dc
and 20029ec7e6
2025-01-23 19:43:26 +01:00
Robin Gareus
3ea0b11c7d
Update Region Property Layout
* Shrink Clocks
* Align Checkboxes
* Reindent and cleanup source
2025-01-23 18:12:01 +01:00
Robin Gareus
9e164bf0cf
Further reduce debug output 2025-01-23 03:55:09 +01:00
Paul Davis
322d4e670c track enter events on pianoroll to set current editing context 2025-01-22 18:20:25 -07:00
Paul Davis
42bbd1afd5 wrap pianoroll in an event box so we can get events from "the whole thing" 2025-01-22 18:20:25 -07:00
Paul Davis
d8baa0b240 track entry to Editor so we can set the current editing context 2025-01-22 18:20:25 -07:00
Paul Davis
15a093df76 wrap Tabbable contents in an EventBox so we can get events from "the whole thing" 2025-01-22 18:20:25 -07:00
Paul Davis
656273cb9f fix zoom focus issues (not properly refactored in pianorule 2025-01-22 18:20:25 -07:00
Robin Gareus
c28802fe7f
Fix duplicate outline of rulers 2025-01-22 23:24:30 +01:00
Robin Gareus
05772690a3
Show ruler separators (again) 2025-01-22 23:08:50 +01:00
Robin Gareus
3bcde31cab
Slightly increase ruler height 2025-01-22 23:07:50 +01:00
Robin Gareus
fabbefe7b1
Fix marker text vertical alignment 2025-01-22 22:59:06 +01:00
Robin Gareus
d2fb6c498a
Show number of regionFX in sidebar 2025-01-22 19:18:36 +01:00
Robin Gareus
8919594353
Add API to query number of regionFX 2025-01-22 19:18:36 +01:00
Robin Gareus
db90906c7c
Remove notebook tab shrinking
Various tabs on the current editor-sidebar do not allow
shrinking (so that only tabs remain visible).

Double-click shrinking was also never implemented on other
page sidebars, and was not missed by any users there.
2025-01-22 19:18:35 +01:00
Robin Gareus
a0fd339f64
Revert "Use dropdown instead of editor sidebar notebook tabs"
This reverts commit 472fa58afe.
2025-01-22 19:18:35 +01:00
Robin Gareus
82993157e5
Revert "Use dropdown instead of trigger-page sidebar notebook tabs"
This reverts commit e7ac13a834.
2025-01-22 19:18:35 +01:00
Paul Davis
e08dfcba5e remove a couple of debugging printfs 2025-01-20 18:07:07 -07:00
Paul Davis
ab39c26f68 a variety of changes to make timeline-region editing-in-pianoroll to start to work
This also removes the useless "new pianoroll window" menu option and action
2025-01-20 18:05:19 -07:00
Paul Davis
f052c3ae15 some API tweaks, code movement and code implementation to make rbselect for pianoroll automation work 2025-01-19 15:10:35 -07:00
luzpaz
801b8b2f1e Fix typos in gtk2_ardour
Found via codespell
2025-01-19 19:08:14 +00:00
Paul Davis
a7382b9424 provide MidiView methods for use in NoteDrags (fixes note drags to earlier times in pianoroll) 2025-01-19 10:53:52 -07:00
Paul Davis
5f049affac change name of _region member of NoteDrag to _view (since it's a MidiView) 2025-01-19 10:53:52 -07:00
luzpaz
b22f482114
fix typo bug in libs/ardour/ardour/triggerbox.h 2025-01-19 16:08:39 +01:00