summaryrefslogtreecommitdiff
path: root/gtk2_ardour/panner_ui.cc
AgeCommit message (Collapse)Author
2011-01-07more cleanups of PannerUI, add start/end gesture support to mono pannerPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@8478 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-07rip more useless junk out of PannerUI, and check that automation playback ↵Paul Davis
works for the mono panner git-svn-id: svn://localhost/ardour2/branches/3.0@8477 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-07remove a bunch of junk from panner_ui (at least, it seems like junk)Paul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@8475 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-07new mono panner widget; make stereo panner respond to changes in colors ↵Paul Davis
immediately git-svn-id: svn://localhost/ardour2/branches/3.0@8474 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-30force reset of panner UI when panner object changesPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@8389 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-01hack up the stereo pannerPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@8140 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-30first basic pass at a single widget stereo pannerPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@8135 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-30start of Blob-style for bar controller and use in panner GUIPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@8133 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-30make position fader a "line" style rather than barPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@8132 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-30add GUI elements to control 2in/2out panning. Probably not perfect. REQUIRES ↵Paul Davis
FULL COMPILE due to waf bug (bug has been located but not fixed) git-svn-id: svn://localhost/ardour2/branches/3.0@8130 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-26one step closer to working vbap panningPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@8091 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-26Somewhat distasteful hack to fix #3469 (broken keyboard-entry of pan values)Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@8090 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-19Fix crash on updating route IOs, and clean up confusing method names slightly.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@8058 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-19forward port automation handling changes from 2.x, upto and including about ↵Paul Davis
rev 6981 (will need full testing in the 3.X context). as on 2.x, this removes real-time visual updates to automation curves during write/touch automation recording git-svn-id: svn://localhost/ardour2/branches/3.0@7653 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-05-31remove almost-unusued stop_signal.h and clean up the one (unused) place ↵Paul Davis
where it was present (VisualTimeAxis, not used in current ardour) git-svn-id: svn://localhost/ardour2/branches/3.0@7196 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-05-02Various fixes to multiple-2D panner signal handling. Should fix some or all ↵Carl Hetherington
of #1632. git-svn-id: svn://localhost/ardour2/branches/3.0@7037 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-27Some dead code removal and const fixes. Also fix #2361: incorrect ↵Carl Hetherington
sensitivity of pan linkage buttons. git-svn-id: svn://localhost/ardour2/branches/3.0@7007 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-17Rename panner member to twod_panner to avoid having _panner and panner ↵Carl Hetherington
member variables in the same class. Be sure to reconnect everything dropped at the top of set_panner() (fixes #3066) git-svn-id: svn://localhost/ardour2/branches/3.0@6925 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-10Fix pan updates for routes with single panners. Fixes #3066.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@6880 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-30handle deletion of UI objects between the time that a callback is queued ↵Paul Davis
with the UI event loop and the execution of the callback (intrusive, big) git-svn-id: svn://localhost/ardour2/branches/3.0@6807 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-09Add keyboard shortcut to tooltip text where possible.David Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@6657 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-07Fix pan value update so that modifier-click on the panner correctly returns ↵Carl Hetherington
to centre. git-svn-id: svn://localhost/ardour2/branches/3.0@6643 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-22Fix crash when going from >2 outputs (2D panner) to <= 2 outputs.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@6380 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-21fully implement and deploy explicit x-thread signal connection syntax ↵Paul Davis
(testing comes next) git-svn-id: svn://localhost/ardour2/branches/3.0@6379 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-19use new syntax for connecting to backend signals that enforces explicit ↵Paul Davis
connection scope, plus a few other related matters git-svn-id: svn://localhost/ardour2/branches/3.0@6376 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-17switch to using boost::signals2 instead of sigc++, at least for libardour. ↵Paul Davis
not finished yet, but compiles, loads sessions, records and can close a session without a crash git-svn-id: svn://localhost/ardour2/branches/3.0@6372 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-12remove using namespace sigc everywhere to ensure clarity over which ↵Paul Davis
bind/mem_fun is being used; make Config::map_parameters take a boost::function rather than a sigc::slot ; continue debugging crash caused by regionviews not tracking their Region's lifetime git-svn-id: svn://localhost/ardour2/branches/3.0@6357 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-11make all use of bind/mem_fun be explicitly sigc:: Paul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@6354 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-28Remove what I believe are erroneous set_size_request calls in the panner UI. ↵Carl Hetherington
This stops the panner box taking up more space than it needs. git-svn-id: svn://localhost/ardour2/branches/3.0@6204 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-17Tiny optimisation.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@6104 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-17Panner2d::reset takes the number of inputs (== number of pans), not the ↵Carl Hetherington
number of outputs. git-svn-id: svn://localhost/ardour2/branches/3.0@6103 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-19Add mono switch to mixer strips (mantis 1068)Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@5797 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-15Part 1 of loading 2.X sessions; some things work, some things don't, hacks ↵Carl Hetherington
a-plenty. LOADING 2.X SESSIONS WITH THIS COMMIT IN PLACE WILL (PROBABLY) CORRUPT THE .ardour FILE, MAKING THE SESSION UNLOADABLE ON 2.X AND LOSING INFORMATION. So don't do that unless you make a backup of the session file first. git-svn-id: svn://localhost/ardour2/branches/3.0@5786 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-14Fix assertion failure when switching from a 2-channel to 1-channel route ↵Carl Hetherington
with the editor mixer open. git-svn-id: svn://localhost/ardour2/branches/3.0@5785 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-14Strip trailing whitespace and fix other whitespace errors (e.g. space/tab ↵David Robillard
mixing). Whitespace changes only. Vimmers, try let c_space_errors = 1 in your .vimrc to highlight this kind of stuff in red. I don't know the emacs equivalent... git-svn-id: svn://localhost/ardour2/branches/3.0@5773 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-06Fix some compiler warnings.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@5746 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-30Don't setup panner UI unless it has changed.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@5606 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-21Fix some unused parameter warnings.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@5403 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-10support scrubbing via new Drag abstraction (probably could be split off 100% ↵Paul Davis
from Editor) git-svn-id: svn://localhost/ardour2/branches/3.0@5152 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-09the big Route structure refactor. !!!! THIS WILL ***NOT LOAD*** PRIOR 3.0 ↵Paul Davis
or 2.X SESSIONS !!!! BREAKAGE IS EXPECTED !!!! IF YOU HAVE AND NEED A WORKING 3.0 DO **NOT** UPDATE. !!!! otherwise, update and enjoy the steadily emerging joys of this major reworking of ardour internals git-svn-id: svn://localhost/ardour2/branches/3.0@5137 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-20Make pan double-click entry work in percentage left or right. Write pan ↵Carl Hetherington
position to the panner as text (except when centered). Use a virtual function rather than a signal for BarController labels. git-svn-id: svn://localhost/ardour2/branches/3.0@5104 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-1775% (?) of the way towards making mixer strips control bus sends. lots more ↵Paul Davis
to do git-svn-id: svn://localhost/ardour2/branches/3.0@5090 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-12Remove most using declarations from header files.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@5069 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-07The great audio processing overhaul.David Robillard
The vast majority of Route signal processing is now simply in the list of processors. There are definitely regressions here, but there's also a lot of things fixed. It's far too much work to let diverge anymore regardless, so here it is. The basic model is: A route has a fixed set of input channels (matching its JACK input ports and diskstream). The first processor takes this as input. The next processor is configured using the first processor's output as input, and is allowed to choose whatever output it wants given that input... and so on, and so on. Finally, the last processor's requested output is used to set up the panner and create whatever Jack ports are needed to output the data. All 'special' internal processors (meter, fader, amp, insert, send) are currently transparent: they read any input, and return the same set of channels back (unmodified, except for amp). User visible changes: * LV2 Instrument support (tracks with both MIDI and audio channels) * MIDI in/out plugin support * Generic plugin replication (for MIDI plugins, MIDI/audio plugins) * Movable meter point Known Bugs: * Things seem to get weird on loaded sessions * Output delivery is sketchy * 2.0 session loading was probably already broken... but it's definitely broken now :) Please test this and file bugs if you have any time... git-svn-id: svn://localhost/ardour2/branches/3.0@5055 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-30implement panner reset functionality (missing since 0.99?) ported from 2.XPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@5015 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-25*** NEW CODING POLICY ***David Robillard
All #include statements that include a header that is a part of a library bundled with ardour MUST use quotes, not angle brackets. Do this: #include "ardour/types.h" NOT this: #include <ardour/types.h> Rationale: This is best practice in general, to ensure we include the local version and not the system version. That quotes mean "local" (in some sense) and angle brackets mean "system" (in some sense) is a ubiquitous convention and IIRC right in the C spec somewhere. More pragmatically, this is required by (my) waf (stuff) for dependencies to work correctly. That is: !!! FAILURE TO DO THIS CAN RESULT IN BROKEN BUILDS !!! Failure to comply is punishable by death by torture. :) P.S. It's not that dramatic in all cases, but this (in combination with some GCC flags specific to the include type) is the best way I have found to be absolutely 100% positive the local ones are being used (and we definitely want to be absolutely 100% positive on that one). git-svn-id: svn://localhost/ardour2/branches/3.0@4655 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-12-18Remove unnecessary 0 checks before delete; see ↵Carl Hetherington
http://www.parashift.com/c++-faq-lite/freestore-mgmt.html#faq-16.8 Apologies for the big commit. git-svn-id: svn://localhost/ardour2/branches/3.0@4332 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-12-13new 2d panner GUI, implemented originally in a branch of 2.0-ongoing at ↵Paul Davis
LAC2009; unfinished work, but the basis for 2d panning in 3.0 git-svn-id: svn://localhost/ardour2/branches/3.0@4319 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-12-12most of the 2.X->3.0 commit (up to rev 4299) except for ↵Paul Davis
gtk2_ardour/editor_canvas.cc; builds and runs and does a few specific things but expect it to be buggy for a while yet git-svn-id: svn://localhost/ardour2/branches/3.0@4313 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-12-08partial patch/partial by-hand merge of 2.X commits 3169&3170 to 3.X codebasePaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@4300 d708f5d6-7413-0410-9779-e7cbd77b26cf