mirror of
https://github.com/vczh-libraries/Release.git
synced 2026-05-19 10:47:19 +08:00
Update release (TextEditor and BlackSkin breaks)
This commit is contained in:
@@ -15,7 +15,7 @@ void GuiMain()
|
||||
List<WString> errors;
|
||||
FileStream fileStream(L"../UIRes/ContainersAndButtons.bin", FileStream::ReadOnly);
|
||||
auto resource = GuiResource::LoadPrecompiledBinary(fileStream, errors);
|
||||
GetInstanceResourceManager()->SetResource(L"Resource", resource);
|
||||
GetResourceManager()->SetResource(L"Resource", resource);
|
||||
}
|
||||
demo::MainWindow window;
|
||||
window.MoveToScreenCenter();
|
||||
|
||||
@@ -17,7 +17,7 @@ void GuiMain()
|
||||
List<WString> errors;
|
||||
FileStream fileStream(L"../UIRes/TextEditor.bin", FileStream::ReadOnly);
|
||||
auto resource = GuiResource::LoadPrecompiledBinary(fileStream, errors);
|
||||
GetInstanceResourceManager()->SetResource(L"Resource", resource);
|
||||
GetResourceManager()->SetResource(L"Resource", resource);
|
||||
}
|
||||
demo::MainWindow window;
|
||||
window.MoveToScreenCenter();
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user