13
0
Commit Graph

82 Commits

Author SHA1 Message Date
9cc966120c
Consolidate internal bus checks (2/2) 2024-01-06 20:21:54 +01:00
b35518e212 switch from boost::{shared,weak}_ptr to std::{shared,weak}_ptr
This is mostly a simple lexical search+replace but the absence of operator< for
std::weak_ptr<T> leads to some complications, particularly with Evoral::Sequence
and ExportPortChannel.
2023-03-24 14:19:15 -06:00
Mads Kiilerich
d52c727ec5
gtkmm: use get_mapped instead of deprecated Gtk::Widget::is_mapped() 2022-04-08 20:20:10 +02:00
0d82703f8e meterbridge: track size and position via configure events
This allows ::get_state() to be const.
2022-04-07 11:47:13 -06:00
ca22ba77e1 Constification: make Stateful::get_state() const, with all other required const-ness added (GUI) 2022-04-06 21:56:59 -06:00
80939f2228
Option to show gain-knob on Meterbridge 2021-12-07 17:56:39 +01:00
c456006f82
Enable some key release event forwarding
This is needed for the virtual MIDI keyboard to trigger note-off events
2019-11-22 22:12:48 +01:00
4050ca5633
Update GPL boilerplate and (C)
Copyright-holder and year information is extracted from git log.

git history begins in 2005. So (C) from 1998..2005 is lost. Also some
(C) assignment of commits where the committer didn't use --author.
2019-08-03 15:53:15 +02:00
4ee15fa7b3
Tweak meterbridge track reordering -- amend d03574987 2019-02-16 23:37:21 +01:00
d03574987c
Fix meterbridge to follow track/bus re-ordering 2019-02-13 20:24:23 +01:00
0140b24248 Change get_routes to get_routelist where appropriate. 2018-11-07 17:00:16 -08:00
eb1e423b75 Remove <gtkmm.h> include from header files. 2017-07-17 21:06:04 +02:00
1d28665f86 Use Stripable::Sorter in GUI consistently. 2017-06-17 04:36:39 +02:00
af8d027fc5 Remove attempt to retrieve invalid Meterbridge properties
The property names with underscores are "normalized" to replace the underscores
with hyphens in the XMLProperty constructor from within Meterbridge::get_state
and so have always been written with hyphens.
2017-05-26 08:48:04 +10:00
3747d1688c Use correct property names in Meterbridge::get_state()
These property names have been "normalized"/changed to use a hyphen in the
XMLProperty ctor since 2008. That is before the Meterbridge existed so there
should be no files existing that contain these properties with underscores.
2017-05-26 08:48:04 +10:00
5cd88fa050 Use XMLNode::get/set_property API in MeterBridge class 2017-04-19 09:36:56 +10:00
f83dbf83f4 keep meterbridge on top 2016-11-11 01:14:18 +01:00
cf52d6e4b4 enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.h 2016-07-14 14:45:23 -04:00
2d4358ddb5 Various changes to PresentationInfo and a small consolidation of sorters.
The semantics for sorting PresentationInfo are up to the caller, not the
PresentationInfo object, so operator<() was removed and callers specifically
invoke ::order() for sorting.
2016-06-10 13:57:18 -04:00
e0ff70cf86 first vaguely working version using PresentationInfo
remote control ID and "order keys" have been removed.
2016-05-31 15:30:42 -04:00
17ace643e4 OMNIBUS COMMIT: prefer const XMLNode::property method (and provide a real one) 2016-05-04 23:09:45 -04:00
ec65e351ac ensure that all callers of ARDOUR_UI_UTILS::relay_key_press() provide a window 2016-02-22 15:31:24 -05:00
9010262bed first compilable version of tabbable design.
I would have loved to split this apart, but there are just so many interrelated changes,
it makes little sense and would be a huge effort that would break future git bisect
use because so many intermediate commits would not compile
2016-02-22 15:31:21 -05:00
6b019a4953 Move UIConfiguration Singleton into UIConfiguration header
This removes the direct dependence on ardour_ui.h from 39 files
2015-09-16 16:55:17 -04:00
fc1e7dbb55 Move DPIReset and ColorsChanged signals into UIConfiguration 2015-09-16 16:55:17 -04:00
02be98b3d6 Alternative approach for show/hide Meterbridge #6386
* no more on-top (transient to editor)
* similar approach as toggle editor/mixer

