13
0
Commit Graph

212 Commits

Author SHA1 Message Date
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