mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-14 17:50:19 +00:00
feat: GTK3-only theming overhaul—new theme service (discover/import/inherits), layered CSS+settings.ini apply w/ safe rollback + caching; widget/xtext palette mapping + all-colors editor; lots of win32/CI libarchive plumbing + installer assets;
This commit is contained in:
22
src/fe-gtk/theme/theme-gtk3.h
Normal file
22
src/fe-gtk/theme/theme-gtk3.h
Normal file
@@ -0,0 +1,22 @@
|
||||
#ifndef ZOITECHAT_THEME_GTK3_H
|
||||
#define ZOITECHAT_THEME_GTK3_H
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
typedef enum
|
||||
{
|
||||
THEME_GTK3_VARIANT_FOLLOW_SYSTEM = 0,
|
||||
THEME_GTK3_VARIANT_PREFER_LIGHT = 1,
|
||||
THEME_GTK3_VARIANT_PREFER_DARK = 2
|
||||
} ThemeGtk3Variant;
|
||||
|
||||
void theme_gtk3_init (void);
|
||||
gboolean theme_gtk3_apply_current (GError **error);
|
||||
gboolean theme_gtk3_apply (const char *theme_id, ThemeGtk3Variant variant, GError **error);
|
||||
gboolean theme_gtk3_refresh (const char *theme_id, ThemeGtk3Variant variant, GError **error);
|
||||
ThemeGtk3Variant theme_gtk3_variant_for_theme (const char *theme_id);
|
||||
void theme_gtk3_invalidate_provider_cache (void);
|
||||
void theme_gtk3_disable (void);
|
||||
gboolean theme_gtk3_is_active (void);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user