mirror of
https://github.com/vczh-libraries/Release.git
synced 2026-05-20 20:13:15 +08:00
Update import
This commit is contained in:
@@ -42,17 +42,11 @@ namespace demo
|
||||
{/* USER_CONTENT_BEGIN(::demo::MainWindow) */
|
||||
if (checkFrame->GetSelected())
|
||||
{
|
||||
SetControlTemplate([](const vl::reflection::description::Value&)->vl::presentation::templates::GuiControlTemplate*
|
||||
{
|
||||
return new darkskin::WindowTemplate();
|
||||
});
|
||||
SetControlThemeName(vl::presentation::theme::ThemeName::CustomFrameWindow);
|
||||
}
|
||||
else
|
||||
{
|
||||
SetControlTemplate([](const vl::reflection::description::Value&)->vl::presentation::templates::GuiControlTemplate*
|
||||
{
|
||||
return new SystemFrameWindowTemplate();
|
||||
});
|
||||
SetControlThemeName(vl::presentation::theme::ThemeName::SystemFrameWindow);
|
||||
}
|
||||
}/* USER_CONTENT_END() */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user