Commit graph

193 commits

Author SHA1 Message Date
Robin Gareus
772d14fca3
Add icon for cue/triggger page 2025-01-02 18:47:13 +01:00
Paul Davis
791bb3a50d add a new Drum icon 2024-12-29 14:34:57 -07:00
Paul Davis
0133400b8a add ArdourButton::remove_elements() 2024-12-29 14:34:57 -07:00
Paul Davis
228a4931e1 NO-OP: obey code formatting rules and conventions 2024-12-20 10:06:57 -07:00
Robin Gareus
daa6808a30
Scale Metronome icon to match other transport icon height 2024-12-18 21:56:13 +01:00
Robin Gareus
72aebf0308
Tweak mixer-icon's fader-caps 2024-12-17 15:47:54 +01:00
Robin Gareus
bae7c52f01
The return of the tape-reel icon
This was removed with destructive record mode
a4d7b45fe0

This new version is no longer red by default, and
also works with light theme
2024-12-14 16:39:06 +01:00
Robin Gareus
c2b1748de7 Emulate GTK button events for signal-proxy connections 2024-12-12 17:34:44 +01:00
Robin Gareus
d953ca732e
Tweak Ardour Attachment buttons 2024-12-05 20:31:15 +01:00
Robin Gareus
de5bbfa823
Try different tab attachement button layout 2024-12-03 18:10:15 +01:00
Robin Gareus
940e1bc2df
NO-OP: rename layout widgets for clarity 2024-11-20 18:56:20 +01:00
Robin Gareus
218b264c60
Use evenbox as parent for main window content
This fixes an issue with mouse-cursor contexts.
Eventbox is backed by a [gdk] window, each of which
has their own Gdk::Window::set_cursor.
2024-11-20 18:42:38 +01:00
Robin Gareus
3625c28d54
Remove ambiguous enum bit combinations 2024-11-16 19:39:20 +01:00
Robin Gareus
983466fc38
Flexible Layout, resizable bottom pane. 2024-11-16 19:30:04 +01:00
Robin Gareus
438a514c2b
NO-OP: clarify Tabbable layout and attachment enum 2024-11-15 14:10:56 +01:00
Robin Gareus
5c8bd6e977
Tweak Tabbable Layout
* allow for left side resizable pane
* automatically set attachment button sensitivity
* remove right-side pane box when unused
2024-11-15 04:38:43 +01:00
Robin Gareus
2e4f0e8181
Use attachment icons 2024-11-10 23:27:36 +01:00
Robin Gareus
f3ff1a1100
Add Attachment icons 2024-11-10 23:27:36 +01:00
Robin Gareus
82a9fc4abb
Remove unused tabbed-changed callback 2024-11-10 23:27:35 +01:00
Robin Gareus
b2e4dd91b9
Update Tabbable c'tor to allow member as top-level widget
Derived classes cannot use `Tabbable (_content_vbox,..)`
`_content_vbox` is a member of Tabbable (which has not
yet been initialized) at the point of construction.

This breaks internal API, hence the omnibus commit
2024-11-10 23:27:34 +01:00
Robin Gareus
8ca9e6bcdd
Tabbable overhaul: consistent toplevel packing 2024-11-10 23:27:34 +01:00
Robin Gareus
2066f7018d
ArdourButton: add option to expand buttons to be square 2024-11-10 23:27:30 +01:00
Robin Gareus
000a1aaa46
Touch Support for Ardour Fader 2024-10-24 23:33:31 +02:00
Robin Gareus
24b916d125
Touch Support for Ardour Button 2024-10-24 23:33:31 +02:00
Mads Kiilerich
b4ff4f356c Make header files more self-contained - add missing Ardour and lib includes 2024-10-20 03:30:46 +02:00
Robin Gareus
f8e05a595d
Remove conflicting include 2024-10-19 06:27:50 +02:00
Robin Gareus
74c4ca3e52
Reduce reliance on boost - the hard part
the rest from `tools/convert_boost.sh`.

* replace boost::function, boost::bind with std::function and std::bind.

