summaryrefslogtreecommitdiff
path: root/gtk2_ardour/ardour_button.cc
AgeCommit message (Collapse)Author
2014-12-11fall back on "generic button" colors in ArdourButton if specifically named ↵Paul Davis
fills + LED colors are not defined
2014-12-07remove all explicit button text colors; use contrasting_text_color() instead.Paul Davis
Also, use a slightly off-white rather than pure white, which should really be configurable
2014-11-26massive reworking of color selection implementationPaul Davis
2014-10-21add ::set_layout_font (const Pango::FontDescription&) to ArdourButtonPaul Davis
2014-09-16ArdourButton should call the focus handler of CairoWidget from its button ↵Paul Davis
press event
2014-09-11fix a bunch of memory leaksRobin Gareus
2014-09-09have another go at vertical text alignmentRobin Gareus
2014-09-09add an easy way to debug button sizesRobin Gareus
2014-09-09tweak button text y-alignmentRobin Gareus
2014-09-07yet another button tweak..Robin Gareus
2014-09-06backwards compat with old gtkRobin Gareus
2014-09-06optimize ArdourButtonRobin Gareus
2014-09-06gtk style related fixes:Robin Gareus
* remove some old/unused styles * fix plugin-ui button (hover color when active) * consistent style for route buttons (and related ArdourButton updates)
2014-09-06fix ArdourButton initializationRobin Gareus
2014-09-06optimize button expose/resizeRobin Gareus
2014-09-06remove pixel based Button LED diameter settingRobin Gareus
Diameter is calculated depending on font-scaling. Besides, all explicit calls simply set the default value, anyway. If some API is needed in the future, it should set the diameter in [em].
2014-09-06optimize button pattern cacheRobin Gareus
We really should statically cache patterns as done in PixFader and Meters (Cairo's cache is not nearly large enough)
2014-09-06remove cruftRobin Gareus
2014-09-06fundamentally change ArdourButton PangoLayout handlingRobin Gareus
This fixes issues where button text was set during static initialization where the widget style was not yet available, and a lot of related issues where the text was set before style.
2014-09-05never change button element name.Robin Gareus
changing the name overrides font style.
2014-09-05no more button text position roundingRobin Gareus
For all non-grouped buttons, size request takes care of assigning a proper geometry.
2014-09-05further button size polishRobin Gareus
2014-09-04fix typoRobin Gareus
2014-09-04and some more button px tweaksRobin Gareus
2014-09-04separate button text-height -> button-height factor, bump to 1.3[em]Robin Gareus
2014-09-04properly centered text..Robin Gareus
..at the risk of blurring some text with some fonts when the text is shifted by 0.5px.
2014-09-04fix LED active areaRobin Gareus
2014-09-04ardour button sizes, now [em] based.Robin Gareus
2014-09-03merge fixBen Loftis
2014-09-03actively recording track-arm button is red, not pinkBen Loftis
2014-09-03amend a99bd289 (button x-axis padding)Robin Gareus
2014-09-03add "close/cross" special buttonRobin Gareus
2014-09-03tweak button size requestRobin Gareus
2014-09-03clean up rec-en circle math and limit the max radius of itRobin Gareus
2014-09-03ask TAV buttons to have square proportionsBen Loftis
2014-09-03amend prev commit (Ardour button radii)Robin Gareus
2014-09-03Update Ardour Button radii.Robin Gareus
This is effectively a noop. Decrease default radius, only add to radius (for outline), never subtract to avioid negative numbers.
2014-09-03update rec-en circle drawing, add tape-modeRobin Gareus
2014-09-02stroke black circle on top of rec circleBen Loftis
2014-09-02micro tweaks to ArdourButton cornersBen Loftis
2014-09-02one off, special case rec-en button for now. (circle may need tweaking)Robin Gareus
In the long run we want a class hierarchy: CairoWidget -> ArdourWidget -> ArdourLabel -> ArdourButton -> SpecialArdourButton(s)
2014-09-02ArdourButton: prepare for [em] based paddingRobin Gareus
2014-08-30update dropdown triangleRobin Gareus
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)