summaryrefslogtreecommitdiff
path: root/libs/widgets/ardour_button.cc
AgeCommit message (Collapse)Author
2020-05-12Optimize drawing of buttons with changing textRobin Gareus
When a button has a fixed size, there's no need to call queue_resize(). This fixes an issue with the ArdourClock info displays when slaved. The Timecode and Delta display text changes in small intervals and caused excessive CPU load due to GUI size-requests + redraws.
2019-09-01Allow to un-set custom Ardour-button colorsRobin Gareus
2019-09-01Changing active-state needs no color lookupRobin Gareus
Colors and patterns are cached, independent of active-state. This didn't used to be the case in the distant ArdourButton past.
2019-08-26Allow Icon + Text on ArdourButtonRobin Gareus
Allow placing an icon left of some text in Ardour-button. This also tweaks some spacing and alignment of Icons when a LED toggle indicator is used.
2019-08-21Tweak Ardourbutton: support (VectorIcon | Indicator)Robin Gareus
2019-08-03Update canvas/UI lib GPL boilerplate and (C) from git logRobin Gareus
2018-10-02Prepare a boxy, no round borders, button-styleRobin Gareus
2018-01-30Ardour Button Toggle explosionRobin Gareus
Add option to use ArduorButton as standalone Toggle/Checkbox. Usually ArdourButton relegates this to Actions or is backed by Config. This allows to use the Button as standalone Toggle, get_active() It should maybe be a derived Class, but ArdourButton is already beyond that..
2018-01-30ArdourButton: honor text-ellipsis width for size-requestRobin Gareus
2017-11-29ArdourButton: ignore double+tripple clicksRobin Gareus
2017-08-30Remove over-protectionJulien "_FrnchFrgg_" RIVAUD
The queued resize will only happen trigger a size-request when the widget is realized, and on_size_request() calls ensure_layout(). Moreover, this over protection meant that sometimes a resize wasn't noticed by the button containers.
2017-07-17Clean up library inheritance (colors.h, utils.h)Robin Gareus
make libwidget independent of libcanvas. Confine basics to pbd and gtkmm2ext.
2017-07-17Move more Gtkmm2ext widgets into libwidgetRobin Gareus
2017-07-17Separate Ardour UI widgets into dedicated libraryRobin Gareus