summaryrefslogtreecommitdiff
path: root/gtk2_ardour/gain_meter.cc
AgeCommit message (Collapse)Author
2017-11-03Fix scroll-wheel on mixer-slidersRobin Gareus
74c986534b changes the semantics of fader-flags: NoVerticalScroll was "ignore vertical scroll for horizontal faders". Now the flag ignores all vertical scrolling.
2017-09-18globally change all use of "frame" to refer to audio into "sample".Paul Davis
Generated by tools/f2s. Some hand-editing will be required in a few places to fix up comments related to timecode and video in order to keep the legible
2017-09-18GUI support for LatchRobin Gareus
2017-07-24Remove unused "mark" parameter from stop_touch() APIRobin Gareus
2017-07-21Amend c242cbc31806 (VCA automation button)Robin Gareus
2017-07-17Remove <gtkmm.h> include from header files.Robin Gareus
2017-07-17Move Gtkmm2ext widgets into libwidgetRobin Gareus
2017-07-17Separate Ardour UI widgets into dedicated libraryRobin Gareus
2017-07-16Remove Timers to watch Controllable valuesRobin Gareus
Depend on Changed() signals alone, which are usually much less frequent than rapid-timer events. As side-effect we now need to make the widgets insensitive when playing automation. Previously the user could not change the value because the Timer periodically reset it.
2017-06-21Switch to PBD control-math and prefer Controllable APIRobin Gareus
Note: Control-surfaces should always use interface_to_internal() and internal_to_interface().
2017-06-21Remove Cruft -- AutomationStyle never did anything.Robin Gareus
Trim automation is planned via SlavableAC as normal AutomationMode. Some of this code have a revival (a special "Trim+Preview" state before merging Automation but that has to be more general than Pan & Gain.
2017-03-24Revert "consistent use of context-menu popups"Robin Gareus
This reverts commit b3722f7063699fafd0421d504e05a7300c70e0ec. In some cases ardour shows context-menu on right-mouse-button release. In this case selecting a menu-entry should happen with the left-mouse button (or any button?!) Using ev->button is only correct if the menu is temporary and only visible while the button is held, button release then activates the menu-item. This needs further work, in some cases allowing any button (0) to work makes sense and overall consistency needs to be improved. Different places use different strategies for context-menus which don't always match the button used in the event-handler. This is a hotfix (to make TAV context menus work again with left-click)
2017-03-23Disallow Selection, context-menu & drag-start on peak-display ButtonRobin Gareus
2017-03-16consistent use of context-menu popupsRobin Gareus
2017-03-11Fader Group override (allow to enable on disabled groups/predicates)Robin Gareus
2017-02-24Snap-back fader on release (follow-up to e8cebac6a36a)Robin Gareus
When dragging a fader out-of-bounds (VCA slave constraint), move it back on release.
2017-02-24Group-override for fadersRobin Gareus
Tentative solution. Eventually the gain_adjustment should be moved into the PixFader or SliderController and a dedicated API should replace gain_adjustment.signal_value_changed()
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_...()
2017-01-24styleguide #6Robin Gareus
2017-01-24Meter point toggle button now uses a popup menu instead of togglingDaniel Sheeler
2016-12-21Fix crash when resetting all peak-meters with VCAs.Robin Gareus
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