Geoffrey D. Bennett
ab40037064
Bump copyright year to 2025
2025-02-21 04:08:35 +10:30
Geoffrey D. Bennett
97ced90466
Gen 1: Mute switches are backwards
2025-02-21 04:08:34 +10:30
Geoffrey D. Bennett
92f9d5db8e
Switch to embedded SVG icons
...
Make the icons independent of the desktop theme so they always look
good.
2024-03-31 03:29:10 +10:30
Geoffrey D. Bennett
af97b72b12
Update widget-boolean to cache the icon widgets
2024-03-31 03:29:10 +10:30
Geoffrey D. Bennett
3f7a4c2063
Allow for boolean controls that are backwards
...
Gen 1 has playback controls (0 = off, 1 = on), not mute controls
(0 = not muted, 1 = muted) like the Gen 2+ do.
2024-03-31 03:29:10 +10:30
Geoffrey D. Bennett
111ec1154d
Add support for volatile buttons to widget-boolean.c
...
Will be used by Gen 1 support.
2024-03-31 03:29:10 +10:30
Geoffrey D. Bennett
05e9d9e0a2
Fix widget-boolean.c to free data on button destruction
2024-03-31 03:17:35 +10:30
Geoffrey D. Bennett
099e50b91e
Remove bool_text from struct alsa_elem
...
Store the text in the boolean/dual widget private data.
2024-02-20 23:26:10 +10:30
Geoffrey D. Bennett
b2823e79be
Bump copyright year
2024-02-08 18:08:34 +10:30
Geoffrey D. Bennett
47034d7901
Remove widgets from struct alsa_elem and add data to callbacks
...
Rather than having widget/widget2/widget_callback fields in the struct
alsa_elem, have a list of callbacks and allow private data to be
passed to callbacks.
2024-02-05 20:04:58 +10:30
Geoffrey D. Bennett
2eb8e0b7cb
Make boolean widget boolify value from alsa_get_elem_value()
...
Make sure the value is 0/1 as it's used as an index into
elem->bool_text[].
2024-02-05 20:03:10 +10:30
Sebastian Kaminski
50b7531dd2
Prevent the boolean widget from changing size when toggled
...
When the label of the button for the boolean widget changes, the size
of the button was also changing. This commit sets the minimum size of
the widget so that it will accommodate both labels.
2022-04-02 23:14:50 +10:30
Geoffrey D. Bennett
17b4d2f055
Initial revision
2022-03-14 09:24:43 +10:30