ppsspp/Windows/WndMainWindow.h

71 lines
1.5 KiB
C
Raw Normal View History

2012-11-01 15:19:01 +00:00
#pragma once
#include "Common/CommonWindows.h"
#include <string>
#include "Core/System.h"
2012-11-01 15:19:01 +00:00
namespace MainWindow
{
enum {
WM_USER_SAVESTATE_FINISH = WM_USER + 100,
WM_USER_LOG_STATUS_CHANGED = WM_USER + 101,
WM_USER_UPDATE_UI = WM_USER + 102,
WM_USER_UPDATE_SCREEN = WM_USER + 103,
WM_USER_WINDOW_TITLE_CHANGED = WM_USER + 104,
};
enum {
FRAMESKIP_OFF = 0,
FRAMESKIP_AUTO = 1,
2013-09-05 00:37:41 +00:00
FRAMESKIP_1 = 2,
FRAMESKIP_2 = 3,
FRAMESKIP_3 = 4,
FRAMESKIP_4 = 5,
FRAMESKIP_5 = 6,
FRAMESKIP_6 = 7,
FRAMESKIP_7 = 8,
FRAMESKIP_8 = 9,
FRAMESKIP_MAX = FRAMESKIP_8,
RESOLUTION_AUTO = 0,
RESOLUTION_NATIVE = 1,
RESOLUTION_2X = 2,
RESOLUTION_3X = 3,
RESOLUTION_4X = 4,
RESOLUTION_5X = 5,
RESOLUTION_6X = 6,
RESOLUTION_7X = 7,
RESOLUTION_8X = 8,
RESOLUTION_9X = 9,
RESOLUTION_MAX = 10,
TEXSCALING_AUTO = 0,
TEXSCALING_OFF = 1,
TEXSCALING_2X = 2,
TEXSCALING_3X = 3,
TEXSCALING_4X = 4,
2013-07-30 07:52:05 +00:00
TEXSCALING_5X = 5,
TEXSCALING_MAX = TEXSCALING_5X,
};
2012-11-01 15:19:01 +00:00
void Init(HINSTANCE hInstance);
BOOL Show(HINSTANCE hInstance, int nCmdShow);
void CreateDebugWindows();
2012-11-01 15:19:01 +00:00
void Close();
void UpdateMenus();
2013-05-13 08:08:10 +00:00
void UpdateCommands();
void SetWindowTitle(const wchar_t *title);
2012-11-01 15:19:01 +00:00
void Update();
void Redraw();
HWND GetHWND();
HINSTANCE GetHInstance();
HWND GetDisplayHWND();
2013-07-23 15:24:33 +00:00
void BrowseAndBoot(std::string defaultPath, bool browseDirectory = false);
void SaveStateActionFinished(bool result, void *userdata);
2012-12-05 06:32:32 +00:00
void _ViewFullScreen(HWND hWnd);
void _ViewNormal(HWND hWnd);
void TranslateMenus();
void setTexScalingMultiplier(int level);
2012-11-01 15:19:01 +00:00
}