Commit graph

655 commits

Author SHA1 Message Date
Robin Gareus
82e1d9655f use 3px for peak-hold in LED mode -> display 2 bright lines 2013-08-08 15:26:16 -04:00
Robin Gareus
3098e5963c tweak meter-LED style 2013-08-08 15:26:01 -04:00
Robin Gareus
11c49ab8d1 cache shaded meter-background regardless of color
previously, shaded patterns were assumed to have different colors as well.
2013-08-08 15:26:01 -04:00
Robin Gareus
2bdd29d3ac fix meter background redraw issue #5601 2013-08-08 15:26:01 -04:00
Robin Gareus
12c9055659 [re]implement horizontal meter 2013-08-08 15:26:01 -04:00
Robin Gareus
ba8742edd1 align gradient with meter-metrics 2013-08-08 15:25:40 -04:00
Robin Gareus
d10b712897 increase saturation of meter-shader 2013-08-08 15:24:49 -04:00
Robin Gareus
bc66985710 allow to en/disable shade and LED meter style 2013-08-08 15:24:49 -04:00
Colin Fletcher
1da655c2eb Fix special handling of 'zoom vertical' scroll wheel modifier key.
gtkmm2ext/keyboard.cc has a special case to emit a signal on the key-up of
the modifier key used to adjust track heights in conjunction with the
scroll wheel, so that the same track continues to be resized even when
it's shrunk to no longer be under the mouse cursor. However, this code
assumed that the modifier key for this was <Shift>.

Fix it to use the event->state bit corresponding to
ScrollZoomVerticalModifier instead, and rename the relevant functions to
clarify that it's the 'zoom vertical' modifier key they're dealing with.

Partially fixes #5610.
2013-08-08 15:24:15 -04:00
Robin Gareus
dbe31bcf22 add a stripe-pattern to the meters 2013-08-08 15:23:10 -04:00
Robin Gareus
a4edd1ed7a possible fix for http://tracker.ardour.org/view.php?id=5586 2013-08-08 15:23:10 -04:00
Robin Gareus
e3978edabb add option to disable cairo-RGBA overlays for meters. 2013-08-08 15:23:09 -04:00
Robin Gareus
a0ac0dca85 implement visual-sensitivity (gray out) for faders
Note: bar-controller sensitivity state is not yet set if
automation-mode changes to/from play, but the widget now
supports that.
2013-08-08 15:23:08 -04:00
Robin Gareus
443c0a2240 minor peak-meter performance tweak
* redraw only missing parts of the outside rectangle,
* don't redraw RMS meter if value has not changed
2013-08-08 15:23:08 -04:00
Robin Gareus
c209078c12 fix compiler warning 2013-08-08 15:23:08 -04:00
Paul Davis
6a436fd826 fix merge conflict from master 2013-07-31 20:11:15 -04:00
Robin Gareus
7a02d9e08d clean up some valgrid "Uninitialised value was created by a heap allocation" wanings 2013-07-31 19:29:20 +02:00
Robin Gareus
b5a2b4e84e initialize some uninitialized values 2013-07-31 15:22:51 +02:00
Robin Gareus
476da4f3df minimize meter-peak re-draw area 2013-07-31 01:59:50 +02:00
Robin Gareus
893e26cc68 use 3px for peak-hold in LED mode -> display 2 bright lines 2013-07-28 21:24:27 +02:00
Robin Gareus
d1c2d53afe tweak meter-LED style 2013-07-28 18:29:39 +02:00
Robin Gareus
069fd15c79 cache shaded meter-background regardless of color
previously, shaded patterns were assumed to have different colors as well.
2013-07-26 17:17:05 +02:00
Robin Gareus
cd35040535 fix meter background redraw issue #5601 2013-07-26 17:10:05 +02:00
Robin Gareus
43bd836778 [re]implement horizontal meter 2013-07-25 19:04:52 +02:00
Robin Gareus
2ec45cfd1b align gradient with meter-metrics 2013-07-24 22:57:25 +02:00
Robin Gareus
33b067c12c increase saturation of meter-shader 2013-07-24 16:15:12 +02:00
Robin Gareus
fa332f31fa allow to en/disable shade and LED meter style 2013-07-24 02:47:37 +02:00
Colin Fletcher
8e376f7a2a Fix special handling of 'zoom vertical' scroll wheel modifier key.
gtkmm2ext/keyboard.cc has a special case to emit a signal on the key-up of
the modifier key used to adjust track heights in conjunction with the
scroll wheel, so that the same track continues to be resized even when
it's shrunk to no longer be under the mouse cursor. However, this code
assumed that the modifier key for this was <Shift>.

