Commit graph

680 commits

Author SHA1 Message Date
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
Robin Gareus
03a510c3d7 prepare meter-widget for dual background color 2013-07-10 15:27:12 +02:00
Robin Gareus
f801144472 less prominent meter shade 2013-07-10 15:27:09 +02:00
Robin Gareus
580cec03ad add shade gradient to meter 2013-07-10 15:27:08 +02:00
Robin Gareus
d4b1941796 fix meter gradient y-axis only 2013-07-10 15:27:08 +02:00
Robin Gareus
8a16e61b11 make all meter-colors configurable,.. 2013-07-10 15:27:07 +02:00
Robin Gareus
571b2d70e9 refactor level-meter widget: 5x2 stops meter colors 2013-07-10 15:27:07 +02:00
Robin Gareus
447e736139 remove b0rked horizontal meter code. 2013-07-10 15:27:07 +02:00
Robin Gareus
a07c50ad80 reduce peak-hold indicator to 2px height 2013-07-10 15:27:05 +02:00
Robin Gareus
a13bdf4153 meter rounded rectangle 2013-07-10 15:27:04 +02:00
Robin Gareus
3823ffc942 configurable meter background color 2013-07-10 15:27:04 +02:00
Robin Gareus
e4d754390e meter border 2013-07-10 15:27:04 +02:00
Robin Gareus
5b6fd190cb remove border around meter gradients, again. 2013-07-10 15:27:04 +02:00
Robin Gareus
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
Robin Gareus
d6d27f10cb fastmeter: 1px padding left&right 2013-07-10 15:27:03 +02:00
Paul Davis
3031a99364 Merge branch 'master' into cairocanvas 2013-06-25 22:24:47 -04:00
Colin Fletcher
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
Paul Davis
bebe2af95a merge with master 2013-05-08 14:48:28 -04:00
Paul Davis
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
Paul Davis
074ef3c859 fix bigclockwindow's lack of hiding, set ArdourWindow to just-hide-on-delete and add a bit of visibility tracking debugging 2013-05-05 15:07:52 -04:00
Paul Davis
e1b0f1bd0b merge with master 2013-05-04 22:41:10 -04:00
Paul Davis
69a3310037 VisibilityTracker needs to inherit from sigc::tracker so that it can be used without combination with other sigc::trackable parents; fix partially_visible() logic 2013-05-04 22:01:32 -04:00
Paul Davis
54bf06e63c Merge branch 'master' into cairocanvas 2013-04-26 14:20:11 -04:00
Paul Davis
db34831b18 redesign toggling of editor/mixer stacking to use Gtkmm2ext::VisibilityTracker 2013-04-26 14:12:52 -04:00
Paul Davis
9a8ee11f65 Merge branch 'master' into cairocanvas 2013-04-10 12:37:16 -04:00
Paul Davis
722d7f4de6 update all i18n .po files 2013-04-09 09:32:14 -04:00