Robin Gareus
4050ca5633
Update GPL boilerplate and (C)
...
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-08-03 15:53:15 +02:00
Robin Gareus
1391f49dbc
NO-OP: rename variable
2019-06-09 19:56:39 +02:00
Robin Gareus
9f20631984
Update GUI: meter-type API and meter-type state changes
...
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-06-09 19:56:30 +02:00
Robin Gareus
31815b5f26
NO-OP: whitespace
...
This fixes mostly <tab> after <space> and similar <tab> not used
for indenting as well as some related code alignment issues.
2019-04-13 17:57:46 +02:00
Robin Gareus
f6e182b937
Move Gtkmm2ext widgets into libwidget
2017-07-17 21:06:04 +02:00
Robin Gareus
d0286d3df1
NO-OP resolve an ambiguity, just because.
...
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_...()
2017-02-24 23:41:21 +01:00
Paul Davis
56af59953f
move "logmeter.h" from gtk2_ardour into libs/ardour
2016-09-27 14:59:32 -05:00
Paul Davis
cab3fc09de
fix signed/unsigned warning
2016-08-22 09:41:59 -04:00
Robin Gareus
43bdfa7197
invalidate meter-color cache when midi channel count changes
...
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-22 12:57:24 +02:00
Paul Davis
cf52d6e4b4
enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.h
2016-07-14 14:45:23 -04:00
Robin Gareus
106851b33a
add option to limit track-header meters to stereo
2016-05-04 17:36:40 +02:00
Robin Gareus
9d46da4e6f
keep track of meter visibility - fixes #6685
2015-11-23 18:11:24 +01:00
Tim Mayberry
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
Tim Mayberry
45d487f16e
Move ARDOUR_UI::ui_scale into UIConfiguration class
2015-09-16 16:55:17 -04:00
Tim Mayberry
fc1e7dbb55
Move DPIReset and ColorsChanged signals into UIConfiguration
2015-09-16 16:55:17 -04:00
Robin Gareus
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
Robin Gareus
4dc29153a2
skip [duplicate] meter re-packing.
2015-04-30 19:19:31 +02:00
Robin Gareus
ba0f7482c3
prefer explicit cast over terseness.
2015-04-28 14:34:18 +02:00
Robin Gareus
4ed3dcd51d
fix 0dbFS meter color transition
2015-04-25 16:09:05 +02:00
Robin Gareus
517211681e
0dBFS peak meter GUI
2015-04-25 06:46:56 +02:00
Robin Gareus
b38ab89d92
clean up GUI scaling
2015-04-22 21:40:43 +02:00
Robin Gareus
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
Robin Gareus
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
David Robillard
f46d4de92c
Fix fallout from sooomeone's busted emacs.
2014-12-29 20:21:32 -05:00
Paul Davis
196e29ddef
remove unused code
2014-12-29 19:56:04 -05:00
Paul Davis
d00e035fe0
don't unpack and repack meters unnecessarily during LevelMeterBase::setup_meters()
2014-12-29 18:14:45 -05:00
Robin Gareus
2b955b33a3
update meters as soon as UI-settings change - amend 64fa63212f
2014-12-29 13:37:28 +01:00
Paul Davis
64fa63212f
move all (G)UI related configuration parameters into UIConfiguration, not RCConfiguration
2014-12-22 13:39:46 -05:00
Paul Davis
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
Paul Davis
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
Paul Davis
318a9edab9
massive reworking of color selection implementation
2014-11-26 18:22:22 +02:00
Paul Davis
ba4d1cd1c1
remove "canvasvar_" from all functions related to obtaining values from ARDOUR_UI::config()
2014-10-21 22:58:58 -04:00
Robin Gareus
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
Robin Gareus
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
Robin Gareus
fb0de10b93
un-hardcode DIN & VU meter-colors,
2014-09-27 17:28:32 +02:00
Robin Gareus
df19c576c7
fix a bunch of memory leaks
2014-09-11 03:04:11 +02:00
Ben Loftis
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
Ben Loftis
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
Robin Gareus
a3c378cf62
move utility functions into a dedicated namespace
2014-06-25 21:47:54 +02: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