13
0
Commit Graph

110 Commits

Author SHA1 Message Date
7235ece898 Revert "don't unpack and repack meters unnecessarily during LevelMeterBase::setup_meters()"
This reverts commit d00e035fe0.

..which introduced a bug.

Meter count and type may change when switching the meter point or simply
when selecting a different track in the editor-mixer. Additional meters
were not unpacked and remained on canvas.

Ideally we'd just remove the excess meters or meters where the type
changed, but that's far more complex than just repacking them all.
2015-01-09 06:08:15 +01:00
f46d4de92c Fix fallout from sooomeone's busted emacs. 2014-12-29 20:21:32 -05:00
196e29ddef remove unused code 2014-12-29 19:56:04 -05:00
d00e035fe0 don't unpack and repack meters unnecessarily during LevelMeterBase::setup_meters() 2014-12-29 18:14:45 -05:00
2b955b33a3 update meters as soon as UI-settings change - amend 64fa63212f 2014-12-29 13:37:28 +01:00
64fa63212f move all (G)UI related configuration parameters into UIConfiguration, not RCConfiguration 2014-12-22 13:39:46 -05:00
56ca52651e fix up requested color names everywhere.
Thank <deity> for emacs ... space-uncamelcase-word-at-point FTW
2014-12-14 16:15:38 -05:00
48a7a11974 initial pass to replace all UIConfiguration::get_XXXXXX() calls with UIConfiguration::color(name).
IMPORTANT: names have not been downcased and spaced yet, so many colors are not found
2014-12-14 12:27:07 -05:00
318a9edab9 massive reworking of color selection implementation 2014-11-26 18:22:22 +02:00
ba4d1cd1c1 remove "canvasvar_" from all functions related to obtaining values from ARDOUR_UI::config() 2014-10-21 22:58:58 -04:00
ffde2fb5f9 OS 10.10 compile fixes
* fix clang pickiness regarding boolean
 * ignore ‘verify’ macro
 * tested with Apple LLVM version 6.0 (clang-600.0.51) (based on LLVM 3.5svn)
2014-10-19 23:15:13 +02:00
738336fbd5 invalidate meter's ColorsChanged connection:
fixes crash: open session, close, open another session, change theme.
old [destoyed] meters from first session were notified about color change.
2014-09-27 19:17:13 +02:00
fb0de10b93 un-hardcode DIN & VU meter-colors, 2014-09-27 17:28:32 +02:00
df19c576c7 fix a bunch of memory leaks 2014-09-11 03:04:11 +02:00
3f297f7dab Fix ArdourButton event sequence.
Always give ArdourButton a chance to handle Press or Release events if you override them.
This allows ArdourButtons to do the "Pressed" animation
And it now correctly eats the event so button clicks don't select the channelstrip.
2014-08-28 10:31:57 -05:00
d439e93b1e Standardize drawing of PixFader and BarController; implement flat_buttons and prelight.
Prepare for using Controllable interfaces, instead of passing in Adjustments.
ToDo:  reimplement image caching in a standardized way across widgets
2014-08-27 11:58:09 -05:00
a3c378cf62 move utility functions into a dedicated namespace 2014-06-25 21:47:54 +02:00
55c7ce98ab fix meter(s) when mixer-strip is switched to AuxSend 2014-02-19 23:25:08 -05:00
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
0acafa4d3d add K12/RMS meter type 2013-12-22 09:25:33 +01:00
7a30e63eaa fix merge conflicts with master 2013-09-14 16:42:40 -04:00
f7b140b918 final fixes for somewhat botched merge with master 2013-08-08 15:43:32 -04:00
c014ccaeb1 fix meter-background highlight when peaking. (> vs >=) 2013-08-08 15:26:42 -04:00
6b02d50d5e clean up some valgrid "Uninitialised value was created by a heap allocation" wanings 2013-08-08 15:26:18 -04:00
8eab8de852 fix compiler warning 2013-08-08 15:26:17 -04:00
84f20367cc add option to resize meterbridge track-labels 2013-08-08 15:26:17 -04:00
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
8eaaede05d allow to configure color of BBC meter 2013-08-08 15:26:17 -04:00
94f64aeea6 fix diamond inheritance - gtkmm main class is sigc::trackable 2013-08-08 15:26:16 -04:00
ff9296e17c add dedicated line-up level for IEC1/DIN meter (15dbFS) 2013-08-08 15:26:01 -04:00
d4c864d803 make LED meter style optional 2013-08-08 15:26:01 -04:00
385b1121da add red-boxes to meter-marks and fix Nordic scale color 2013-08-08 15:26:01 -04:00
e28a196fd9 update meter marks and colors.. 2013-08-08 15:26:01 -04:00
51d3fa09ca remember meter-background highlight when type or width changes.. 2013-08-08 15:26:01 -04:00
1d964e27f4 prepare horizontal meters (level-meter H/V Box abstraction) 2013-08-08 15:25:40 -04:00
8dc1947455 use only two colors for VU meter indicator and bright-gray for BBC 2013-08-08 15:25:40 -04:00
9980a8fc3c revert VU meter background to default gray-shade 2013-08-08 15:24:49 -04:00
49e24a6e0a fix display-type of editor-mixer level-meter 2013-08-08 15:24:49 -04:00
bc66985710 allow to en/disable shade and LED meter style 2013-08-08 15:24:49 -04:00
7323c153ae meter background color.. 2013-08-08 15:24:49 -04:00
ca21170790 meterbridge: meter-type dependent color-schema 2013-08-08 15:24:15 -04:00
2c9484fe14 add "0VU = +8dBu" VU meter config 2013-08-08 15:24:15 -04:00
2faf401fea implement meter-lineup and VU standard preferences 2013-08-08 15:24:15 -04:00
553d393d30 implement new meter types 2013-08-08 15:24:15 -04:00
1ab61b8564 major redesign of MIDI port heirarchy and management (part 2) 2013-08-07 22:22:11 -04:00
38e4f7bd1b fix meter-background highlight when peaking. (> vs >=) 2013-08-04 18:50:51 +02:00
7a02d9e08d clean up some valgrid "Uninitialised value was created by a heap allocation" wanings 2013-07-31 19:29:20 +02:00
059df390e6 fix compiler warning 2013-07-29 19:43:19 +02:00
58f4d66899 add option to resize meterbridge track-labels 2013-07-29 19:42:41 +02:00
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