eee07ac351
NOOP: whitespace fixup
2016-01-22 11:58:16 -05:00
0c9249604f
when leaving an active automation state, update fader displays to show correct current value
2016-01-22 11:58:16 -05:00
64c9198d60
add group disposition argument to Route::set_gain() and use it in various UIs
...
Executive decisions were necessary in a couple of places about the correct group disposition
behaviour, notably faderport and OSC surfaces
2016-01-18 12:11:09 -05:00
1948b50a68
working version of new gain control design
2016-01-18 12:11:08 -05:00
22b07e0233
NOOP, remove trailing tabs/whitespace.
2015-10-05 16:17:49 +02:00
4dc63966f0
globally remove all trailing whitespace from ardour code base.
...
Paul Davis was responsible for introducing almost all of this.
2015-10-04 14:51:05 -04:00
1d42ed077e
Use ARDOUR_UI_UTILS::set_tooltip rather than via ARDOUR_UI::set_tip
...
This removes the direct dependence on ARDOUR_UI/Gtk_UI for setting
tooltips. Removes inclusion of ardour_ui.h from 16 files.
2015-09-16 16:55:17 -04: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
45d487f16e
Move ARDOUR_UI::ui_scale into UIConfiguration class
2015-09-16 16:55:17 -04:00
fc1e7dbb55
Move DPIReset and ColorsChanged signals into UIConfiguration
2015-09-16 16:55:17 -04:00
ba0f7482c3
prefer explicit cast over terseness.
2015-04-28 14:34:18 +02:00
b38ab89d92
clean up GUI scaling
2015-04-22 21:40:43 +02:00
46f97e8d92
Initial Gain Coefficient tweaks
...
1) Disambiguate 1.0 to GAIN_COEFF_UNITY, and 0.0 to GAIN_COEFF_ZERO
2) Add GAIN_COEFF_SMALL which replaces SMALL_SIGNAL (-140dB)
3) GAIN_COEFF_SMALL can used to avoid interpolating towards -inf on a db scale
4) GAIN_COEFF_SMALL is used to detect very small (denormal?) gains and memset to zero
2015-04-22 00:22:43 +02:00
494009a6e2
towards scaleable meter and mixer UI
...
somewhat hacky solution, but there's no good central point to
control this and get integer rounding/summing, is there?
2015-04-20 20:45:36 +02: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
64fa63212f
move all (G)UI related configuration parameters into UIConfiguration, not RCConfiguration
2014-12-22 13:39:46 -05:00
24727e65be
Make gain controls step by roughly 1.0/0.1 dB.
...
Shoot for roughly 30 steps for all controls.
Always keep sensible step information in ParameterDescriptor and just convert
for the UI.
This is a little weird, but it's less weird than it was before, and works.
2014-12-04 00:30:47 -05:00
6b3a8915f3
add abort() to non-reached code
...
This cleans up a lot of false-positives in static analysis
and also helps compilers to optimize code paths in general.
(tagging the fatal stingstream operator as ‘noreturn’ is
far less trivial)
2014-11-14 11:30:08 +01:00
049c11de58
Slider Controller API Change
...
Prepare to allow BarController (with Spinbutton) to translate
internal/interface values for the SpinBox.
(The change is irrelevant for the fader/slider itself which
always use the [user-]interface value)
2014-11-01 18:22:29 +01:00
bb792c0e07
ugly hacks to make the peak display widget not act like a text entry widget. This should die.
2014-10-28 20:31:06 -04: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
ba4d1cd1c1
remove "canvasvar_" from all functions related to obtaining values from ARDOUR_UI::config()
2014-10-21 22:58:58 -04:00
7f15aaf0cf
set correct font for peak display button
2014-10-21 17:26:21 -04: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
ffde2fb5f9
OS 10.10 compile fixes
...
* fix clang pickiness regarding boolean
* ignore ‘verify’ macro
* tested with Apple LLVM version 6.0 (clang-600.0.51) (based on LLVM 3.5svn)
2014-10-19 23:15:13 +02:00
70be12afaa
gain-meter: use new PixFader API
2014-09-05 02:38:24 +02:00
9cd0af6b51
compact meter+fader for > 6 channel tracks
2014-09-02 19:33:58 +02:00
540a12119b
prepare Slider API cleanup
2014-09-02 02:53:05 +02:00
8e3b1c17c1
fader+meter: update numeric display bg on style change
2014-08-30 04:19:48 +02:00
71f471f162
more flat_button refactoring. try centering the gain and peak displays
2014-08-27 11:55:32 -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
a3c378cf62
move utility functions into a dedicated namespace
2014-06-25 21:47:54 +02:00
2952ac05e6
fixed a few warnings from clang static analysis
2014-03-18 22:51:44 +01:00
55c7ce98ab
fix meter(s) when mixer-strip is switched to AuxSend
2014-02-19 23:25:08 -05:00
0dca927400
add meter-peak (display&reset) button to gain-meters by default
2014-01-18 13:51:05 +01:00
026a30a3b4
tweak narrow-mixer-strip meters: nettings vs the_CLA. Round 3.
2013-09-12 22:46:00 +02:00
cd6a9cfe38
hide tick-marks on narrow mixer-meters
2013-09-09 19:33:30 +02:00
93b3433de2
widen narrow mixer-meters,hide metric display instead
2013-09-09 18:31:50 +02:00
1ab61b8564
major redesign of MIDI port heirarchy and management (part 2)
2013-08-07 22:22:11 -04:00
616f2a0370
fix conflicts after merge with master
2013-08-05 14:22:32 -04:00
fbfa0acebe
remove compile errors (still will not link and JACKPortEngine is not close to done)
2013-07-30 23:26:46 -04:00
60dde29038
left/right meter marks in mixer (narrow red-stripe)
2013-07-28 22:34:28 +02:00
953e4aba54
prepare horizontal meters (level-meter H/V Box abstraction)
2013-07-25 14:18:39 +02:00
62398facd7
fix crash with "send" meters.
...
Meters in send-UI don't necessarily have a route,
but their type cannot be changed, anyway.
So just use "PeakMeter".
2013-07-25 00:06:12 +02:00
708edd5866
implement new meter types
2013-07-22 18:45:08 +02:00
b91caf557c
adjust meter-width when configuration changes
...
fixes http://tracker.ardour.org/view.php?id=5592
2013-07-19 10:37:00 +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
55c5a76e8b
revert to right-side mixer metric-labels
2013-07-17 23:33:23 +02:00
3475ea4b22
don't hide ticks in narrow mode
2013-07-17 23:11:48 +02:00
6736933385
move mixer-metric pattern to the left
2013-07-17 22:26:51 +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
7e74514a04
rework narrow mode metric (again)
2013-07-10 22:35:51 +02:00
6d1ca9ce42
narrow down multi-channel tracks
2013-07-10 18:38:25 +02:00
f43aa995a8
slimming diet for the narrow-mixer strip
2013-07-10 17:13:55 +02:00
84465f1ca2
cleanup - prepare narrow mixer strips
2013-07-10 15:27:17 +02:00
7d3d7f8efd
remove cruft
2013-07-10 15:27:16 +02:00
ffc9a2cc70
Revert "replace "-inf" with UTF8 infinity symbol"
...
This reverts commit 7f2000ec8b0d6e0d3a6e22db44a8859301d35791.
2013-07-10 15:27:16 +02:00
0f1f7ca4fd
replace "-inf" with UTF8 infinity symbol
2013-07-10 15:27:16 +02:00
c47afaab74
fixed width meter metric areas
2013-07-10 15:27:14 +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
794fa1dd03
make changes to peak-meter threshold config effective immediately
2013-07-10 15:27:11 +02:00
6d09070895
peak-indicator threshold configuration
2013-07-10 15:27:11 +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
d8477de0ab
amend to d8cbda05d1 - fix typo
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
c38898f1a6
fix alignment of meter tick
2013-07-10 15:27:08 +02:00
4726339f4c
meter metrics tick rendering (offset by meter-border)
2013-07-10 15:27:08 +02:00
6c3695e60e
use narrow mono meter on narrow mixer-strips
2013-07-10 15:27:05 +02:00
97d3393c50
increase width of mono-meters in mixer
2013-07-10 15:27:04 +02:00
4fea31fd78
adjust mixer meter metric scale
2013-07-03 13:16:43 +02:00
6ff66a4081
common spelling of infinity (lowercase as libc's printf)
2013-06-30 18:54:53 +02:00
fb8db038f7
Fix crash when showing external send GUI
2013-06-29 17:19:49 +02:00
2b9ee3b0f4
fix caching of Audio+Midi metrics
...
MIDI track meters can either be MIDI-only or Audio+MIDI
previously they used the same ID for gain-meter static
image cache.
2013-06-23 14:23:47 +02:00
4f0be474ef
prepare font-styling meter labels
...
decrease size and weight of midi-velocity - make '127' fit,...
2013-06-08 11:51:17 +02:00
106364bcfc
prefer audio-fader over midi-gain fader display.
...
This only affects mixer-strip display (and range).
The fader has effect on all MIDI and audio data
passing though it regardless of its display mode.
2013-06-08 09:08:31 +02:00
cd6cbba299
rename Route::is_hidden() to Route::is_auditioner() and Route::Hidden to Route::Auditioner. this has been the meaning of these terms for years now and it would be better to make it explicit
2013-04-06 16:04:02 -04:00
2debe51993
more cleanup of crazy (?) stuff regarding gain display and peak display in GainMeter/MixerStrips
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13960 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-21 22:27:39 +00:00
dabd5bd174
fix/revert/modify changes from 13617 that hide the gain + peak display from a generic GainMeter; name import dialog preview fader (fixes 5288)
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13947 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-21 14:24:57 +00: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
2c95bfcd46
quick fix for bug reported by ricardus: faders in Play are no longer dark gray which made them invisible. and they update color when their auto state changes.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13773 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-04 16:52:10 +00:00
00e1b1410c
fix reversion of keyboard focus from gain display editing widget in both mixer and editor windows
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13628 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-10 02:03:45 +00:00
93b3a72cb8
remove debug output
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13626 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-08 21:03:19 +00:00
a6aae07fbc
locale/focus debug 2
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13624 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-08 20:35:14 +00:00
153e26a60f
locale/focus debug
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13623 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-08 20:34:34 +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
7bdda0e44c
fix missing start-touch call on faders because button press handler that does this was not corrected to the signal in the correct way (before the default handler)
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13502 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-14 20:39:27 +00:00
3f35528f18
revert to a 0..2 scale for MIDI velocity control, so that we can increase MIDI note velocities as well as deccrease them (note: this will make the use of MIDI CC #7 a bit more complex)
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13483 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-13 19:23:16 +00:00
c0bb288ff1
change handling of MIDI gain so that we present a linear fader spanning 0..127. this is based on the realization that we actually have no idea what the MIDI receiver will do with velocity and/or CC #7 values, and so trying to pretend that we can provide some kind of dB value in the display or the behaviour of the fader is completely wrong; ALSO: fix keyboard entry of fader levels for non EN locales ( #5027 )
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13480 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-13 17:47:39 +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
6fa6514cfd
Remove over 500 unnecessary includes (including 54 of session.h).
...
It's slightly possible that this causes trivial build failures on different
configurations, but otherwise shouldn't cause any problems (i.e. no actual
changes other than include/naming/namespace stuff). I deliberately avoided
removing libardour-config.h since this can mysteriously break things, though a
few of those do seem to be unnecessary.
This commit only targets includes of ardour/*.h. There is also a very large
number of unnecessary includes of stuff in gtk2_ardour; tackling that should
also give a big improvement in build time when things are modified.
git-svn-id: svn://localhost/ardour2/branches/3.0@12420 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-24 06:09:29 +00:00
ec1ef5d6b5
remove the apparently unnecessary "ui_bind()" macro from entire source base
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12088 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-25 12:58:19 +00:00
b08d13706f
remove additional "mid" color from ArdourButton; replace Active/Mid widget state with ExplicitActive/ImplicitActive; represent implicit-active state with colored border around ArdourButton; tune button colors; new rounded_foo() functions, some in use, some not in use right now
...
git-svn-id: svn://localhost/ardour2/branches/3.0@11466 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-02-07 17:43:55 +00:00
Carl Hetherington
5c73926324
Simple ambiguitity-resolution wrapper for gettext; use for
...
Manual (#4496 ).
git-svn-id: svn://localhost/ardour2/branches/3.0@10720 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-21 00:04:44 +00:00