Fix it to use the event->state bit corresponding to
ScrollZoomVerticalModifier instead, and rename the relevant functions to
clarify that it's the 'zoom vertical' modifier key they're dealing with.

Partially fixes #5610.
2013-07-23 16:42:34 +01:00
Tim Mayberry
533e40ca52 Work around badly chosen argument name in giomm/dbusmessage.h
interface is defined in windows/mingw headers. hopefully this will
be fixed in giomm at some point and this crap can be removed
2013-07-22 13:44:32 +10:00
Robin Gareus
d51a1ec06b add a stripe-pattern to the meters 2013-07-17 22:45:08 +02:00
Paul Davis
650964f320 Merge branch 'master' into windows 2013-07-17 08:05:59 -04:00
Robin Gareus
562bd6811e possible fix for http://tracker.ardour.org/view.php?id=5586 2013-07-16 22:44:54 +02:00
Robin Gareus
9f6d97376d add option to disable cairo-RGBA overlays for meters. 2013-07-16 00:56:36 +02:00
Paul Davis
15be154515 use g_unlink() rather than unlink() universally, requires <glib/gstdio.h> in several files 2013-07-15 14:29:00 -04:00
Paul Davis
0aac62e013 Merge branch 'master' into windows 2013-07-14 08:27:22 -04:00
Robin Gareus
5bae4373c7 implement visual-sensitivity (gray out) for faders
Note: bar-controller sensitivity state is not yet set if
automation-mode changes to/from play, but the widget now
supports that.
2013-07-12 19:07:07 +02:00
Robin Gareus
e0bbc0b435 minor peak-meter performance tweak
* redraw only missing parts of the outside rectangle,
* don't redraw RMS meter if value has not changed
2013-07-12 17:56:42 +02:00
Paul Davis
b8c369fe2d Include pbd/timersub.h for mingw build 2013-07-11 15:16:11 -04:00
Paul Davis
965883bc22 Use Glib functions to create tmp file path 2013-07-11 15:15:40 -04:00
Paul Davis
ef3ea6c6a6 Work around badly chosen argument name in giomm/dbusmessage.h
interface is defined in windows/mingw headers. hopefully this will
be fixed in giomm at some point and this crap can be removed
2013-07-11 15:14:51 -04:00
Robin Gareus
75f0dfb4a8 fix compiler warning 2013-07-11 20:39:24 +02:00
Paul Davis
4adb2f97cc Use timeout source to process ui requests on windows
Using a timeout source to process ui events/requests is suboptimal
but it works for the moment. Have to use g_source functions as glibmm
functions are not thread safe AFAIK.

Behaviour should be exactly the same on unix.
2013-07-11 12:56:35 -04:00
Paul Davis
7626cd68ac Hide UI request mechanism from inheriting classes 2013-07-11 12:52:46 -04:00
Paul Davis
580520b12f fix conflicts caused by meterbridge merge 2013-07-11 09:11:53 -04:00
Robin Gareus
7a62d31056 Episode VI: Return of the ZeroDBline 2013-07-10 15:27:16 +02:00
Robin Gareus
656cc9a0ad Episode V: the gainfader line strikes back 2013-07-10 15:27:16 +02:00
Robin Gareus
40bc6f5b83 Task Force Viking: operation green line 2013-07-10 15:27:14 +02:00
Robin Gareus
ffbc1c7a8b with RMS meters: use "peak indicator" as DPM 2013-07-10 15:27:13 +02:00
Robin Gareus
09243a326a use digital max-peak with RMS meter 2013-07-10 15:27:13 +02:00
Robin Gareus
0710171d90 don't reset meter background/highlight on click. 2013-07-10 15:27:12 +02:00