summaryrefslogtreecommitdiff
path: root/gtk2_ardour/ardour_button.cc
AgeCommit message (Collapse)Author
2012-02-07remove additional "mid" color from ArdourButton; replace Active/Mid widget ↵Paul Davis
state with ExplicitActive/ImplicitActive; represent implicit-active state with colored border around ArdourButton; tune button colors; new rounded_foo() functions, some in use, some not in use right now git-svn-id: svn://localhost/ardour2/branches/3.0@11466 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-02-06tweak "joined" buttons to have no border colorPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@11460 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-02-03allow specification (partially) of which corners of an ArdourButton are roundedPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@11435 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-18make monitor section an optional feature than can be added/removed as ↵Paul Davis
needed. this is a big commit, and breakage is possible. it has been moderately tested. this commit also locks the remote control ID of the master bus to 318 and the monitor section (if any) to 319. the numbers are based on MIDI Machine Control limits git-svn-id: svn://localhost/ardour2/branches/3.0@11256 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-11Set up ArdourButton state to match the action when theCarl Hetherington
action is attached. Fixes #4523. git-svn-id: svn://localhost/ardour2/branches/3.0@10979 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-24Fix key bindings in tooltips for ArdourButton buttons.David Robillard
Sinced gtkmm2ext needs to get at the actions of widgets, I moved the action to Gtkmm2ext::Activatable. Not sure if the wisest thing to do here would be to use Gtkmm::Activatable, but figured there's a reason Paul didn't do so (the name set_related_action is from there so presumably it's known about), so this is the simplest change that allows access to the action in Gtkmm2ext. The vfunc calling stuff should probably move there as well... git-svn-id: svn://localhost/ardour2/branches/3.0@10818 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-18don't cache width & height for CairoWidget; provide option for all ↵Paul Davis
CairoWidgets to not draw their backgrounds; provide a static method to allow any (Container, probably) widget to provide background color to a CairoWidget without the requirement that it have its own window; remove existing cursor from clocks; clock text no longer has background attribute set, to correct a mistake in my understanding of pango attributes git-svn-id: svn://localhost/ardour2/branches/3.0@10673 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-17all new implementation of audio clocks, with entirely new editing model. not ↵Paul Davis
entirely finished, but lookable, and usable git-svn-id: svn://localhost/ardour2/branches/3.0@10662 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-16remove debugging outputPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@10637 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-15some button color debuggingPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@10633 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-11fix missing initializerPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@10553 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-11extra track header buttons are now ArdourButtonsPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@10550 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-10ardour-button-ize zoom buttons; move MIDI panic button to transport barPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@10528 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-10more ardour-button-ization; fix transparency of selection rects; use ↵Paul Davis
"correct" cursors when entering and leaving selection rect handles; color tweaks for a few buttons git-svn-id: svn://localhost/ardour2/branches/3.0@10527 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-09provide global prelight option (its in Edit -> Preferences->Interface)Paul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@10514 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-09repack transport hbox a bitPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@10511 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-07add hovering/show click functionality to ArdourButtonPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@10478 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-03use ArdourButton for the (radio) buttons in the monitor section; fix ↵Paul Davis
ArdourButton, MonitorSection and CairoWidget to work with radio semantics git-svn-id: svn://localhost/ardour2/branches/3.0@10430 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-03fix crash when ArdourButton has its text set to emptyPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@10414 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-02allow addition of images to ArdourButtons (always centered)Paul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@10399 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-02make LED in ArdourButton use "mid" color when active state = midPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@10392 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-01catchup on previous commit relating to who owns ActiveState and VisualStatePaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@10372 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-31more led-area button event handling tweaksPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@10368 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-31compile fixes for OS XPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@10353 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-31osx build fix (?)Paul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@10351 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-31mo better handling of distinct led clicks in ArdourButton, and correctly ↵Paul Davis
layout text (name of processor) git-svn-id: svn://localhost/ardour2/branches/3.0@10350 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-31various tweaks to get clicks on processor "buttons" to work right and to ↵Paul Davis
keep track of processor state and position, hopefully git-svn-id: svn://localhost/ardour2/branches/3.0@10349 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-29tweak text layout on wide buttonsPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@10344 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-29make ArdourButtons be MIDI-learnable; tweaks to ArdourButton design and ↵Paul Davis
implementation; use ArdourButtons (all gray for now) in the Monitor section. git-svn-id: svn://localhost/ardour2/branches/3.0@10338 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-27Ever so slightly less memory and better field alignment per CairoWidget.David Robillard
Fix indentation. git-svn-id: svn://localhost/ardour2/branches/3.0@10316 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-27provide control over precisely what aspects of an ArdourButton are rendered, ↵Paul Davis
and other button-related miscellany git-svn-id: svn://localhost/ardour2/branches/3.0@10315 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-27change CairoWidget API to be a more logical/intuitive for setting widget ↵Paul Davis
state, to differentiate between active state and visual state (prelight, insensitive etc) git-svn-id: svn://localhost/ardour2/branches/3.0@10314 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-26new ArdourButton class, to start to provide more control over how our ↵Paul Davis
buttons work and appear; use ArdourButtons for monitor, solo isolate and solo safe buttons, and in the processor box; don't save UI config file (canvas colors) to the user's home dir unless one or more parameters were modified by the user git-svn-id: svn://localhost/ardour2/branches/3.0@10311 d708f5d6-7413-0410-9779-e7cbd77b26cf