mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
CtrlLib, Doc: .cosmetic in GUI24.
This commit is contained in:
parent
2f513c64bc
commit
94f8e3c83e
3 changed files with 7 additions and 2 deletions
|
|
@ -8,5 +8,5 @@ file
|
|||
Gui24.t;
|
||||
|
||||
mainconfig
|
||||
"" = "GUI";
|
||||
"" = "GUI WAYLAND";
|
||||
|
||||
|
|
|
|||
|
|
@ -87,6 +87,7 @@ bool Ctrl::IsRunningOnWayland()
|
|||
|
||||
void Ctrl::ThemeChanged(void *)
|
||||
{
|
||||
RLOG("ThemeChanged-Gtk!");
|
||||
PostReSkin();
|
||||
}
|
||||
|
||||
|
|
@ -149,6 +150,10 @@ bool InitGtkApp(int argc, char **argv, const char **envptr)
|
|||
#endif
|
||||
|
||||
GtkSettings *settings = gtk_settings_get_default();
|
||||
if(!settings) {
|
||||
gtk_settings_get_for_display(
|
||||
}
|
||||
|
||||
if(settings) {
|
||||
g_signal_connect_swapped(settings, "notify::gtk-theme-name", G_CALLBACK(Ctrl::ThemeChanged), NULL);
|
||||
g_signal_connect_swapped(settings, "notify::gtk-application-prefer-dark-theme", G_CALLBACK(Ctrl::ThemeChanged), NULL);
|
||||
|
|
|
|||
|
|
@ -1914,7 +1914,7 @@ SLtYellow);]&]
|
|||
[s0;l320;%- [C+75 w][C@(0.0.255)+75 .][C+75 DrawText(][C@3+75 20][C+75 ,
|
||||
][C@3+75 20][C+75 , ][*_C@(0.128.128)$(255.255.192)+75 t`_(][*_C@3$(255.255.192)+75 `"Hel
|
||||
lo translation engine!`"][*_C@(0.128.128)$(255.255.192)+75 )][C+75 ,
|
||||
Arial(][C@3+75 30][C+75 ), Blue);]&]
|
||||
Arial(][C@3+75 30][C+75 ), SBlue);]&]
|
||||
[s0;l320;%- [C+75 `}]&]
|
||||
[s0;l320;%- [C+75 `};]&]
|
||||
[s0;l320;C+75%- &]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue