mirror of
https://github.com/libretro/ppsspp.git
synced 2024-11-24 00:29:57 +00:00
linux qt build failed fix ( Issue 3599 )
simple fix based on NativeApp.cpp
This commit is contained in:
parent
515885ea0e
commit
eef5fa3d94
@ -359,9 +359,15 @@ void NativeInitGraphics()
|
||||
theme.checkOn = I_CHECKEDBOX;
|
||||
theme.checkOff = I_SQUARE;
|
||||
|
||||
ui_theme.uiFont = UBUNTU24;
|
||||
ui_theme.uiFontSmall = UBUNTU24;
|
||||
ui_theme.uiFontSmaller = UBUNTU24;
|
||||
#ifdef _WIN32
|
||||
ui_theme.uiFont = UI::FontStyle(UBUNTU24, g_Config.sFont.c_str(), 22);
|
||||
ui_theme.uiFontSmall = UI::FontStyle(UBUNTU24, g_Config.sFont.c_str(), 15);
|
||||
ui_theme.uiFontSmaller = UI::FontStyle(UBUNTU24, g_Config.sFont.c_str(), 12);
|
||||
#else
|
||||
ui_theme.uiFont = UI::FontStyle(UBUNTU24, "", 20);
|
||||
ui_theme.uiFontSmall = UI::FontStyle(UBUNTU24, "", 14);
|
||||
ui_theme.uiFontSmaller = UI::FontStyle(UBUNTU24, "", 11);
|
||||
#endif
|
||||
ui_theme.checkOn = I_CHECKEDBOX;
|
||||
ui_theme.checkOff = I_SQUARE;
|
||||
ui_theme.whiteImage = I_SOLIDWHITE;
|
||||
|
Loading…
Reference in New Issue
Block a user