mirror of
https://github.com/vczh-libraries/Release.git
synced 2026-02-05 19:40:03 +08:00
16 lines
372 B
C++
16 lines
372 B
C++
#define GAC_HEADER_USE_NAMESPACE
|
|
#include "UI/Source/Demo.h"
|
|
|
|
using namespace vl::collections;
|
|
using namespace vl::stream;
|
|
|
|
void GuiMain()
|
|
{
|
|
{
|
|
FileStream fileStream(L"../UIRes/Responsive1.bin", FileStream::ReadOnly);
|
|
GetResourceManager()->LoadResourceOrPending(fileStream);
|
|
}
|
|
demo::MainWindow window;
|
|
window.MoveToScreenCenter();
|
|
GetApplication()->Run(&window);
|
|
} |