mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-14 01:59:34 +01:00
Some New-UI work (disabled, it's not really ready yet).
This commit is contained in:
1 parent
3b07090682
commit
bb3c91f8bb
13 files changed
+277
-13
No files matched your search
@@ -55,6 +55,7 @@
|
||||
#include "Core/HLE/sceUtility.h"
|
||||
|
||||
#include "UI/MenuScreens.h"
|
||||
#include "UI/GameScreen.h"
|
||||
#include "UI/EmuScreen.h"
|
||||
#include "UI/PluginScreen.h"
|
||||
|
||||
@@ -307,12 +308,16 @@ void MenuScreen::render() {
|
||||
}
|
||||
if (UITextureButton(ctx, (int)GEN_ID_LOOP(i), vgrid_recent, textureButtonWidth, textureButtonHeight, ginfo->iconTexture, ALIGN_LEFT, color, I_DROP_SHADOW)) {
|
||||
UIEnd();
|
||||
|
||||
// To try some new UI, enable this.
|
||||
//screenManager()->switchScreen(new GameScreen(g_Config.recentIsos[i]));
|
||||
screenManager()->switchScreen(new EmuScreen(g_Config.recentIsos[i]));
|
||||
return;
|
||||
}
|
||||
} else {
|
||||
if (UIButton((int)GEN_ID_LOOP(i), vgrid_recent, textureButtonWidth, textureButtonHeight, filename.c_str(), ALIGN_LEFT)) {
|
||||
UIEnd();
|
||||
//screenManager()->switchScreen(new GameScreen(g_Config.recentIsos[i]));
|
||||
screenManager()->switchScreen(new EmuScreen(g_Config.recentIsos[i]));
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user