forked from PriesiaMioShirakana/DragonianVoice
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMoeSSUI.cpp
More file actions
32 lines (28 loc) · 836 Bytes
/
MoeSSUI.cpp
File metadata and controls
32 lines (28 loc) · 836 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*
* file: MoeSSUI.cpp
* info: MoeSS的UI界面实现 应用程序主类
*
* Author: Maplespe(mapleshr@icloud.com)
* AuthorInfo: NaruseMioYumemiShirakana的老婆
* date: 2022-9-19 Create
*/
#include "framework.h"
#include "MoeSSUI.h"
int __stdcall wWinMain(_In_ HINSTANCE hInstance,
_In_opt_ HINSTANCE hPrevInstance,
_In_ LPWSTR lpCmdLine,
_In_ int nCmdShow)
{
//初始化MiaoUI界面库
std::wstring _error;
if (!ttsUI::MiaoUI_Initialize(_error))
{
MessageBoxW(NULL, _error.c_str(), L"MiaoUI 初始化失败", MB_ICONERROR);
return -1;
}
//创建主窗口和消息循环
ttsUI::MainWindow_CreateLoop();
//反初始化界面库
ttsUI::MiaoUI_Uninitialize();
return 0;
}