1d31ace29d
adjust GainMeter* API and design to handle stripables, not just routes for selection/group behavior
2023-07-31 21:12:00 -06:00
d7ed491f75
gain controls: tenatively use new "use selection" feature
2023-07-26 13:39:05 -06:00
3c2112abf5
widgets & GUI: Start/StopGesture signals should pass on GDK event state
2023-07-26 13:11:52 -06: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
f8a77c7dcb
add API to GainMeterBase to allow use of explicit fader colors
2022-08-10 22:34:33 -06:00
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
ab298f035a
Consolidate automation and meter-point strings
...
This also properly selects texts in dropdown-menus on the mixer-strip,
panner and plugin-controls, gain-meters.
2019-10-31 16:12:27 +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
169e15483a
Implement a derived function for 'GainMeter::redraw_metrics()'
...
I'm not sure why exactly but at this line in 'GainMeter::set_controls ()' :-
model_connections, invalidator (*this), boost::bind (&GainMeter::redraw_metrics, this), gui_context()
MSVC will not allow us to pass a base class function to boost::bind(). I tried explicitly specifying the base class and I also tried making the function public / making it virtual etc but the only thing which works is to implement a derived function.
It's somehow related to changing the signal from 'TypeChanged' to 'MeterTypeChanged' but I don't entirely understand why... :-(
2019-07-13 13:57:57 +01:00
9f20631984
Update GUI: meter-type API and meter-type state changes
...
This removes all additional GUI side meter-type state.
The route's meter-processors is now responsible for providing
the type.
meter-type is now implicit for GainMeter, LevelMeter used by
meter-strips and mixer-strips.
2019-06-09 19:56:30 +02:00
c242cbc318
Add automation button to VCA strip
2017-07-21 02:10:29 +02:00
eb1e423b75
Remove <gtkmm.h> include from header files.
2017-07-17 21:06:04 +02:00
f6e182b937
Move Gtkmm2ext widgets into libwidget
2017-07-17 21:06:04 +02:00
5c92613698
Separate Ardour UI widgets into dedicated library
2017-07-17 21:06:04 +02:00
b976bf8986
NO-OP whitespace & foratting of header files
2017-07-01 21:19:56 +02:00
7c94499aec
Remove Cruft -- AutomationStyle never did anything.
...
Trim automation is planned via SlavableAC as normal AutomationMode.
Some of this code have a revival (a special "Trim+Preview" state
before merging Automation but that has to be more general than Pan & Gain.
2017-06-21 13:16:27 +02:00
585fa4302f
Disallow Selection, context-menu & drag-start on peak-display Button
2017-03-23 01:53:31 +01:00
Daniel Sheeler
33c74357f0
Meter point toggle button now uses a popup menu instead of toggling
2017-01-24 13:38:23 +01:00
b382ad8b22
towards a generic plugin grid layout
2016-07-08 18:19:31 +02:00
ae80aba3a9
quick prototype to allow changing *all* gain automation
2016-06-28 00:09:00 +02:00
1249e61d73
trivially change API of GainMeter but more importantly don't show meter if no Route is set
2016-05-31 15:30:40 -04:00
0275582b89
rename GainMeter::gain_adjusted() to GainMeter::fader_moved() to be more clear
2016-05-31 15:30:39 -04:00
dd32c05cda
GainMeter(Base) now has an explicit gain control given to it
2016-01-25 11:47:44 -05:00
0abcce0735
Revert "change the peak display widget from Gtkmm2ext::FocusEntry to ArdourButton, since it is absolutely not editable."
...
This reverts commit 58f7d02bf2
.
Conflicts:
gtk2_ardour/default_ui_config.in
gtk2_ardour/gain_meter.cc
2014-10-28 20:31:06 -04:00
c5e97ea21b
Don't show meter-type menu for MIDI-only meters
2014-10-23 14:45:49 +02:00
58f7d02bf2
change the peak display widget from Gtkmm2ext::FocusEntry to ArdourButton, since it is absolutely not editable.
...
This adds a new button name and corresponding colors in default_ui_config which requires a theme reset
2014-10-21 16:01:31 -04:00
70be12afaa
gain-meter: use new PixFader API
2014-09-05 02:38:24 +02:00
8e3b1c17c1
fader+meter: update numeric display bg on style change
2014-08-30 04:19:48 +02:00
fad9068981
even more flat_buttons
2014-08-27 11:56:06 -05:00
394ea9cb86
use FocusEntry for the peak_display, so it matches the size of gain_display
2014-07-30 12:30:33 -05:00
9a50b56930
reset time-axis peak when meter-point changes - fixes #5771
2013-11-20 18:54:34 +01:00
953e4aba54
prepare horizontal meters (level-meter H/V Box abstraction)
2013-07-25 14:18:39 +02:00
d2c39db64d
mixer metric background color fix (MIDI & inactive)
...
fixes http://tracker.ardour.org/view.php?id=5594
2013-07-18 09:00:24 +02:00
5de0aee287
share meter-type among meter instances.
2013-07-10 15:27:13 +02:00
3a8f5a9770
remember meter type with session
2013-07-10 15:27:13 +02:00
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
f1f84140e7
reset individual route's peak display
2013-07-10 15:27:10 +02:00
424d368614
shared peak-display reset in mixer+meterbridge
2013-07-10 15:27:10 +02:00
ce01658942
add meter ticks to mixer..
2013-07-10 15:27:10 +02:00
68762b9efd
break out meter&metric pattern rendering.. first step towards new mixer-meters
2013-07-10 15:27:10 +02:00
35937e5083
implement meterbridge & meter-strip
2013-07-10 15:27:02 +02:00
9fcf40c94b
substantive changes to pixfaders and derived classes. now fully dynamically sizable and have an added texture that currently just emulates the ardour2 belt pattern. mild color changes, not finalized yet.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13830 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-11 18:33:57 +00:00
b1029a3caf
goodbye pixmaps and pixbufs (no longer) used by Gtkmm2ext::PixFader
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13827 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-10 15:25:11 +00:00
Ben Loftis
5249f82603
more theming and layout tweaks. new faders that pre-light. fixed some spacing around mixer buttons. tweaked some colors (returned mutes to yellow). removed group button at bottom of mixer strip and replaced it with fader automation mode.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13617 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-07 22:38:49 +00:00
Carl Hetherington
e39a8fc968
Make faders visually desensitised when their tracks are in automation-play.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12518 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-01 00:41:28 +00:00
Carl Hetherington
ef4ac379a3
Popup menu over meters in mixer strips to select metering
...
point (rest of #4419 ).
git-svn-id: svn://localhost/ardour2/branches/3.0@10569 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-13 15:12:34 +00:00
Carl Hetherington
3ac7b37f00
Use a ARDOUR::DataType rather than a bool.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@10228 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-19 09:56:00 +00:00
Carl Hetherington
ad0e7319c8
Set up fader for audio / MIDI when the fader position
...
changes (part of #4233 ).
git-svn-id: svn://localhost/ardour2/branches/3.0@10011 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-08-19 17:52:32 +00:00
6ee0af19c5
two birds with one stone: fix "color bug" that occured as soon any route with >1 types of data was created, because a global Gtk::Style was modified to draw text, but fix it by switching drawing of the meter metrics area to cairo, and avoid all that stuff
...
git-svn-id: svn://localhost/ardour2/branches/3.0@9914 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-22 22:04:27 +00:00
ed626628b5
Delete trailing whitespace
...
git-svn-id: svn://localhost/ardour2/branches/3.0@9656 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-01 17:00:29 +00:00