summaryrefslogtreecommitdiff
path: root/gtk2_ardour/ardour_button.cc
AgeCommit message (Collapse)Author
2015-03-16AButton: allow to set custom LED color (for > 2 states)Robin Gareus
2015-03-12further ardourbutton ellipsis fixes Robin Gareus
2015-03-11NOOP, add a missing ‘p’Robin Gareus
2014-12-27fixup LED size (font-scaling)..Robin Gareus
..until there's a better solution.
2014-12-22move all (G)UI related configuration parameters into UIConfiguration, not ↵Paul Davis
RCConfiguration
2014-12-17insensitive buttons should be shaded towards the gtk_background color, not ↵Ben Loftis
hardcoded gray
2014-12-12derive ArdourButton LED inactive color from active color, rather than ↵Paul Davis
requiring explicit definition
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