13
0
Commit Graph

480 Commits

Author SHA1 Message Date
6a436fd826 fix merge conflict from master 2013-07-31 20:11:15 -04:00
7a02d9e08d clean up some valgrid "Uninitialised value was created by a heap allocation" wanings 2013-07-31 19:29:20 +02:00
b5a2b4e84e initialize some uninitialized values 2013-07-31 15:22:51 +02:00
476da4f3df minimize meter-peak re-draw area 2013-07-31 01:59:50 +02:00
893e26cc68 use 3px for peak-hold in LED mode -> display 2 bright lines 2013-07-28 21:24:27 +02:00
d1c2d53afe tweak meter-LED style 2013-07-28 18:29:39 +02:00
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
cd35040535 fix meter background redraw issue #5601 2013-07-26 17:10:05 +02:00
43bd836778 [re]implement horizontal meter 2013-07-25 19:04:52 +02:00
2ec45cfd1b align gradient with meter-metrics 2013-07-24 22:57:25 +02:00
33b067c12c increase saturation of meter-shader 2013-07-24 16:15:12 +02:00
fa332f31fa allow to en/disable shade and LED meter style 2013-07-24 02:47:37 +02:00
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
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
d51a1ec06b add a stripe-pattern to the meters 2013-07-17 22:45:08 +02:00
650964f320 Merge branch 'master' into windows 2013-07-17 08:05:59 -04:00
562bd6811e possible fix for http://tracker.ardour.org/view.php?id=5586 2013-07-16 22:44:54 +02:00
9f6d97376d add option to disable cairo-RGBA overlays for meters. 2013-07-16 00:56:36 +02:00
15be154515 use g_unlink() rather than unlink() universally, requires <glib/gstdio.h> in several files 2013-07-15 14:29:00 -04:00
0aac62e013 Merge branch 'master' into windows 2013-07-14 08:27:22 -04:00
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
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
b8c369fe2d Include pbd/timersub.h for mingw build 2013-07-11 15:16:11 -04:00
965883bc22 Use Glib functions to create tmp file path 2013-07-11 15:15:40 -04:00
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
75f0dfb4a8 fix compiler warning 2013-07-11 20:39:24 +02:00
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
7626cd68ac Hide UI request mechanism from inheriting classes 2013-07-11 12:52:46 -04:00
7a62d31056 Episode VI: Return of the ZeroDBline 2013-07-10 15:27:16 +02:00
656cc9a0ad Episode V: the gainfader line strikes back 2013-07-10 15:27:16 +02:00
40bc6f5b83 Task Force Viking: operation green line 2013-07-10 15:27:14 +02:00
ffbc1c7a8b with RMS meters: use "peak indicator" as DPM 2013-07-10 15:27:13 +02:00
09243a326a use digital max-peak with RMS meter 2013-07-10 15:27:13 +02:00
0710171d90 don't reset meter background/highlight on click. 2013-07-10 15:27:12 +02:00
03a510c3d7 prepare meter-widget for dual background color 2013-07-10 15:27:12 +02:00
f801144472 less prominent meter shade 2013-07-10 15:27:09 +02:00
580cec03ad add shade gradient to meter 2013-07-10 15:27:08 +02:00
d4b1941796 fix meter gradient y-axis only 2013-07-10 15:27:08 +02:00
8a16e61b11 make all meter-colors configurable,.. 2013-07-10 15:27:07 +02:00
571b2d70e9 refactor level-meter widget: 5x2 stops meter colors 2013-07-10 15:27:07 +02:00
447e736139 remove b0rked horizontal meter code. 2013-07-10 15:27:07 +02:00
a07c50ad80 reduce peak-hold indicator to 2px height 2013-07-10 15:27:05 +02:00
a13bdf4153 meter rounded rectangle 2013-07-10 15:27:04 +02:00
3823ffc942 configurable meter background color 2013-07-10 15:27:04 +02:00
e4d754390e meter border 2013-07-10 15:27:04 +02:00
5b6fd190cb remove border around meter gradients, again. 2013-07-10 15:27:04 +02:00
fdbb0ef780 meter background gradient (hardcoded colors so far)
this is a quick test w/black borders only left+right
for Mr oofus to assess.
2013-07-10 15:27:03 +02:00
d6d27f10cb fastmeter: 1px padding left&right 2013-07-10 15:27:03 +02:00
21914c884e Make scroll-wheel modifier keys consistent in main editor window.
Add constants for the keyboard modifiers that should be used for vertical
zoom, horizontal zoom, and horizontal scrolling in the main editor window,
and use these where appropriate rather than using Keyboard::PrimaryModifier
and friends directly.
2013-06-21 20:13:44 +01:00
a902737db9 various changes to window visibility mgmt, including use of the mixbus2 code for toggling editor + mixer windows. no longer attempt to track changes made outside of ardour, which is a lost cause 2013-05-07 13:01:26 -04:00