13
0
Commit Graph

156 Commits

Author SHA1 Message Date
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
6745aa6e52 backwards compat with old gtk 2014-09-06 21:20:06 +02:00
8bc872614e optimize ArdourButton 2014-09-06 12:50:18 +02:00
4912409a8d gtk style related fixes:
* remove some old/unused styles
* fix plugin-ui button (hover color when active)
* consistent style for route buttons
  (and related ArdourButton updates)
2014-09-06 12:49:57 +02:00
aa769c9096 fix ArdourButton initialization 2014-09-06 12:48:21 +02:00
dfecb06946 optimize button expose/resize 2014-09-06 03:22:31 +02:00
a07dc44b4d remove pixel based Button LED diameter setting
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-06 02:08:59 +02:00
6f30c1fddb optimize button pattern cache
We really should statically cache patterns
as done in PixFader and Meters (Cairo's cache is
not nearly large enough)
2014-09-06 02:04:59 +02:00
fb473475c3 remove cruft 2014-09-06 00:42:10 +02:00
4a00bdf04a fundamentally change ArdourButton PangoLayout handling
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-06 00:41:56 +02:00
dcb495676f never change button element name.
changing the name overrides font style.
2014-09-05 23:44:30 +02:00