summaryrefslogtreecommitdiff
path: root/gtk2_ardour/ardour_button.cc
AgeCommit message (Collapse)Author
2014-08-30fix some compiler warningsRobin Gareus
2014-08-30remove cruftRobin Gareus
2014-08-30ArdourButton align text to full pixelsRobin Gareus
2014-08-29red-border selection for tracks, regions, and processors. requesting commentsBen Loftis
2014-08-29Ardour button, proper cairo fill+stroke px alignmentsRobin Gareus
rounded rectangles are cairo_arc() path, for line strokes, offset by .5. This patch also includes two small related style tweaks: * Gtkmm2ext::Selected line color & thickness * 'grabbed' line color & thickness
2014-08-29explicit Button inactive state.Robin Gareus
Ideally large parts of ArdourButton would become ArdourLabel, which in turn is used by ArdourButton
2014-08-29ArdourButton: suppress visible response if no action is defined.Robin Gareus
This fixes issues where the button is used as Label (currently track-numbers and meterbridge track-name)
2014-08-28yet another ArdourButton action tweakBen Loftis
2014-08-28remove offset from icons when button is pushedBen Loftis
2014-08-28More fixes to ArdourButton actions.Ben Loftis
Optionally allow events to fallthrough to parents, in particular for the DnDVBox case. Also allow the number_label to operate as a track selector.
2014-08-28Fix ArdourButton event sequence.Ben Loftis
Always give ArdourButton a chance to handle Press or Release events if you override them. This allows ArdourButtons to do the "Pressed" animation And it now correctly eats the event so button clicks don't select the channelstrip.
2014-08-28brighten post-fader redirects, and change redirect leds to blueBen Loftis
2014-08-27refactor flat_buttons into cairowidget, and add a canvas-like convenience ↵Ben Loftis
function for setting cairo color with a Gtk::Color
2014-08-22Rationalize ArdourButton and lots of associated theming issues.Ben Loftis
ArdourButtons now have a "pushed" animation. The gradient is now implemented in the button, rather than providing 2 colors in the theme, which was burdensome. Lots of code cleanup in ArdourButton. Removed several unnecessary flags. Refactor more stuff into route_ui.
2014-08-13Yet another attempt to standardize button heights.Ben Loftis
Use the same string for all ArdourButtons to define the height. Height can still vary if you use a different font, though.
2014-07-24Revert previous select-strips-under-mouse behaviorBen Loftis
However, keep the path for deletions in the editor-mixer via _entered_mixer_strip TODO: if nothing was deleted, assume the user was trying to delete something in the editor instead Show selected plugins by a red border TODO: more work on the selection model for plugins and mixer strips
2014-07-14if a button has an icon, dont draw text as wellBen Loftis
2014-07-14fix the visible_tracks_selector to show * when user tweaks a track height. ↵Ben Loftis
various experimental tweaks to visible_tracks_selector and a new zoom_preset_selector for Mixbus.
2014-07-06repair ardour-button "fixed color mode"Robin Gareus
2014-06-25move utility functions into a dedicated namespaceRobin Gareus
2014-06-15tweak ArdourButton focus outlineRobin Gareus
2014-06-14allow ardour button to handle focused keyboard eventsRobin Gareus
2014-03-26the FlatFace element is no longer relevant. instead it was being used for an ↵Ben Loftis
inset jeweled look. changed name to match
2014-03-23add needed separatorBen Loftis
2014-03-23New theme for editor window using ArdourMenuharrison
2014-03-20change the meters into CairoWidget, add expose_area to CairoWidget::render()Robin Gareus
2014-03-06separate ArdourButton::set_colors() and ArdourButton::build_patterns()Paul Davis
2014-03-06add ::on_name_changed() to ArdourButton, to use recently added ↵Paul Davis
::on_name_changed() in CairoWidget
2014-03-06Add ArdourButton::set_fixed_colors() (equivalent to ::set_bg_colors() in ↵Paul Davis
Valeriy's original changes)
2014-03-05revert 29b1e706ddaeaec5a330cf6643816ec43024b545 and then redo separation of ↵Paul Davis
ArdourButton::set_colors() from ArdourButton::build_patterns. More to come
2014-02-28fix semantics of button press -> leave button -> button release, to match ↵Paul Davis
typical GUI toolkits
2014-02-14some changes to ArdourButton to allow custom colors to be set (e.g. based on ↵Paul Davis
track colors), via Valeriy
2014-01-04fix ardour-button text bleedRobin Gareus
2013-10-12revert part of 4091ff175c5204 that caused window/sizing chaos. silly paulPaul Davis
2013-10-121 bug fix plus padding control for ArdourButtonPaul Davis
2013-07-11amend cb7bcb6d - locked-solo button styleRobin Gareus
2013-07-10ardour-button - fix test+LED marginRobin Gareus
2013-07-10left/bottom align of labels in meterbridgeRobin Gareus
2013-07-10ardour-button: allow to rotate textRobin Gareus
2012-12-13improve button drawing when "implicit active uses solid color" tweak is on, ↵Paul Davis
and improve on the so-called "pepto-bismol" colors used for rec-enable buttons git-svn-id: svn://localhost/ardour2/branches/3.0@13656 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-12add a new Tweak to ArdourButton that makes ImplicitActive state use a solid ↵Paul Davis
color (the "led active" color), and adjst rec-enable buttons to use pink (like ardour2) when in this state (which means rec-enabled but not recording). and yes, this means that you can't use ImplicitUsesSolidColor with a button that also uses an LED - acceptable limitation git-svn-id: svn://localhost/ardour2/branches/3.0@13645 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-07fix flat button colorsBen Loftis
git-svn-id: svn://localhost/ardour2/branches/3.0@13614 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-06several theme changes. changed drawing of rounded_rectangle to be more ↵Ben Loftis
correct. operation and feel should be more consistent. rec-mute-solo buttons are now dull until enabled. this might be debatable. otherwise if it looks weird, try loading Window->Theme Manager and clicking Restore Defaults git-svn-id: svn://localhost/ardour2/branches/3.0@13611 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-26some tweaks to make narrow mixer strips actually narrowPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@13547 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-16new button lookBen Loftis
git-svn-id: svn://localhost/ardour2/branches/3.0@13511 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-22use the theme manager dialog to provide control over flat button option, and ↵Paul Davis
turn it off by default git-svn-id: svn://localhost/ardour2/branches/3.0@12382 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-21introduce flat button option,which right now is on all the time. GUI ↵Paul Davis
nit-pickers, do your best git-svn-id: svn://localhost/ardour2/branches/3.0@12358 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-22Fix uninitialised variables.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@12058 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-16tweak ardour button radius down to 5 pixels from 9Paul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@11715 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-07remove unused mid-mask stuff from ArdourButtonPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@11616 d708f5d6-7413-0410-9779-e7cbd77b26cf