android buildfix

This commit is contained in:
Henrik Rydgard committed 2013-08-30 20:19:03 +02:00
1 parent 0d0b43818c
commit 9ac2cb92ba
3 files changed
+13 -3

No files matched your search

+8
View File
@@ -376,7 +376,9 @@ void NativeInit(int argc, const char *argv[],
// Note to translators: do not translate this/add this to PPSSPP-lang's files.
// It's intended to be custom for every user.
// Only add it to your own personal copies of PPSSPP.
#ifdef _WIN32
g_Config.sFont = d->T("Font", "Trebuchet MS");
#endif
if (!boot_filename.empty() && stateToLoad != NULL)
SaveState::Load(stateToLoad);
@@ -411,9 +413,15 @@ void NativeInitGraphics() {
// memset(&ui_theme, 0, sizeof(ui_theme));
// New style theme
#ifdef _WIN32
ui_theme.uiFont = UI::FontStyle(UBUNTU24, g_Config.sFont.c_str(), 20);
ui_theme.uiFontSmall = UI::FontStyle(UBUNTU24, g_Config.sFont.c_str(), 14);
ui_theme.uiFontSmaller = UI::FontStyle(UBUNTU24, g_Config.sFont.c_str(), 11);
#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;
+4 -2
View File
@@ -308,7 +308,9 @@ namespace MainWindow
void TranslateMenus() {
if(menusAreTranslated) return;
menusAreTranslated = true;
const char *desktopUI = "DesktopUI";
const char *mainMenu = "MainMenu";
const char *graphics = "Graphics";
@@ -316,6 +318,7 @@ namespace MainWindow
const char *audio = "Audio";
const char *general = "General";
const char *pause = "Pause";
return;
// File menu
TranslateMenuItem(ID_FILE_LOAD, mainMenu);
@@ -409,7 +412,6 @@ namespace MainWindow
TranslateSubMenuHeader(menu, graphics, "Texture Filtering", MENU_OPTIONS, SUBMENU_TEXTURE_FILTERING);
TranslateSubMenuHeader(menu, graphics, "Texture Scaling", MENU_OPTIONS, SUBMENU_TEXTURE_SCALING);
menusAreTranslated = true;
DrawMenuBar(hwndMain);
}
+1 -1
Submodule native updated: ed48ad9c22...685a1f7e6f.