Commit Graph

99 Commits

Author SHA1 Message Date
Robin Gareus 2561b98f8a Move shuttle/speed text outsize 2016-12-19 22:11:53 +01:00
Robin Gareus a631706059 Rework shuttle control display 2016-12-17 02:43:42 +01:00
Robin Gareus 994df3aaa3 improve shuttle control response when grabbed. 2016-07-25 19:43:57 +02:00
Robin Gareus 822810b88f the endless quest to plug memory leaks -- episode 379 2016-07-25 17:38:59 +02:00
Paul Davis cf52d6e4b4 enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.h 2016-07-14 14:45:23 -04:00
Paul Davis 3d5491d0d0 show ShuttleControl GUI some love.
now uses Pango, not Cairo, for text rendering
2016-06-13 17:26:02 -04:00
Paul Davis 9e3299f97d change Controllable::set_value() API to include grouped control consideration.
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
2016-01-02 04:58:30 -05:00
Robin Gareus 22b07e0233 NOOP, remove trailing tabs/whitespace. 2015-10-05 16:17:49 +02:00
Tim Mayberry 1d42ed077e Use ARDOUR_UI_UTILS::set_tooltip rather than via ARDOUR_UI::set_tip
This removes the direct dependence on ARDOUR_UI/Gtk_UI for setting
tooltips. Removes inclusion of ardour_ui.h from 16 files.
2015-09-16 16:55:17 -04: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
Robin Gareus ad4ae3df85 Add 100% shuttle controls option - closes #6537 2015-08-22 04:32:14 +02:00
Robin Gareus 2a5694652f remember max shuttle-speed 2015-06-29 18:57:51 +02:00
John Emmas 32924aa7b8 When using the Editor's Shuttle control, stop any shuttling by calling 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-06-22 16:08:46 +01:00
Robin Gareus 06bea13b7c increase shuttle speed display granularity. 2015-03-10 11:00:53 +01:00
Robin Gareus 2d20bcab4a dramatically reduce ShuttleControl CPU usage 2015-03-10 10:53:56 +01:00
Robin Gareus 2e82aa2743 clean up and refine shuttle control rendering. 2015-03-10 03:49:00 +01:00
Robin Gareus 23762ed225 circles and circles and circles, again my friend
escape the cairo vicious circle, fixes varispeed playback
& major CPU hog on OSX.
2015-03-10 02:48:14 +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 ba4d1cd1c1 remove "canvasvar_" from all functions related to obtaining values from ARDOUR_UI::config() 2014-10-21 22:58:58 -04:00
Robin Gareus ab44e41dfd change the meters into CairoWidget, add expose_area to CairoWidget::render() 2014-03-20 23:50:40 +01:00
Paul Davis e1b0f1bd0b merge with master 2013-05-04 22:41:10 -04:00
Paul Davis 40944574c6 the big rework of window management. probably not complete at thsi point, but this is mostly functional 2013-05-04 22:02:05 -04:00
Paul Davis 96eee9e7a1 change UIConfig to use accessor/setter methods like RCConfig so that ParameterChanged methods can actually be emitted; add variable (over a small range) background shading for all TimeAxisViewItems 2013-04-16 23:46:22 -04:00
Paul Davis 9fc7eb1f0d remove incorrect #includes of <cairo/cairo.h> and replace with <cairo.h> 2013-03-29 20:36:11 -04:00
Paul Davis 5adcb61f60 a few small fixes that help pitchbend control of things, notably the shuttle 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
2013-01-17 14:48:17 +00:00
Robin Gareus f2d27bb513 address #5236 - Varispeed 'spring' retains speed. temp fix
git-svn-id: svn://localhost/ardour2/branches/3.0@13748 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-30 21:50:08 +00:00
Robin Gareus 19be6f4886 fix #5233 - Varispeed is not draggable when tooltips are disabled
git-svn-id: svn://localhost/ardour2/branches/3.0@13745 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-30 19:52:46 +00:00
Ben Loftis 27bfb0f9e2 new look for transport shuttle box. still operates brokenly though
git-svn-id: svn://localhost/ardour2/branches/3.0@13609 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-06 19:09:16 +00:00
Paul Davis 6b06923a5d shift-click on shuttle controller in wheel mode resets it to 1.0 (100%) (#4994)
git-svn-id: svn://localhost/ardour2/branches/3.0@13000 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-09 19:51:09 +00:00
Paul Davis c0f7f044f3 introduce the idea of a "default transport speed", used whenever 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-22 14:45:44 +00:00
Paul Davis 8c10320497 fix reset of transport speed when seamless looping; add a few comments and tidy-ups to related transport code
git-svn-id: svn://localhost/ardour2/branches/3.0@12818 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-22 14:27:51 +00:00
Paul Davis 4235e9a1a2 a variety of mostly unused parameter errors from OS X Lion's compiler
git-svn-id: svn://localhost/ardour2/branches/3.0@12148 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-02 20:29:46 +00:00
Paul Davis ec1ef5d6b5 remove the apparently unnecessary "ui_bind()" macro from entire source base
git-svn-id: svn://localhost/ardour2/branches/3.0@12088 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-25 12:58:19 +00:00
Paul Davis 4085309cdb make Stateful::_id private and provide appropriate methods to set it, and use them throughout ardour
git-svn-id: svn://localhost/ardour2/branches/3.0@10222 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-18 13:18:47 +00:00
Paul Davis 0938a42440 fixes for 98% of all the warnings/errors reported by OS X gcc on tiger
git-svn-id: svn://localhost/ardour2/branches/3.0@10179 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-30 17:55:14 +00:00
Paul Davis e6a515578e shuttle control: make scroll events step by precisely 1 of the current units
git-svn-id: svn://localhost/ardour2/branches/3.0@9801 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-07 16:49:10 +00:00
David Robillard ed626628b5 Delete trailing whitespace
git-svn-id: svn://localhost/ardour2/branches/3.0@9656 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-01 17:00:29 +00:00
David Robillard 297a51b715 Make shuttle colour a configuration option.
Make default shuttle colour match clock text green.

This is a bit odd, since it is a "canvas variable", except not... all the other colours are in this section though.  Maybe they're more appropriately named "colours", but it's too late for that now, or maybe this option belongs elsewhere, but when we need new mechanism for that...


git-svn-id: svn://localhost/ardour2/branches/3.0@9553 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-18 05:32:41 +00:00
David Robillard 7c7afd08b9 Fix indentation.
git-svn-id: svn://localhost/ardour2/branches/3.0@9552 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-18 05:09:07 +00:00
Carl Hetherington d0bb7df866 Return shuttle speed to previous value on release after sprung grab (#4039).
git-svn-id: svn://localhost/ardour2/branches/3.0@9506 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-13 17:25:02 +00:00
Carl Hetherington 110311e186 Re-fix compile failure with --no-nls (#3111).
git-svn-id: svn://localhost/ardour2/branches/3.0@9415 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-23 03:34:42 +00:00
Paul Davis 35a966c824 fix up fwd/reverse stuff in semitone mode
git-svn-id: svn://localhost/ardour2/branches/3.0@9407 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-22 16:18:51 +00:00
Paul Davis 12bb5b6207 fix height of shuttle control marker line
git-svn-id: svn://localhost/ardour2/branches/3.0@9405 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-21 22:10:38 +00:00
Paul Davis 509cd57c74 hopefully fix up shuttle operation in semitones mode
git-svn-id: svn://localhost/ardour2/branches/3.0@9404 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-21 21:49:47 +00:00
Paul Davis 80e9eb09dd several tweaks/fixes to the shuttle control
git-svn-id: svn://localhost/ardour2/branches/3.0@9395 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-20 22:53:41 +00:00
Paul Davis 458db0525c reinstate MIDI binding for shuttle controller
git-svn-id: svn://localhost/ardour2/branches/3.0@9394 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-20 05:07:41 +00:00
Paul Davis 718b2eab67 factor out shuttle controller to its own class, new design
git-svn-id: svn://localhost/ardour2/branches/3.0@9391 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-20 02:48:20 +00:00