summaryrefslogtreecommitdiff
path: root/gtk2_ardour/gain_meter.cc
AgeCommit message (Collapse)Author
2008-11-03meta-fy handling of button2, to deal with apple's messed up design ↵Paul Davis
decisions; on gtk/osx, button2 is (currently) Ctrl-Option-Button1 git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4087 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-05make RouteUI and its children and relations able to switch the Route/IO ↵Paul Davis
object they refer to (significant architectural changes) git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3869 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-06-27fix eternal valgrind complaint about GainMeter::_width not being ↵Paul Davis
initialized; make GainMeterBase derive from sigc::trackable so that its slots are disconnected from signals when it is deleted git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3500 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-06-23various minor fixes for crashes reported by nowhiskeyPaul Davis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3486 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-06-17some cleanups after the last commit/changesPaul Davis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3469 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-06-17refactor GainMeter so that it can used by RouteTimeAxisView, and thus bring ↵Paul Davis
automation display to editor track faders and more git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3468 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-04-08fix box packing error messagePaul Davis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3238 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-04-04Fix resetting of peak display and metersDoug McLain
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3214 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-04-04Integrate level meters into the mixerstrip gain meters for real this time. ↵Doug McLain
The LevelMeter class becomes a direct replacement for the meter_packer hbox, and all of its contents git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3213 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-03-21Undo 3160 for now. The canvas stops updating when the mixer is open (but ↵Doug McLain
only on one of 3 machines) so I obviously broke something git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3161 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-03-20build the meters in GainMeter from the LevelMeters class instead of doing it ↵Doug McLain
all over again git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3160 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-02-24Fixes for canvas and gain meter text not being scaled on startupDoug McLain
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3119 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-01-10Remove unused functionDoug McLain
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2859 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-01-04Create a better Narrow MixerStrip, and fix a bug where when enough routes ↵Doug McLain
are added, the meter draws right overtop of the fader belt git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2826 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-12-04remove debug outputDoug McLain
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2747 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-12-04Make level meter colors user definable. Base, Mid, Top, and Clip colors are ↵Doug McLain
defined, and a gradient from Base to Mid is created, then a gradient from Mid to Top is created, then solid Clip. Also fixed the theme manager bug of not saving settings since 2.1 or so git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2745 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-28add set loop/punch from edit-range; don't select track when propagating ↵Paul Davis
region list selection into tracks git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2723 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-28parametize modifier key usage; fix keyboard-driven sync point setting; add ↵Paul Davis
ladspa whitelist to allow subset of plugins to be shown (hardcoded for now, but to expanded in the future) git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2722 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-19Fix connect/disconnect of meter updating, and keep meters visible for now, ↵Doug McLain
to get some feedback as to which is better git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2699 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-19more fixes for toggling on/off of the metersDoug McLain
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2695 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-18Remove debug output and move meter option to root menu for nowDoug McLain
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2693 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-18More fixing on the toggling on/off of the track metersDoug McLain
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2692 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-18Make meters stay off when they are supposed to beDoug McLain
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2691 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-17Level meters added to editor tracks, smaller and aboveDoug McLain
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2690 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-20changes for OSX/SAEPaul Davis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2475 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-11add SRC quality to import dialog; fix instances of missing waveforms where ↵Paul Davis
new sources are created; add fader+meter to import dialog; metering now doesn't return -inf for ninputs == 0, only if ninputs & noutputs == 0 git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2457 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-06more fixups for the gain meter metricsDoug McLain
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2426 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-05fix gain meter coming up as solid fg colorDoug McLain
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2420 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-08-03tiny details for 2.0.5 (fixup)Paul Davis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2231 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-08-03fixes to theme font issues, tweaks etc. still needs verification on the ↵Jesse Chappell
linux end. git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2230 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-07-05New theme manager from trunk, backported to 2.0-ongoingDoug McLain
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2110 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-04-04Removed unused variable (current_user_level) from FastMeter.Taybin Rutkin
git-svn-id: svn://localhost/ardour2/trunk@1664 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-03-13fix panner visual corruption bug #1213; more consistent naming for ↵Paul Davis
automation states; carl's wheel-3 patch git-svn-id: svn://localhost/ardour2/trunk@1581 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-03-12fix errors in prior fix for excessive CPU when drawing rec rectsPaul Davis
git-svn-id: svn://localhost/ardour2/trunk@1577 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-03-12fixes from Carl H for a couple of bugletsPaul Davis
git-svn-id: svn://localhost/ardour2/trunk@1575 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-02-27fix #1394 - The 'narrow strip' option in the mixer does not take extra width ↵Paul Davis
into account; involved some nice cleanup of width handling in mixer strips etc. git-svn-id: svn://localhost/ardour2/trunk@1526 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-02-22remove all lines to avoid recompiles after commitsPaul Davis
git-svn-id: svn://localhost/ardour2/trunk@1488 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-02-08Switched from GdkWindow::get_geometry() to get_size() as suggested by the ↵Taybin Rutkin
gtkmm documentation. get_size() is better supported and faster too. git-svn-id: svn://localhost/ardour2/trunk@1435 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-01-17Make meter gain entry lose focus after enter is pressed.Sampo Savolainen
git-svn-id: svn://localhost/ardour2/trunk@1350 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-01-03* added max peak hold state to IO so that the true held peaks can be displayedJesse Chappell
in the numeric field in the gui. * returned meter falloff to proper slower speeds git-svn-id: svn://localhost/ardour2/trunk@1265 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-12-20reconstruct and use global state commands (mute/solo/rec-enable/meter point)Paul Davis
git-svn-id: svn://localhost/ardour2/trunk@1235 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-11-30frame for fader belt; better focus behaviour for gain display text entry ↵Paul Davis
(generalized) git-svn-id: svn://localhost/ardour2/trunk@1171 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-11-27many small changes, see ardour-dev for morePaul Davis
git-svn-id: svn://localhost/ardour2/trunk@1160 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-11-21"treadmill" design for new fadersPaul Davis
git-svn-id: svn://localhost/ardour2/trunk@1150 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-11-21new fader design from thorwil, mostlyPaul Davis
git-svn-id: svn://localhost/ardour2/trunk@1149 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-09-25the BIG CONFIG patchPaul Davis
git-svn-id: svn://localhost/ardour2/trunk@926 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-30** requires svn jack ** Hardware monitoring should work, some canvas ↵Nick Mainsbridge
scrolling speed improvement, don't disconcertingly churn the disk if jack auto-start fails, mixer visibility state is saved per session, slow down meters a bit (too much?), zoom cleanups, remove some unused variables, use rwlock for tempo state for no reason other than that it might be useful one day, fix compiler warning. git-svn-id: svn://localhost/ardour2/trunk@873 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-07-27added RCU handling of Session route list, and major use of shared_ptr<T> ↵Paul Davis
everywhere else. plus a few bug fixes for issues discovered with -Wextra git-svn-id: svn://localhost/ardour2/trunk@707 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-07-07id_t becomes a fully-fledged object, UUID's used for IDs, generic MIDI now ↵Paul Davis
owns bindings, MIDI binding concept removed from libardour itself in favor of generic Controllables git-svn-id: svn://localhost/ardour2/trunk@669 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-06-21the return of VST supportPaul Davis
git-svn-id: svn://localhost/ardour2/trunk@629 d708f5d6-7413-0410-9779-e7cbd77b26cf