Commit graph

101 commits

Author SHA1 Message Date
Paul Davis
633b57ca61 several changes to LevelMeterBase to improve GUI performance.
There were several changes made here. The most important one is to avoid unpacking and
repacking meters every time ::setup_meters() is called, because this forces a full
reset of the widget style which is (relatively) expensive. Another is to check
that the IO configuration really has changed before resetting meter configuration. Finally,
a quick hack has been added to subtract two from the apparent length of a FastMeter.

The final hack will be removed and addressed by a more correct and robust solution within
the next 24-36 hours.
2014-12-29 17:31:50 -05:00
Robin Gareus
0aeb3c337c fix a bunch of memory leaks
Conflicts:
	gtk2_ardour/ardour_button.cc
2014-09-17 07:06:04 -04:00
Robin Gareus
a17616f1da move utility functions into a dedicated namespace
Conflicts:
	gtk2_ardour/about.cc
	gtk2_ardour/editor_ops.cc
2014-08-17 18:51:22 -04:00
VKamyshniy
dfd4acfcd1 [Summary] Implementing Igor's change requests 2014-08-12 00:51:07 +03:00
VKamyshniy
596e3b9140 [Summary] Progressing MASTER UI and occasional cleanup 2014-07-16 00:12:14 +03:00
VKamyshniy
db9244b7f2 [Summary] Involving canvas-var "meter highlight background" into the fastmeter;
Removing horizontal/vertical extra-shade from the highlighted state of meter.
2014-06-26 20:29:40 +03:00
VKamyshniy
57548ecb7c [Summary] just removing redundant lines of code 2014-06-26 17:38:37 +03:00
VKamyshniy
e60dea27f6 [Summary] Implementing TRACKS like MIXER VIEW (INSPECTOR) 2014-06-25 14:33:05 +03:00
Robin Gareus
55c7ce98ab fix meter(s) when mixer-strip is switched to AuxSend 2014-02-19 23:25:08 -05:00
Paul Davis
84f55440a3 fix redrawing of canvas with an optimized build
Best guess right now is that optimization does something bad when ceil() is called twice on a very large dbl-precision number,
which results in a zero (empty) redraw area. Without the removal of the redundant ceil & floor functions, no expose events
would be delivered to the canvas in an optimized build during drags (and maybe more).
2013-12-23 15:35:49 -05:00
Robin Gareus
0acafa4d3d add K12/RMS meter type 2013-12-22 09:25:33 +01:00
Paul Davis
7a30e63eaa fix merge conflicts with master 2013-09-14 16:42:40 -04:00
Paul Davis
f7b140b918 final fixes for somewhat botched merge with master 2013-08-08 15:43:32 -04:00
Robin Gareus
c014ccaeb1 fix meter-background highlight when peaking. (> vs >=) 2013-08-08 15:26:42 -04:00
Robin Gareus
6b02d50d5e clean up some valgrid "Uninitialised value was created by a heap allocation" wanings 2013-08-08 15:26:18 -04:00
Robin Gareus
8eab8de852 fix compiler warning 2013-08-08 15:26:17 -04:00
Robin Gareus
84f20367cc add option to resize meterbridge track-labels 2013-08-08 15:26:17 -04:00
Robin Gareus
b58bb80a05 explicitly re-init meter when theme changes.
fixes:
14:14 < oofus> rgareus: BBC meter colour changed, all meters
               except the one on the tool bar picked it up
2013-08-08 15:26:17 -04:00
Robin Gareus
8eaaede05d allow to configure color of BBC meter 2013-08-08 15:26:17 -04:00
Robin Gareus
94f64aeea6 fix diamond inheritance - gtkmm main class is sigc::trackable 2013-08-08 15:26:16 -04:00
Robin Gareus
ff9296e17c add dedicated line-up level for IEC1/DIN meter (15dbFS) 2013-08-08 15:26:01 -04:00
Robin Gareus
d4c864d803 make LED meter style optional 2013-08-08 15:26:01 -04:00
Robin Gareus
385b1121da add red-boxes to meter-marks and fix Nordic scale color 2013-08-08 15:26:01 -04:00
Robin Gareus
e28a196fd9 update meter marks and colors.. 2013-08-08 15:26:01 -04:00
Robin Gareus
51d3fa09ca remember meter-background highlight when type or width changes.. 2013-08-08 15:26:01 -04:00
Robin Gareus
1d964e27f4 prepare horizontal meters (level-meter H/V Box abstraction) 2013-08-08 15:25:40 -04:00
Robin Gareus
8dc1947455 use only two colors for VU meter indicator and bright-gray for BBC 2013-08-08 15:25:40 -04:00
Robin Gareus
9980a8fc3c revert VU meter background to default gray-shade 2013-08-08 15:24:49 -04:00
Robin Gareus
49e24a6e0a fix display-type of editor-mixer level-meter 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
Robin Gareus
7323c153ae meter background color.. 2013-08-08 15:24:49 -04:00
Robin Gareus
ca21170790 meterbridge: meter-type dependent color-schema 2013-08-08 15:24:15 -04:00
Robin Gareus
2c9484fe14 add "0VU = +8dBu" VU meter config 2013-08-08 15:24:15 -04:00
Robin Gareus
2faf401fea implement meter-lineup and VU standard preferences 2013-08-08 15:24:15 -04:00
Robin Gareus
553d393d30 implement new meter types 2013-08-08 15:24:15 -04:00
Paul Davis
1ab61b8564 major redesign of MIDI port heirarchy and management (part 2) 2013-08-07 22:22:11 -04:00
Robin Gareus
38e4f7bd1b fix meter-background highlight when peaking. (> vs >=) 2013-08-04 18:50:51 +02: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
059df390e6 fix compiler warning 2013-07-29 19:43:19 +02:00
Robin Gareus
58f4d66899 add option to resize meterbridge track-labels 2013-07-29 19:42:41 +02:00
Robin Gareus
5cedc24517 explicitly re-init meter when theme changes.
fixes:
14:14 < oofus> rgareus: BBC meter colour changed, all meters
               except the one on the tool bar picked it up
2013-07-29 16:31:33 +02:00
Robin Gareus
2faaf71573 allow to configure color of BBC meter 2013-07-29 03:54:43 +02:00
Robin Gareus
cbcde35376 fix diamond inheritance - gtkmm main class is sigc::trackable 2013-07-28 20:43:21 +02:00
Robin Gareus
16339aa446 add dedicated line-up level for IEC1/DIN meter (15dbFS) 2013-07-28 03:31:44 +02:00
Robin Gareus
92d2075d83 make LED meter style optional 2013-07-28 03:31:39 +02:00
Robin Gareus
1ce2a1d638 add red-boxes to meter-marks and fix Nordic scale color 2013-07-27 22:44:38 +02:00
Robin Gareus
362e774878 update meter marks and colors.. 2013-07-27 21:26:22 +02:00
Robin Gareus
ce1adc65b7 remember meter-background highlight when type or width changes.. 2013-07-25 19:55:26 +02:00
Robin Gareus
953e4aba54 prepare horizontal meters (level-meter H/V Box abstraction) 2013-07-25 14:18:39 +02:00
Robin Gareus
376d6fe34e use only two colors for VU meter indicator and bright-gray for BBC 2013-07-24 23:24:11 +02:00