Commit Graph

54 Commits

Author SHA1 Message Date
Paul Davis 3c2112abf5 widgets & GUI: Start/StopGesture signals should pass on GDK event state 2023-07-26 13:11:52 -06:00
Paul Davis 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
Robin Gareus 80939f2228
Option to show gain-knob on Meterbridge 2021-12-07 17:56:39 +01:00
Robin Gareus e1a9034a0e
Synchronize meter-reset #7465
Queue reset to be handled when the meter is updated.
Also only call set_name(), set_active_state() when the
state changes.
2020-04-10 23:50:10 +02:00
Robin Gareus 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
Robin Gareus eb1e423b75 Remove <gtkmm.h> include from header files. 2017-07-17 21:06:04 +02:00
Robin Gareus 5c92613698 Separate Ardour UI widgets into dedicated library 2017-07-17 21:06:04 +02:00
Robin Gareus b976bf8986 NO-OP whitespace & foratting of header files 2017-07-01 21:19:56 +02:00
Paul Davis da7d7f9502 many changes associated with rationalizing selection flow 2016-07-06 13:39:10 -04:00
Paul Davis 01812f53c3 use, or mostly use PresentationInfo for selection status of Routes.
Needs extension to Surfaces, replacing GuiSelectionChanged signal concept
2016-06-05 20:50:57 -04:00
Paul Davis 518f7f9892 RouteUI connects to Route's PropertyChange signal; derived types implement route_property_changed() 2016-06-05 16:33:02 -04:00
Paul Davis 384d05dd35 change AxisView color API to be virtual and implement per-type variants 2016-06-05 16:33:01 -04:00
Robin Gareus 22b07e0233 NOOP, remove trailing tabs/whitespace. 2015-10-05 16:17:49 +02:00
Robin Gareus a7ca603ab6 show meter-bridge context-menu on mouse-down 2014-10-23 14:45:54 +02:00
Ben Loftis 74f313dd6b Rationalize ArdourButton and lots of associated theming issues.
ArdourButtons now have a "pushed" animation.
The gradient is now implemented in the button, rather than providing 2 colors in the theme, which was burdensome.
Lots of code cleanup in ArdourButton.  Removed several unnecessary flags.
Refactor more stuff into route_ui.
2014-08-22 11:51:20 -05:00
Robin Gareus e1d327c5ed fix meter-strip session/route-ui events 2014-06-26 19:21:16 +02:00
Robin Gareus a7c559fd63 show track-number in GUI 2014-06-26 19:21:05 +02:00
Robin Gareus 982c38dda1 allow to include In/Disk button on Meterbridge 2013-11-09 13:16:08 +01:00
Robin Gareus 58f4d66899 add option to resize meterbridge track-labels 2013-07-29 19:42:41 +02:00
Robin Gareus 3ab25dc6f3 change metric-scale on the sides of meterbridge when scrolling 2013-07-29 15:26:36 +02:00
Robin Gareus 184fd983d0 tweak meter-metric red-boxes/stripes 2013-07-28 03:31:34 +02:00
Robin Gareus 953e4aba54 prepare horizontal meters (level-meter H/V Box abstraction) 2013-07-25 14:18:39 +02:00
Robin Gareus 6f72c85344 add separator line to meterbridge 2013-07-24 15:47:53 +02:00
Robin Gareus d8372bdf9b color meterbridge strips 2013-07-24 11:59:40 +02:00
Robin Gareus 8deccea615 limit width and resize meterbride window 2013-07-24 01:39:16 +02:00
Robin Gareus 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
Robin Gareus 833ab2ebbd remove unique track number from meterbridge 2013-07-10 15:27:16 +02:00
Robin Gareus 56f4341ade meterbridge label rework - phase one (better, but not good) 2013-07-10 15:27:16 +02:00
Robin Gareus 1699be7c98 number/name on meterbridge 2013-07-10 15:27:15 +02:00
Robin Gareus 346bd82c73 leave route-button show/hide up to route-UI. 2013-07-10 15:27:15 +02:00
Robin Gareus 4d49961c93 allow to include solo,mute buttons on meterbridge 2013-07-10 15:27:14 +02:00
Robin Gareus 7121e19437 meterbridge: if track-name starts with number, display only number 2013-07-10 15:27:14 +02:00
Robin Gareus 12780e4c8c add convenience functions to switch meter-types.. (maybe too much?!) 2013-07-10 15:27:13 +02:00
Robin Gareus 5dae93e5ea ignore state-changes during [meter] context-menu popup (gtkmm bug?) 2013-07-10 15:27:13 +02:00
Robin Gareus 5de0aee287 share meter-type among meter instances. 2013-07-10 15:27:13 +02:00
Robin Gareus 6e1781e5e3 experimental RMS-meter and peak-signal (vs peak-power) query 2013-07-10 15:27:12 +02:00
Robin Gareus 794fa1dd03 make changes to peak-meter threshold config effective immediately 2013-07-10 15:27:11 +02:00
Robin Gareus 62d5585e34 prepare meter configuration..
- rework metric/tick image cache invalidation
  - flush cache
  - send signal to queue redraws
  (TODO) selectively flush cache // cache per size, style
- add four common line up levels
2013-07-10 15:27:11 +02:00
Robin Gareus f1f84140e7 reset individual route's peak display 2013-07-10 15:27:10 +02:00
Robin Gareus 424d368614 shared peak-display reset in mixer+meterbridge 2013-07-10 15:27:10 +02:00
Robin Gareus 68762b9efd break out meter&metric pattern rendering.. first step towards new mixer-meters 2013-07-10 15:27:10 +02:00
Robin Gareus 40493e06ee dynamically change metebridge metrics (midi|audio) 2013-07-10 15:27:09 +02:00
Robin Gareus f4557194ab meterbridge shift|ctrl reset [group] peaks 2013-07-10 15:27:08 +02:00
Robin Gareus 6b4e263d85 make meterbridge a normal window - border-colored overflow if maximized 2013-07-10 15:27:07 +02:00
Robin Gareus 71ee4d276f meterbridge track-name -> button 2013-07-10 15:27:06 +02:00
Robin Gareus 79b63b7d5e meterbridge: remove unused interface 2013-07-10 15:27:06 +02:00
Robin Gareus 95e163a466 rework meterbridge peak indicators (again) 2013-07-10 15:27:06 +02:00
Robin Gareus 08167d6ac4 overhaul meterbridge metrics part one. 2013-07-10 15:27:04 +02:00
Robin Gareus cc2c6e8064 add peak-hold button (independent from mixer) 2013-07-10 15:27:03 +02:00
Robin Gareus 9bab5c919b meterbridge ticks/metric experiments.. 2013-07-10 15:27:02 +02:00