Commit Graph

53 Commits

Author SHA1 Message Date
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
d51a1ec06b add a stripe-pattern to the meters 2013-07-17 22:45:08 +02:00
9f6d97376d add option to disable cairo-RGBA overlays for meters. 2013-07-16 00:56:36 +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
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
f3a6b8a9ba Fix meter colour range to again have a hard knee at 0dB and twiddle colours so >0dB levels are red and stand out.
I am not sure if this is the original intent here, but it seems the most informative/useful/standard/etc. Unfortunately the colour names in the configuration (min, mid, max, clip) are a bit confusing (starting to clip = "mid"?) but changing them would break things. Oh well.


git-svn-id: svn://localhost/ardour2/branches/3.0@10042 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-08-31 18:58:46 +00:00
c55f142ad0 Fix meter colour gradients (mid and top were swapped).
I removed the double stop around the knee because... well, this is the way I figured out that actually follows the colour configuration as expected.  It may be less correct for some reason, but it looks like what I expect when twiddling the colours, anyway.


git-svn-id: svn://localhost/ardour2/branches/3.0@10041 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-08-31 17:22:05 +00:00
d3c38e28fc Make meters with different colour parameters actually work.
Particularly, audio meters and MIDI meters would more or less randomly use each other's colours. Now they each use their own configured colours as it should be.


git-svn-id: svn://localhost/ardour2/branches/3.0@10040 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-08-31 16:59:21 +00:00
372137f373 remove more unneeded header includes
git-svn-id: svn://localhost/ardour2/branches/3.0@9922 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-25 18:11:03 +00:00
b52422105f remove unneeded header includes
git-svn-id: svn://localhost/ardour2/branches/3.0@9921 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-25 18:10:49 +00:00
9e5a0ad167 change FastMeter drawing implementation to use Cairo instead of GDK; some subtle changes to meter drawing will be visible and are subject to a revisit
git-svn-id: svn://localhost/ardour2/branches/3.0@9919 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-25 18:05:54 +00:00
Carl Hetherington
b65f8073ba Fix some unused parameter warnings.
git-svn-id: svn://localhost/ardour2/branches/3.0@5403 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-21 15:55:17 +00:00
68e943265e merge from 2.0-ongoing @ 3581
git-svn-id: svn://localhost/ardour2/branches/3.0@3711 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-10 15:03:30 +00:00
449aab3c46 rollback to 3428, before the mysterious removal of libs/* at 3431/3432
git-svn-id: svn://localhost/ardour2/branches/3.0@3435 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-06-02 21:41:35 +00:00
Doug McLain
9c0d7d72d7 remove empty sigc++2 directory
git-svn-id: svn://localhost/ardour2/branches/3.0@3432 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-06-02 05:02:28 +00:00
997e4b1f9c merge with 2.0-ongoing @ rev 3147
git-svn-id: svn://localhost/ardour2/branches/3.0@3152 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-03-17 20:54:03 +00:00
e92c1669c1 Merge with 2.0-ongoing R2885.
Fix loading of 2.0 sessions.


git-svn-id: svn://localhost/ardour2/trunk@2904 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-01-12 23:45:50 +00:00
821e4763fd Merge with 2.0-ongoing R2885.
git-svn-id: svn://localhost/ardour2/trunk@2886 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-01-10 22:29:26 +00:00
Doug McLain
b42213bb04 Port level meters to trunk
git-svn-id: svn://localhost/ardour2/trunk@2802 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-12-20 23:25:19 +00:00
Taybin Rutkin
c971cafbed Removed unused variable (current_user_level) from FastMeter.
git-svn-id: svn://localhost/ardour2/trunk@1664 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-04-04 12:23:05 +00:00
e1957a3166 fix #1394 - The 'narrow strip' option in the mixer does not take extra width into account; involved some nice cleanup of width handling in mixer strips etc.
git-svn-id: svn://localhost/ardour2/trunk@1526 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-02-27 17:22:47 +00:00
Sampo Savolainen
8e8b920fa6 Make peak bar always fit the area of the meter
git-svn-id: svn://localhost/ardour2/trunk@608 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-15 20:56:46 +00:00
Sampo Savolainen
9d01165d3d Dynamically generated meter gradients
git-svn-id: svn://localhost/ardour2/trunk@570 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-07 21:21:21 +00:00
4d2afdd0f7 pixbufs instead of pixmaps; function-scope local fd's for reading from a FileSource
git-svn-id: svn://localhost/trunk/ardour2@395 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-03-15 02:04:30 +00:00
8d3fdc3c5b fix problems with pixmaps/xpm files
git-svn-id: svn://localhost/trunk/ardour2@392 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-03-14 20:51:55 +00:00
Doug McLain
84a2923794 created get_bogus_drawable() when I realized it was needed by FastMeter as well as Pix. All pixmaps are files now, located in gtk2_ardour/pixmaps and loaded by default from ~/.ardour/pixmaps at runtime
git-svn-id: svn://localhost/trunk/ardour2@390 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-03-14 07:46:59 +00:00
e92c949f3c fix style overwriting done by fastmeter, and lack of clip mask/clip origin restore in pixscroller; fixes meter redraw botch when moving fader, and the style fix corrects visual problems with Clearlooks as soon a ameter is realized
git-svn-id: svn://localhost/trunk/ardour2@323 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-02-13 16:08:32 +00:00
b75112adea make show all option on region list context menu work
git-svn-id: svn://localhost/trunk/ardour2@236 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-01-04 04:10:08 +00:00
6481d09cdc make meters work properly (and very slightly faster)
git-svn-id: svn://localhost/trunk/ardour2@230 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-01-03 07:06:57 +00:00
6d33b9a2d6 black bg for meters, font fixups for startup message, new notebook widget (incomplete)
git-svn-id: svn://localhost/trunk/ardour2@178 d708f5d6-7413-0410-9779-e7cbd77b26cf
2005-12-07 17:15:37 +00:00