Upgrade Tutorial\GacUI_ControlTemplate

This commit is contained in:
Zihan Chen
2017-03-12 00:33:45 -08:00
parent beaf7be28e
commit 866f782311
2 changed files with 2 additions and 3 deletions
@@ -19,9 +19,8 @@ void GuiMain()
{
LoadDemoTypes();
{
List<WString> errors;
FileStream fileStream(L"../UIRes/BlackSkin.bin", FileStream::ReadOnly);
auto resource = GuiResource::LoadPrecompiledBinary(fileStream, errors);
auto resource = GuiResource::LoadPrecompiledBinary(fileStream);
GetResourceManager()->SetResource(L"Resource", resource);
}
demo::MainWindow window;
@@ -24248,7 +24248,7 @@ namespace demo
::vl::__vwsn::This(::vl::__vwsn::This(this)->__vwsn_precompile_204)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = 5; __vwsn_temp__.top = 5; __vwsn_temp__.right = 5; __vwsn_temp__.bottom = 5; return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(::vl::__vwsn::This(this)->__vwsn_precompile_203)->SetText(::vl::WString(L"\r\n This is the first line of the multilined text.\r\n This is the second line of the multilined text.\r\n This is the third line of the multilined text.", false));
::vl::__vwsn::This(::vl::__vwsn::This(this)->__vwsn_precompile_203)->SetText(::vl::WString(L"This is the first line of the multilined text.\r\nThis is the second line of the multilined text.\r\nThis is the third line of the multilined text.", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::This(this)->__vwsn_precompile_202)->AddChild(static_cast<::vl::presentation::controls::GuiControl*>(::vl::__vwsn::This(this)->__vwsn_precompile_203));