This required some manual fixes, notably std::placeholders,
some static_casts<>, and boost::function::clear -> = {}.
2024-10-19 03:47:21 +02:00
Robin Gareus
ff95d81612
Reduce reliance on boost - the easy part
* boost::unordered_map -> std::unordered_map
* BOOST_STATIC_ASSERT/static_assert
* BOOST_FOREACH -> for
* boost::tuple -> std::tuple/g
* boost::math::isnormal -> std::isnormal
* boost::container::set -> std::set
* boost::none -> std::nullopt
* boost::optional -> std::optional
2024-10-19 03:41:16 +02:00
Paul Davis
75f56cd3e1 the great onceification (libs)
Replace use of #ifndef header guards with #pragma once

Modern C++, baby!
2024-10-17 07:44:31 -06:00
Robin Gareus
63d3d1ff3d
Initialize fader's numeric entry adjustment
Previously the internal adjustment used for numeric entry
was left at 0 if the BarController's adjustment was never modified.
2024-10-14 17:58:00 +02:00
Robin Gareus
6d47758671
Add TailTime Icon 2024-08-31 02:55:04 +02:00
Robin Gareus
e15c337f57
Fix crash (invalid Track Drag) when starting automation value edit
When double-clicking to edit a fader value three button press
events are created:
1. GDK_BUTTON_PRESS
2. GDK_BUTTON_PRESS
3. GDK_2BUTTON_PRESS

The first two start an Editor Drag, which later crashes in
Editor::mid_track_drag() gtk2_ardour/editor.cc:7067
2024-06-17 19:55:08 +02:00
Robin Gareus
4ec86a2657
Add API to query Fader orientation 2024-05-18 01:42:44 +02:00
Robin Gareus
cd2db2c3aa
NO-OP: whitespace 2024-05-17 17:25:45 +02:00
Robin Gareus
5f52329bed
Update mixer and lock icon 2024-05-17 17:25:41 +02:00
Robin Gareus
b3df8ea6ef
Expose UI config fonts to libwidgets
Currently this is only for the benefit of derivative projects.
2024-05-15 17:02:35 +02:00
Robin Gareus
0bac1e07f5
There is no TraxLive here (amend a0e2749) 2024-05-15 03:35:23 +02:00
Robin Gareus
a0e27495c6
Abstract base class for ArdourFader
This allows derivative projects to use other fader
render implementations.
2024-05-15 02:41:37 +02:00
Mattias Ohlsson
10109c3147
Fix typos 2024-05-07 18:52:02 +02:00
Robin Gareus
e90e31d682
Add a Tracks/Waveform icon 2024-04-29 21:00:27 +02:00
Paul Davis
16ed245977 allow true boxy buttons for ArdourButtons
Also add a default tweaks static member to force all buttons to a given tweak state
2024-04-25 13:03:52 -06:00
Robin Gareus
4665cdcb6b
Add icons for livetrax (lock, mixer, meter) 2024-04-25 02:21:10 +02:00
jean-emmanuel
be0e6ac613 ui: fader: use sementically correct color name for fader outline 2024-01-20 15:38:35 +01:00
jean-emmanuel
e4d53629ed ui: meter: use sementically correct color name for meter outline 2024-01-20 15:38:35 +01:00
jean-emmanuel
f8a2c847b5 ui: correctly implement themable button outline color 2024-01-20 15:38:35 +01:00
jean-emmanuel
a5efe1a1ee ui: fader: themable outline color instead of hard-coded black (use same theme color as button outline) 2024-01-20 14:44:30 +01:00
jean-emmanuel
759cee2d32 ui: fastmeter: themable outline color instead of hard coded black (use same theme color as button outline) 2024-01-20 14:44:30 +01:00
jean-emmanuel
08ad1af9dc ui: button: themable outline color instead of hard-coded black 2024-01-20 14:44:30 +01:00
Robin Gareus
ad51c7c2ba
Localize stripped down gtk2
This is intended mainly for GNU/Linux distros who will remove
GTK2 support in the near future.
2024-01-06 21:52:48 +01:00
Mads Kiilerich
6b61b03434 wscript: drop traces of shutdown() handling
autowaf has no real shutdown functionality anyway. The automatic
shutdown function that could have been called wouldn't work anyway, as
it takes an argument.

The only reason it doesn't fail is that the top level wscript has no
shutdown handling and doesn't recurse to other scripts, so it is all
dead code.
2023-10-15 10:47:16 -06:00