mirror of
https://github.com/vczh-libraries/Release.git
synced 2026-05-20 20:13:15 +08:00
...
This commit is contained in:
Binary file not shown.
BIN
Binary file not shown.
@@ -8,7 +8,11 @@ using namespace vl::reflection::description;
|
||||
void GuiMain()
|
||||
{
|
||||
{
|
||||
FileStream fileStream(L"../UIRes/Xml.bin", FileStream::ReadOnly);
|
||||
#ifdef VCZH_64
|
||||
FileStream fileStream(L"../UIRes/Xml.bin.x64", FileStream::ReadOnly);
|
||||
#else
|
||||
FileStream fileStream(L"../UIRes/Xml.bin.x86", FileStream::ReadOnly);
|
||||
#endif
|
||||
auto resource = GuiResource::LoadPrecompiledBinary(fileStream);
|
||||
GetResourceManager()->SetResource(L"Resource", resource, GuiResourceUsage::InstanceClass);
|
||||
}
|
||||
|
||||
@@ -1,8 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Resource>
|
||||
<Folder name="GacGenConfig">
|
||||
<Folder name="Res">
|
||||
<Text name="Resource">..\..\UIRes\Xml.bin</Text>
|
||||
<Folder name="ResX86">
|
||||
<Text name="Resource">..\..\UIRes\Xml.bin.x86</Text>
|
||||
</Folder>
|
||||
<Folder name="ResX64">
|
||||
<Text name="Resource">..\..\UIRes\Xml.bin.x64</Text>
|
||||
</Folder>
|
||||
</Folder>
|
||||
<Folder name="MainWindow">
|
||||
|
||||
Reference in New Issue
Block a user