mirror of
https://github.com/libretro/ppsspp.git
synced 2024-12-07 00:19:03 +00:00
55 lines
1.1 KiB
C++
55 lines
1.1 KiB
C++
#pragma once
|
|
|
|
#include "Common/CommonWindows.h"
|
|
#include <string>
|
|
|
|
#include "Core/System.h"
|
|
|
|
namespace MainWindow
|
|
{
|
|
enum {
|
|
WM_USER_SAVESTATE_FINISH = WM_USER + 100,
|
|
WM_USER_LOG_STATUS_CHANGED = WM_USER + 200,
|
|
};
|
|
|
|
enum {
|
|
FRAMESKIP_OFF = 0,
|
|
FRAMESKIP_1 = 1,
|
|
FRAMESKIP_2 = 2,
|
|
FRAMESKIP_3 = 3,
|
|
FRAMESKIP_4 = 4,
|
|
FRAMESKIP_5 = 5,
|
|
FRAMESKIP_6 = 6,
|
|
FRAMESKIP_7 = 7,
|
|
FRAMESKIP_8 = 8,
|
|
FRAMESKIP_MAX = 9,
|
|
|
|
ZOOM_NATIVE = 1,
|
|
ZOOM_2X = 2,
|
|
ZOOM_3X = 3,
|
|
ZOOM_MAX = 4,
|
|
|
|
TEXSCALING_OFF = 1,
|
|
TEXSCALING_2X = 2,
|
|
TEXSCALING_3X = 3,
|
|
TEXSCALING_4X = 4,
|
|
TEXSCALING_MAX = 5,
|
|
};
|
|
|
|
void Init(HINSTANCE hInstance);
|
|
BOOL Show(HINSTANCE hInstance, int nCmdShow);
|
|
void Close();
|
|
void UpdateMenus();
|
|
void UpdateCommands();
|
|
void Update();
|
|
void Redraw();
|
|
HWND GetHWND();
|
|
HINSTANCE GetHInstance();
|
|
HWND GetDisplayHWND();
|
|
void SetPlaying(const char*text);
|
|
void BrowseAndBoot(std::string defaultPath, bool browseDirectory = false);
|
|
void SaveStateActionFinished(bool result, void *userdata);
|
|
void _ViewFullScreen(HWND hWnd);
|
|
void _ViewNormal(HWND hWnd);
|
|
}
|