Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-02-17 | Fix button sizing for IconRenderCallback | Robin Gareus | |
2017-02-17 | Implement icon-render callback in ArdourButton | Robin Gareus | |
2017-01-27 | remove debug output/ifdef | Paul Davis | |
2017-01-19 | fix code for ArdourButton so that an existing translation component to the ↵ | Paul Davis | |
cairo transformation matrix is honored correctly | |||
2016-12-20 | Fix Dropdown w/icon size and alignment | Robin Gareus | |
2016-12-10 | Add support for Pango Markup to ArdourButton | Robin Gareus | |
2016-12-10 | Consistent ArdourButton sizing for elements with LED | Robin Gareus | |
2016-08-25 | Avoid 1px size changes when sizing_text() is used | Julien "_FrnchFrgg_" RIVAUD | |
When requesting a size for ArdourButton, the width and height of the button could be increased by one to ensure the center of the text would lie exactly at the center of the button. I initially thought that it was a good idea even when the text used for sizing was frozen, but the main (and only?) use-case for that is to actually freeze the size of the button regardless of the actual displayed text, so jittering by one pixel is not welcome. Only do the centering tweak if there is no sizing text. | |||
2016-08-21 | Silence a GCC initialization order warning | Julien "_FrnchFrgg_" RIVAUD | |
2016-08-20 | Invalidate char_pixel_* on possible font change | Julien "_FrnchFrgg_" RIVAUD | |
So that the padding and other elements always correctly depend on the font instead of the default GTK font (which might have a wildly different size from the fixed size fonts of Ardour's custom theme). | |||
2016-08-20 | ArdourButton: add text for measuring decoupled from display text | Julien "_FrnchFrgg_" RIVAUD | |
In the normal course of events, an ArdourButton requests just enough space to display its elements. In particular the size will change when the text does. Yet, in several cases it is better to avoid layout jittering; until now ArdourButton users manually set a static size on the button at creation time. Introduce new API to set the text used for measuring the button size separately from the text that will be displayed. In most cases this enables the callers to replace set_size_request_to_display_given_text(button, text, w, h); where w and h were hard-coded to cater for other button elements, by button.set_sizing_text(text); which will make ArdourButton correctly compute the size request in all cases with its real elements and padding. ArdourButton users can call button.set_sizing_text(""); to get the size request depend on displayed text (which is the default). | |||
2016-08-18 | Make ArdourButton detect when a grab should stop being pressed | Julien "_FrnchFrgg_" RIVAUD | |
If for whatever reason a grab is taken (e.g. a menu popping up) while somebody is pressing a mouse button on an ArdourButton, then the ArdourButton will not get the mouse button release event and will look stuck in pressed position. The leave notify event is fired if the mouse is still on the ArdourButton while the grab is taken, but not if the user was dragging the mouse outside of the button. The only reliable way is to listen for the grab_broken_event signal. Do so. | |||
2016-07-14 | enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.h | Paul Davis | |
2016-07-04 | fix background of ArdourButtons with no Body | Robin Gareus | |
2016-06-14 | extend ArdourButton API to provide a new tweak for buttons with occasional text | Paul Davis | |
Buttons with this tweak do not change their size request based on their text (or lack of it) | |||
2016-06-09 | extend ArdourButton API to allow independently setting fixed active/inactive ↵ | Paul Davis | |
colors | |||
2016-05-31 | hack to ArdourButton to get sizing correct for 90 + 270 degree rotated text | Paul Davis | |
2016-04-08 | small ArdourButton optimization | Robin Gareus | |
2016-03-31 | initialize some uninitialized variables | Robin Gareus | |
2016-03-15 | change API for CairoWidget::focus_handler | Paul Davis | |
This functor/closure is responsible for stealing focus from any existing text entry (or whatever else may have focus) when clicking on a CairoWidget or derived class. The old implementation just gave focus back to the editor canvas. The new version walks up the widget packing heirarchy to find a focusable parent (from the CairoWidget for which it is invoked). If no focusable parent is found, it cancels keyboard focus in the toplevel window containing the CairoWidget | |||
2015-10-19 | Ctrl+shift functionality (toggle all) for plugin leds. | André Nusser | |
The Fader led has special behavior and is only toggled when clicked explicitly. | |||
2015-10-05 | NOOP, remove trailing tabs/whitespace. | Robin Gareus | |
2015-10-04 | globally remove all trailing whitespace from ardour code base. | Paul Davis | |
Paul Davis was responsible for introducing almost all of this. | |||
2015-09-16 | Use tooltips.h in ArdourButton to remove ardour_ui.h inclusion | Tim Mayberry | |
2015-09-16 | Move UIConfiguration Singleton into UIConfiguration header | Tim Mayberry | |
This removes the direct dependence on ardour_ui.h from 39 files | |||
2015-09-16 | Move ARDOUR_UI::ui_scale into UIConfiguration class | Tim Mayberry | |
2015-09-16 | Move DPIReset and ColorsChanged signals into UIConfiguration | Tim Mayberry | |
2015-05-30 | vector icons should at least be 6x6 px | Robin Gareus | |
2015-05-24 | replace old ArdourButton::Icon API with Gtkmm2ext. | Robin Gareus | |
2015-05-24 | ArdourButton API: set_icon() implies Icon and No Text | Robin Gareus | |
2015-05-24 | add vector rendition of nudge icons. | Robin Gareus | |
2015-05-24 | prepare cleanup of ArdourButton rendering | Robin Gareus | |
2015-05-01 | tweak Midi/DIN icon (proper notch) | Robin Gareus | |
2015-04-25 | tweak weight of transport icons | Robin Gareus | |
2015-04-22 | clean up GUI scaling | Robin Gareus | |
2015-04-21 | new attempt at scaling indicator LED | Robin Gareus | |
2015-04-20 | towards scaleable meter and mixer UI | Robin Gareus | |
somewhat hacky solution, but there's no good central point to control this and get integer rounding/summing, is there? | |||
2015-04-18 | HiDPI button tweaks | Robin Gareus | |
2015-04-08 | renice transport icons | Robin Gareus | |
2015-04-08 | NOOP, cleanup & comments | Robin Gareus | |
2015-04-08 | construct a metronom | Robin Gareus | |
2015-04-08 | more transport button caironizing. | Robin Gareus | |
2015-04-07 | fix de7d6a7 (too narrow bar) | Robin Gareus | |
2015-04-07 | renice transport buttons (part one) | Robin Gareus | |
2015-04-07 | update ArdourButton Icon API | Robin Gareus | |
2015-04-06 | renice 5-pin DIN/MIDI button | Robin Gareus | |
2015-04-06 | replace two more icons w/vector drawing. | Robin Gareus | |
2015-03-17 | Abutton: only LMB clicks are “clicks”. | Robin Gareus | |
2015-03-17 | amend 6aa6c2d, queue redraw for custom-LED change | Robin Gareus | |
2015-03-17 | AButton: decouple indicator color and active state. | Robin Gareus | |
If a custom LED color is used, the LED does not reflect the ExplicitActive state. Hence the Body Element (if visible) should be used just like for buttons without LED indicator. |