fd9a76073b
modifiers: add momentary_push_name (for tooltips)
2022-06-17 11:07:58 -05:00
12e703414d
modifiers: make a new abstraction for momentary-click, instead of button_2 (lib part)
...
is_button2_event() was used to detect the user's desire for a
momentary-click on some buttons (mute, solo, mixer scenes)
is_momentary_push_event() disambiguates this action from is_button2_event()
for the special case of momentary, we can drop the workarounds for
the lack of middle-mouse buttons on Mac, and instead just use
shift+left-click on all platforms.
2022-06-17 11:07:49 -05:00
71833911a4
modifiers: publish button2_name (for use in tooltips)
2022-06-17 10:52:06 -05:00
41bce61552
Cleanup bindings key replacement arrays
2022-06-15 15:32:39 +02:00
047296060f
Fix printing keybindings #8924 (brace/bracket mismatch)
2022-06-15 15:28:57 +02:00
aee3cf1534
handle an action named "Escape" specially when blocking activation during drags
2022-04-18 12:22:30 -06:00
c0b1f0e63c
fix buglet in RAII mgmt of Bindings::_drags_active
2022-04-18 12:21:57 -06:00
729f930974
bindings: add a mechanism to prevent binding activation during drag
2022-04-18 11:38:21 -06:00
f9d80c32d6
Allow to destroy Widgets when removing them from a container
...
This is useful when the container uses manage()d Widgets,
which are otherwise not destroyed.
2022-04-14 16:35:02 +02:00
Mads Kiilerich
49855e52aa
wscript: consistently have at most one empty separator line
2022-04-09 12:16:40 +02:00
luz paz
fb55878375
Fix source typos (heirarchy->hierarchy)
2022-04-08 21:38:00 +02:00
Mads Kiilerich
09c6e68ae8
gtkmm: use append() instead of deprecated Gtk::ComboBoxText::append_text()
2022-04-08 21:10:56 +02:00
Mads Kiilerich
91b08d5f45
gtkmm: use get_realized() instead of deprecated Gtk::Widget::is_realized()
2022-04-08 20:20:32 +02:00
Mads Kiilerich
a86aa31747
gtkmm: use get_visible() instead of deprecated Gtk::Widget::is_visible()
2022-04-08 20:20:10 +02:00
Mads Kiilerich
d52c727ec5
gtkmm: use get_mapped instead of deprecated Gtk::Widget::is_mapped()
2022-04-08 20:20:10 +02:00
luz paz
3d395585c1
Fix various typos
...
Found via `codespell -q 3 -S *.po,./share/patchfiles,./libs -L ba,buss,busses,doubleclick,hsi,ontop,ro,seh,siz,sord,sur,te,trough,ue`
Follow-up to 364f2f078
2022-04-08 19:51:02 +02:00
7bf89ce109
Constification: make Stateful::get_state() const, with all other required const-ness added (libs)
2022-04-06 21:56:59 -06:00
50abcc74b5
Replace Glib::Threads with PBD::Thread (2/2)
2022-03-01 01:34:35 +01:00
6dc66ea78f
Prioritize self-deletion
...
This addresses the issue described in 83719fba1a
.
First process all queued self_delete() requests before scheduling
Editor::redisplay_track_views() which uses PRIORITY_DEFAULT.
2022-01-29 05:17:00 +01:00
036ad841bf
Remove using namespace Gtk;
from headers
...
This causes issues if the header is included early on
in particular a conflict with gdkx.h
The reference to ‘Window’ is ambiguous `Gtk::Window` vs [X11]Window.
2022-01-26 22:32:28 +01:00
Mads Kiilerich
8bb91099c5
wscript: drop configure statements already present in the top level wscript
...
Avoid repeated pointless configure messages like:
Checking for 'g++' (C++ compiler!) : /usr/lib64/ccache/g++
Checking for 'gcc' (C compiler) : /usr/lib64/ccache/gcc
2022-01-22 22:19:03 +01:00
62a098811c
Allow DnDTreeView drag w/o object reference
2022-01-19 17:13:51 +01:00
1078dc7eda
DnD-TV: Allow to specify TargetFlags
2022-01-10 20:40:46 +01:00
e165e92268
Remove annoying debug message
2021-09-25 00:01:23 +02:00
368e98336f
gtkmm2ext: if a CairoWidget is used in the canvas, we do not need to realize the Gtk::EventBox
...
This may be a breaking change, but seems ok from superficial testing.
2021-09-23 11:48:29 -06:00
5fb54c008d
Fix shortcut display in editor tooltips #8798
...
After the editor is attached as tab to the main window,
looking up keyboard bindings using get_toplevel() no longer
works.
This uses the widget-hierarchy just like ARDOUR_UI does.
2021-09-19 18:46:06 +02:00
00d4765b57
gtkmm2ext: move initialization of CairoWidget members into initializer context
2021-09-10 13:03:57 -06:00
9f0f1f1772
gtkmm2ext: when calling ::get_width()/get_height() on a cairowidget, if allocation is zero, use widget size
2021-09-10 13:03:32 -06:00
e057088195
remove unused, empty glib event source/callback code (was from an experiment during nutempo2 development)
2021-09-04 07:39:27 -06:00
fc90c92a49
Fix Windows builds (rand/random API)
2021-08-14 01:07:13 +02:00
772d70ae4c
use glib event callback to invoke per-thread code every time the GUI event loop does stuff
2021-08-13 12:51:29 -06:00
783e33dc0c
new implementations for Gtkmm2ext::HSV::{darker,lighter} that follow "common sense" rather than Google.
...
HSV::shade() still follows the google model
2021-08-13 12:51:26 -06:00
fc25e074ac
add Gtkmm2ext::random_color()
2021-08-13 12:51:25 -06:00
JungHee Lee
f13acad7ed
Create ko.po
2021-08-03 09:54:18 -06:00
42f4e64d5f
Fix a moderate memory leak
...
periodic calls ARDOUR_UI::update_clocks() -> AudioClock::set()
-> 2+ calls to UI::set_tip() can easily accumulate 50MB/hour
when rolling.
2021-05-22 22:11:42 +02:00
0ee8b1706d
Fix event_inside_widget_window()
...
This fixes cases where a widget's parent isn't the
top-level window and additional offset has to be taken
into account.
So far this has not been an issue since this method was only
used for floating text entries.
2021-05-18 22:17:36 +02:00
5957e14259
Remove unused #include<> (2/2)
...
PBD::stacktrace() is not used nor needed by default.
It should be used sparingly.
2021-05-05 17:57:16 +02:00
6db261d566
libgtkmm2ext: modify Keyboard handling of close-current-dialog
...
1) if there is no current dialog, allow some other window to handle the keyboard event
2) make the binding (which is hard coded) visible as static members of Keyboard
2021-04-26 10:48:20 -06:00
d05572e14a
Fix round-corner backround of insensitive ArdourWidgets
...
ArdourButton draws a custom insensitive background, using
the color "gtk_background". This can conflict with gtk's
insensitive background color when using round-corners.
2021-02-14 22:53:18 +01:00
YQ-YSY
aeca9d6095
New Chinese translation for Ardour 6.6 libs_gtkmm2ext_po_zh.po
2021-02-12 09:47:29 -07:00
YQ-YSY
12a411a002
Chinese translation Ardour for 6.6 libs_gtkmm2ext_po
...
Chinese translation Ardour for 6.6 libs_gtkmm2ext_po
2021-02-12 09:47:29 -07:00
YQ-YSY
a4347812d1
Ardour 6.6 Chinese translation for libs_gtkmm2ext_po
...
Ardour 6.6 Chinese translation for libs_gtkmm2ext_po
2021-02-12 09:47:29 -07:00
John Emmas
42aef22e17
Add/remove source(s) in our MSVC project (gtkmm2ext)
2021-01-28 10:50:27 +00:00
6636bba6ae
Add missing file (amend 70ad205bc1
)
2021-01-27 04:42:38 +01:00
70ad205bc1
Separate static widget theme into abstract class
...
This allow the style to be used in classed that are not
directly derived from Ardour's CairoWidget, notably
container widgets or plugin UIs.
2021-01-26 23:37:54 +01:00
Porrumentzio
a8d924d9e1
Update and rework Basque translation
2020-11-19 16:48:58 +01:00
e4e94e77c9
Transmitter::Debug implementation 1/2
...
This also sorts switch() and listen_to() statements in order
of severity: debug, info, warning, error, fatal, throw.
2020-10-13 21:58:26 +02:00
Vincenzo Reale
2379b2a5cf
Italian translation update
2020-07-06 20:28:02 +02:00
85034d0bca
Pass through DnDTV signal_drag_motion event
2020-06-25 02:24:02 +02:00
Porrumentzio
2ca1f55d6b
Updated and reworked Basque translation
2020-06-23 22:09:07 +02:00