Commit graph

475 commits

Author SHA1 Message Date
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
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
Paul Davis
bcd65def7d Merge branch 'master' into cairocanvas 2013-04-06 16:57:08 -04:00
Paul Davis
f84a3942cf partially clean up warnings from "prolooks" code 2013-04-06 16:46:21 -04:00
Paul Davis
fce302847f fix two unused args warnings 2013-04-06 16:39:37 -04:00
Paul Davis
30968b8542 merge with master, including manual merge conflict resolution 2013-04-06 16:12:15 -04:00
Paul Davis
aaea166135 initial commit of hand merging, plus getting "ancient" waf script to work correctly 2013-04-04 00:32:52 -04:00