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
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
d789c9bed7
fix unused variable warning
...
git-svn-id: svn://localhost/ardour2/branches/3.0@10246 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-20 11:42:55 +00:00
Carl Hetherington
8232d4ab6f
Adjust send faders depending on what signal type they are passing (part of #4352 ).
...
git-svn-id: svn://localhost/ardour2/branches/3.0@10230 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-19 10:01:37 +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
0938a42440
fixes for 98% of all the warnings/errors reported by OS X gcc on tiger
...
git-svn-id: svn://localhost/ardour2/branches/3.0@10179 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-30 17:55:14 +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
Carl Hetherington
5905b58bc0
Use correct default value for MIDI faders, and put the
...
unity mark in the correct position for those faders.
Fixes #4234 .
git-svn-id: svn://localhost/ardour2/branches/3.0@9955 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-08-03 18:41:16 +00:00
806ca0cbc0
slightly improve color choice for meter metrics when more than one data type is present
...
git-svn-id: svn://localhost/ardour2/branches/3.0@9915 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-22 22:15:30 +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
f2373dc89b
revert inadvertent broken changes in rev 9748 that broke route group gain control
...
git-svn-id: svn://localhost/ardour2/branches/3.0@9763 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-23 00:05:25 +00:00
d5e09076ca
much ado about nothing when it comes to gain control
...
git-svn-id: svn://localhost/ardour2/branches/3.0@9748 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-19 23:02:55 +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
659f7c5ef3
More consistent style for gain display and peak display.
...
Gain display is still a little bit smaller though, for mysterious reasons...
git-svn-id: svn://localhost/ardour2/branches/3.0@9556 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-18 07:05:30 +00:00
a54f10d861
Center fader in its (left hand side) mixer strip column.
...
Attempt to center meter in its as well, but this doesn't seem to be working.
Perhaps this whole section should be layed out as a table to ensure the split
down the middle is aligned no matter what?
git-svn-id: svn://localhost/ardour2/branches/3.0@9555 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-18 06:53:24 +00:00
14277ff831
Add AFLFrom... enums as counterpart to PFLFrom ; add Output metering as a new fixed meter point; clean up logic in Route::setup_invisible_processors() to correctly place meters and monitor sends in various modes
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8923 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-22 17:04:06 +00:00
Carl Hetherington
13232d03f3
Modify route _processor list set up so that the logic for placing `invisible' processors (e.g. internal returns etc.) is in one place. Add option to get pre-fade listen from before or after pre-fade processors ( #3781 ).
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8903 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-20 00:55:32 +00:00
cc074c66fa
cairo-ify expose handlers for PixFader and PixScroller (latter is not used); tweak UI RC file in response; move rgb macros to gtkmm2ext for easier use there as we go cairo over time
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8775 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-08 19:19:55 +00:00
f86ffe84ec
stop gain fader moving as meter point is changed (changing width of meters)
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8739 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-07 15:32:24 +00:00
Carl Hetherington
db847eea33
Fix send UI fader ( #3708 )
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8506 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-13 19:43:31 +00:00
Carl Hetherington
af94fd9971
Re-fix #3685 having read the request properly.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8502 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-11 01:30:37 +00:00
Carl Hetherington
c482638aa6
Revert to fader-is-for-route on double-clicking a mixer strip's fader. Fixes #3685 .
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8496 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-10 23:33:26 +00:00
Carl Hetherington
173a8894e3
Fix setup of route meter point on load, and fix intermittent left-channel-only metering ( #3699 ).
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8486 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-09 15:10:59 +00:00
Carl Hetherington
ddb1a76e5b
Replace RouteGroup's collection of apply() methods with a single one.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8485 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-09 15:10:26 +00:00
Carl Hetherington
e794d842d6
Put appropriate markings on MIDI meters.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8355 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-29 00:55:25 +00:00
Carl Hetherington
74385f9642
Fix uninitialised variable.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8230 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-09 21:35:25 +00:00
bb797943dd
add configurable colors to stereo panner, plus keybindings for zero width (0), 1 (alt-up) or -1 (alt-down), plus M when its mono
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8153 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-02 15:51:42 +00:00
1526735d79
some (unfinished) work on incorporating Ben's rev 6919 changes regarding track selection; make newly selected tracks show the current range selection; fix crashes related to meter display; remove "all" group from main group tab display and just put it down in its own button (totally incomplete); minor cleanups
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7696 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-26 23:25:44 +00:00
7b6b75f38f
forward port automation handling changes from 2.x, upto and including about rev 6981 (will need full testing in the 3.X context). as on 2.x, this removes real-time visual updates to automation curves during write/touch automation recording
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7653 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-19 21:09:40 +00:00