cf52d6e4b4
enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.h
2016-07-14 14:45:23 -04:00
106851b33a
add option to limit track-header meters to stereo
2016-05-04 17:36:40 +02:00
9d46da4e6f
keep track of meter visibility - fixes #6685
2015-11-23 18:11:24 +01:00
6b019a4953
Move UIConfiguration Singleton into UIConfiguration header
...
This removes the direct dependence on ardour_ui.h from 39 files
2015-09-16 16:55:17 -04:00
45d487f16e
Move ARDOUR_UI::ui_scale into UIConfiguration class
2015-09-16 16:55:17 -04:00
fc1e7dbb55
Move DPIReset and ColorsChanged signals into UIConfiguration
2015-09-16 16:55:17 -04:00
6366d21399
more meter-change UI optimization
...
the meter widgets keep track of configuration
and type. There is no more need to force an update.
2015-04-30 19:19:31 +02:00
4dc29153a2
skip [duplicate] meter re-packing.
2015-04-30 19:19:31 +02:00
ba0f7482c3
prefer explicit cast over terseness.
2015-04-28 14:34:18 +02:00
4ed3dcd51d
fix 0dbFS meter color transition
2015-04-25 16:09:05 +02:00
517211681e
0dBFS peak meter GUI
2015-04-25 06:46:56 +02:00
b38ab89d92
clean up GUI scaling
2015-04-22 21:40:43 +02:00
494009a6e2
towards scaleable meter and mixer UI
...
somewhat hacky solution, but there's no good central point to
control this and get integer rounding/summing, is there?
2015-04-20 20:45:36 +02:00
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