Debian Codegraph @

src/widget-dual.h

raw symbols SCIP
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 "alsa.h"
7
8 // speaker switch and talkback have three states, controlled by two
9 // buttons:
10 // first button disables/enables the feature
11 // second button switches between the two features states
12 GtkWidget *make_dual_boolean_alsa_elems(
13 struct alsa_elem *alsa_elem,
14 const char *label_text,
15 const char *disabled_text_1,
16 const char *enabled_text_1,
17 const char *disabled_text_2,
18 const char *enabled_text_2
19 );