see also 0cd1db76f0
2015-06-26 22:35:54 +02:00
0cd1db76f0 keep meterbridge on top of editor - see #6386 2015-06-25 20:24:03 +02:00
0a4038f1df fix meter bridge window size issues
* no more OSX liveloop (window size < min size)
* properly set min window size
* re-layout metric areas when label height changes
* remove ‘smart’ auto-resize (when tracks are added/removed)
  (it wasn’t smart enough to work on all WMs)
2015-01-07 23:46:22 +01:00
b5c9a92a58 Move Timers/Timeouts from ARDOUR_UI into functions in timers.h and use PBD::Timers 2015-01-01 19:04:14 +07:00
aac3ca5521 initialize some uninitialized vars - closes #5974 2014-10-08 19:16:21 +02:00
353f857d6e fix meterbridge height issues when config changes 2014-06-26 21:20:04 +02:00
b90d7a01fa consolidate SignalOrderRouteSorter 2014-06-25 21:47:54 +02:00
a3c378cf62 move utility functions into a dedicated namespace 2014-06-25 21:47:54 +02:00
nick_m
5b62e88fbf Unify editor / mixer ordering. 2013-10-21 00:19:43 +11:00
79b8a3c736 meterbridge: don't display metrics of invisible tracks 2013-09-09 17:32:33 +02:00
ad8ffab544 re-check meterbridge metric-area on route deletion
fixes http://tracker.ardour.org/view.php?id=5616#c15204
2013-08-01 03:17:49 +02:00
58f4d66899 add option to resize meterbridge track-labels 2013-07-29 19:42:41 +02:00
3ab25dc6f3 change metric-scale on the sides of meterbridge when scrolling 2013-07-29 15:26:36 +02:00
cd28d62b26 fix compiler warnings. 2013-07-28 20:32:52 +02:00
a02e0e6c8d fix meterbridge window on OSX 2013-07-28 15:54:13 +02:00
184fd983d0 tweak meter-metric red-boxes/stripes 2013-07-28 03:31:34 +02:00
fd9c0a63fd increase meterbridge with if scrollbar is not visible.. 2013-07-24 15:48:03 +02:00
6b96a4baa3 amend to 8deccea6 (resize meterbridge window) 2013-07-24 11:57:11 +02:00
8deccea615 limit width and resize meterbride window 2013-07-24 01:39:16 +02:00
8013160eb3 meterbridge metrics update:
* display metrics for every used meter-type
* show metrics between meters with differnet types
* update text and label alignment for meterbridge
* fix crash when deleting metrics-strip (zero route)
* clean up metric pattern code (use float for dBFS)
2013-07-23 13:30:23 +02:00
6908ad1053 move ardour meter globals into dedicated namespace (TODO meter_patters typedef) 2013-07-15 15:04:20 +02:00
2106a12edd improve caching of metric and tick patters
* selectively clear cache (meterbridge, mixer)
* free memory of patterns on clear
2013-07-14 11:34:31 +02:00
cb9b1801ec ignore mouse-scroll if scroll-bar is not present.
fixes http://tracker.ardour.org/view.php?id=5557
2013-07-13 14:58:23 +02:00
50a1eb04a5 limit meterbridge window height to multiples of 16px
(workaround to bad resizing performance, realloc drawing areas)
2013-07-10 15:27:17 +02:00
833ab2ebbd remove unique track number from meterbridge 2013-07-10 15:27:16 +02:00