summaryrefslogtreecommitdiff
path: root/gtk2_ardour/meter_strip.cc
AgeCommit message (Collapse)Author
2020-04-10Synchronize meter-reset #7465Robin Gareus
Queue reset to be handled when the meter is updated. Also only call set_name(), set_active_state() when the state changes.
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-10Initialize some uninitialized varsRobin Gareus
This fixes meterbridge type changes, due to uninitialized _suspend_menu_callbacks.
2019-06-09NO-OP: whitespace and commentsRobin 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-03-08Reduce #includes - avoid ardour_ui.hRobin Gareus
2019-03-07Fix some Gtk::Menu memory leaksRobin Gareus
A Gtk::manage()d widget will be deleted when its parent container is destroyed. Top-level context menus are not inside a container and hence need to be manually deallocated. The solution here is to use a shared Gtk::Menu pointer that is centrally de/re-allocated. This works because the GUI is single-threaded and at most one context menu is visible at a time.
2019-03-07Prefer using RAII to suspend signalsRobin Gareus
2018-10-26Wimplicit-fallthrough fixes for gtk-ardourRobin Gareus
2017-11-23NO-OP: cleaner syntaxRobin Gareus
2017-09-14Fix various tooltip markup (ampersand) entity-escape:5.12Robin Gareus
* track/port names * plugin-names * MIDI patch-names
2017-07-17Separate Ardour UI widgets into dedicated libraryRobin Gareus
2017-04-19Use PBD::to_string from pbd/string_convert.h in MeterStrip classTim Mayberry
The numeric formatting is equivalent. The string is being used in a label so it could be argued that we want localized numeric formatting in this case, but as it is only relevant if we have >=1000 meter strip keep it the same for now.
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-07-14enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.hPaul Davis
2016-07-06many changes associated with rationalizing selection flowPaul Davis
2016-06-05RouteUI connects to Route's PropertyChange signal; derived types implement ↵Paul Davis
route_property_changed()
2016-06-05RouteUI is now also derived from SessionHandlePtr but NOT AxisView. Fix ↵Paul Davis
initialization. Only "most derived" classes can initialize virtual base classes (SessionHandlePtr)
2016-06-05change AxisView color API to be virtual and implement per-type variantsPaul Davis
2016-05-31first vaguely working version using PresentationInfoPaul Davis
remote control ID and "order keys" have been removed.
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
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-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-04-05add context to single-letter translatableRobin Gareus
2015-04-01make MeterStrip::state_id() safe against null _route memberPaul Davis
2015-03-11NOOP, add a missing ‘p’Robin Gareus
2015-01-07fix meter bridge window size issuesRobin Gareus
* no more OSX liveloop (window size < min size) * properly set min window size * re-layout metric areas when label height changes * remove ‘smart’ auto-resize (when tracks are added/removed) (it wasn’t smart enough to work on all WMs)
2014-12-22move all (G)UI related configuration parameters into UIConfiguration, not ↵Paul Davis
RCConfiguration
2014-10-23show meter-bridge context-menu on mouse-downRobin Gareus
2014-10-23Don't show meter-type menu for MIDI-only metersRobin Gareus
2014-09-06fundamentally change ArdourButton PangoLayout handlingRobin Gareus
This fixes issues where button text was set during static initialization where the widget style was not yet available, and a lot of related issues where the text was set before style.
2014-09-05increase fixed button sizes on meterbridgeRobin Gareus
2014-09-02use new 'special' rec-en buttonRobin Gareus
2014-08-29mark "Label Buttons" as inactiveRobin Gareus
2014-08-29amend 7be3c88a, update rec-en colorRobin Gareus
2014-08-29experiment with unicode circle for rec-enRobin Gareus
fixes button-area width mismatch on track-headers except for tape-tracks (which till use old fixed size icon)
2014-08-28use 2 digit width as minium for track number labelsRobin Gareus
2014-08-22Rationalize ArdourButton and lots of associated theming issues.Ben Loftis
ArdourButtons now have a "pushed" animation. The gradient is now implemented in the button, rather than providing 2 colors in the theme, which was burdensome. Lots of code cleanup in ArdourButton. Removed several unnecessary flags. Refactor more stuff into route_ui.
2014-06-28fix meterbridge: load button image only once.Robin Gareus
2014-06-26fix meterbridge height issues when config changesRobin Gareus
2014-06-26fix meter-strip session/route-ui eventsRobin Gareus
2014-06-26show track-number in GUIRobin Gareus
2014-06-25move utility functions into a dedicated namespaceRobin Gareus
2014-05-23meterbridge: don't include disk/input buttons on busses; fixes #5935Robin Gareus