summaryrefslogtreecommitdiff
path: root/gtk2_ardour/level_meter.cc
AgeCommit message (Collapse)Author
2019-08-03Update GPL boilerplate and (C)Robin Gareus
Copyright-holder and year information is extracted from git log. git history begins in 2005. So (C) from 1998..2005 is lost. Also some (C) assignment of commits where the committer didn't use --author.
2019-06-09NO-OP: rename variableRobin Gareus
2019-06-09Update GUI: meter-type API and meter-type state changesRobin Gareus
This removes all additional GUI side meter-type state. The route's meter-processors is now responsible for providing the type. meter-type is now implicit for GainMeter, LevelMeter used by meter-strips and mixer-strips.
2019-04-13NO-OP: whitespaceRobin Gareus
This fixes mostly <tab> after <space> and similar <tab> not used for indenting as well as some related code alignment issues.
2017-07-17Move Gtkmm2ext widgets into libwidgetRobin Gareus
2017-02-24NO-OP resolve an ambiguity, just because.Robin Gareus
Due to LevelMeterVBox : public LevelMeterBase, public Gtk::VBox; LevelMeterBase::get_type() overloads Gtk::Widget::get_type(), Glib::Object::get_type(), Atk::Implementor::get_type() etc.. Besides Ardour-style prefers not to use get_...()
2016-09-27move "logmeter.h" from gtk2_ardour into libs/ardourPaul Davis
2016-08-22fix signed/unsigned warningPaul Davis
2016-07-22invalidate meter-color cache when midi channel count changesRobin Gareus
This fixes a bug of midi-colors being used for audio-meters or vice versa when when the total channel count remained identical
2016-07-14enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.hPaul Davis
2016-05-04add option to limit track-header meters to stereoRobin Gareus
2015-11-23keep track of meter visibility - fixes #6685Robin Gareus
2015-09-16Move UIConfiguration Singleton into UIConfiguration headerTim Mayberry
This removes the direct dependence on ardour_ui.h from 39 files
2015-09-16Move ARDOUR_UI::ui_scale into UIConfiguration classTim Mayberry
2015-09-16Move DPIReset and ColorsChanged signals into UIConfigurationTim Mayberry
2015-04-30more meter-change UI optimizationRobin Gareus
the meter widgets keep track of configuration and type. There is no more need to force an update.
2015-04-30skip [duplicate] meter re-packing.Robin Gareus
2015-04-28prefer explicit cast over terseness.Robin Gareus
2015-04-25fix 0dbFS meter color transitionRobin Gareus
2015-04-250dBFS peak meter GUIRobin Gareus
2015-04-22clean up GUI scalingRobin Gareus
2015-04-20towards scaleable meter and mixer UIRobin Gareus
somewhat hacky solution, but there's no good central point to control this and get integer rounding/summing, is there?
2015-01-09Revert "don't unpack and repack meters unnecessarily during ↵Robin Gareus
LevelMeterBase::setup_meters()" This reverts commit d00e035fe0618c8e3f4c87c6386fc87efb58cd62. ..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.
2014-12-29Fix fallout from sooomeone's busted emacs.David Robillard
2014-12-29remove unused codePaul Davis
2014-12-29don't unpack and repack meters unnecessarily during ↵Paul Davis
LevelMeterBase::setup_meters()
2014-12-29update meters as soon as UI-settings change - amend 64fa63212f7Robin Gareus
2014-12-22move all (G)UI related configuration parameters into UIConfiguration, not ↵Paul Davis
RCConfiguration
2014-12-14fix up requested color names everywhere.Paul Davis
Thank <deity> for emacs ... space-uncamelcase-word-at-point FTW
2014-12-14initial pass to replace all UIConfiguration::get_XXXXXX() calls with ↵Paul Davis
UIConfiguration::color(name). IMPORTANT: names have not been downcased and spaced yet, so many colors are not found
2014-11-26massive reworking of color selection implementationPaul Davis
2014-10-21remove "canvasvar_" from all functions related to obtaining values from ↵Paul Davis
ARDOUR_UI::config()
2014-10-19OS 10.10 compile fixesRobin Gareus
* 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-09-27invalidate meter's ColorsChanged connection:Robin Gareus
fixes crash: open session, close, open another session, change theme. old [destoyed] meters from first session were notified about color change.
2014-09-27un-hardcode DIN & VU meter-colors,Robin Gareus
2014-09-11fix a bunch of memory leaksRobin Gareus
2014-08-28Fix ArdourButton event sequence.Ben Loftis
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-27Standardize drawing of PixFader and BarController; implement flat_buttons ↵Ben Loftis
and prelight. Prepare for using Controllable interfaces, instead of passing in Adjustments. ToDo: reimplement image caching in a standardized way across widgets
2014-06-25move utility functions into a dedicated namespaceRobin Gareus
2014-02-19fix meter(s) when mixer-strip is switched to AuxSendRobin Gareus
2013-12-23fix redrawing of canvas with an optimized buildPaul Davis
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-22add K12/RMS meter typeRobin Gareus
2013-09-14fix merge conflicts with masterPaul Davis
2013-08-08final fixes for somewhat botched merge with masterPaul Davis
2013-08-08fix meter-background highlight when peaking. (> vs >=)Robin Gareus
2013-08-08clean up some valgrid "Uninitialised value was created by a heap allocation" ↵Robin Gareus
wanings
2013-08-08fix compiler warningRobin Gareus
2013-08-08add option to resize meterbridge track-labelsRobin Gareus
2013-08-08explicitly re-init meter when theme changes.Robin Gareus
fixes: 14:14 < oofus> rgareus: BBC meter colour changed, all meters except the one on the tool bar picked it up
2013-08-08allow to configure color of BBC meterRobin Gareus