New tutorial: GacUI_Controls/GlobalHotkey

This commit is contained in:
vczh
2023-04-26 04:15:22 -07:00
parent a863b789bf
commit df129a018e
12 changed files with 928 additions and 1 deletions
@@ -0,0 +1,16 @@
#define GAC_HEADER_USE_NAMESPACE
#include "UI/Source/Demo.h"
using namespace vl::collections;
using namespace vl::stream;
void GuiMain()
{
{
FileStream fileStream(L"../UIRes/GlobalHotkey.bin", FileStream::ReadOnly);
GetResourceManager()->LoadResourceOrPending(fileStream);
}
demo::MainWindow window;
window.MoveToScreenCenter();
GetApplication()->Run(&window);
}