summaryrefslogtreecommitdiff
path: root/gtk2_ardour/shuttle_control.cc
AgeCommit message (Collapse)Author
2020-04-28remove unnecessary call to set_colors()Paul Davis
This call also happens before colors are even defined
2019-12-14add safety tests inside ShuttleControl to deal with _session == 0Paul Davis
2019-09-17parametize the maximum transport speed.Paul Davis
No GUI to adjust this at this, nor is any planned. This just makes it easier if we ever feel we can change this.
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-03-07Fix some Gtk::Menu related 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. This adds explicit delete calls for menus where there is a member variable reference to the Menu.
2019-03-07Remove cruft: unused membersRobin Gareus
2017-10-29Quick hack to test engine vari-speed (2/2)Robin Gareus
2017-07-17Clean up library inheritance (colors.h, utils.h)Robin Gareus
make libwidget independent of libcanvas. Confine basics to pbd and gtkmm2ext.
2017-07-17Remove unused sources & includesRobin Gareus
2017-07-17Separate Ardour UI widgets into dedicated libraryRobin Gareus
2017-03-20Towards a consistent render() API.Robin Gareus
This fixes an -Woverloaded-virtual ambiguity introduced in b5e613d45 void render (cairo_t*, cairo_rectagle*) void render (Cairo::RefPtr<Cairo::Context> const&, cairo_rectangle_t*) ArdourCanvas prefers cairomm and CairoWidget itself uses Cairo::Context, this improves overall API consistency.
2017-03-16consolidate context-menu popup methodsRobin Gareus
2016-12-31Fix flat buttons for the shuttle-ctrlRobin Gareus
2016-12-19Move shuttle/speed text outsizeRobin Gareus
2016-12-17Rework shuttle control displayRobin Gareus
2016-07-25improve shuttle control response when grabbed.Robin Gareus
2016-07-25the endless quest to plug memory leaks -- episode 379Robin Gareus
2016-07-14enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.hPaul Davis
2016-06-13show ShuttleControl GUI some love.Paul Davis
now uses Pango, not Cairo, for text rendering
2016-01-02change Controllable::set_value() API to include grouped control consideration.Paul Davis
This also removes Route::group_gain_control() and associated machinery. Not yet tested with Mackie or other surfaces. More work to done to start using the group capabilities, and also potentially to add or derive more controls as RouteAutomationControls
2015-10-05NOOP, remove trailing tabs/whitespace.Robin Gareus
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-08-22Add 100% shuttle controls option - closes #6537Robin Gareus
2015-06-29remember max shuttle-speedRobin Gareus
2015-06-22When using the Editor's Shuttle control, stop any shuttling by calling ↵John Emmas
Session::request_stop() Previously we were using a convoluted scheme of firstly setting the transport speed to 1.0, then later re-setting it to 0.0. On Windows this was having some strange side-effects (such as leaving the transport in Play mode and/or resetting the timeline to zero timecode). Hopefully this change will also work for the other platforms.
2015-03-10increase shuttle speed display granularity.Robin Gareus
2015-03-10dramatically reduce ShuttleControl CPU usageRobin Gareus
2015-03-10clean up and refine shuttle control rendering.Robin Gareus
2015-03-10circles and circles and circles, again my friendRobin Gareus
escape the cairo vicious circle, fixes varispeed playback & major CPU hog on OSX.
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-10-21remove "canvasvar_" from all functions related to obtaining values from ↵Paul Davis
ARDOUR_UI::config()
2014-03-20change the meters into CairoWidget, add expose_area to CairoWidget::render()Robin Gareus
2013-05-04merge with masterPaul Davis
2013-05-04the big rework of window management. probably not complete at thsi point, ↵Paul Davis
but this is mostly functional
2013-04-16change UIConfig to use accessor/setter methods like RCConfig so that ↵Paul Davis
ParameterChanged methods can actually be emitted; add variable (over a small range) background shading for all TimeAxisViewItems
2013-03-29remove incorrect #includes of <cairo/cairo.h> and replace with <cairo.h>Paul Davis
2013-01-17a few small fixes that help pitchbend control of things, notably the shuttle ↵Paul Davis
controller. but note that basically, teh shuttle controller is completely and hopelessly broken through excess complexity and incorrect design git-svn-id: svn://localhost/ardour2/branches/3.0@13870 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-30address #5236 - Varispeed 'spring' retains speed. temp fixRobin Gareus
git-svn-id: svn://localhost/ardour2/branches/3.0@13748 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-30fix #5233 - Varispeed is not draggable when tooltips are disabledRobin Gareus
git-svn-id: svn://localhost/ardour2/branches/3.0@13745 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-06new look for transport shuttle box. still operates brokenly thoughBen Loftis
git-svn-id: svn://localhost/ardour2/branches/3.0@13609 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-09shift-click on shuttle controller in wheel mode resets it to 1.0 (100%) (#4994)Paul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@13000 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-22introduce the idea of a "default transport speed", used whenever ↵Paul Davis
Session::start_transport() is called. Only the shuttle controller alters it, and even that only alters it in wheel mode, which means that stopping the transport does not rever the default speed back to zero. To get back to zero either switch the shuttle controller back to sprung mode, or change the speed back to zero (fixes #451 ... yes, really, a 3 digit bug fixed!) git-svn-id: svn://localhost/ardour2/branches/3.0@12819 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-22fix reset of transport speed when seamless looping; add a few comments and ↵Paul Davis
tidy-ups to related transport code git-svn-id: svn://localhost/ardour2/branches/3.0@12818 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-02a variety of mostly unused parameter errors from OS X Lion's compilerPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@12148 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-25remove the apparently unnecessary "ui_bind()" macro from entire source basePaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@12088 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-18make Stateful::_id private and provide appropriate methods to set it, and ↵Paul Davis
use them throughout ardour git-svn-id: svn://localhost/ardour2/branches/3.0@10222 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-30fixes for 98% of all the warnings/errors reported by OS X gcc on tigerPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@10179 d708f5d6-7413-0410-9779-e7cbd77b26cf