summaryrefslogtreecommitdiff
path: root/gtk2_ardour/gain_meter.cc
AgeCommit message (Collapse)Author
2016-09-27move "logmeter.h" from gtk2_ardour into libs/ardourPaul Davis
2016-08-24Fix string to float conversion when typing gain values in Gain MeterTim Mayberry
Remove the LocaleGuard so that the value of LC_NUMERIC is that of the users locale and sscanf will parse the string correctly. For instance, with a locale like nl_NL or fr_FR where the decimal point is different than the "C" locale, only the number up to the decimal point will be parsed by sscanf and input values will be rounded down.
2016-08-19Remove unused space in gain_meter's automation menuJulien "_FrnchFrgg_" RIVAUD
2016-08-17Make MixerStrip's automation menu behave like a dropdownJulien "_FrnchFrgg_" RIVAUD
2016-07-14enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.hPaul Davis
2016-07-02partially revert incorrect changes to gain meter text entries/displaysPaul Davis
2016-07-01minor no-op hacks (unneeded or suboptimal code)Paul Davis
2016-06-28quick prototype to allow changing *all* gain automationRobin Gareus
2016-05-31universal change in the design of the way Route/Track controls are designed ↵Paul Davis
and used. The controls now own their own state, rather than proxy for state in their owners. Massive changes all over the code to accomodate this. Many things are not finished. Consider this a backup safety commit
2016-05-31trivially change API of GainMeter but more importantly don't show meter if ↵Paul Davis
no Route is set
2016-05-31revert GainMeter back to simpler code now that VCA model appears correctPaul Davis
2016-05-31adjust logic for slaved faders, not necessarily correctly.Paul Davis
More info in the code comments.
2016-05-31rename GainMeter::gain_adjusted() to GainMeter::fader_moved() to be more clearPaul Davis
2016-05-31make GUI fader positions reflect VCA master valuesPaul Davis
2016-05-31change packing of GainMeter so that the fader+meter will expand to fill ↵Paul Davis
available space
2016-05-31correctly set up members of GainMeterBase in ::set_controls()Paul Davis
2016-05-07fix LocaleGuard contstructor (3dc77280)Robin Gareus
2016-05-05we always only use the "C" locale when saving.Robin Gareus
2016-01-25GainMeter(Base) now has an explicit gain control given to itPaul Davis
2016-01-22NOOP: whitespace fixupPaul Davis
2016-01-22when leaving an active automation state, update fader displays to show ↵Paul Davis
correct current value
2016-01-18add group disposition argument to Route::set_gain() and use it in various UIsPaul Davis
Executive decisions were necessary in a couple of places about the correct group disposition behaviour, notably faderport and OSC surfaces
2016-01-18working version of new gain control designPaul Davis
2015-10-05NOOP, remove trailing tabs/whitespace.Robin Gareus
2015-10-04globally remove all trailing whitespace from ardour code base.Paul Davis
Paul Davis was responsible for introducing almost all of this.
2015-09-16Use ARDOUR_UI_UTILS::set_tooltip rather than via ARDOUR_UI::set_tipTim Mayberry
This removes the direct dependence on ARDOUR_UI/Gtk_UI for setting tooltips. Removes inclusion of ardour_ui.h from 16 files.
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-28prefer explicit cast over terseness.Robin Gareus
2015-04-22clean up GUI scalingRobin Gareus
2015-04-22Initial Gain Coefficient tweaksBen Loftis
1) Disambiguate 1.0 to GAIN_COEFF_UNITY, and 0.0 to GAIN_COEFF_ZERO 2) Add GAIN_COEFF_SMALL which replaces SMALL_SIGNAL (-140dB) 3) GAIN_COEFF_SMALL can used to avoid interpolating towards -inf on a db scale 4) GAIN_COEFF_SMALL is used to detect very small (denormal?) gains and memset to zero
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-01Move Timers/Timeouts from ARDOUR_UI into functions in timers.h and use ↵Tim Mayberry
PBD::Timers
2014-12-22move all (G)UI related configuration parameters into UIConfiguration, not ↵Paul Davis
RCConfiguration
2014-12-04Make gain controls step by roughly 1.0/0.1 dB.David Robillard
Shoot for roughly 30 steps for all controls. Always keep sensible step information in ParameterDescriptor and just convert for the UI. This is a little weird, but it's less weird than it was before, and works.
2014-11-14add abort() to non-reached codeRobin Gareus
This cleans up a lot of false-positives in static analysis and also helps compilers to optimize code paths in general. (tagging the fatal stingstream operator as ‘noreturn’ is far less trivial)
2014-11-01Slider Controller API ChangeRobin Gareus
Prepare to allow BarController (with Spinbutton) to translate internal/interface values for the SpinBox. (The change is irrelevant for the fader/slider itself which always use the [user-]interface value)
2014-10-28ugly hacks to make the peak display widget not act like a text entry widget. ↵Paul Davis
This should die.
2014-10-28Revert "change the peak display widget from Gtkmm2ext::FocusEntry to ↵Paul Davis
ArdourButton, since it is absolutely not editable." This reverts commit 58f7d02bf21776f7537ac16ae41646859dbca0b1. Conflicts: gtk2_ardour/default_ui_config.in gtk2_ardour/gain_meter.cc
2014-10-23Don't show meter-type menu for MIDI-only metersRobin Gareus
2014-10-21remove "canvasvar_" from all functions related to obtaining values from ↵Paul Davis
ARDOUR_UI::config()
2014-10-21set correct font for peak display buttonPaul Davis
2014-10-21change the peak display widget from Gtkmm2ext::FocusEntry to ArdourButton, ↵Paul Davis
since it is absolutely not editable. This adds a new button name and corresponding colors in default_ui_config which requires a theme reset
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-05gain-meter: use new PixFader APIRobin Gareus
2014-09-02compact meter+fader for > 6 channel tracksRobin Gareus
2014-09-02prepare Slider API cleanupRobin Gareus
2014-08-30fader+meter: update numeric display bg on style changeRobin Gareus
2014-08-27more flat_button refactoring. try centering the gain and peak displaysBen Loftis