Fix theme apply timeout and add full HiDPI scaling for gtkTtk and GTK2

This commit is contained in:
Luxferre committed 2026-11-25 22:11:12 +02:00
1 parent 983d529ec3
commit 3ea7d35aba
28 files changed
+919 -299

No files matched your search

+3
View File
@@ -15,6 +15,7 @@
#include "gtkTtk_GtkHeaders.h"
#include "gtkTtk_Elements.h"
#include <algorithm>
#include <string.h>
#define NO_GTK_STYLE_ENGINE {/*printf("NULL qApp\n");fflush(NULL);*/return;}
@@ -191,3 +192,5 @@ extern unsigned int GtkTtk_StateShadowTableLookup(GtkTtk_StateTable*,
unsigned int section = GTKTTK_SECTION_ALL);
extern double GtkTtk_ValueFromSlider(GtkTtk_WidgetCache *wc, Tk_Window tkwin,
Ttk_Box b);
extern double GtkTtk_GetDpiScale(Tk_Window tkwin);
extern int GtkTtk_ScalePx(Tk_Window tkwin, int base_px);