Files
hjozwiak 75f34ea767 Add global Wine preferences tab
Phase 3 of the Wine/Proton stage (decisions 6, 9, 13, 19 in docs/testing/wine-proton.md): a global-only Wine tab modeled on the Pronunciation page, with the controller-only checkbox and a typed editable program list. Wine values flow through the preferences protocol so a global Apply reaches the live Wine settings from Phase 2 with no reader restart. Entries are validated as edited and named in-tab, blocking Apply until fixed; case-insensitive duplicates collapse. Per-application preferences expose no Wine editing and an app-scoped Apply cannot change the governing list.
2026-11-02 02:49:33 -05:00

22 lines
810 B
C

// Copyright (c) 2026 Storm Dragon
// Authors: Storm Dragon, Angus Kola
// SPDX-License-Identifier: GPL-3.0-or-later
#ifndef CTHULHU_PREFERENCES_NATIVE_INTERNAL_H
#define CTHULHU_PREFERENCES_NATIVE_INTERNAL_H
#include "native.h"
// Private C boundary. The window owner retains the builder and action slot;
// widget models and signal callbacks stay with their respective tables.
GtkWidget *prefs_widget(const char *id);
void prefs_describe_combo(GtkWidget *control, const char *label);
void prefs_set_action(int value);
void prefs_init_key_bindings(void);
void prefs_init_modifiers(void);
void prefs_init_interruption(void);
void prefs_init_reading_settings(void);
void prefs_init_pronunciation(void);
void prefs_init_wine(void);
void prefs_init_text_attributes(void);
void prefs_init_tentacles(void);
#endif