13
0
Commit Graph

166 Commits

Author SHA1 Message Date
c4e610d091 small ArdourButton optimization 2016-04-08 18:16:27 +02:00
9ff4938ddd initialize some uninitialized variables 2016-03-31 23:40:23 +02:00
9a11e3a64d change API for CairoWidget::focus_handler
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
2016-03-15 12:41:21 -04:00
André Nusser
83b5bdbe95 Ctrl+shift functionality (toggle all) for plugin leds.
The Fader led has special behavior and is only toggled when clicked
explicitly.
2015-10-19 14:36:06 -04:00
22b07e0233 NOOP, remove trailing tabs/whitespace. 2015-10-05 16:17:49 +02:00
4dc63966f0 globally remove all trailing whitespace from ardour code base.
Paul Davis was responsible for introducing almost all of this.
2015-10-04 14:51:05 -04:00
69b44ee829 Use tooltips.h in ArdourButton to remove ardour_ui.h inclusion 2015-09-16 16:55:17 -04:00
6b019a4953 Move UIConfiguration Singleton into UIConfiguration header
This removes the direct dependence on ardour_ui.h from 39 files
2015-09-16 16:55:17 -04:00
45d487f16e Move ARDOUR_UI::ui_scale into UIConfiguration class 2015-09-16 16:55:17 -04:00
fc1e7dbb55 Move DPIReset and ColorsChanged signals into UIConfiguration 2015-09-16 16:55:17 -04:00
6c4d2a576d vector icons should at least be 6x6 px 2015-05-30 17:28:32 +02:00
1d5c6104f5 replace old ArdourButton::Icon API with Gtkmm2ext. 2015-05-24 21:45:39 +02:00
0604910a2a ArdourButton API: set_icon() implies Icon and No Text 2015-05-24 20:27:37 +02:00
c5d7685741 add vector rendition of nudge icons. 2015-05-24 20:22:50 +02:00
ff5b1b0c99 prepare cleanup of ArdourButton rendering 2015-05-24 19:35:45 +02:00
e418b0866e tweak Midi/DIN icon (proper notch) 2015-05-01 15:16:32 +02:00
1dc9848d61 tweak weight of transport icons 2015-04-25 23:24:05 +02:00
b38ab89d92 clean up GUI scaling 2015-04-22 21:40:43 +02:00
5509165935 new attempt at scaling indicator LED 2015-04-21 03:04:34 +02:00
494009a6e2 towards scaleable meter and mixer UI
somewhat hacky solution, but there's no good central point to
control this and get integer rounding/summing, is there?
2015-04-20 20:45:36 +02:00
b23b3e0891 HiDPI button tweaks 2015-04-18 20:20:21 +02:00
70a493d510 renice transport icons 2015-04-08 11:29:55 +02:00
47eb9d3fe1 NOOP, cleanup & comments 2015-04-08 10:18:39 +02:00
2356d63d14 construct a metronom 2015-04-08 01:28:52 +02:00
c9f9bb263f more transport button caironizing. 2015-04-08 00:00:23 +02:00
1c4fc896d0 fix de7d6a7 (too narrow bar) 2015-04-07 22:39:42 +02:00
de7d6a7f2c renice transport buttons (part one) 2015-04-07 22:34:09 +02:00
d25e8f2233 update ArdourButton Icon API 2015-04-07 22:34:09 +02:00
098ef68bb8 renice 5-pin DIN/MIDI button 2015-04-06 19:51:48 +02:00
68e3ba189e replace two more icons w/vector drawing. 2015-04-06 18:43:18 +02:00
741bcc9fa4 Abutton: only LMB clicks are “clicks”. 2015-03-17 11:58:59 +01:00
edb86929f5 amend 6aa6c2d, queue redraw for custom-LED change 2015-03-17 04:02:59 +01:00
6aa6c2d552 AButton: decouple indicator color and active state.
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.
2015-03-17 02:08:41 +01:00
28e4708825 AButton: allow to set custom LED color (for > 2 states) 2015-03-16 19:04:36 +01:00
421d4aae2e further ardourbutton ellipsis fixes 2015-03-12 12:26:23 +01:00
69dc9451a7 NOOP, add a missing ‘p’ 2015-03-11 20:06:41 +01:00
ffa6954875 fixup LED size (font-scaling)..
..until there's a better solution.
2014-12-27 18:05:42 +01:00
64fa63212f move all (G)UI related configuration parameters into UIConfiguration, not RCConfiguration 2014-12-22 13:39:46 -05:00
1fa9edd872 insensitive buttons should be shaded towards the gtk_background color, not hardcoded gray 2014-12-17 14:17:32 -06:00
c2025a62a6 derive ArdourButton LED inactive color from active color, rather than requiring explicit definition 2014-12-12 11:48:45 -05:00
75e6a36d8e fall back on "generic button" colors in ArdourButton if specifically named fills + LED colors are not defined 2014-12-11 17:04:21 -05:00
9ac7ddb31d remove all explicit button text colors; use contrasting_text_color() instead.
Also, use a slightly off-white rather than pure white, which should really be configurable
2014-12-07 13:55:40 -05:00
318a9edab9 massive reworking of color selection implementation 2014-11-26 18:22:22 +02:00
00f604019d add ::set_layout_font (const Pango::FontDescription&) to ArdourButton 2014-10-21 17:25:50 -04:00
9204b2837e ArdourButton should call the focus handler of CairoWidget from its button press event 2014-09-16 12:45:21 -04:00
df19c576c7 fix a bunch of memory leaks 2014-09-11 03:04:11 +02:00
3132a184f2 have another go at vertical text alignment 2014-09-09 02:26:58 +02:00
ca5eea2056 add an easy way to debug button sizes 2014-09-09 01:29:47 +02:00
78b2b0d28e tweak button text y-alignment 2014-09-09 00:43:32 +02:00
cb07f0f99b yet another button tweak.. 2014-09-07 20:23:49 +02:00