| 1 | // SPDX-FileCopyrightText: 2022-2025 Geoffrey D. Bennett <[email protected]> |
| 2 | // SPDX-License-Identifier: GPL-3.0-or-later |
| 3 | |
| 4 | #pragma once |
| 5 | |
| 6 | #include <gtk/gtk.h> |
| 7 | |
| 8 | #include "alsa.h" |
| 9 | |
| 10 | GtkWidget *make_boolean_alsa_elem( |
| 11 | struct alsa_elem *alsa_elem, |
| 12 | const char *disabled_text, |
| 13 | const char *enabled_text |
| 14 | ); |
| 15 | |
| 16 | void boolean_widget_update_labels( |
| 17 | GtkWidget *widget, |
| 18 | const char *disabled_text, |
| 19 | const char *enabled_text |
| 20 | ); |