mirror of
https://github.com/vczh-libraries/Release.git
synced 2026-05-19 19:05:38 +08:00
Update release
This commit is contained in:
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,197 @@
|
||||
/***********************************************************************
|
||||
THIS FILE IS AUTOMATICALLY GENERATED. DO NOT MODIFY
|
||||
DEVELOPER: Zihan Chen(vczh)
|
||||
***********************************************************************/
|
||||
#include "GacUI.UnitTest.UIReflection.h"
|
||||
|
||||
/***********************************************************************
|
||||
.\GUIUNITTESTSNAPSHOTVIEWERREFLECTION.CPP
|
||||
***********************************************************************/
|
||||
/***********************************************************************
|
||||
!!!!!! DO NOT MODIFY !!!!!!
|
||||
|
||||
Source: GacUI UnitTestSnapshotViewer
|
||||
|
||||
This file is generated by Workflow compiler
|
||||
https://github.com/vczh-libraries
|
||||
***********************************************************************/
|
||||
|
||||
|
||||
#if defined( _MSC_VER)
|
||||
#pragma warning(push)
|
||||
#pragma warning(disable:4250)
|
||||
#elif defined(__clang__)
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wparentheses-equality"
|
||||
#elif defined(__GNUC__)
|
||||
#pragma GCC diagnostic push
|
||||
#endif
|
||||
|
||||
/***********************************************************************
|
||||
Reflection
|
||||
***********************************************************************/
|
||||
|
||||
namespace vl
|
||||
{
|
||||
namespace reflection
|
||||
{
|
||||
namespace description
|
||||
{
|
||||
#ifndef VCZH_DEBUG_NO_REFLECTION
|
||||
IMPL_CPP_TYPE_INFO(gaclib_controls::IUnitTestSnapshotFileNode)
|
||||
IMPL_CPP_TYPE_INFO(gaclib_controls::IUnitTestSnapshotFrame)
|
||||
IMPL_CPP_TYPE_INFO(gaclib_controls::IUnitTestSnapshotViewerStringsStrings)
|
||||
IMPL_CPP_TYPE_INFO(gaclib_controls::IUnitTestSnapshotViewerViewModel)
|
||||
IMPL_CPP_TYPE_INFO(gaclib_controls::UnitTestSnapshotFileNodeType)
|
||||
IMPL_CPP_TYPE_INFO(gaclib_controls::UnitTestSnapshotViewerStrings)
|
||||
IMPL_CPP_TYPE_INFO(gaclib_controls::UnitTestSnapshotViewerWindow)
|
||||
IMPL_CPP_TYPE_INFO(gaclib_controls::UnitTestSnapshotViewerWindowConstructor)
|
||||
|
||||
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
|
||||
#define _ ,
|
||||
BEGIN_INTERFACE_MEMBER(::gaclib_controls::IUnitTestSnapshotFileNode)
|
||||
CLASS_MEMBER_BASE(::vl::reflection::IDescriptable)
|
||||
CLASS_MEMBER_METHOD(GetChildren, NO_PARAMETER)
|
||||
CLASS_MEMBER_METHOD(GetFrames, NO_PARAMETER)
|
||||
CLASS_MEMBER_METHOD(GetName, NO_PARAMETER)
|
||||
CLASS_MEMBER_METHOD(GetNodeType, NO_PARAMETER)
|
||||
CLASS_MEMBER_METHOD(Refresh, NO_PARAMETER)
|
||||
CLASS_MEMBER_PROPERTY_READONLY(Children, GetChildren)
|
||||
CLASS_MEMBER_PROPERTY_READONLY(Frames, GetFrames)
|
||||
CLASS_MEMBER_PROPERTY_READONLY(Name, GetName)
|
||||
CLASS_MEMBER_PROPERTY_READONLY(NodeType, GetNodeType)
|
||||
END_INTERFACE_MEMBER(::gaclib_controls::IUnitTestSnapshotFileNode)
|
||||
|
||||
BEGIN_INTERFACE_MEMBER(::gaclib_controls::IUnitTestSnapshotFrame)
|
||||
CLASS_MEMBER_BASE(::vl::reflection::IDescriptable)
|
||||
CLASS_MEMBER_METHOD(GetCommandsAsJsonText, NO_PARAMETER)
|
||||
CLASS_MEMBER_METHOD(GetDomAsJsonText, NO_PARAMETER)
|
||||
CLASS_MEMBER_METHOD(GetElementsAsJsonText, NO_PARAMETER)
|
||||
CLASS_MEMBER_METHOD(GetName, NO_PARAMETER)
|
||||
CLASS_MEMBER_PROPERTY_READONLY(CommandsAsJsonText, GetCommandsAsJsonText)
|
||||
CLASS_MEMBER_PROPERTY_READONLY(DomAsJsonText, GetDomAsJsonText)
|
||||
CLASS_MEMBER_PROPERTY_READONLY(ElementsAsJsonText, GetElementsAsJsonText)
|
||||
CLASS_MEMBER_PROPERTY_READONLY(Name, GetName)
|
||||
END_INTERFACE_MEMBER(::gaclib_controls::IUnitTestSnapshotFrame)
|
||||
|
||||
BEGIN_INTERFACE_MEMBER(::gaclib_controls::IUnitTestSnapshotViewerStringsStrings)
|
||||
CLASS_MEMBER_BASE(::vl::reflection::IDescriptable)
|
||||
CLASS_MEMBER_METHOD(WindowTitle, NO_PARAMETER)
|
||||
END_INTERFACE_MEMBER(::gaclib_controls::IUnitTestSnapshotViewerStringsStrings)
|
||||
|
||||
BEGIN_INTERFACE_MEMBER(::gaclib_controls::IUnitTestSnapshotViewerViewModel)
|
||||
CLASS_MEMBER_BASE(::vl::reflection::IDescriptable)
|
||||
CLASS_MEMBER_METHOD(GetRootNode, NO_PARAMETER)
|
||||
CLASS_MEMBER_PROPERTY_READONLY(RootNode, GetRootNode)
|
||||
END_INTERFACE_MEMBER(::gaclib_controls::IUnitTestSnapshotViewerViewModel)
|
||||
|
||||
BEGIN_ENUM_ITEM(::gaclib_controls::UnitTestSnapshotFileNodeType)
|
||||
ENUM_CLASS_ITEM(File)
|
||||
ENUM_CLASS_ITEM(Folder)
|
||||
END_ENUM_ITEM(::gaclib_controls::UnitTestSnapshotFileNodeType)
|
||||
|
||||
BEGIN_CLASS_MEMBER(::gaclib_controls::UnitTestSnapshotViewerStrings)
|
||||
CLASS_MEMBER_BASE(::vl::reflection::DescriptableObject)
|
||||
CLASS_MEMBER_CONSTRUCTOR(::vl::Ptr<::gaclib_controls::UnitTestSnapshotViewerStrings>(), NO_PARAMETER)
|
||||
CLASS_MEMBER_STATIC_METHOD(__vwsn_ls_en_US_BuildStrings, { L"__vwsn_ls_locale" })
|
||||
CLASS_MEMBER_STATIC_METHOD(Get, { L"__vwsn_ls_locale" })
|
||||
CLASS_MEMBER_STATIC_METHOD(Install, { L"__vwsn_ls_locale" _ L"__vwsn_ls_impl" })
|
||||
END_CLASS_MEMBER(::gaclib_controls::UnitTestSnapshotViewerStrings)
|
||||
|
||||
BEGIN_CLASS_MEMBER(::gaclib_controls::UnitTestSnapshotViewerWindow)
|
||||
CLASS_MEMBER_BASE(::vl::presentation::controls::GuiWindow)
|
||||
CLASS_MEMBER_BASE(::gaclib_controls::UnitTestSnapshotViewerWindowConstructor)
|
||||
CLASS_MEMBER_CONSTRUCTOR(::gaclib_controls::UnitTestSnapshotViewerWindow*(::vl::Ptr<::gaclib_controls::IUnitTestSnapshotViewerViewModel>), { L"__vwsn_ctor_parameter_ViewModel" })
|
||||
CLASS_MEMBER_METHOD(GetImageFromType, { L"nodeType" })
|
||||
CLASS_MEMBER_METHOD(GetStrings, NO_PARAMETER)
|
||||
CLASS_MEMBER_METHOD(GetViewModel, NO_PARAMETER)
|
||||
CLASS_MEMBER_METHOD(SetStrings, { L"__vwsn_value_" })
|
||||
CLASS_MEMBER_EVENT(StringsChanged)
|
||||
CLASS_MEMBER_FIELD(__vwsn_parameter_ViewModel)
|
||||
CLASS_MEMBER_FIELD(__vwsn_prop_Strings)
|
||||
CLASS_MEMBER_PROPERTY_EVENT(Strings, GetStrings, SetStrings, StringsChanged)
|
||||
CLASS_MEMBER_PROPERTY_READONLY(ViewModel, GetViewModel)
|
||||
CLASS_MEMBER_FIELD(imageFile)
|
||||
CLASS_MEMBER_FIELD(imageFolder)
|
||||
END_CLASS_MEMBER(::gaclib_controls::UnitTestSnapshotViewerWindow)
|
||||
|
||||
BEGIN_CLASS_MEMBER(::gaclib_controls::UnitTestSnapshotViewerWindowConstructor)
|
||||
CLASS_MEMBER_BASE(::vl::reflection::DescriptableObject)
|
||||
CLASS_MEMBER_CONSTRUCTOR(::vl::Ptr<::gaclib_controls::UnitTestSnapshotViewerWindowConstructor>(), NO_PARAMETER)
|
||||
CLASS_MEMBER_METHOD(__vwsn_gaclib_controls_UnitTestSnapshotViewerWindow_Initialize, { L"__vwsn_this_" })
|
||||
CLASS_MEMBER_FIELD(__vwsn_precompile_0)
|
||||
CLASS_MEMBER_FIELD(__vwsn_precompile_1)
|
||||
CLASS_MEMBER_FIELD(__vwsn_precompile_10)
|
||||
CLASS_MEMBER_FIELD(__vwsn_precompile_11)
|
||||
CLASS_MEMBER_FIELD(__vwsn_precompile_12)
|
||||
CLASS_MEMBER_FIELD(__vwsn_precompile_13)
|
||||
CLASS_MEMBER_FIELD(__vwsn_precompile_14)
|
||||
CLASS_MEMBER_FIELD(__vwsn_precompile_15)
|
||||
CLASS_MEMBER_FIELD(__vwsn_precompile_16)
|
||||
CLASS_MEMBER_FIELD(__vwsn_precompile_17)
|
||||
CLASS_MEMBER_FIELD(__vwsn_precompile_18)
|
||||
CLASS_MEMBER_FIELD(__vwsn_precompile_19)
|
||||
CLASS_MEMBER_FIELD(__vwsn_precompile_2)
|
||||
CLASS_MEMBER_FIELD(__vwsn_precompile_20)
|
||||
CLASS_MEMBER_FIELD(__vwsn_precompile_21)
|
||||
CLASS_MEMBER_FIELD(__vwsn_precompile_22)
|
||||
CLASS_MEMBER_FIELD(__vwsn_precompile_23)
|
||||
CLASS_MEMBER_FIELD(__vwsn_precompile_3)
|
||||
CLASS_MEMBER_FIELD(__vwsn_precompile_4)
|
||||
CLASS_MEMBER_FIELD(__vwsn_precompile_5)
|
||||
CLASS_MEMBER_FIELD(__vwsn_precompile_6)
|
||||
CLASS_MEMBER_FIELD(__vwsn_precompile_7)
|
||||
CLASS_MEMBER_FIELD(__vwsn_precompile_8)
|
||||
CLASS_MEMBER_FIELD(__vwsn_precompile_9)
|
||||
CLASS_MEMBER_FIELD(ViewModel)
|
||||
CLASS_MEMBER_FIELD(scRendering)
|
||||
CLASS_MEMBER_FIELD(self)
|
||||
CLASS_MEMBER_FIELD(textListFrames)
|
||||
CLASS_MEMBER_FIELD(treeViewFileNodes)
|
||||
END_CLASS_MEMBER(::gaclib_controls::UnitTestSnapshotViewerWindowConstructor)
|
||||
|
||||
#undef _
|
||||
class GuiUnitTestSnapshotViewerTypeLoader : public Object, public ITypeLoader
|
||||
{
|
||||
public:
|
||||
void Load(ITypeManager* manager)
|
||||
{
|
||||
ADD_TYPE_INFO(::gaclib_controls::IUnitTestSnapshotFileNode)
|
||||
ADD_TYPE_INFO(::gaclib_controls::IUnitTestSnapshotFrame)
|
||||
ADD_TYPE_INFO(::gaclib_controls::IUnitTestSnapshotViewerStringsStrings)
|
||||
ADD_TYPE_INFO(::gaclib_controls::IUnitTestSnapshotViewerViewModel)
|
||||
ADD_TYPE_INFO(::gaclib_controls::UnitTestSnapshotFileNodeType)
|
||||
ADD_TYPE_INFO(::gaclib_controls::UnitTestSnapshotViewerStrings)
|
||||
ADD_TYPE_INFO(::gaclib_controls::UnitTestSnapshotViewerWindow)
|
||||
ADD_TYPE_INFO(::gaclib_controls::UnitTestSnapshotViewerWindowConstructor)
|
||||
}
|
||||
|
||||
void Unload(ITypeManager* manager)
|
||||
{
|
||||
}
|
||||
};
|
||||
#endif
|
||||
#endif
|
||||
|
||||
bool LoadGuiUnitTestSnapshotViewerTypes()
|
||||
{
|
||||
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
|
||||
if (auto manager = GetGlobalTypeManager())
|
||||
{
|
||||
return manager->AddTypeLoader(Ptr(new GuiUnitTestSnapshotViewerTypeLoader));
|
||||
}
|
||||
#endif
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#if defined( _MSC_VER)
|
||||
#pragma warning(pop)
|
||||
#elif defined(__clang__)
|
||||
#pragma clang diagnostic pop
|
||||
#elif defined(__GNUC__)
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
|
||||
@@ -0,0 +1,137 @@
|
||||
/***********************************************************************
|
||||
THIS FILE IS AUTOMATICALLY GENERATED. DO NOT MODIFY
|
||||
DEVELOPER: Zihan Chen(vczh)
|
||||
***********************************************************************/
|
||||
#include "GacUI.UnitTest.UI.h"
|
||||
#include "GacUIReflection.h"
|
||||
#include "GacUI.h"
|
||||
#include "VlppGlrParser.h"
|
||||
#include "VlppWorkflowLibrary.h"
|
||||
#include "VlppReflection.h"
|
||||
#include "VlppOS.h"
|
||||
#include "Vlpp.h"
|
||||
#include "VlppRegex.h"
|
||||
|
||||
/***********************************************************************
|
||||
.\GUIUNITTESTSNAPSHOTVIEWERREFLECTION.H
|
||||
***********************************************************************/
|
||||
/***********************************************************************
|
||||
!!!!!! DO NOT MODIFY !!!!!!
|
||||
|
||||
Source: GacUI UnitTestSnapshotViewer
|
||||
|
||||
This file is generated by Workflow compiler
|
||||
https://github.com/vczh-libraries
|
||||
***********************************************************************/
|
||||
|
||||
#ifndef VCZH_WORKFLOW_COMPILER_GENERATED_GUIUNITTESTSNAPSHOTVIEWERREFLECTION
|
||||
#define VCZH_WORKFLOW_COMPILER_GENERATED_GUIUNITTESTSNAPSHOTVIEWERREFLECTION
|
||||
|
||||
#ifndef VCZH_DEBUG_NO_REFLECTION
|
||||
#endif
|
||||
|
||||
#if defined( _MSC_VER)
|
||||
#pragma warning(push)
|
||||
#pragma warning(disable:4250)
|
||||
#elif defined(__clang__)
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wparentheses-equality"
|
||||
#elif defined(__GNUC__)
|
||||
#pragma GCC diagnostic push
|
||||
#endif
|
||||
|
||||
/***********************************************************************
|
||||
Reflection
|
||||
***********************************************************************/
|
||||
|
||||
namespace vl
|
||||
{
|
||||
namespace reflection
|
||||
{
|
||||
namespace description
|
||||
{
|
||||
#ifndef VCZH_DEBUG_NO_REFLECTION
|
||||
DECL_TYPE_INFO(::gaclib_controls::IUnitTestSnapshotFileNode)
|
||||
DECL_TYPE_INFO(::gaclib_controls::IUnitTestSnapshotFrame)
|
||||
DECL_TYPE_INFO(::gaclib_controls::IUnitTestSnapshotViewerStringsStrings)
|
||||
DECL_TYPE_INFO(::gaclib_controls::IUnitTestSnapshotViewerViewModel)
|
||||
DECL_TYPE_INFO(::gaclib_controls::UnitTestSnapshotFileNodeType)
|
||||
DECL_TYPE_INFO(::gaclib_controls::UnitTestSnapshotViewerStrings)
|
||||
DECL_TYPE_INFO(::gaclib_controls::UnitTestSnapshotViewerWindow)
|
||||
DECL_TYPE_INFO(::gaclib_controls::UnitTestSnapshotViewerWindowConstructor)
|
||||
|
||||
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
|
||||
|
||||
BEGIN_INTERFACE_PROXY_NOPARENT_SHAREDPTR(::gaclib_controls::IUnitTestSnapshotFileNode)
|
||||
::vl::collections::LazyList<::vl::Ptr<::gaclib_controls::IUnitTestSnapshotFileNode>> GetChildren() override
|
||||
{
|
||||
INVOKEGET_INTERFACE_PROXY_NOPARAMS(GetChildren);
|
||||
}
|
||||
::vl::collections::LazyList<::vl::Ptr<::gaclib_controls::IUnitTestSnapshotFrame>> GetFrames() override
|
||||
{
|
||||
INVOKEGET_INTERFACE_PROXY_NOPARAMS(GetFrames);
|
||||
}
|
||||
::vl::WString GetName() override
|
||||
{
|
||||
INVOKEGET_INTERFACE_PROXY_NOPARAMS(GetName);
|
||||
}
|
||||
::gaclib_controls::UnitTestSnapshotFileNodeType GetNodeType() override
|
||||
{
|
||||
INVOKEGET_INTERFACE_PROXY_NOPARAMS(GetNodeType);
|
||||
}
|
||||
void Refresh() override
|
||||
{
|
||||
INVOKE_INTERFACE_PROXY_NOPARAMS(Refresh);
|
||||
}
|
||||
END_INTERFACE_PROXY(::gaclib_controls::IUnitTestSnapshotFileNode)
|
||||
|
||||
BEGIN_INTERFACE_PROXY_NOPARENT_SHAREDPTR(::gaclib_controls::IUnitTestSnapshotFrame)
|
||||
::vl::WString GetCommandsAsJsonText() override
|
||||
{
|
||||
INVOKEGET_INTERFACE_PROXY_NOPARAMS(GetCommandsAsJsonText);
|
||||
}
|
||||
::vl::WString GetDomAsJsonText() override
|
||||
{
|
||||
INVOKEGET_INTERFACE_PROXY_NOPARAMS(GetDomAsJsonText);
|
||||
}
|
||||
::vl::WString GetElementsAsJsonText() override
|
||||
{
|
||||
INVOKEGET_INTERFACE_PROXY_NOPARAMS(GetElementsAsJsonText);
|
||||
}
|
||||
::vl::WString GetName() override
|
||||
{
|
||||
INVOKEGET_INTERFACE_PROXY_NOPARAMS(GetName);
|
||||
}
|
||||
END_INTERFACE_PROXY(::gaclib_controls::IUnitTestSnapshotFrame)
|
||||
|
||||
BEGIN_INTERFACE_PROXY_NOPARENT_SHAREDPTR(::gaclib_controls::IUnitTestSnapshotViewerStringsStrings)
|
||||
::vl::WString WindowTitle() override
|
||||
{
|
||||
INVOKEGET_INTERFACE_PROXY_NOPARAMS(WindowTitle);
|
||||
}
|
||||
END_INTERFACE_PROXY(::gaclib_controls::IUnitTestSnapshotViewerStringsStrings)
|
||||
|
||||
BEGIN_INTERFACE_PROXY_NOPARENT_SHAREDPTR(::gaclib_controls::IUnitTestSnapshotViewerViewModel)
|
||||
::vl::Ptr<::gaclib_controls::IUnitTestSnapshotFileNode> GetRootNode() override
|
||||
{
|
||||
INVOKEGET_INTERFACE_PROXY_NOPARAMS(GetRootNode);
|
||||
}
|
||||
END_INTERFACE_PROXY(::gaclib_controls::IUnitTestSnapshotViewerViewModel)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
extern bool LoadGuiUnitTestSnapshotViewerTypes();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#if defined( _MSC_VER)
|
||||
#pragma warning(pop)
|
||||
#elif defined(__clang__)
|
||||
#pragma clang diagnostic pop
|
||||
#elif defined(__GNUC__)
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
@@ -0,0 +1,285 @@
|
||||
/***********************************************************************
|
||||
THIS FILE IS AUTOMATICALLY GENERATED. DO NOT MODIFY
|
||||
DEVELOPER: Zihan Chen(vczh)
|
||||
***********************************************************************/
|
||||
#include "GacUI.UnitTest.h"
|
||||
|
||||
/***********************************************************************
|
||||
.\GUIUNITTESTPROTOCOL_SHARED.CPP
|
||||
***********************************************************************/
|
||||
|
||||
namespace vl::presentation::unittest
|
||||
{
|
||||
using namespace vl::collections;
|
||||
|
||||
/***********************************************************************
|
||||
UnitTestScreenConfig
|
||||
***********************************************************************/
|
||||
|
||||
void UnitTestScreenConfig::FastInitialize(vint width, vint height, vint taskBarHeight)
|
||||
{
|
||||
executablePath = WString::Unmanaged(L"/GacUI/Remote/Protocol/UnitTest.exe");
|
||||
customFramePadding = { 8,8,8,8 };
|
||||
|
||||
fontConfig.defaultFont.fontFamily = WString::Unmanaged(L"GacUI Default Font");
|
||||
fontConfig.defaultFont.size = 12;
|
||||
fontConfig.supportedFonts = Ptr(new List<WString>());
|
||||
fontConfig.supportedFonts->Add(fontConfig.defaultFont.fontFamily);
|
||||
|
||||
screenConfig.bounds = { 0,0,width,height };
|
||||
screenConfig.clientBounds = { 0,0,width,(height - taskBarHeight) };
|
||||
screenConfig.scalingX = 1;
|
||||
screenConfig.scalingY = 1;
|
||||
}
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
.\GUIUNITTESTUTILITIES.CPP
|
||||
***********************************************************************/
|
||||
|
||||
namespace vl::presentation::controls
|
||||
{
|
||||
extern bool GACUI_UNITTEST_ONLY_SKIP_THREAD_LOCAL_STORAGE_DISPOSE_STORAGES;
|
||||
extern bool GACUI_UNITTEST_ONLY_SKIP_TYPE_AND_PLUGIN_LOAD_UNLOAD;
|
||||
}
|
||||
|
||||
namespace vl::presentation::unittest
|
||||
{
|
||||
const UnitTestFrameworkConfig* globalUnitTestFrameworkConfig = nullptr;
|
||||
|
||||
const UnitTestFrameworkConfig& GetUnitTestFrameworkConfig()
|
||||
{
|
||||
CHECK_ERROR(globalUnitTestFrameworkConfig, L"vl::presentation::unittest::GetUnitTestFrameworkConfig()#GacUIUnitTest_Initialize has not been called.");
|
||||
return *globalUnitTestFrameworkConfig;
|
||||
}
|
||||
}
|
||||
|
||||
using namespace vl;
|
||||
using namespace vl::collections;
|
||||
using namespace vl::filesystem;
|
||||
using namespace vl::reflection::description;
|
||||
using namespace vl::glr::json;
|
||||
using namespace vl::presentation;
|
||||
using namespace vl::presentation::remoteprotocol;
|
||||
using namespace vl::presentation::controls;
|
||||
using namespace vl::presentation::unittest;
|
||||
|
||||
class UnitTestContextImpl : public Object, public virtual IUnitTestContext
|
||||
{
|
||||
UnitTestRemoteProtocol* protocol = nullptr;
|
||||
|
||||
public:
|
||||
UnitTestContextImpl(UnitTestRemoteProtocol* _protocol)
|
||||
: protocol(_protocol)
|
||||
{
|
||||
}
|
||||
|
||||
UnitTestRemoteProtocol* GetProtocol()
|
||||
{
|
||||
return protocol;
|
||||
}
|
||||
};
|
||||
|
||||
UnitTestMainFunc guiMainProxy;
|
||||
UnitTestContextImpl* guiMainUnitTestContext = nullptr;
|
||||
|
||||
void GacUIUnitTest_Initialize(const UnitTestFrameworkConfig* config)
|
||||
{
|
||||
CHECK_ERROR(config, L"GacUIUnitTest_Initialize()#Argument config should not be null.");
|
||||
globalUnitTestFrameworkConfig = config;
|
||||
|
||||
GACUI_UNITTEST_ONLY_SKIP_THREAD_LOCAL_STORAGE_DISPOSE_STORAGES = true;
|
||||
GACUI_UNITTEST_ONLY_SKIP_TYPE_AND_PLUGIN_LOAD_UNLOAD = true;
|
||||
|
||||
GetGlobalTypeManager()->Load();
|
||||
GetPluginManager()->Load(true, false);
|
||||
}
|
||||
|
||||
void GacUIUnitTest_Finalize()
|
||||
{
|
||||
ResetGlobalTypeManager();
|
||||
GetPluginManager()->Unload(true, false);
|
||||
DestroyPluginManager();
|
||||
ThreadLocalStorage::DisposeStorages();
|
||||
|
||||
GACUI_UNITTEST_ONLY_SKIP_THREAD_LOCAL_STORAGE_DISPOSE_STORAGES = false;
|
||||
GACUI_UNITTEST_ONLY_SKIP_TYPE_AND_PLUGIN_LOAD_UNLOAD = false;
|
||||
globalUnitTestFrameworkConfig = nullptr;
|
||||
}
|
||||
|
||||
void GacUIUnitTest_SetGuiMainProxy(const UnitTestMainFunc& proxy)
|
||||
{
|
||||
guiMainProxy = proxy;
|
||||
}
|
||||
|
||||
void GacUIUnitTest_LinkGuiMainProxy(const UnitTestLinkFunc& proxy)
|
||||
{
|
||||
auto previousMainProxy = guiMainProxy;
|
||||
GacUIUnitTest_SetGuiMainProxy([=](UnitTestRemoteProtocol* protocol, IUnitTestContext* context)
|
||||
{
|
||||
proxy(protocol, context, previousMainProxy);
|
||||
});
|
||||
}
|
||||
|
||||
File GacUIUnitTest_PrepareSnapshotFile(const WString& appName, const WString& extension)
|
||||
{
|
||||
#define ERROR_MESSAGE_PREFIX L"GacUIUnitTest_PrepareSnapshotFile(const WString&, const WString&)#"
|
||||
Folder snapshotFolder = GetUnitTestFrameworkConfig().snapshotFolder;
|
||||
CHECK_ERROR(snapshotFolder.Exists(), ERROR_MESSAGE_PREFIX L"UnitTestFrameworkConfig::snapshotFolder does not point to an existing folder.");
|
||||
|
||||
File snapshotFile = snapshotFolder.GetFilePath() / (appName + extension);
|
||||
{
|
||||
auto pathPrefix = snapshotFolder.GetFilePath().GetFullPath() + WString::FromChar(FilePath::Delimiter);
|
||||
auto snapshotPath = snapshotFile.GetFilePath().GetFullPath();
|
||||
CHECK_ERROR(
|
||||
snapshotPath.Length() > pathPrefix.Length() && snapshotPath.Left(pathPrefix.Length()) == pathPrefix,
|
||||
ERROR_MESSAGE_PREFIX L"Argument appName should specify a file that is inside UnitTestFrameworkConfig::snapshotFolder"
|
||||
);
|
||||
Folder snapshotFileFolder = snapshotFile.GetFilePath().GetFolder();
|
||||
if (!snapshotFileFolder.Exists())
|
||||
{
|
||||
CHECK_ERROR(snapshotFileFolder.Create(true), ERROR_MESSAGE_PREFIX L"Failed to create the folder to contain the snapshot file specified by argument appName.");
|
||||
}
|
||||
}
|
||||
|
||||
return snapshotFile;
|
||||
#undef ERROR_MESSAGE_PREFIX
|
||||
}
|
||||
|
||||
void GacUIUnitTest_Start(const WString& appName, Nullable<UnitTestScreenConfig> config)
|
||||
{
|
||||
#define ERROR_MESSAGE_PREFIX L"GacUIUnitTest_Start(const WString&, Nullable<UnitTestScreenConfig>)#"
|
||||
UnitTestScreenConfig globalConfig;
|
||||
if (config)
|
||||
{
|
||||
globalConfig = config.Value();
|
||||
}
|
||||
else
|
||||
{
|
||||
globalConfig.FastInitialize(1024, 768);
|
||||
}
|
||||
|
||||
UnitTestRemoteProtocol unitTestProtocol(appName, globalConfig);
|
||||
repeatfiltering::GuiRemoteProtocolFilterVerifier verifierProtocol(unitTestProtocol.GetProtocol());
|
||||
repeatfiltering::GuiRemoteProtocolFilter filteredProtocol(&verifierProtocol);
|
||||
|
||||
UnitTestContextImpl unitTestContext(&unitTestProtocol);
|
||||
guiMainUnitTestContext = &unitTestContext;
|
||||
SetupRemoteNativeController(&filteredProtocol);
|
||||
GacUIUnitTest_SetGuiMainProxy({});
|
||||
|
||||
{
|
||||
File snapshotFile = GacUIUnitTest_PrepareSnapshotFile(appName, WString::Unmanaged(L".json"));
|
||||
|
||||
JsonFormatting formatting;
|
||||
formatting.spaceAfterColon = true;
|
||||
formatting.spaceAfterComma = true;
|
||||
formatting.crlf = true;
|
||||
formatting.compact = true;
|
||||
|
||||
auto jsonLog = remoteprotocol::ConvertCustomTypeToJson(unitTestProtocol.GetLoggedTrace());
|
||||
auto textLog = JsonToString(jsonLog, formatting);
|
||||
{
|
||||
remoteprotocol::RenderingTrace deserialized;
|
||||
remoteprotocol::ConvertJsonToCustomType(jsonLog, deserialized);
|
||||
auto jsonLog2 = remoteprotocol::ConvertCustomTypeToJson(deserialized);
|
||||
auto textLog2 = JsonToString(jsonLog2, formatting);
|
||||
CHECK_ERROR(textLog == textLog2, ERROR_MESSAGE_PREFIX L"Serialization and deserialization doesn't match.");
|
||||
}
|
||||
bool succeeded = snapshotFile.WriteAllText(textLog, false, stream::BomEncoder::Utf8);
|
||||
CHECK_ERROR(succeeded, ERROR_MESSAGE_PREFIX L"Failed to write the snapshot file.");
|
||||
}
|
||||
#undef ERROR_MESSAGE_PREFIX
|
||||
}
|
||||
|
||||
void GacUIUnitTest_Start_WithResourceAsText(const WString& appName, Nullable<UnitTestScreenConfig> config, const WString& resourceText)
|
||||
{
|
||||
#define ERROR_MESSAGE_PREFIX L"GacUIUnitTest_Start_WithResourceAsText(const WString&, Nullable<UnitTestScreenConfig>, const WString&)#"
|
||||
auto previousMainProxy = guiMainProxy;
|
||||
GacUIUnitTest_LinkGuiMainProxy([=](UnitTestRemoteProtocol* protocol, IUnitTestContext* context, const UnitTestMainFunc& previousMainProxy)
|
||||
{
|
||||
auto resource = GacUIUnitTest_CompileAndLoad(resourceText);
|
||||
{
|
||||
auto workflow = resource->GetStringByPath(L"UnitTest/Workflow");
|
||||
File snapshotFile = GacUIUnitTest_PrepareSnapshotFile(
|
||||
appName,
|
||||
#ifdef VCZH_64
|
||||
WString::Unmanaged(L"[x64].txt")
|
||||
#else
|
||||
WString::Unmanaged(L"[x86].txt")
|
||||
#endif
|
||||
);
|
||||
bool succeeded = snapshotFile.WriteAllText(workflow, false, stream::BomEncoder::Utf8);
|
||||
CHECK_ERROR(succeeded, ERROR_MESSAGE_PREFIX L"Failed to write the snapshot file.");
|
||||
}
|
||||
previousMainProxy(protocol, context);
|
||||
});
|
||||
GacUIUnitTest_Start(appName, config);
|
||||
#undef ERROR_MESSAGE_PREFIX
|
||||
}
|
||||
|
||||
Ptr<GuiResource> GacUIUnitTest_CompileAndLoad(const WString& xmlResource)
|
||||
{
|
||||
#define ERROR_MESSAGE_PREFIX L"GacUIUnitTest_CompileAndLoad(const WString&)#"
|
||||
Ptr<GuiResource> resource;
|
||||
GuiResourceError::List errors;
|
||||
{
|
||||
auto resourcePath = (GetUnitTestFrameworkConfig().resourceFolder / L"Resource.xml").GetFullPath();
|
||||
auto resourceFolder = GetUnitTestFrameworkConfig().resourceFolder.GetFullPath();
|
||||
auto parser = GetParserManager()->GetParser<glr::xml::XmlDocument>(L"XML");
|
||||
auto xml = parser->Parse({ WString::Empty,resourcePath }, xmlResource, errors);
|
||||
CHECK_ERROR(xml && errors.Count() == 0, ERROR_MESSAGE_PREFIX L"Failed to parse XML resource.");
|
||||
|
||||
resource = GuiResource::LoadFromXml(xml, resourcePath, resourceFolder, errors);
|
||||
CHECK_ERROR(resource && errors.Count() == 0, ERROR_MESSAGE_PREFIX L"Failed to load XML resource.");
|
||||
}
|
||||
|
||||
auto precompiledFolder = resource->Precompile(
|
||||
#ifdef VCZH_64
|
||||
GuiResourceCpuArchitecture::x64,
|
||||
#else
|
||||
GuiResourceCpuArchitecture::x86,
|
||||
#endif
|
||||
nullptr,
|
||||
errors
|
||||
);
|
||||
CHECK_ERROR(precompiledFolder && errors.Count() == 0, ERROR_MESSAGE_PREFIX L"Failed to precompile XML resource.");
|
||||
|
||||
auto compiledWorkflow = precompiledFolder->GetValueByPath(WString::Unmanaged(L"Workflow/InstanceClass")).Cast<GuiInstanceCompiledWorkflow>();
|
||||
CHECK_ERROR(compiledWorkflow, ERROR_MESSAGE_PREFIX L"Failed to compile generated Workflow script.");
|
||||
CHECK_ERROR(compiledWorkflow->assembly, ERROR_MESSAGE_PREFIX L"Failed to load Workflow assembly.");
|
||||
|
||||
{
|
||||
WString text;
|
||||
auto& codes = compiledWorkflow->assembly->insAfterCodegen->moduleCodes;
|
||||
for (auto [code, codeIndex] : indexed(codes))
|
||||
{
|
||||
text += L"================================(" + itow(codeIndex + 1) + L"/" + itow(codes.Count()) + L")================================\r\n";
|
||||
text += code + L"\r\n";
|
||||
}
|
||||
resource->CreateValueByPath(
|
||||
WString::Unmanaged(L"UnitTest/Workflow"),
|
||||
WString::Unmanaged(L"Text"),
|
||||
Ptr(new GuiTextData(text))
|
||||
);
|
||||
}
|
||||
|
||||
GetResourceManager()->SetResource(resource, errors, GuiResourceUsage::InstanceClass);
|
||||
CHECK_ERROR(errors.Count() == 0, ERROR_MESSAGE_PREFIX L"Failed to load compiled XML resource.");
|
||||
|
||||
return resource;
|
||||
#undef ERROR_MESSAGE_PREFIX
|
||||
}
|
||||
|
||||
void GuiMain()
|
||||
{
|
||||
if (guiMainUnitTestContext)
|
||||
{
|
||||
guiMainProxy(guiMainUnitTestContext->GetProtocol(), guiMainUnitTestContext);
|
||||
}
|
||||
else
|
||||
{
|
||||
guiMainProxy(nullptr, nullptr);
|
||||
}
|
||||
guiMainUnitTestContext = nullptr;
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
+30
-42
@@ -2880,8 +2880,16 @@ int SetupWindowsDirect2DRendererInternal(bool hosted)
|
||||
GuiHostedController* hostedController = nullptr;
|
||||
StartWindowsNativeController(hInstance);
|
||||
auto nativeController = GetWindowsNativeController();
|
||||
if (hosted) hostedController = new GuiHostedController(nativeController);
|
||||
SetNativeController(hostedController ? hostedController : nativeController);
|
||||
if (hosted)
|
||||
{
|
||||
hostedController = new GuiHostedController(nativeController);
|
||||
SetNativeController(hostedController);
|
||||
SetHostedApplication(hostedController->GetHostedApplication());
|
||||
}
|
||||
else
|
||||
{
|
||||
SetNativeController(nativeController);
|
||||
}
|
||||
|
||||
{
|
||||
// install listener
|
||||
@@ -2897,7 +2905,11 @@ int SetupWindowsDirect2DRendererInternal(bool hosted)
|
||||
|
||||
// destroy controller
|
||||
SetNativeController(nullptr);
|
||||
if (hostedController) delete hostedController;
|
||||
if (hostedController)
|
||||
{
|
||||
SetHostedApplication(nullptr);
|
||||
delete hostedController;
|
||||
}
|
||||
StopWindowsNativeController();
|
||||
return 0;
|
||||
}
|
||||
@@ -8628,8 +8640,16 @@ int SetupWindowsGDIRendererInternal(bool hosted)
|
||||
GuiHostedController* hostedController = nullptr;
|
||||
StartWindowsNativeController(hInstance);
|
||||
auto nativeController = GetWindowsNativeController();
|
||||
if (hosted) hostedController = new GuiHostedController(nativeController);
|
||||
SetNativeController(hostedController ? hostedController : nativeController);
|
||||
if (hosted)
|
||||
{
|
||||
hostedController = new GuiHostedController(nativeController);
|
||||
SetNativeController(hostedController);
|
||||
SetHostedApplication(hostedController->GetHostedApplication());
|
||||
}
|
||||
else
|
||||
{
|
||||
SetNativeController(nativeController);
|
||||
}
|
||||
|
||||
{
|
||||
// install listener
|
||||
@@ -8645,7 +8665,11 @@ int SetupWindowsGDIRendererInternal(bool hosted)
|
||||
|
||||
// destroy controller
|
||||
SetNativeController(nullptr);
|
||||
if (hostedController) delete hostedController;
|
||||
if (hostedController)
|
||||
{
|
||||
SetHostedApplication(nullptr);
|
||||
delete hostedController;
|
||||
}
|
||||
StopWindowsNativeController();
|
||||
return 0;
|
||||
}
|
||||
@@ -13691,11 +13715,6 @@ WindowsImageFrame
|
||||
|
||||
WindowsImageFrame::~WindowsImageFrame()
|
||||
{
|
||||
// TODO: (enumerable) foreach
|
||||
for(vint i=0;i<caches.Count();i++)
|
||||
{
|
||||
caches.Values().Get(i)->OnDetach(this);
|
||||
}
|
||||
}
|
||||
|
||||
INativeImage* WindowsImageFrame::GetImage()
|
||||
@@ -13711,37 +13730,6 @@ WindowsImageFrame
|
||||
return Size(width, height);
|
||||
}
|
||||
|
||||
bool WindowsImageFrame::SetCache(void* key, Ptr<INativeImageFrameCache> cache)
|
||||
{
|
||||
vint index=caches.Keys().IndexOf(key);
|
||||
if(index!=-1)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
caches.Add(key, cache);
|
||||
cache->OnAttach(this);
|
||||
return true;
|
||||
}
|
||||
|
||||
Ptr<INativeImageFrameCache> WindowsImageFrame::GetCache(void* key)
|
||||
{
|
||||
vint index=caches.Keys().IndexOf(key);
|
||||
return index==-1?nullptr:caches.Values().Get(index);
|
||||
}
|
||||
|
||||
Ptr<INativeImageFrameCache> WindowsImageFrame::RemoveCache(void* key)
|
||||
{
|
||||
vint index=caches.Keys().IndexOf(key);
|
||||
if(index==-1)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
Ptr<INativeImageFrameCache> cache=caches.Values().Get(index);
|
||||
cache->OnDetach(this);
|
||||
caches.Remove(key);
|
||||
return cache;
|
||||
}
|
||||
|
||||
IWICBitmap* WindowsImageFrame::GetFrameBitmap()
|
||||
{
|
||||
return frameBitmap.Obj();
|
||||
|
||||
@@ -1926,12 +1926,11 @@ namespace vl
|
||||
{
|
||||
namespace windows
|
||||
{
|
||||
class WindowsImageFrame : public Object, public INativeImageFrame
|
||||
class WindowsImageFrame : public NativeImageFrameBase
|
||||
{
|
||||
protected:
|
||||
INativeImage* image;
|
||||
ComPtr<IWICBitmap> frameBitmap;
|
||||
collections::Dictionary<void*, Ptr<INativeImageFrameCache>> caches;
|
||||
|
||||
void Initialize(IWICBitmapSource* bitmapSource);
|
||||
public:
|
||||
@@ -1941,9 +1940,6 @@ namespace vl
|
||||
|
||||
INativeImage* GetImage()override;
|
||||
Size GetSize()override;
|
||||
bool SetCache(void* key, Ptr<INativeImageFrameCache> cache)override;
|
||||
Ptr<INativeImageFrameCache> GetCache(void* key)override;
|
||||
Ptr<INativeImageFrameCache> RemoveCache(void* key)override;
|
||||
IWICBitmap* GetFrameBitmap();
|
||||
void SaveBitmapToStream(stream::IStream& imageStream);
|
||||
};
|
||||
|
||||
+1242
-240
File diff suppressed because it is too large
Load Diff
+1173
-402
File diff suppressed because it is too large
Load Diff
+807
-292
File diff suppressed because it is too large
Load Diff
+174
-79
@@ -1072,6 +1072,7 @@ Licensed under https://github.com/vczh-libraries/License
|
||||
|
||||
namespace vl::presentation::remoteprotocol
|
||||
{
|
||||
class GuiRpArrayMapType;
|
||||
class GuiRpArrayType;
|
||||
class GuiRpAttribute;
|
||||
class GuiRpDeclaration;
|
||||
@@ -1079,6 +1080,7 @@ namespace vl::presentation::remoteprotocol
|
||||
class GuiRpEnumMember;
|
||||
class GuiRpEventDecl;
|
||||
class GuiRpEventRequest;
|
||||
class GuiRpMapType;
|
||||
class GuiRpMessageDecl;
|
||||
class GuiRpMessageRequest;
|
||||
class GuiRpMessageResponse;
|
||||
@@ -1089,6 +1091,8 @@ namespace vl::presentation::remoteprotocol
|
||||
class GuiRpStructDecl;
|
||||
class GuiRpStructMember;
|
||||
class GuiRpType;
|
||||
class GuiRpUnionDecl;
|
||||
class GuiRpUnionMember;
|
||||
|
||||
enum class GuiRpPrimitiveTypes
|
||||
{
|
||||
@@ -1101,6 +1105,14 @@ namespace vl::presentation::remoteprotocol
|
||||
Char = 5,
|
||||
Key = 6,
|
||||
Color = 7,
|
||||
Binary = 8,
|
||||
};
|
||||
|
||||
enum class GuiRpStructType
|
||||
{
|
||||
UNDEFINED_ENUM_ITEM_VALUE = -1,
|
||||
Struct = 0,
|
||||
Class = 1,
|
||||
};
|
||||
|
||||
class GuiRpType abstract : public vl::glr::ParsingAstBase, vl::reflection::Description<GuiRpType>
|
||||
@@ -1113,6 +1125,8 @@ namespace vl::presentation::remoteprotocol
|
||||
virtual void Visit(GuiRpReferenceType* node) = 0;
|
||||
virtual void Visit(GuiRpOptionalType* node) = 0;
|
||||
virtual void Visit(GuiRpArrayType* node) = 0;
|
||||
virtual void Visit(GuiRpArrayMapType* node) = 0;
|
||||
virtual void Visit(GuiRpMapType* node) = 0;
|
||||
};
|
||||
|
||||
virtual void Accept(GuiRpType::IVisitor* visitor) = 0;
|
||||
@@ -1151,6 +1165,24 @@ namespace vl::presentation::remoteprotocol
|
||||
void Accept(GuiRpType::IVisitor* visitor) override;
|
||||
};
|
||||
|
||||
class GuiRpArrayMapType : public GuiRpType, vl::reflection::Description<GuiRpArrayMapType>
|
||||
{
|
||||
public:
|
||||
vl::glr::ParsingToken element;
|
||||
vl::glr::ParsingToken keyField;
|
||||
|
||||
void Accept(GuiRpType::IVisitor* visitor) override;
|
||||
};
|
||||
|
||||
class GuiRpMapType : public GuiRpType, vl::reflection::Description<GuiRpMapType>
|
||||
{
|
||||
public:
|
||||
vl::Ptr<GuiRpType> element;
|
||||
vl::Ptr<GuiRpType> keyType;
|
||||
|
||||
void Accept(GuiRpType::IVisitor* visitor) override;
|
||||
};
|
||||
|
||||
class GuiRpAttribute : public vl::glr::ParsingAstBase, vl::reflection::Description<GuiRpAttribute>
|
||||
{
|
||||
public:
|
||||
@@ -1165,6 +1197,7 @@ namespace vl::presentation::remoteprotocol
|
||||
{
|
||||
public:
|
||||
virtual void Visit(GuiRpEnumDecl* node) = 0;
|
||||
virtual void Visit(GuiRpUnionDecl* node) = 0;
|
||||
virtual void Visit(GuiRpStructDecl* node) = 0;
|
||||
virtual void Visit(GuiRpMessageDecl* node) = 0;
|
||||
virtual void Visit(GuiRpEventDecl* node) = 0;
|
||||
@@ -1190,6 +1223,20 @@ namespace vl::presentation::remoteprotocol
|
||||
void Accept(GuiRpDeclaration::IVisitor* visitor) override;
|
||||
};
|
||||
|
||||
class GuiRpUnionMember : public vl::glr::ParsingAstBase, vl::reflection::Description<GuiRpUnionMember>
|
||||
{
|
||||
public:
|
||||
vl::glr::ParsingToken name;
|
||||
};
|
||||
|
||||
class GuiRpUnionDecl : public GuiRpDeclaration, vl::reflection::Description<GuiRpUnionDecl>
|
||||
{
|
||||
public:
|
||||
vl::collections::List<vl::Ptr<GuiRpUnionMember>> members;
|
||||
|
||||
void Accept(GuiRpDeclaration::IVisitor* visitor) override;
|
||||
};
|
||||
|
||||
class GuiRpStructMember : public vl::glr::ParsingAstBase, vl::reflection::Description<GuiRpStructMember>
|
||||
{
|
||||
public:
|
||||
@@ -1200,6 +1247,7 @@ namespace vl::presentation::remoteprotocol
|
||||
class GuiRpStructDecl : public GuiRpDeclaration, vl::reflection::Description<GuiRpStructDecl>
|
||||
{
|
||||
public:
|
||||
GuiRpStructType type = GuiRpStructType::UNDEFINED_ENUM_ITEM_VALUE;
|
||||
vl::collections::List<vl::Ptr<GuiRpStructMember>> members;
|
||||
|
||||
void Accept(GuiRpDeclaration::IVisitor* visitor) override;
|
||||
@@ -1256,12 +1304,17 @@ namespace vl::reflection::description
|
||||
DECL_TYPE_INFO(vl::presentation::remoteprotocol::GuiRpReferenceType)
|
||||
DECL_TYPE_INFO(vl::presentation::remoteprotocol::GuiRpOptionalType)
|
||||
DECL_TYPE_INFO(vl::presentation::remoteprotocol::GuiRpArrayType)
|
||||
DECL_TYPE_INFO(vl::presentation::remoteprotocol::GuiRpArrayMapType)
|
||||
DECL_TYPE_INFO(vl::presentation::remoteprotocol::GuiRpMapType)
|
||||
DECL_TYPE_INFO(vl::presentation::remoteprotocol::GuiRpAttribute)
|
||||
DECL_TYPE_INFO(vl::presentation::remoteprotocol::GuiRpDeclaration)
|
||||
DECL_TYPE_INFO(vl::presentation::remoteprotocol::GuiRpDeclaration::IVisitor)
|
||||
DECL_TYPE_INFO(vl::presentation::remoteprotocol::GuiRpEnumMember)
|
||||
DECL_TYPE_INFO(vl::presentation::remoteprotocol::GuiRpEnumDecl)
|
||||
DECL_TYPE_INFO(vl::presentation::remoteprotocol::GuiRpUnionMember)
|
||||
DECL_TYPE_INFO(vl::presentation::remoteprotocol::GuiRpUnionDecl)
|
||||
DECL_TYPE_INFO(vl::presentation::remoteprotocol::GuiRpStructMember)
|
||||
DECL_TYPE_INFO(vl::presentation::remoteprotocol::GuiRpStructType)
|
||||
DECL_TYPE_INFO(vl::presentation::remoteprotocol::GuiRpStructDecl)
|
||||
DECL_TYPE_INFO(vl::presentation::remoteprotocol::GuiRpMessageRequest)
|
||||
DECL_TYPE_INFO(vl::presentation::remoteprotocol::GuiRpMessageResponse)
|
||||
@@ -1293,6 +1346,16 @@ namespace vl::reflection::description
|
||||
INVOKE_INTERFACE_PROXY(Visit, node);
|
||||
}
|
||||
|
||||
void Visit(vl::presentation::remoteprotocol::GuiRpArrayMapType* node) override
|
||||
{
|
||||
INVOKE_INTERFACE_PROXY(Visit, node);
|
||||
}
|
||||
|
||||
void Visit(vl::presentation::remoteprotocol::GuiRpMapType* node) override
|
||||
{
|
||||
INVOKE_INTERFACE_PROXY(Visit, node);
|
||||
}
|
||||
|
||||
END_INTERFACE_PROXY(vl::presentation::remoteprotocol::GuiRpType::IVisitor)
|
||||
|
||||
BEGIN_INTERFACE_PROXY_NOPARENT_SHAREDPTR(vl::presentation::remoteprotocol::GuiRpDeclaration::IVisitor)
|
||||
@@ -1301,6 +1364,11 @@ namespace vl::reflection::description
|
||||
INVOKE_INTERFACE_PROXY(Visit, node);
|
||||
}
|
||||
|
||||
void Visit(vl::presentation::remoteprotocol::GuiRpUnionDecl* node) override
|
||||
{
|
||||
INVOKE_INTERFACE_PROXY(Visit, node);
|
||||
}
|
||||
|
||||
void Visit(vl::presentation::remoteprotocol::GuiRpStructDecl* node) override
|
||||
{
|
||||
INVOKE_INTERFACE_PROXY(Visit, node);
|
||||
@@ -1348,6 +1416,7 @@ namespace vl::presentation::remoteprotocol::json_visitor
|
||||
, protected virtual GuiRpDeclaration::IVisitor
|
||||
{
|
||||
protected:
|
||||
virtual void PrintFields(GuiRpArrayMapType* node);
|
||||
virtual void PrintFields(GuiRpArrayType* node);
|
||||
virtual void PrintFields(GuiRpAttribute* node);
|
||||
virtual void PrintFields(GuiRpDeclaration* node);
|
||||
@@ -1355,6 +1424,7 @@ namespace vl::presentation::remoteprotocol::json_visitor
|
||||
virtual void PrintFields(GuiRpEnumMember* node);
|
||||
virtual void PrintFields(GuiRpEventDecl* node);
|
||||
virtual void PrintFields(GuiRpEventRequest* node);
|
||||
virtual void PrintFields(GuiRpMapType* node);
|
||||
virtual void PrintFields(GuiRpMessageDecl* node);
|
||||
virtual void PrintFields(GuiRpMessageRequest* node);
|
||||
virtual void PrintFields(GuiRpMessageResponse* node);
|
||||
@@ -1365,14 +1435,19 @@ namespace vl::presentation::remoteprotocol::json_visitor
|
||||
virtual void PrintFields(GuiRpStructDecl* node);
|
||||
virtual void PrintFields(GuiRpStructMember* node);
|
||||
virtual void PrintFields(GuiRpType* node);
|
||||
virtual void PrintFields(GuiRpUnionDecl* node);
|
||||
virtual void PrintFields(GuiRpUnionMember* node);
|
||||
|
||||
protected:
|
||||
void Visit(GuiRpPrimitiveType* node) override;
|
||||
void Visit(GuiRpReferenceType* node) override;
|
||||
void Visit(GuiRpOptionalType* node) override;
|
||||
void Visit(GuiRpArrayType* node) override;
|
||||
void Visit(GuiRpArrayMapType* node) override;
|
||||
void Visit(GuiRpMapType* node) override;
|
||||
|
||||
void Visit(GuiRpEnumDecl* node) override;
|
||||
void Visit(GuiRpUnionDecl* node) override;
|
||||
void Visit(GuiRpStructDecl* node) override;
|
||||
void Visit(GuiRpMessageDecl* node) override;
|
||||
void Visit(GuiRpEventDecl* node) override;
|
||||
@@ -1384,6 +1459,7 @@ namespace vl::presentation::remoteprotocol::json_visitor
|
||||
void Print(GuiRpDeclaration* node);
|
||||
void Print(GuiRpAttribute* node);
|
||||
void Print(GuiRpEnumMember* node);
|
||||
void Print(GuiRpUnionMember* node);
|
||||
void Print(GuiRpStructMember* node);
|
||||
void Print(GuiRpMessageRequest* node);
|
||||
void Print(GuiRpMessageResponse* node);
|
||||
@@ -1410,47 +1486,58 @@ namespace vl::presentation::remoteprotocol
|
||||
{
|
||||
enum class GuiRemoteProtocolClasses : vl::vint32_t
|
||||
{
|
||||
ArrayType = 0,
|
||||
Attribute = 1,
|
||||
Declaration = 2,
|
||||
EnumDecl = 3,
|
||||
EnumMember = 4,
|
||||
EventDecl = 5,
|
||||
EventRequest = 6,
|
||||
MessageDecl = 7,
|
||||
MessageRequest = 8,
|
||||
MessageResponse = 9,
|
||||
OptionalType = 10,
|
||||
PrimitiveType = 11,
|
||||
ReferenceType = 12,
|
||||
Schema = 13,
|
||||
StructDecl = 14,
|
||||
StructMember = 15,
|
||||
Type = 16,
|
||||
ArrayMapType = 0,
|
||||
ArrayType = 1,
|
||||
Attribute = 2,
|
||||
Declaration = 3,
|
||||
EnumDecl = 4,
|
||||
EnumMember = 5,
|
||||
EventDecl = 6,
|
||||
EventRequest = 7,
|
||||
MapType = 8,
|
||||
MessageDecl = 9,
|
||||
MessageRequest = 10,
|
||||
MessageResponse = 11,
|
||||
OptionalType = 12,
|
||||
PrimitiveType = 13,
|
||||
ReferenceType = 14,
|
||||
Schema = 15,
|
||||
StructDecl = 16,
|
||||
StructMember = 17,
|
||||
Type = 18,
|
||||
UnionDecl = 19,
|
||||
UnionMember = 20,
|
||||
};
|
||||
|
||||
enum class GuiRemoteProtocolFields : vl::vint32_t
|
||||
{
|
||||
ArrayType_element = 0,
|
||||
Attribute_cppType = 1,
|
||||
Attribute_name = 2,
|
||||
Declaration_attributes = 3,
|
||||
Declaration_name = 4,
|
||||
EnumDecl_members = 5,
|
||||
EnumMember_name = 6,
|
||||
EventDecl_request = 7,
|
||||
EventRequest_type = 8,
|
||||
MessageDecl_request = 9,
|
||||
MessageDecl_response = 10,
|
||||
MessageRequest_type = 11,
|
||||
MessageResponse_type = 12,
|
||||
OptionalType_element = 13,
|
||||
PrimitiveType_type = 14,
|
||||
ReferenceType_name = 15,
|
||||
Schema_declarations = 16,
|
||||
StructDecl_members = 17,
|
||||
StructMember_name = 18,
|
||||
StructMember_type = 19,
|
||||
ArrayMapType_element = 0,
|
||||
ArrayMapType_keyField = 1,
|
||||
ArrayType_element = 2,
|
||||
Attribute_cppType = 3,
|
||||
Attribute_name = 4,
|
||||
Declaration_attributes = 5,
|
||||
Declaration_name = 6,
|
||||
EnumDecl_members = 7,
|
||||
EnumMember_name = 8,
|
||||
EventDecl_request = 9,
|
||||
EventRequest_type = 10,
|
||||
MapType_element = 11,
|
||||
MapType_keyType = 12,
|
||||
MessageDecl_request = 13,
|
||||
MessageDecl_response = 14,
|
||||
MessageRequest_type = 15,
|
||||
MessageResponse_type = 16,
|
||||
OptionalType_element = 17,
|
||||
PrimitiveType_type = 18,
|
||||
ReferenceType_name = 19,
|
||||
Schema_declarations = 20,
|
||||
StructDecl_members = 21,
|
||||
StructDecl_type = 22,
|
||||
StructMember_name = 23,
|
||||
StructMember_type = 24,
|
||||
UnionDecl_members = 25,
|
||||
UnionMember_name = 26,
|
||||
};
|
||||
|
||||
extern const wchar_t* GuiRemoteProtocolTypeName(GuiRemoteProtocolClasses type);
|
||||
@@ -1489,36 +1576,40 @@ namespace vl::presentation::remoteprotocol
|
||||
{
|
||||
VAR = 0,
|
||||
ENUM = 1,
|
||||
STRUCT = 2,
|
||||
MESSAGE = 3,
|
||||
REQUEST = 4,
|
||||
RESPONSE = 5,
|
||||
EVENT = 6,
|
||||
BOOLEAN = 7,
|
||||
INTEGER = 8,
|
||||
FLOAT = 9,
|
||||
DOUBLE = 10,
|
||||
STRING = 11,
|
||||
CHAR = 12,
|
||||
KEY = 13,
|
||||
COLOR = 14,
|
||||
CPP_NAME = 15,
|
||||
ATT_NAME = 16,
|
||||
NAME = 17,
|
||||
OPEN_BRACE = 18,
|
||||
CLOSE_BRACE = 19,
|
||||
OPEN_ARRAY = 20,
|
||||
CLOSE_ARRAY = 21,
|
||||
OPEN = 22,
|
||||
CLOSE = 23,
|
||||
COLON = 24,
|
||||
SEMICOLON = 25,
|
||||
COMMA = 26,
|
||||
QUESTION = 27,
|
||||
SPACE = 28,
|
||||
UNION = 2,
|
||||
STRUCT = 3,
|
||||
CLASS = 4,
|
||||
MESSAGE = 5,
|
||||
REQUEST = 6,
|
||||
RESPONSE = 7,
|
||||
EVENT = 8,
|
||||
BOOLEAN = 9,
|
||||
INTEGER = 10,
|
||||
FLOAT = 11,
|
||||
DOUBLE = 12,
|
||||
STRING = 13,
|
||||
CHAR = 14,
|
||||
KEY = 15,
|
||||
COLOR = 16,
|
||||
BINARY = 17,
|
||||
CPP_NAME = 18,
|
||||
ATT_NAME = 19,
|
||||
NAME = 20,
|
||||
OPEN_BRACE = 21,
|
||||
CLOSE_BRACE = 22,
|
||||
OPEN_ARRAY = 23,
|
||||
CLOSE_ARRAY = 24,
|
||||
OPEN = 25,
|
||||
CLOSE = 26,
|
||||
COLON = 27,
|
||||
SEMICOLON = 28,
|
||||
COMMA = 29,
|
||||
DOT = 30,
|
||||
QUESTION = 31,
|
||||
SPACE = 32,
|
||||
};
|
||||
|
||||
constexpr vl::vint GuiRemoteProtocolTokenCount = 29;
|
||||
constexpr vl::vint GuiRemoteProtocolTokenCount = 33;
|
||||
extern bool GuiRemoteProtocolTokenDeleter(vl::vint token);
|
||||
extern const wchar_t* GuiRemoteProtocolTokenId(GuiRemoteProtocolTokens token);
|
||||
extern const wchar_t* GuiRemoteProtocolTokenDisplayText(GuiRemoteProtocolTokens token);
|
||||
@@ -1545,20 +1636,23 @@ namespace vl::presentation::remoteprotocol
|
||||
enum class ParserStates
|
||||
{
|
||||
RType = 0,
|
||||
RAttributeParameter = 16,
|
||||
RAttribute = 19,
|
||||
REnumMember = 27,
|
||||
REnum = 31,
|
||||
RStructMember = 38,
|
||||
RStruct = 45,
|
||||
RMessageRequest = 52,
|
||||
RMessageResponse = 58,
|
||||
RMessage = 64,
|
||||
REventRequest = 72,
|
||||
REvent = 78,
|
||||
RDeclDetail = 85,
|
||||
RDecl = 91,
|
||||
Schema = 95,
|
||||
RAttributeParameter = 26,
|
||||
RAttribute = 29,
|
||||
REnumMember = 37,
|
||||
REnum = 41,
|
||||
RUnionMember = 48,
|
||||
RUnion = 52,
|
||||
RStructMember = 59,
|
||||
RStructBody = 66,
|
||||
RStruct = 72,
|
||||
RMessageRequest = 78,
|
||||
RMessageResponse = 84,
|
||||
RMessage = 90,
|
||||
REventRequest = 98,
|
||||
REvent = 104,
|
||||
RDeclDetail = 111,
|
||||
RDecl = 118,
|
||||
Schema = 122,
|
||||
};
|
||||
|
||||
const wchar_t* ParserRuleName(vl::vint index);
|
||||
@@ -1611,6 +1705,7 @@ namespace vl::presentation
|
||||
collections::SortedList<WString> dropRepeatDeclNames;
|
||||
collections::SortedList<WString> dropConsecutiveDeclNames;
|
||||
collections::Dictionary<WString, remoteprotocol::GuiRpEnumDecl*> enumDecls;
|
||||
collections::Dictionary<WString, remoteprotocol::GuiRpUnionDecl*> unionDecls;
|
||||
collections::Dictionary<WString, remoteprotocol::GuiRpStructDecl*> structDecls;
|
||||
collections::Dictionary<WString, remoteprotocol::GuiRpMessageDecl*> messageDecls;
|
||||
collections::Dictionary<WString, remoteprotocol::GuiRpEventDecl*> eventDecls;
|
||||
|
||||
+29
-18
@@ -217,13 +217,16 @@ Plugin
|
||||
GUI_PLUGIN_DEPEND(GacUI_Res_ResourceResolver);
|
||||
}
|
||||
|
||||
void Load()override
|
||||
void Load(bool controllerUnrelatedPlugins, bool controllerRelatedPlugins)override
|
||||
{
|
||||
IGuiResourceResolverManager* manager = GetResourceResolverManager();
|
||||
manager->SetTypeResolver(Ptr(new GuiResourceCompiledWorkflowTypeResolver));
|
||||
if (controllerUnrelatedPlugins)
|
||||
{
|
||||
IGuiResourceResolverManager* manager = GetResourceResolverManager();
|
||||
manager->SetTypeResolver(Ptr(new GuiResourceCompiledWorkflowTypeResolver));
|
||||
}
|
||||
}
|
||||
|
||||
void Unload()override
|
||||
void Unload(bool controllerUnrelatedPlugins, bool controllerRelatedPlugins)override
|
||||
{
|
||||
}
|
||||
};
|
||||
@@ -2412,6 +2415,9 @@ Type Declaration (Class)
|
||||
CLASS_MEMBER_BASE(GuiControl)
|
||||
CLASS_MEMBER_BASE(GuiInstanceRootObject)
|
||||
CONTROL_CONSTRUCTOR_CONTROLT_TEMPLATE_INHERITANCE(GuiCustomControl)
|
||||
|
||||
CLASS_MEMBER_METHOD(SetFocusableComposition, { L"value" })
|
||||
CLASS_MEMBER_PROPERTY(FocusableComposition, GetFocusableComposition, SetFocusableComposition)
|
||||
END_CLASS_MEMBER(GuiCustomControl)
|
||||
|
||||
BEGIN_CLASS_MEMBER(GuiLabel)
|
||||
@@ -3658,22 +3664,25 @@ namespace vl
|
||||
{
|
||||
}
|
||||
|
||||
void Load()override
|
||||
void Load(bool controllerUnrelatedPlugins, bool controllerRelatedPlugins)override
|
||||
{
|
||||
LoadPredefinedTypes();
|
||||
LoadParsing2Types();
|
||||
XmlAstLoadTypes();
|
||||
JsonAstLoadTypes();
|
||||
WfLoadLibraryTypes();
|
||||
LoadGuiBasicTypes();
|
||||
LoadGuiElementTypes();
|
||||
LoadGuiCompositionTypes();
|
||||
LoadGuiEventTypes();
|
||||
LoadGuiTemplateTypes();
|
||||
LoadGuiControlTypes();
|
||||
if (controllerUnrelatedPlugins)
|
||||
{
|
||||
LoadPredefinedTypes();
|
||||
LoadParsing2Types();
|
||||
XmlAstLoadTypes();
|
||||
JsonAstLoadTypes();
|
||||
WfLoadLibraryTypes();
|
||||
LoadGuiBasicTypes();
|
||||
LoadGuiElementTypes();
|
||||
LoadGuiCompositionTypes();
|
||||
LoadGuiEventTypes();
|
||||
LoadGuiTemplateTypes();
|
||||
LoadGuiControlTypes();
|
||||
}
|
||||
}
|
||||
|
||||
void Unload()override
|
||||
void Unload(bool controllerUnrelatedPlugins, bool controllerRelatedPlugins)override
|
||||
{
|
||||
}
|
||||
};
|
||||
@@ -3813,6 +3822,8 @@ Type Declaration (Extra)
|
||||
CLASS_MEMBER_METHOD(AddControlHostComponent, {L"controlHost"})
|
||||
CLASS_MEMBER_METHOD(AddAnimation, { L"animation" })
|
||||
CLASS_MEMBER_METHOD(KillAnimation, { L"animation" })
|
||||
CLASS_MEMBER_METHOD(GetNamedObject, { L"name" })
|
||||
CLASS_MEMBER_METHOD(SetNamedObject, { L"name" _ L"namedObject" })
|
||||
END_CLASS_MEMBER(GuiInstanceRootObject)
|
||||
|
||||
BEGIN_CLASS_MEMBER(GuiCommonScrollBehavior)
|
||||
@@ -3951,7 +3962,7 @@ Type Loader
|
||||
/***********************************************************************
|
||||
!!!!!! DO NOT MODIFY !!!!!!
|
||||
|
||||
GacGen.exe Resource.xml
|
||||
Source: GacUI FakeDialogServiceUI
|
||||
|
||||
This file is generated by Workflow compiler
|
||||
https://github.com/vczh-libraries
|
||||
|
||||
@@ -1225,7 +1225,7 @@ Interface Proxy (Controls)
|
||||
/***********************************************************************
|
||||
!!!!!! DO NOT MODIFY !!!!!!
|
||||
|
||||
GacGen.exe Resource.xml
|
||||
Source: GacUI FakeDialogServiceUI
|
||||
|
||||
This file is generated by Workflow compiler
|
||||
https://github.com/vczh-libraries
|
||||
|
||||
@@ -24950,6 +24950,7 @@ Class (::darkskin::ButtonTemplateConstructor)
|
||||
::vl::__vwsn::This(this->__vwsn_precompile_5)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_6));
|
||||
}
|
||||
(this->container = new ::vl::presentation::compositions::GuiBoundsComposition());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"container"), ::vl::__vwsn::Box(this->container));
|
||||
{
|
||||
::vl::__vwsn::This(this->container)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint>(0); __vwsn_temp__.top = static_cast<::vl::vint>(0); __vwsn_temp__.right = static_cast<::vl::vint>(0); __vwsn_temp__.bottom = static_cast<::vl::vint>(0); return __vwsn_temp__; }());
|
||||
}
|
||||
@@ -25150,6 +25151,7 @@ Class (::darkskin::CheckBoxTemplateConstructor)
|
||||
::vl::__vwsn::This(this->__vwsn_precompile_12)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_13));
|
||||
}
|
||||
(this->container = new ::vl::presentation::compositions::GuiBoundsComposition());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"container"), ::vl::__vwsn::Box(this->container));
|
||||
{
|
||||
::vl::__vwsn::This(this->container)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint>(0); __vwsn_temp__.top = static_cast<::vl::vint>(0); __vwsn_temp__.right = static_cast<::vl::vint>(0); __vwsn_temp__.bottom = static_cast<::vl::vint>(0); return __vwsn_temp__; }());
|
||||
}
|
||||
@@ -25290,6 +25292,7 @@ Class (::darkskin::ComboBoxTemplateConstructor)
|
||||
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_2));
|
||||
}
|
||||
(this->container = new ::vl::presentation::compositions::GuiBoundsComposition());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"container"), ::vl::__vwsn::Box(this->container));
|
||||
{
|
||||
::vl::__vwsn::This(this->container)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint>(1); __vwsn_temp__.top = static_cast<::vl::vint>(1); __vwsn_temp__.right = static_cast<::vl::vint>(11); __vwsn_temp__.bottom = static_cast<::vl::vint>(1); return __vwsn_temp__; }());
|
||||
}
|
||||
@@ -25519,6 +25522,7 @@ Class (::darkskin::CustomFrameWindowTemplateConstructor)
|
||||
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_2));
|
||||
}
|
||||
(this->frameTable = new ::vl::presentation::compositions::GuiTableComposition());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"frameTable"), ::vl::__vwsn::Box(this->frameTable));
|
||||
{
|
||||
::vl::__vwsn::This(this->frameTable)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint>(0); __vwsn_temp__.top = static_cast<::vl::vint>(0); __vwsn_temp__.right = static_cast<::vl::vint>(0); __vwsn_temp__.bottom = static_cast<::vl::vint>(0); return __vwsn_temp__; }());
|
||||
}
|
||||
@@ -25618,6 +25622,7 @@ Class (::darkskin::CustomFrameWindowTemplateConstructor)
|
||||
::vl::__vwsn::This(this->__vwsn_precompile_1)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->frameTable));
|
||||
}
|
||||
(this->contentTable = new ::vl::presentation::compositions::GuiTableComposition());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"contentTable"), ::vl::__vwsn::Box(this->contentTable));
|
||||
{
|
||||
::vl::__vwsn::This(this->contentTable)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
|
||||
}
|
||||
@@ -25877,6 +25882,7 @@ Class (::darkskin::CustomFrameWindowTemplateConstructor)
|
||||
::vl::__vwsn::This(this->__vwsn_precompile_38)->SetSite(static_cast<::vl::vint>(1), static_cast<::vl::vint>(0), static_cast<::vl::vint>(1), static_cast<::vl::vint>(5));
|
||||
}
|
||||
(this->container = new ::vl::presentation::compositions::GuiBoundsComposition());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"container"), ::vl::__vwsn::Box(this->container));
|
||||
{
|
||||
::vl::__vwsn::This(this->container)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint>(0); __vwsn_temp__.top = static_cast<::vl::vint>(0); __vwsn_temp__.right = static_cast<::vl::vint>(0); __vwsn_temp__.bottom = static_cast<::vl::vint>(0); return __vwsn_temp__; }());
|
||||
}
|
||||
@@ -26116,6 +26122,7 @@ Class (::darkskin::DateButtonTemplateConstructor)
|
||||
::vl::__vwsn::This(this->self)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_1));
|
||||
}
|
||||
(this->container = new ::vl::presentation::compositions::GuiBoundsComposition());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"container"), ::vl::__vwsn::Box(this->container));
|
||||
{
|
||||
::vl::__vwsn::This(this->container)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint>(0); __vwsn_temp__.top = static_cast<::vl::vint>(0); __vwsn_temp__.right = static_cast<::vl::vint>(0); __vwsn_temp__.bottom = static_cast<::vl::vint>(0); return __vwsn_temp__; }());
|
||||
}
|
||||
@@ -26177,6 +26184,7 @@ Class (::darkskin::DatePickerTemplateConstructor)
|
||||
::vl::__vwsn::This(this->self)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
|
||||
}
|
||||
(this->look = new ::vl::presentation::templates::GuiCommonDatePickerLook(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString::Unmanaged(L"#2D2D30")), ::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString::Unmanaged(L"#FFFFFF")), ::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString::Unmanaged(L"#999999"))));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"look"), ::vl::__vwsn::Box(this->look));
|
||||
{
|
||||
::vl::__vwsn::This(this->look)->SetDateTextListTemplate(vl::Func(::vl_workflow_global::__vwsnf135_DarkSkin_darkskin_DatePickerTemplateConstructor___vwsn_darkskin_DatePickerTemplate_Initialize_(this)));
|
||||
}
|
||||
@@ -26315,6 +26323,7 @@ Class (::darkskin::DocumentTextBoxTemplateConstructor)
|
||||
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_1));
|
||||
}
|
||||
(this->container = new ::vl::presentation::compositions::GuiBoundsComposition());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"container"), ::vl::__vwsn::Box(this->container));
|
||||
{
|
||||
::vl::__vwsn::This(this->container)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint>(1); __vwsn_temp__.top = static_cast<::vl::vint>(1); __vwsn_temp__.right = static_cast<::vl::vint>(1); __vwsn_temp__.bottom = static_cast<::vl::vint>(1); return __vwsn_temp__; }());
|
||||
}
|
||||
@@ -26398,6 +26407,7 @@ Class (::darkskin::DocumentViewerTemplateConstructor)
|
||||
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_1));
|
||||
}
|
||||
(this->look = new ::vl::presentation::templates::GuiCommonScrollViewLook(static_cast<::vl::vint>(20)));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"look"), ::vl::__vwsn::Box(this->look));
|
||||
{
|
||||
::vl::__vwsn::This(this->look)->SetVScrollTemplate(vl::Func(::vl_workflow_global::__vwsnf82_DarkSkin_darkskin_DocumentViewerTemplateConstructor___vwsn_darkskin_DocumentViewerTemplate_Initialize_(this)));
|
||||
}
|
||||
@@ -26624,6 +26634,7 @@ Class (::darkskin::GroupBoxTemplateConstructor)
|
||||
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_2));
|
||||
}
|
||||
(this->container = new ::vl::presentation::compositions::GuiBoundsComposition());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"container"), ::vl::__vwsn::Box(this->container));
|
||||
{
|
||||
::vl::__vwsn::This(this->container)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
|
||||
}
|
||||
@@ -26634,6 +26645,7 @@ Class (::darkskin::GroupBoxTemplateConstructor)
|
||||
::vl::__vwsn::This(this->self)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_1));
|
||||
}
|
||||
(this->titleBounds = new ::vl::presentation::compositions::GuiBoundsComposition());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"titleBounds"), ::vl::__vwsn::Box(this->titleBounds));
|
||||
{
|
||||
::vl::__vwsn::This(this->titleBounds)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint>(5); __vwsn_temp__.top = static_cast<::vl::vint>(0); __vwsn_temp__.right = (- static_cast<::vl::vint>(1)); __vwsn_temp__.bottom = (- static_cast<::vl::vint>(1)); return __vwsn_temp__; }());
|
||||
}
|
||||
@@ -26791,6 +26803,7 @@ Class (::darkskin::HScrollTemplateConstructor)
|
||||
::vl::__vwsn::This(this->self)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
|
||||
}
|
||||
(this->behavior = new ::vl::presentation::templates::GuiCommonScrollBehavior());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"behavior"), ::vl::__vwsn::Box(this->behavior));
|
||||
{
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->behavior));
|
||||
}
|
||||
@@ -26827,6 +26840,7 @@ Class (::darkskin::HScrollTemplateConstructor)
|
||||
}
|
||||
{
|
||||
(this->buttonDecrease = new ::vl::presentation::controls::GuiButton(::vl::presentation::theme::ThemeName::Button));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"buttonDecrease"), ::vl::__vwsn::Box(this->buttonDecrease));
|
||||
}
|
||||
(this->__vwsn_precompile_4 = ::vl::__vwsn::This(this->buttonDecrease)->GetBoundsComposition());
|
||||
{
|
||||
@@ -26856,6 +26870,7 @@ Class (::darkskin::HScrollTemplateConstructor)
|
||||
}
|
||||
{
|
||||
(this->buttonIncrease = new ::vl::presentation::controls::GuiButton(::vl::presentation::theme::ThemeName::Button));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"buttonIncrease"), ::vl::__vwsn::Box(this->buttonIncrease));
|
||||
}
|
||||
(this->__vwsn_precompile_6 = ::vl::__vwsn::This(this->buttonIncrease)->GetBoundsComposition());
|
||||
{
|
||||
@@ -26874,6 +26889,7 @@ Class (::darkskin::HScrollTemplateConstructor)
|
||||
::vl::__vwsn::This(this->self)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_5));
|
||||
}
|
||||
(this->handleContainer = new ::vl::presentation::compositions::GuiBoundsComposition());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"handleContainer"), ::vl::__vwsn::Box(this->handleContainer));
|
||||
{
|
||||
::vl::__vwsn::This(this->handleContainer)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint>(20); __vwsn_temp__.top = static_cast<::vl::vint>(0); __vwsn_temp__.right = static_cast<::vl::vint>(20); __vwsn_temp__.bottom = static_cast<::vl::vint>(0); return __vwsn_temp__; }());
|
||||
}
|
||||
@@ -26881,6 +26897,7 @@ Class (::darkskin::HScrollTemplateConstructor)
|
||||
::vl::__vwsn::This(this->handleContainer)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::NoLimit);
|
||||
}
|
||||
(this->handle = new ::vl::presentation::compositions::GuiPartialViewComposition());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"handle"), ::vl::__vwsn::Box(this->handle));
|
||||
{
|
||||
::vl::__vwsn::This(this->handle)->SetPreferredMinSize([&](){ ::vl::presentation::Size __vwsn_temp__; __vwsn_temp__.x = static_cast<::vl::vint>(10); return __vwsn_temp__; }());
|
||||
}
|
||||
@@ -26979,6 +26996,7 @@ Class (::darkskin::HTrackerTemplateConstructor)
|
||||
::vl::__vwsn::This(this->self)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
|
||||
}
|
||||
(this->behavior = new ::vl::presentation::templates::GuiCommonScrollBehavior());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"behavior"), ::vl::__vwsn::Box(this->behavior));
|
||||
{
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->behavior));
|
||||
}
|
||||
@@ -27032,6 +27050,7 @@ Class (::darkskin::HTrackerTemplateConstructor)
|
||||
::vl::__vwsn::This(this->__vwsn_precompile_1)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_3));
|
||||
}
|
||||
(this->handle = new ::vl::presentation::compositions::GuiPartialViewComposition());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"handle"), ::vl::__vwsn::Box(this->handle));
|
||||
{
|
||||
::vl::__vwsn::This(this->handle)->SetWidthPageSize(static_cast<double>(0));
|
||||
}
|
||||
@@ -27129,6 +27148,7 @@ Class (::darkskin::ItemBackgroundTemplateConstructor)
|
||||
::vl::__vwsn::This(this->self)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_0));
|
||||
}
|
||||
(this->container = new ::vl::presentation::compositions::GuiBoundsComposition());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"container"), ::vl::__vwsn::Box(this->container));
|
||||
{
|
||||
::vl::__vwsn::This(this->container)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint>(0); __vwsn_temp__.top = static_cast<::vl::vint>(0); __vwsn_temp__.right = static_cast<::vl::vint>(0); __vwsn_temp__.bottom = static_cast<::vl::vint>(0); return __vwsn_temp__; }());
|
||||
}
|
||||
@@ -27370,6 +27390,7 @@ Class (::darkskin::ListViewColumnHeaderTemplateConstructor)
|
||||
::vl::__vwsn::This(this->self)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_3));
|
||||
}
|
||||
(this->container = new ::vl::presentation::compositions::GuiBoundsComposition());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"container"), ::vl::__vwsn::Box(this->container));
|
||||
{
|
||||
::vl::__vwsn::This(this->container)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint>(1); __vwsn_temp__.top = static_cast<::vl::vint>(1); __vwsn_temp__.right = static_cast<::vl::vint>(11); __vwsn_temp__.bottom = static_cast<::vl::vint>(1); return __vwsn_temp__; }());
|
||||
}
|
||||
@@ -27470,6 +27491,7 @@ Class (::darkskin::ListViewColumnHeaderTemplateConstructor)
|
||||
}
|
||||
{
|
||||
(this->buttonArrow = new ::vl::presentation::controls::GuiSelectableButton(::vl::presentation::theme::ThemeName::CheckBox));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"buttonArrow"), ::vl::__vwsn::Box(this->buttonArrow));
|
||||
}
|
||||
(this->__vwsn_precompile_14 = ::vl::__vwsn::This(this->buttonArrow)->GetBoundsComposition());
|
||||
{
|
||||
@@ -27631,6 +27653,7 @@ Class (::darkskin::ListViewTemplateConstructor)
|
||||
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_1));
|
||||
}
|
||||
(this->look = new ::vl::presentation::templates::GuiCommonScrollViewLook(static_cast<::vl::vint>(20)));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"look"), ::vl::__vwsn::Box(this->look));
|
||||
{
|
||||
::vl::__vwsn::This(this->look)->SetVScrollTemplate(vl::Func(::vl_workflow_global::__vwsnf119_DarkSkin_darkskin_ListViewTemplateConstructor___vwsn_darkskin_ListViewTemplate_Initialize_(this)));
|
||||
}
|
||||
@@ -28105,6 +28128,7 @@ Class (::darkskin::MultilineTextBoxTemplateConstructor)
|
||||
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_1));
|
||||
}
|
||||
(this->look = new ::vl::presentation::templates::GuiCommonScrollViewLook(static_cast<::vl::vint>(20)));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"look"), ::vl::__vwsn::Box(this->look));
|
||||
{
|
||||
::vl::__vwsn::This(this->look)->SetVScrollTemplate(vl::Func(::vl_workflow_global::__vwsnf313_DarkSkin_darkskin_MultilineTextBoxTemplateConstructor___vwsn_darkskin_MultilineTextBoxTemplate_Initialize_(this)));
|
||||
}
|
||||
@@ -28201,6 +28225,7 @@ Class (::darkskin::ProgressBarTemplateConstructor)
|
||||
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_2));
|
||||
}
|
||||
(this->container = new ::vl::presentation::compositions::GuiBoundsComposition());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"container"), ::vl::__vwsn::Box(this->container));
|
||||
{
|
||||
::vl::__vwsn::This(this->container)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint>(1); __vwsn_temp__.top = static_cast<::vl::vint>(1); __vwsn_temp__.right = static_cast<::vl::vint>(1); __vwsn_temp__.bottom = static_cast<::vl::vint>(1); return __vwsn_temp__; }());
|
||||
}
|
||||
@@ -28388,6 +28413,7 @@ Class (::darkskin::RadioButtonTemplateConstructor)
|
||||
::vl::__vwsn::This(this->__vwsn_precompile_12)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_13));
|
||||
}
|
||||
(this->container = new ::vl::presentation::compositions::GuiBoundsComposition());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"container"), ::vl::__vwsn::Box(this->container));
|
||||
{
|
||||
::vl::__vwsn::This(this->container)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint>(0); __vwsn_temp__.top = static_cast<::vl::vint>(0); __vwsn_temp__.right = static_cast<::vl::vint>(0); __vwsn_temp__.bottom = static_cast<::vl::vint>(0); return __vwsn_temp__; }());
|
||||
}
|
||||
@@ -28718,6 +28744,7 @@ Class (::darkskin::RibbonGalleryTemplateConstructor)
|
||||
::vl::__vwsn::This(this->__vwsn_precompile_2)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_3));
|
||||
}
|
||||
(this->container = new ::vl::presentation::compositions::GuiBoundsComposition());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"container"), ::vl::__vwsn::Box(this->container));
|
||||
{
|
||||
::vl::__vwsn::This(this->container)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint>(0); __vwsn_temp__.top = static_cast<::vl::vint>(0); __vwsn_temp__.right = static_cast<::vl::vint>(0); __vwsn_temp__.bottom = static_cast<::vl::vint>(0); return __vwsn_temp__; }());
|
||||
}
|
||||
@@ -28988,6 +29015,7 @@ Class (::darkskin::RibbonGroupMenuTemplateConstructor)
|
||||
::vl::__vwsn::This(this->__vwsn_precompile_3)->SetColumnOption(static_cast<::vl::vint>(1), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::MinSize; return __vwsn_temp__; }());
|
||||
}
|
||||
(this->container = new ::vl::presentation::compositions::GuiCellComposition());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"container"), ::vl::__vwsn::Box(this->container));
|
||||
{
|
||||
::vl::__vwsn::This(this->container)->SetSite(static_cast<::vl::vint>(0), static_cast<::vl::vint>(0), static_cast<::vl::vint>(1), static_cast<::vl::vint>(2));
|
||||
}
|
||||
@@ -29081,6 +29109,7 @@ Class (::darkskin::RibbonGroupTemplateConstructor)
|
||||
::vl::__vwsn::This(this->self)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
|
||||
}
|
||||
(this->table = new ::vl::presentation::compositions::GuiTableComposition());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"table"), ::vl::__vwsn::Box(this->table));
|
||||
{
|
||||
::vl::__vwsn::This(this->table)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint>(0); __vwsn_temp__.top = static_cast<::vl::vint>(0); __vwsn_temp__.right = static_cast<::vl::vint>(0); __vwsn_temp__.bottom = static_cast<::vl::vint>(0); return __vwsn_temp__; }());
|
||||
}
|
||||
@@ -29105,6 +29134,7 @@ Class (::darkskin::RibbonGroupTemplateConstructor)
|
||||
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetSite(static_cast<::vl::vint>(0), static_cast<::vl::vint>(0), static_cast<::vl::vint>(1), static_cast<::vl::vint>(1));
|
||||
}
|
||||
(this->container = new ::vl::presentation::compositions::GuiBoundsComposition());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"container"), ::vl::__vwsn::Box(this->container));
|
||||
{
|
||||
::vl::__vwsn::This(this->container)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint>(1); __vwsn_temp__.top = static_cast<::vl::vint>(1); __vwsn_temp__.right = static_cast<::vl::vint>(1); __vwsn_temp__.bottom = static_cast<::vl::vint>(1); return __vwsn_temp__; }());
|
||||
}
|
||||
@@ -29290,6 +29320,7 @@ Class (::darkskin::RibbonIconLabelTemplateConstructor)
|
||||
::vl::__vwsn::This(this->__vwsn_precompile_0)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_1));
|
||||
}
|
||||
(this->container = new ::vl::presentation::compositions::GuiCellComposition());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"container"), ::vl::__vwsn::Box(this->container));
|
||||
{
|
||||
::vl::__vwsn::This(this->container)->SetSite(static_cast<::vl::vint>(0), static_cast<::vl::vint>(1), static_cast<::vl::vint>(1), static_cast<::vl::vint>(1));
|
||||
}
|
||||
@@ -29396,6 +29427,7 @@ Class (::darkskin::RibbonLargeButtonTemplateConstructor)
|
||||
::vl::__vwsn::This(this->__vwsn_precompile_4)->SetSite(static_cast<::vl::vint>(0), static_cast<::vl::vint>(0), static_cast<::vl::vint>(1), static_cast<::vl::vint>(1));
|
||||
}
|
||||
(this->container = new ::vl::presentation::compositions::GuiBoundsComposition());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"container"), ::vl::__vwsn::Box(this->container));
|
||||
{
|
||||
::vl::__vwsn::This(this->container)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint>(3); __vwsn_temp__.top = static_cast<::vl::vint>(3); __vwsn_temp__.right = static_cast<::vl::vint>(3); __vwsn_temp__.bottom = static_cast<::vl::vint>(3); return __vwsn_temp__; }());
|
||||
}
|
||||
@@ -29572,6 +29604,7 @@ Class (::darkskin::RibbonLargeDropdownButtonTemplateConstructor)
|
||||
::vl::__vwsn::This(this->__vwsn_precompile_4)->SetSite(static_cast<::vl::vint>(0), static_cast<::vl::vint>(0), static_cast<::vl::vint>(1), static_cast<::vl::vint>(1));
|
||||
}
|
||||
(this->container = new ::vl::presentation::compositions::GuiBoundsComposition());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"container"), ::vl::__vwsn::Box(this->container));
|
||||
{
|
||||
::vl::__vwsn::This(this->container)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint>(3); __vwsn_temp__.top = static_cast<::vl::vint>(3); __vwsn_temp__.right = static_cast<::vl::vint>(3); __vwsn_temp__.bottom = static_cast<::vl::vint>(3); return __vwsn_temp__; }());
|
||||
}
|
||||
@@ -29806,6 +29839,7 @@ Class (::darkskin::RibbonLargeSplitButtonTemplateConstructor)
|
||||
::vl::__vwsn::This(this->__vwsn_precompile_3)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_4));
|
||||
}
|
||||
(this->container = new ::vl::presentation::compositions::GuiBoundsComposition());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"container"), ::vl::__vwsn::Box(this->container));
|
||||
{
|
||||
::vl::__vwsn::This(this->container)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint>(3); __vwsn_temp__.top = static_cast<::vl::vint>(3); __vwsn_temp__.right = static_cast<::vl::vint>(3); __vwsn_temp__.bottom = static_cast<::vl::vint>(3); return __vwsn_temp__; }());
|
||||
}
|
||||
@@ -29845,6 +29879,7 @@ Class (::darkskin::RibbonLargeSplitButtonTemplateConstructor)
|
||||
}
|
||||
{
|
||||
(this->buttonArrow = new ::vl::presentation::controls::GuiSelectableButton(::vl::presentation::theme::ThemeName::CheckBox));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"buttonArrow"), ::vl::__vwsn::Box(this->buttonArrow));
|
||||
}
|
||||
(this->__vwsn_precompile_9 = ::vl::__vwsn::This(this->buttonArrow)->GetBoundsComposition());
|
||||
{
|
||||
@@ -29986,6 +30021,7 @@ Class (::darkskin::RibbonSmallButtonTemplateConstructor)
|
||||
::vl::__vwsn::This(this->__vwsn_precompile_2)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_3));
|
||||
}
|
||||
(this->container = new ::vl::presentation::compositions::GuiTableComposition());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"container"), ::vl::__vwsn::Box(this->container));
|
||||
{
|
||||
::vl::__vwsn::This(this->container)->SetCellPadding(static_cast<::vl::vint>(3));
|
||||
}
|
||||
@@ -30150,6 +30186,7 @@ Class (::darkskin::RibbonSmallDropdownButtonTemplateConstructor)
|
||||
::vl::__vwsn::This(this->__vwsn_precompile_2)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_3));
|
||||
}
|
||||
(this->container = new ::vl::presentation::compositions::GuiTableComposition());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"container"), ::vl::__vwsn::Box(this->container));
|
||||
{
|
||||
::vl::__vwsn::This(this->container)->SetCellPadding(static_cast<::vl::vint>(3));
|
||||
}
|
||||
@@ -30416,6 +30453,7 @@ Class (::darkskin::RibbonSmallIconLabelTemplateConstructor)
|
||||
::vl::__vwsn::This(this->__vwsn_precompile_0)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_4));
|
||||
}
|
||||
(this->container = new ::vl::presentation::compositions::GuiCellComposition());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"container"), ::vl::__vwsn::Box(this->container));
|
||||
{
|
||||
::vl::__vwsn::This(this->container)->SetSite(static_cast<::vl::vint>(0), static_cast<::vl::vint>(2), static_cast<::vl::vint>(1), static_cast<::vl::vint>(1));
|
||||
}
|
||||
@@ -30529,6 +30567,7 @@ Class (::darkskin::RibbonSmallSplitButtonTemplateConstructor)
|
||||
::vl::__vwsn::This(this->__vwsn_precompile_2)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_3));
|
||||
}
|
||||
(this->container = new ::vl::presentation::compositions::GuiTableComposition());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"container"), ::vl::__vwsn::Box(this->container));
|
||||
{
|
||||
::vl::__vwsn::This(this->container)->SetCellPadding(static_cast<::vl::vint>(3));
|
||||
}
|
||||
@@ -30601,6 +30640,7 @@ Class (::darkskin::RibbonSmallSplitButtonTemplateConstructor)
|
||||
}
|
||||
{
|
||||
(this->buttonArrow = new ::vl::presentation::controls::GuiSelectableButton(::vl::presentation::theme::ThemeName::CheckBox));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"buttonArrow"), ::vl::__vwsn::Box(this->buttonArrow));
|
||||
}
|
||||
(this->__vwsn_precompile_11 = ::vl::__vwsn::This(this->buttonArrow)->GetBoundsComposition());
|
||||
{
|
||||
@@ -30971,6 +31011,7 @@ Class (::darkskin::RibbonToolstripMenuTemplateConstructor)
|
||||
::vl::__vwsn::This(this->__vwsn_precompile_4)->SetColumnOption(static_cast<::vl::vint>(1), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Absolute; __vwsn_temp__.absolute = static_cast<::vl::vint>(4); return __vwsn_temp__; }());
|
||||
}
|
||||
(this->content = new ::vl::presentation::compositions::GuiCellComposition());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"content"), ::vl::__vwsn::Box(this->content));
|
||||
{
|
||||
::vl::__vwsn::This(this->content)->SetSite(static_cast<::vl::vint>(0), static_cast<::vl::vint>(0), static_cast<::vl::vint>(1), static_cast<::vl::vint>(2));
|
||||
}
|
||||
@@ -31006,6 +31047,7 @@ Class (::darkskin::RibbonToolstripMenuTemplateConstructor)
|
||||
::vl::__vwsn::This(this->__vwsn_precompile_8)->SetSite(static_cast<::vl::vint>(2), static_cast<::vl::vint>(0), static_cast<::vl::vint>(1), static_cast<::vl::vint>(2));
|
||||
}
|
||||
(this->container = new ::vl::presentation::compositions::GuiBoundsComposition());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"container"), ::vl::__vwsn::Box(this->container));
|
||||
{
|
||||
::vl::__vwsn::This(this->container)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint>(3); __vwsn_temp__.top = static_cast<::vl::vint>(3); __vwsn_temp__.right = static_cast<::vl::vint>(3); __vwsn_temp__.bottom = static_cast<::vl::vint>(3); return __vwsn_temp__; }());
|
||||
}
|
||||
@@ -31251,6 +31293,7 @@ Class (::darkskin::ScrollViewTemplateConstructor)
|
||||
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_2));
|
||||
}
|
||||
(this->look = new ::vl::presentation::templates::GuiCommonScrollViewLook(static_cast<::vl::vint>(20)));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"look"), ::vl::__vwsn::Box(this->look));
|
||||
{
|
||||
::vl::__vwsn::This(this->look)->SetVScrollTemplate(vl::Func(::vl_workflow_global::__vwsnf280_DarkSkin_darkskin_ScrollViewTemplateConstructor___vwsn_darkskin_ScrollViewTemplate_Initialize_(this)));
|
||||
}
|
||||
@@ -31426,6 +31469,7 @@ Class (::darkskin::SinglelineTextBoxTemplateConstructor)
|
||||
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_1));
|
||||
}
|
||||
(this->container = new ::vl::presentation::compositions::GuiBoundsComposition());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"container"), ::vl::__vwsn::Box(this->container));
|
||||
{
|
||||
::vl::__vwsn::This(this->container)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint>(1); __vwsn_temp__.top = static_cast<::vl::vint>(1); __vwsn_temp__.right = static_cast<::vl::vint>(1); __vwsn_temp__.bottom = static_cast<::vl::vint>(1); return __vwsn_temp__; }());
|
||||
}
|
||||
@@ -31502,6 +31546,7 @@ Class (::darkskin::SystemFrameWindowTemplateConstructor)
|
||||
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_1));
|
||||
}
|
||||
(this->container = new ::vl::presentation::compositions::GuiBoundsComposition());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"container"), ::vl::__vwsn::Box(this->container));
|
||||
{
|
||||
::vl::__vwsn::This(this->container)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint>(0); __vwsn_temp__.top = static_cast<::vl::vint>(0); __vwsn_temp__.right = static_cast<::vl::vint>(0); __vwsn_temp__.bottom = static_cast<::vl::vint>(0); return __vwsn_temp__; }());
|
||||
}
|
||||
@@ -31817,6 +31862,7 @@ Class (::darkskin::TabTemplateConstructor)
|
||||
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_1));
|
||||
}
|
||||
(this->beforeHeadersContainer = new ::vl::presentation::compositions::GuiCellComposition());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"beforeHeadersContainer"), ::vl::__vwsn::Box(this->beforeHeadersContainer));
|
||||
{
|
||||
::vl::__vwsn::This(this->beforeHeadersContainer)->SetSite(static_cast<::vl::vint>(0), static_cast<::vl::vint>(0), static_cast<::vl::vint>(1), static_cast<::vl::vint>(1));
|
||||
}
|
||||
@@ -31824,6 +31870,7 @@ Class (::darkskin::TabTemplateConstructor)
|
||||
::vl::__vwsn::This(this->__vwsn_precompile_0)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->beforeHeadersContainer));
|
||||
}
|
||||
(this->afterHeadersContainer = new ::vl::presentation::compositions::GuiCellComposition());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"afterHeadersContainer"), ::vl::__vwsn::Box(this->afterHeadersContainer));
|
||||
{
|
||||
::vl::__vwsn::This(this->afterHeadersContainer)->SetSite(static_cast<::vl::vint>(0), static_cast<::vl::vint>(2), static_cast<::vl::vint>(1), static_cast<::vl::vint>(1));
|
||||
}
|
||||
@@ -31835,6 +31882,7 @@ Class (::darkskin::TabTemplateConstructor)
|
||||
::vl::__vwsn::This(this->__vwsn_precompile_2)->SetSite(static_cast<::vl::vint>(0), static_cast<::vl::vint>(1), static_cast<::vl::vint>(1), static_cast<::vl::vint>(1));
|
||||
}
|
||||
(this->header = new ::vl::presentation::compositions::GuiRepeatFlowComposition());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"header"), ::vl::__vwsn::Box(this->header));
|
||||
{
|
||||
::vl::__vwsn::This(this->header)->SetItemTemplate(vl::Func(::vl_workflow_global::__vwsnf306_DarkSkin_darkskin_TabTemplateConstructor___vwsn_darkskin_TabTemplate_Initialize_(this)));
|
||||
}
|
||||
@@ -31876,6 +31924,7 @@ Class (::darkskin::TabTemplateConstructor)
|
||||
::vl::__vwsn::This(this->__vwsn_precompile_5)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_6));
|
||||
}
|
||||
(this->container = new ::vl::presentation::compositions::GuiBoundsComposition());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"container"), ::vl::__vwsn::Box(this->container));
|
||||
{
|
||||
::vl::__vwsn::This(this->container)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint>(1); __vwsn_temp__.top = static_cast<::vl::vint>(1); __vwsn_temp__.right = static_cast<::vl::vint>(1); __vwsn_temp__.bottom = static_cast<::vl::vint>(1); return __vwsn_temp__; }());
|
||||
}
|
||||
@@ -32034,6 +32083,7 @@ Class (::darkskin::TextListTemplateConstructor)
|
||||
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_1));
|
||||
}
|
||||
(this->look = new ::vl::presentation::templates::GuiCommonScrollViewLook(static_cast<::vl::vint>(20)));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"look"), ::vl::__vwsn::Box(this->look));
|
||||
{
|
||||
::vl::__vwsn::This(this->look)->SetVScrollTemplate(vl::Func(::vl_workflow_global::__vwsnf125_DarkSkin_darkskin_TextListTemplateConstructor___vwsn_darkskin_TextListTemplate_Initialize_(this)));
|
||||
}
|
||||
@@ -32345,6 +32395,7 @@ Class (::darkskin::ToolstripButtonTemplateConstructor)
|
||||
::vl::__vwsn::This(this->__vwsn_precompile_2)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_3));
|
||||
}
|
||||
(this->container = new ::vl::presentation::compositions::GuiBoundsComposition());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"container"), ::vl::__vwsn::Box(this->container));
|
||||
{
|
||||
::vl::__vwsn::This(this->container)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint>(3); __vwsn_temp__.top = static_cast<::vl::vint>(3); __vwsn_temp__.right = static_cast<::vl::vint>(3); __vwsn_temp__.bottom = static_cast<::vl::vint>(3); return __vwsn_temp__; }());
|
||||
}
|
||||
@@ -32458,6 +32509,7 @@ Class (::darkskin::ToolstripDropdownButtonTemplateConstructor)
|
||||
::vl::__vwsn::This(this->__vwsn_precompile_2)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_3));
|
||||
}
|
||||
(this->container = new ::vl::presentation::compositions::GuiBoundsComposition());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"container"), ::vl::__vwsn::Box(this->container));
|
||||
{
|
||||
::vl::__vwsn::This(this->container)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint>(3); __vwsn_temp__.top = static_cast<::vl::vint>(3); __vwsn_temp__.right = static_cast<::vl::vint>(3); __vwsn_temp__.bottom = static_cast<::vl::vint>(3); return __vwsn_temp__; }());
|
||||
}
|
||||
@@ -32626,6 +32678,7 @@ Class (::darkskin::ToolstripMenuTemplateConstructor)
|
||||
::vl::__vwsn::This(this->__vwsn_precompile_2)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_3));
|
||||
}
|
||||
(this->container = new ::vl::presentation::compositions::GuiBoundsComposition());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"container"), ::vl::__vwsn::Box(this->container));
|
||||
{
|
||||
::vl::__vwsn::This(this->container)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint>(3); __vwsn_temp__.top = static_cast<::vl::vint>(3); __vwsn_temp__.right = static_cast<::vl::vint>(3); __vwsn_temp__.bottom = static_cast<::vl::vint>(3); return __vwsn_temp__; }());
|
||||
}
|
||||
@@ -32804,6 +32857,7 @@ Class (::darkskin::ToolstripSplitButtonTemplateConstructor)
|
||||
::vl::__vwsn::This(this->__vwsn_precompile_2)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_3));
|
||||
}
|
||||
(this->container = new ::vl::presentation::compositions::GuiBoundsComposition());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"container"), ::vl::__vwsn::Box(this->container));
|
||||
{
|
||||
::vl::__vwsn::This(this->container)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint>(3); __vwsn_temp__.top = static_cast<::vl::vint>(3); __vwsn_temp__.right = static_cast<::vl::vint>(3); __vwsn_temp__.bottom = static_cast<::vl::vint>(3); return __vwsn_temp__; }());
|
||||
}
|
||||
@@ -32843,6 +32897,7 @@ Class (::darkskin::ToolstripSplitButtonTemplateConstructor)
|
||||
}
|
||||
{
|
||||
(this->buttonArrow = new ::vl::presentation::controls::GuiSelectableButton(::vl::presentation::theme::ThemeName::CheckBox));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"buttonArrow"), ::vl::__vwsn::Box(this->buttonArrow));
|
||||
}
|
||||
(this->__vwsn_precompile_8 = ::vl::__vwsn::This(this->buttonArrow)->GetBoundsComposition());
|
||||
{
|
||||
@@ -33021,6 +33076,7 @@ Class (::darkskin::ToolstripTemplateConstructor)
|
||||
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_1));
|
||||
}
|
||||
(this->container = new ::vl::presentation::compositions::GuiBoundsComposition());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"container"), ::vl::__vwsn::Box(this->container));
|
||||
{
|
||||
::vl::__vwsn::This(this->container)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint>(2); __vwsn_temp__.top = static_cast<::vl::vint>(2); __vwsn_temp__.right = static_cast<::vl::vint>(2); __vwsn_temp__.bottom = static_cast<::vl::vint>(2); return __vwsn_temp__; }());
|
||||
}
|
||||
@@ -33091,6 +33147,7 @@ Class (::darkskin::TooltipTemplateConstructor)
|
||||
::vl::__vwsn::This(this->__vwsn_precompile_2)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_3));
|
||||
}
|
||||
(this->container = new ::vl::presentation::compositions::GuiBoundsComposition());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"container"), ::vl::__vwsn::Box(this->container));
|
||||
{
|
||||
::vl::__vwsn::This(this->container)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint>(1); __vwsn_temp__.top = static_cast<::vl::vint>(1); __vwsn_temp__.right = static_cast<::vl::vint>(1); __vwsn_temp__.bottom = static_cast<::vl::vint>(1); return __vwsn_temp__; }());
|
||||
}
|
||||
@@ -33248,6 +33305,7 @@ Class (::darkskin::TreeViewTemplateConstructor)
|
||||
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_1));
|
||||
}
|
||||
(this->look = new ::vl::presentation::templates::GuiCommonScrollViewLook(static_cast<::vl::vint>(20)));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"look"), ::vl::__vwsn::Box(this->look));
|
||||
{
|
||||
::vl::__vwsn::This(this->look)->SetVScrollTemplate(vl::Func(::vl_workflow_global::__vwsnf130_DarkSkin_darkskin_TreeViewTemplateConstructor___vwsn_darkskin_TreeViewTemplate_Initialize_(this)));
|
||||
}
|
||||
@@ -33378,6 +33436,7 @@ Class (::darkskin::VScrollTemplateConstructor)
|
||||
::vl::__vwsn::This(this->self)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
|
||||
}
|
||||
(this->behavior = new ::vl::presentation::templates::GuiCommonScrollBehavior());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"behavior"), ::vl::__vwsn::Box(this->behavior));
|
||||
{
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->behavior));
|
||||
}
|
||||
@@ -33414,6 +33473,7 @@ Class (::darkskin::VScrollTemplateConstructor)
|
||||
}
|
||||
{
|
||||
(this->buttonDecrease = new ::vl::presentation::controls::GuiButton(::vl::presentation::theme::ThemeName::Button));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"buttonDecrease"), ::vl::__vwsn::Box(this->buttonDecrease));
|
||||
}
|
||||
(this->__vwsn_precompile_4 = ::vl::__vwsn::This(this->buttonDecrease)->GetBoundsComposition());
|
||||
{
|
||||
@@ -33443,6 +33503,7 @@ Class (::darkskin::VScrollTemplateConstructor)
|
||||
}
|
||||
{
|
||||
(this->buttonIncrease = new ::vl::presentation::controls::GuiButton(::vl::presentation::theme::ThemeName::Button));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"buttonIncrease"), ::vl::__vwsn::Box(this->buttonIncrease));
|
||||
}
|
||||
(this->__vwsn_precompile_6 = ::vl::__vwsn::This(this->buttonIncrease)->GetBoundsComposition());
|
||||
{
|
||||
@@ -33461,6 +33522,7 @@ Class (::darkskin::VScrollTemplateConstructor)
|
||||
::vl::__vwsn::This(this->self)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_5));
|
||||
}
|
||||
(this->handleContainer = new ::vl::presentation::compositions::GuiBoundsComposition());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"handleContainer"), ::vl::__vwsn::Box(this->handleContainer));
|
||||
{
|
||||
::vl::__vwsn::This(this->handleContainer)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint>(0); __vwsn_temp__.top = static_cast<::vl::vint>(20); __vwsn_temp__.right = static_cast<::vl::vint>(0); __vwsn_temp__.bottom = static_cast<::vl::vint>(20); return __vwsn_temp__; }());
|
||||
}
|
||||
@@ -33468,6 +33530,7 @@ Class (::darkskin::VScrollTemplateConstructor)
|
||||
::vl::__vwsn::This(this->handleContainer)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::NoLimit);
|
||||
}
|
||||
(this->handle = new ::vl::presentation::compositions::GuiPartialViewComposition());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"handle"), ::vl::__vwsn::Box(this->handle));
|
||||
{
|
||||
::vl::__vwsn::This(this->handle)->SetPreferredMinSize([&](){ ::vl::presentation::Size __vwsn_temp__; __vwsn_temp__.y = static_cast<::vl::vint>(10); return __vwsn_temp__; }());
|
||||
}
|
||||
@@ -33566,6 +33629,7 @@ Class (::darkskin::VTrackerTemplateConstructor)
|
||||
::vl::__vwsn::This(this->self)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
|
||||
}
|
||||
(this->behavior = new ::vl::presentation::templates::GuiCommonScrollBehavior());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"behavior"), ::vl::__vwsn::Box(this->behavior));
|
||||
{
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->behavior));
|
||||
}
|
||||
@@ -33619,6 +33683,7 @@ Class (::darkskin::VTrackerTemplateConstructor)
|
||||
::vl::__vwsn::This(this->__vwsn_precompile_1)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_3));
|
||||
}
|
||||
(this->handle = new ::vl::presentation::compositions::GuiPartialViewComposition());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"handle"), ::vl::__vwsn::Box(this->handle));
|
||||
{
|
||||
::vl::__vwsn::This(this->handle)->SetHeightPageSize(static_cast<double>(0));
|
||||
}
|
||||
@@ -33763,16 +33828,19 @@ namespace vl
|
||||
#endif
|
||||
}
|
||||
|
||||
void Load()override
|
||||
void Load(bool controllerUnrelatedPlugins, bool controllerRelatedPlugins)override
|
||||
{
|
||||
List<GuiResourceError> errors;
|
||||
MemoryStream resourceStream;
|
||||
DarkSkinResourceReader::ReadToStream(resourceStream);
|
||||
resourceStream.SeekFromBegin(0);
|
||||
GetResourceManager()->LoadResourceOrPending(resourceStream, GuiResourceUsage::InstanceClass);
|
||||
if (controllerRelatedPlugins)
|
||||
{
|
||||
List<GuiResourceError> errors;
|
||||
MemoryStream resourceStream;
|
||||
DarkSkinResourceReader::ReadToStream(resourceStream);
|
||||
resourceStream.SeekFromBegin(0);
|
||||
GetResourceManager()->LoadResourceOrPending(resourceStream, GuiResourceUsage::InstanceClass);
|
||||
}
|
||||
}
|
||||
|
||||
void Unload()override
|
||||
void Unload(bool controllerUnrelatedPlugins, bool controllerRelatedPlugins)override
|
||||
{
|
||||
}
|
||||
};
|
||||
|
||||
+206
-51
@@ -1327,6 +1327,83 @@ JsonUnescapeVisitor
|
||||
}
|
||||
};
|
||||
|
||||
/***********************************************************************
|
||||
JsonFormatting
|
||||
***********************************************************************/
|
||||
|
||||
JsonFormatting::JsonFormatting()
|
||||
: indentation(L" ")
|
||||
{
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
JsonIsCompactVisitor
|
||||
***********************************************************************/
|
||||
|
||||
class JsonIsCompactVisitorBase : public Object, public JsonNode::IVisitor
|
||||
{
|
||||
public:
|
||||
bool result = true;
|
||||
|
||||
void Visit(JsonLiteral* node) override
|
||||
{
|
||||
}
|
||||
|
||||
void Visit(JsonString* node) override
|
||||
{
|
||||
}
|
||||
|
||||
void Visit(JsonNumber* node) override
|
||||
{
|
||||
}
|
||||
};
|
||||
|
||||
class JsonIsCompactFieldVisitor : public JsonIsCompactVisitorBase
|
||||
{
|
||||
public:
|
||||
void Visit(JsonArray* node) override
|
||||
{
|
||||
result = node->items.Count() == 0;
|
||||
}
|
||||
|
||||
void Visit(JsonObject* node) override
|
||||
{
|
||||
result = node->fields.Count() == 0;
|
||||
}
|
||||
};
|
||||
|
||||
class JsonIsCompactVisitor : public JsonIsCompactVisitorBase
|
||||
{
|
||||
public:
|
||||
void Visit(JsonArray* node) override
|
||||
{
|
||||
for (auto item : node->items)
|
||||
{
|
||||
JsonIsCompactFieldVisitor visitor;
|
||||
item->Accept(&visitor);
|
||||
if (!visitor.result)
|
||||
{
|
||||
result = false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void Visit(JsonObject* node) override
|
||||
{
|
||||
for (auto field : node->fields)
|
||||
{
|
||||
JsonIsCompactFieldVisitor visitor;
|
||||
field->value->Accept(&visitor);
|
||||
if (!visitor.result)
|
||||
{
|
||||
result = false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
/***********************************************************************
|
||||
JsonPrintVisitor
|
||||
***********************************************************************/
|
||||
@@ -1334,13 +1411,31 @@ JsonPrintVisitor
|
||||
class JsonPrintVisitor : public Object, public JsonNode::IVisitor
|
||||
{
|
||||
public:
|
||||
JsonFormatting formatting;
|
||||
TextWriter& writer;
|
||||
vint indent = 0;
|
||||
|
||||
JsonPrintVisitor(TextWriter& _writer)
|
||||
:writer(_writer)
|
||||
JsonPrintVisitor(JsonFormatting _formatting, TextWriter& _writer)
|
||||
: formatting(_formatting)
|
||||
, writer(_writer)
|
||||
{
|
||||
}
|
||||
|
||||
void WriteIndentation()
|
||||
{
|
||||
for (vint i = 0; i < indent; i++)
|
||||
{
|
||||
writer.WriteString(formatting.indentation);
|
||||
}
|
||||
}
|
||||
|
||||
bool IsCompact(JsonNode* node)
|
||||
{
|
||||
JsonIsCompactVisitor visitor;
|
||||
node->Accept(&visitor);
|
||||
return visitor.result;
|
||||
}
|
||||
|
||||
void Visit(JsonLiteral* node) override
|
||||
{
|
||||
switch(node->value)
|
||||
@@ -1370,13 +1465,59 @@ JsonPrintVisitor
|
||||
writer.WriteString(node->content.value);
|
||||
}
|
||||
|
||||
void AfterOpeningObject(bool insertCrlf)
|
||||
{
|
||||
if (insertCrlf)
|
||||
{
|
||||
writer.WriteString(L"\r\n");
|
||||
indent++;
|
||||
}
|
||||
}
|
||||
|
||||
void BeforeClosingObject(bool insertCrlf)
|
||||
{
|
||||
if (insertCrlf)
|
||||
{
|
||||
indent--;
|
||||
WriteIndentation();
|
||||
}
|
||||
}
|
||||
|
||||
void BeforeChildNode(bool insertCrlf)
|
||||
{
|
||||
if (insertCrlf) WriteIndentation();
|
||||
}
|
||||
|
||||
void AfterChildNode(bool insertCrlf, bool lastNode)
|
||||
{
|
||||
if (!lastNode)
|
||||
{
|
||||
if ((!insertCrlf || !formatting.crlf) && formatting.spaceAfterComma)
|
||||
{
|
||||
writer.WriteString(L", ");
|
||||
}
|
||||
else
|
||||
{
|
||||
writer.WriteChar(L',');
|
||||
}
|
||||
}
|
||||
if (insertCrlf) writer.WriteString(L"\r\n");
|
||||
}
|
||||
|
||||
void Visit(JsonArray* node) override
|
||||
{
|
||||
writer.WriteChar(L'[');
|
||||
for (auto [item, i] : indexed(node->items))
|
||||
if (node->items.Count() > 0)
|
||||
{
|
||||
if(i>0) writer.WriteChar(L',');
|
||||
item->Accept(this);
|
||||
bool insertCrlf = formatting.crlf && !(formatting.compact && IsCompact(node));
|
||||
AfterOpeningObject(insertCrlf);
|
||||
for (auto [item, i] : indexed(node->items))
|
||||
{
|
||||
BeforeChildNode(insertCrlf);
|
||||
item->Accept(this);
|
||||
AfterChildNode(insertCrlf, i == node->items.Count() - 1);
|
||||
}
|
||||
BeforeClosingObject(insertCrlf);
|
||||
}
|
||||
writer.WriteChar(L']');
|
||||
}
|
||||
@@ -1384,13 +1525,27 @@ JsonPrintVisitor
|
||||
void Visit(JsonObject* node) override
|
||||
{
|
||||
writer.WriteChar(L'{');
|
||||
for (auto [field, i] : indexed(node->fields))
|
||||
if (node->fields.Count() > 0)
|
||||
{
|
||||
if(i>0) writer.WriteChar(L',');
|
||||
writer.WriteChar(L'\"');
|
||||
JsonEscapeString(field->name.value, writer);
|
||||
writer.WriteString(L"\":");
|
||||
field->value->Accept(this);
|
||||
bool insertCrlf = formatting.crlf && !(formatting.compact && IsCompact(node));
|
||||
AfterOpeningObject(insertCrlf);
|
||||
for (auto [field, i] : indexed(node->fields))
|
||||
{
|
||||
BeforeChildNode(insertCrlf);
|
||||
writer.WriteChar(L'\"');
|
||||
JsonEscapeString(field->name.value, writer);
|
||||
if (formatting.spaceAfterColon)
|
||||
{
|
||||
writer.WriteString(L"\": ");
|
||||
}
|
||||
else
|
||||
{
|
||||
writer.WriteString(L"\":");
|
||||
}
|
||||
field->value->Accept(this);
|
||||
AfterChildNode(insertCrlf, i == node->fields.Count() - 1);
|
||||
}
|
||||
BeforeClosingObject(insertCrlf);
|
||||
}
|
||||
writer.WriteChar(L'}');
|
||||
}
|
||||
@@ -1407,17 +1562,17 @@ API
|
||||
return ast;
|
||||
}
|
||||
|
||||
void JsonPrint(Ptr<JsonNode> node, stream::TextWriter& writer)
|
||||
void JsonPrint(Ptr<JsonNode> node, stream::TextWriter& writer, JsonFormatting formatting)
|
||||
{
|
||||
JsonPrintVisitor visitor(writer);
|
||||
JsonPrintVisitor visitor(formatting, writer);
|
||||
node->Accept(&visitor);
|
||||
}
|
||||
|
||||
WString JsonToString(Ptr<JsonNode> node)
|
||||
WString JsonToString(Ptr<JsonNode> node, JsonFormatting formatting)
|
||||
{
|
||||
return GenerateToStream([&](StreamWriter& writer)
|
||||
{
|
||||
JsonPrint(node, writer);
|
||||
JsonPrint(node, writer, formatting);
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -1876,7 +2031,7 @@ namespace vl::glr::json::json_visitor
|
||||
{
|
||||
void AstVisitor::PrintFields(JsonArray* node)
|
||||
{
|
||||
BeginField(L"items");
|
||||
BeginField(vl::WString::Unmanaged(L"items"));
|
||||
BeginArray();
|
||||
for (auto&& listItem : node->items)
|
||||
{
|
||||
@@ -1889,17 +2044,17 @@ namespace vl::glr::json::json_visitor
|
||||
}
|
||||
void AstVisitor::PrintFields(JsonLiteral* node)
|
||||
{
|
||||
BeginField(L"value");
|
||||
BeginField(vl::WString::Unmanaged(L"value"));
|
||||
switch (node->value)
|
||||
{
|
||||
case vl::glr::json::JsonLiteralValue::False:
|
||||
WriteString(L"False");
|
||||
WriteString(vl::WString::Unmanaged(L"False"));
|
||||
break;
|
||||
case vl::glr::json::JsonLiteralValue::Null:
|
||||
WriteString(L"Null");
|
||||
WriteString(vl::WString::Unmanaged(L"Null"));
|
||||
break;
|
||||
case vl::glr::json::JsonLiteralValue::True:
|
||||
WriteString(L"True");
|
||||
WriteString(vl::WString::Unmanaged(L"True"));
|
||||
break;
|
||||
default:
|
||||
WriteNull();
|
||||
@@ -1911,13 +2066,13 @@ namespace vl::glr::json::json_visitor
|
||||
}
|
||||
void AstVisitor::PrintFields(JsonNumber* node)
|
||||
{
|
||||
BeginField(L"content");
|
||||
BeginField(vl::WString::Unmanaged(L"content"));
|
||||
WriteToken(node->content);
|
||||
EndField();
|
||||
}
|
||||
void AstVisitor::PrintFields(JsonObject* node)
|
||||
{
|
||||
BeginField(L"fields");
|
||||
BeginField(vl::WString::Unmanaged(L"fields"));
|
||||
BeginArray();
|
||||
for (auto&& listItem : node->fields)
|
||||
{
|
||||
@@ -1930,16 +2085,16 @@ namespace vl::glr::json::json_visitor
|
||||
}
|
||||
void AstVisitor::PrintFields(JsonObjectField* node)
|
||||
{
|
||||
BeginField(L"name");
|
||||
BeginField(vl::WString::Unmanaged(L"name"));
|
||||
WriteToken(node->name);
|
||||
EndField();
|
||||
BeginField(L"value");
|
||||
BeginField(vl::WString::Unmanaged(L"value"));
|
||||
Print(node->value.Obj());
|
||||
EndField();
|
||||
}
|
||||
void AstVisitor::PrintFields(JsonString* node)
|
||||
{
|
||||
BeginField(L"content");
|
||||
BeginField(vl::WString::Unmanaged(L"content"));
|
||||
WriteToken(node->content);
|
||||
EndField();
|
||||
}
|
||||
@@ -1952,7 +2107,7 @@ namespace vl::glr::json::json_visitor
|
||||
return;
|
||||
}
|
||||
BeginObject();
|
||||
WriteType(L"Literal", node);
|
||||
WriteType(vl::WString::Unmanaged(L"Literal"), node);
|
||||
PrintFields(static_cast<JsonNode*>(node));
|
||||
PrintFields(static_cast<JsonLiteral*>(node));
|
||||
EndObject();
|
||||
@@ -1966,7 +2121,7 @@ namespace vl::glr::json::json_visitor
|
||||
return;
|
||||
}
|
||||
BeginObject();
|
||||
WriteType(L"String", node);
|
||||
WriteType(vl::WString::Unmanaged(L"String"), node);
|
||||
PrintFields(static_cast<JsonNode*>(node));
|
||||
PrintFields(static_cast<JsonString*>(node));
|
||||
EndObject();
|
||||
@@ -1980,7 +2135,7 @@ namespace vl::glr::json::json_visitor
|
||||
return;
|
||||
}
|
||||
BeginObject();
|
||||
WriteType(L"Number", node);
|
||||
WriteType(vl::WString::Unmanaged(L"Number"), node);
|
||||
PrintFields(static_cast<JsonNode*>(node));
|
||||
PrintFields(static_cast<JsonNumber*>(node));
|
||||
EndObject();
|
||||
@@ -1994,7 +2149,7 @@ namespace vl::glr::json::json_visitor
|
||||
return;
|
||||
}
|
||||
BeginObject();
|
||||
WriteType(L"Array", node);
|
||||
WriteType(vl::WString::Unmanaged(L"Array"), node);
|
||||
PrintFields(static_cast<JsonNode*>(node));
|
||||
PrintFields(static_cast<JsonArray*>(node));
|
||||
EndObject();
|
||||
@@ -2008,7 +2163,7 @@ namespace vl::glr::json::json_visitor
|
||||
return;
|
||||
}
|
||||
BeginObject();
|
||||
WriteType(L"Object", node);
|
||||
WriteType(vl::WString::Unmanaged(L"Object"), node);
|
||||
PrintFields(static_cast<JsonNode*>(node));
|
||||
PrintFields(static_cast<JsonObject*>(node));
|
||||
EndObject();
|
||||
@@ -2037,7 +2192,7 @@ namespace vl::glr::json::json_visitor
|
||||
return;
|
||||
}
|
||||
BeginObject();
|
||||
WriteType(L"ObjectField", node);
|
||||
WriteType(vl::WString::Unmanaged(L"ObjectField"), node);
|
||||
PrintFields(static_cast<JsonObjectField*>(node));
|
||||
EndObject();
|
||||
}
|
||||
@@ -8114,28 +8269,28 @@ namespace vl::glr::xml::json_visitor
|
||||
{
|
||||
void AstVisitor::PrintFields(XmlAttribute* node)
|
||||
{
|
||||
BeginField(L"name");
|
||||
BeginField(vl::WString::Unmanaged(L"name"));
|
||||
WriteToken(node->name);
|
||||
EndField();
|
||||
BeginField(L"value");
|
||||
BeginField(vl::WString::Unmanaged(L"value"));
|
||||
WriteToken(node->value);
|
||||
EndField();
|
||||
}
|
||||
void AstVisitor::PrintFields(XmlCData* node)
|
||||
{
|
||||
BeginField(L"content");
|
||||
BeginField(vl::WString::Unmanaged(L"content"));
|
||||
WriteToken(node->content);
|
||||
EndField();
|
||||
}
|
||||
void AstVisitor::PrintFields(XmlComment* node)
|
||||
{
|
||||
BeginField(L"content");
|
||||
BeginField(vl::WString::Unmanaged(L"content"));
|
||||
WriteToken(node->content);
|
||||
EndField();
|
||||
}
|
||||
void AstVisitor::PrintFields(XmlDocument* node)
|
||||
{
|
||||
BeginField(L"prologs");
|
||||
BeginField(vl::WString::Unmanaged(L"prologs"));
|
||||
BeginArray();
|
||||
for (auto&& listItem : node->prologs)
|
||||
{
|
||||
@@ -8145,13 +8300,13 @@ namespace vl::glr::xml::json_visitor
|
||||
}
|
||||
EndArray();
|
||||
EndField();
|
||||
BeginField(L"rootElement");
|
||||
BeginField(vl::WString::Unmanaged(L"rootElement"));
|
||||
Print(node->rootElement.Obj());
|
||||
EndField();
|
||||
}
|
||||
void AstVisitor::PrintFields(XmlElement* node)
|
||||
{
|
||||
BeginField(L"attributes");
|
||||
BeginField(vl::WString::Unmanaged(L"attributes"));
|
||||
BeginArray();
|
||||
for (auto&& listItem : node->attributes)
|
||||
{
|
||||
@@ -8161,13 +8316,13 @@ namespace vl::glr::xml::json_visitor
|
||||
}
|
||||
EndArray();
|
||||
EndField();
|
||||
BeginField(L"closingName");
|
||||
BeginField(vl::WString::Unmanaged(L"closingName"));
|
||||
WriteToken(node->closingName);
|
||||
EndField();
|
||||
BeginField(L"name");
|
||||
BeginField(vl::WString::Unmanaged(L"name"));
|
||||
WriteToken(node->name);
|
||||
EndField();
|
||||
BeginField(L"subNodes");
|
||||
BeginField(vl::WString::Unmanaged(L"subNodes"));
|
||||
BeginArray();
|
||||
for (auto&& listItem : node->subNodes)
|
||||
{
|
||||
@@ -8180,7 +8335,7 @@ namespace vl::glr::xml::json_visitor
|
||||
}
|
||||
void AstVisitor::PrintFields(XmlInstruction* node)
|
||||
{
|
||||
BeginField(L"attributes");
|
||||
BeginField(vl::WString::Unmanaged(L"attributes"));
|
||||
BeginArray();
|
||||
for (auto&& listItem : node->attributes)
|
||||
{
|
||||
@@ -8190,7 +8345,7 @@ namespace vl::glr::xml::json_visitor
|
||||
}
|
||||
EndArray();
|
||||
EndField();
|
||||
BeginField(L"name");
|
||||
BeginField(vl::WString::Unmanaged(L"name"));
|
||||
WriteToken(node->name);
|
||||
EndField();
|
||||
}
|
||||
@@ -8199,7 +8354,7 @@ namespace vl::glr::xml::json_visitor
|
||||
}
|
||||
void AstVisitor::PrintFields(XmlText* node)
|
||||
{
|
||||
BeginField(L"content");
|
||||
BeginField(vl::WString::Unmanaged(L"content"));
|
||||
WriteToken(node->content);
|
||||
EndField();
|
||||
}
|
||||
@@ -8212,7 +8367,7 @@ namespace vl::glr::xml::json_visitor
|
||||
return;
|
||||
}
|
||||
BeginObject();
|
||||
WriteType(L"Text", node);
|
||||
WriteType(vl::WString::Unmanaged(L"Text"), node);
|
||||
PrintFields(static_cast<XmlNode*>(node));
|
||||
PrintFields(static_cast<XmlText*>(node));
|
||||
EndObject();
|
||||
@@ -8226,7 +8381,7 @@ namespace vl::glr::xml::json_visitor
|
||||
return;
|
||||
}
|
||||
BeginObject();
|
||||
WriteType(L"CData", node);
|
||||
WriteType(vl::WString::Unmanaged(L"CData"), node);
|
||||
PrintFields(static_cast<XmlNode*>(node));
|
||||
PrintFields(static_cast<XmlCData*>(node));
|
||||
EndObject();
|
||||
@@ -8240,7 +8395,7 @@ namespace vl::glr::xml::json_visitor
|
||||
return;
|
||||
}
|
||||
BeginObject();
|
||||
WriteType(L"Comment", node);
|
||||
WriteType(vl::WString::Unmanaged(L"Comment"), node);
|
||||
PrintFields(static_cast<XmlNode*>(node));
|
||||
PrintFields(static_cast<XmlComment*>(node));
|
||||
EndObject();
|
||||
@@ -8254,7 +8409,7 @@ namespace vl::glr::xml::json_visitor
|
||||
return;
|
||||
}
|
||||
BeginObject();
|
||||
WriteType(L"Element", node);
|
||||
WriteType(vl::WString::Unmanaged(L"Element"), node);
|
||||
PrintFields(static_cast<XmlNode*>(node));
|
||||
PrintFields(static_cast<XmlElement*>(node));
|
||||
EndObject();
|
||||
@@ -8268,7 +8423,7 @@ namespace vl::glr::xml::json_visitor
|
||||
return;
|
||||
}
|
||||
BeginObject();
|
||||
WriteType(L"Instruction", node);
|
||||
WriteType(vl::WString::Unmanaged(L"Instruction"), node);
|
||||
PrintFields(static_cast<XmlNode*>(node));
|
||||
PrintFields(static_cast<XmlInstruction*>(node));
|
||||
EndObject();
|
||||
@@ -8282,7 +8437,7 @@ namespace vl::glr::xml::json_visitor
|
||||
return;
|
||||
}
|
||||
BeginObject();
|
||||
WriteType(L"Document", node);
|
||||
WriteType(vl::WString::Unmanaged(L"Document"), node);
|
||||
PrintFields(static_cast<XmlNode*>(node));
|
||||
PrintFields(static_cast<XmlDocument*>(node));
|
||||
EndObject();
|
||||
@@ -8311,7 +8466,7 @@ namespace vl::glr::xml::json_visitor
|
||||
return;
|
||||
}
|
||||
BeginObject();
|
||||
WriteType(L"Attribute", node);
|
||||
WriteType(vl::WString::Unmanaged(L"Attribute"), node);
|
||||
PrintFields(static_cast<XmlAttribute*>(node));
|
||||
EndObject();
|
||||
}
|
||||
|
||||
+17
-2
@@ -1730,15 +1730,30 @@ namespace vl
|
||||
/// <param name="parser">The generated parser.</param>
|
||||
extern Ptr<JsonNode> JsonParse(const WString& input, const Parser& parser);
|
||||
|
||||
struct JsonFormatting
|
||||
{
|
||||
bool spaceAfterColon = false;
|
||||
bool spaceAfterComma = false;
|
||||
bool crlf = false;
|
||||
bool compact = false; // available when crlf == true
|
||||
const wchar_t* indentation = nullptr; // available when crlf == true;
|
||||
|
||||
JsonFormatting();
|
||||
JsonFormatting(const JsonFormatting&) = default;
|
||||
JsonFormatting(JsonFormatting&&) = default;
|
||||
JsonFormatting& operator=(const JsonFormatting&) = default;
|
||||
JsonFormatting& operator=(JsonFormatting&&) = default;
|
||||
};
|
||||
|
||||
/// <summary>Serialize JSON to string.</summary>
|
||||
/// <param name="node">The JSON node to serialize.</param>
|
||||
/// <param name="writer">The text writer to receive the string.</param>
|
||||
extern void JsonPrint(Ptr<JsonNode> node, stream::TextWriter& writer);
|
||||
extern void JsonPrint(Ptr<JsonNode> node, stream::TextWriter& writer, JsonFormatting formatting = {});
|
||||
|
||||
/// <summary>Serialize JSON to string.</summary>
|
||||
/// <returns>The serialized string.</returns>
|
||||
/// <param name="node">The JSON node to serialize.</param>
|
||||
extern WString JsonToString(Ptr<JsonNode> node);
|
||||
extern WString JsonToString(Ptr<JsonNode> node, JsonFormatting formatting = {});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+113
-113
File diff suppressed because it is too large
Load Diff
+4
-3
@@ -1947,7 +1947,8 @@ UtfGeneralEncoder
|
||||
CHECK_FAIL(L"UtfGeneralEncoder<T>::Write(void*, vint)#Failed to write a complete string.");
|
||||
}
|
||||
}
|
||||
availableChars = reader.SourceCluster().index;
|
||||
auto cluster = reader.SourceCluster();
|
||||
availableChars = cluster.index + cluster.size;
|
||||
availableBytes = availableChars * sizeof(TExpect);
|
||||
}
|
||||
|
||||
@@ -2010,13 +2011,13 @@ UtfGeneralDecoder
|
||||
{
|
||||
TExpect c = reader.Read();
|
||||
if (!c) break;
|
||||
((TExpect*)_buffer)[i] = c;
|
||||
*((TExpect*)writing) = c;
|
||||
writing += sizeof(TExpect);
|
||||
readBytes += sizeof(TExpect);
|
||||
}
|
||||
if (readBytes == 0) break;
|
||||
filledBytes += readBytes;
|
||||
_size -= readBytes;
|
||||
writing += readBytes;
|
||||
}
|
||||
|
||||
// cache the remaining TExpect
|
||||
|
||||
+387
-387
File diff suppressed because it is too large
Load Diff
+66
-19
@@ -2,6 +2,7 @@
|
||||
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
|
||||
|
||||
<Type Name="vl::ObjectString<wchar_t>">
|
||||
<AlternativeType Name="vl::ObjectString<char16_t>"/>
|
||||
<DisplayString>{{ size={length}, buffer={buffer+start,su} }}</DisplayString>
|
||||
<StringView>buffer+start,su</StringView>
|
||||
<Expand>
|
||||
@@ -13,6 +14,30 @@
|
||||
</Expand>
|
||||
</Type>
|
||||
|
||||
<Type Name="vl::ObjectString<char8_t>">
|
||||
<DisplayString>{{ size={length}, buffer={buffer+start,s8} }}</DisplayString>
|
||||
<StringView>buffer+start,su</StringView>
|
||||
<Expand>
|
||||
<Item Name="[size]">length</Item>
|
||||
<ArrayItems>
|
||||
<Size>length</Size>
|
||||
<ValuePointer>buffer+start</ValuePointer>
|
||||
</ArrayItems>
|
||||
</Expand>
|
||||
</Type>
|
||||
|
||||
<Type Name="vl::ObjectString<char32_t>">
|
||||
<DisplayString>{{ size={length}, buffer={buffer+start,s32} }}</DisplayString>
|
||||
<StringView>buffer+start,su</StringView>
|
||||
<Expand>
|
||||
<Item Name="[size]">length</Item>
|
||||
<ArrayItems>
|
||||
<Size>length</Size>
|
||||
<ValuePointer>buffer+start</ValuePointer>
|
||||
</ArrayItems>
|
||||
</Expand>
|
||||
</Type>
|
||||
|
||||
<Type Name="vl::ObjectString<char>">
|
||||
<DisplayString>{{ size={length}, buffer={buffer+start,s} }}</DisplayString>
|
||||
<StringView>buffer+start,s</StringView>
|
||||
@@ -57,27 +82,49 @@
|
||||
</Expand>
|
||||
</Type>
|
||||
|
||||
<Type Name="vl::Lazy<*>">
|
||||
<DisplayString Condition="internalValue.reference == 0">[empty]</DisplayString>
|
||||
<DisplayString Condition="internalValue.reference != 0 && internalValue.reference->evaluated == false">[not evaluated]</DisplayString>
|
||||
<DisplayString Condition="internalValue.reference != 0 && internalValue.reference->evaluated == true">{internalValue.reference->value}</DisplayString>
|
||||
<Expand>
|
||||
<ExpandedItem Condition="internalValue.reference != 0 && internalValue.reference->evaluated == true">internalValue.reference->value</ExpandedItem>
|
||||
</Expand>
|
||||
</Type>
|
||||
|
||||
<Type Name="vl::ObjectBox<*>">
|
||||
<DisplayString>{object}</DisplayString>
|
||||
<Expand>
|
||||
<ExpandedItem>object</ExpandedItem>
|
||||
</Expand>
|
||||
</Type>
|
||||
|
||||
<Type Name="vl::Nullable<*>">
|
||||
<DisplayString Condition="object == 0">[empty]</DisplayString>
|
||||
<DisplayString Condition="object != 0">{*object}</DisplayString>
|
||||
<DisplayString Condition="!initialized">[empty]</DisplayString>
|
||||
<DisplayString Condition="initialized">{object}</DisplayString>
|
||||
<Expand>
|
||||
<ExpandedItem Condition="object != 0">*object</ExpandedItem>
|
||||
<ExpandedItem Condition="initialized">object</ExpandedItem>
|
||||
</Expand>
|
||||
</Type>
|
||||
|
||||
<Type Name="vl::Variant<*>">
|
||||
<DisplayString Optional="true" Condition="index == -1">[invalid]</DisplayString>
|
||||
<DisplayString Optional="true" Condition="index == 0">{{ index=0, value={*($T1*)buffer} }}</DisplayString>
|
||||
<DisplayString Optional="true" Condition="index == 1">{{ index=1, value={*($T2*)buffer} }}</DisplayString>
|
||||
<DisplayString Optional="true" Condition="index == 2">{{ index=2, value={*($T3*)buffer} }}</DisplayString>
|
||||
<DisplayString Optional="true" Condition="index == 3">{{ index=3, value={*($T4*)buffer} }}</DisplayString>
|
||||
<DisplayString Optional="true" Condition="index == 4">{{ index=4, value={*($T5*)buffer} }}</DisplayString>
|
||||
<DisplayString Optional="true" Condition="index == 5">{{ index=5, value={*($T6*)buffer} }}</DisplayString>
|
||||
<DisplayString Optional="true" Condition="index == 6">{{ index=6, value={*($T7*)buffer} }}</DisplayString>
|
||||
<DisplayString Optional="true" Condition="index == 7">{{ index=7, value={*($T8*)buffer} }}</DisplayString>
|
||||
<DisplayString Optional="true" Condition="index == 8">{{ index=8, value={*($T9*)buffer} }}</DisplayString>
|
||||
<DisplayString Optional="true" Condition="index == 9">{{ index=9, value={*($T10*)buffer} }}</DisplayString>
|
||||
<DisplayString Optional="true" Condition="index == 10">{{ index=10, value={*($T11*)buffer} }}</DisplayString>
|
||||
<DisplayString Optional="true" Condition="index == 11">{{ index=11, value={*($T12*)buffer} }}</DisplayString>
|
||||
<DisplayString Optional="true" Condition="index == 12">{{ index=12, value={*($T13*)buffer} }}</DisplayString>
|
||||
<DisplayString Optional="true" Condition="index == 13">{{ index=13, value={*($T14*)buffer} }}</DisplayString>
|
||||
<DisplayString Optional="true" Condition="index == 14">{{ index=14, value={*($T15*)buffer} }}</DisplayString>
|
||||
<DisplayString Optional="true" Condition="index == 15">{{ index=15, value={*($T16*)buffer} }}</DisplayString>
|
||||
<Expand>
|
||||
<ExpandedItem Optional="true" Condition="index == 0">*($T1*)buffer</ExpandedItem>
|
||||
<ExpandedItem Optional="true" Condition="index == 1">*($T2*)buffer</ExpandedItem>
|
||||
<ExpandedItem Optional="true" Condition="index == 2">*($T3*)buffer</ExpandedItem>
|
||||
<ExpandedItem Optional="true" Condition="index == 3">*($T4*)buffer</ExpandedItem>
|
||||
<ExpandedItem Optional="true" Condition="index == 4">*($T5*)buffer</ExpandedItem>
|
||||
<ExpandedItem Optional="true" Condition="index == 5">*($T6*)buffer</ExpandedItem>
|
||||
<ExpandedItem Optional="true" Condition="index == 6">*($T7*)buffer</ExpandedItem>
|
||||
<ExpandedItem Optional="true" Condition="index == 7">*($T8*)buffer</ExpandedItem>
|
||||
<ExpandedItem Optional="true" Condition="index == 8">*($T9*)buffer</ExpandedItem>
|
||||
<ExpandedItem Optional="true" Condition="index == 9">*($T10*)buffer</ExpandedItem>
|
||||
<ExpandedItem Optional="true" Condition="index == 10">*($T11*)buffer</ExpandedItem>
|
||||
<ExpandedItem Optional="true" Condition="index == 11">*($T12*)buffer</ExpandedItem>
|
||||
<ExpandedItem Optional="true" Condition="index == 12">*($T13*)buffer</ExpandedItem>
|
||||
<ExpandedItem Optional="true" Condition="index == 13">*($T14*)buffer</ExpandedItem>
|
||||
<ExpandedItem Optional="true" Condition="index == 14">*($T15*)buffer</ExpandedItem>
|
||||
<ExpandedItem Optional="true" Condition="index == 15">*($T16*)buffer</ExpandedItem>
|
||||
</Expand>
|
||||
</Type>
|
||||
|
||||
|
||||
@@ -686,9 +686,8 @@ public:
|
||||
{
|
||||
}
|
||||
|
||||
void Load()override
|
||||
void Load(bool controllerUnrelatedPlugins, bool controllerRelatedPlugins)override
|
||||
{
|
||||
|
||||
FilePath exeFolder = FilePath(executablePath).GetFolder();
|
||||
FilePath metadataFolder = exeFolder;
|
||||
auto binaryName32 = WString::Unmanaged(L"Reflection32.bin");
|
||||
@@ -744,7 +743,7 @@ public:
|
||||
#undef INSTALL_SERIALIZABLE_TYPE
|
||||
}
|
||||
|
||||
void Unload()override
|
||||
void Unload(bool controllerUnrelatedPlugins, bool controllerRelatedPlugins)override
|
||||
{
|
||||
}
|
||||
};
|
||||
|
||||
Binary file not shown.
Binary file not shown.
+148
File diff suppressed because it is too large
Load Diff
@@ -1143,6 +1143,7 @@ namespace demo
|
||||
(this->__vwsn_precompile_1 = new ::vl::presentation::compositions::GuiStackItemComposition());
|
||||
{
|
||||
(this->checkFrame = new ::vl::presentation::controls::GuiSelectableButton(::vl::presentation::theme::ThemeName::CheckBox));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"checkFrame"), ::vl::__vwsn::Box(this->checkFrame));
|
||||
}
|
||||
{
|
||||
::vl::__vwsn::This(this->checkFrame)->SetText(::vl::WString::Unmanaged(L"Customized Frame"));
|
||||
@@ -1156,6 +1157,7 @@ namespace demo
|
||||
(this->__vwsn_precompile_2 = new ::vl::presentation::compositions::GuiStackItemComposition());
|
||||
{
|
||||
(this->checkMax = new ::vl::presentation::controls::GuiSelectableButton(::vl::presentation::theme::ThemeName::CheckBox));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"checkMax"), ::vl::__vwsn::Box(this->checkMax));
|
||||
}
|
||||
{
|
||||
::vl::__vwsn::This(this->checkMax)->SetText(::vl::WString::Unmanaged(L"MaximizedBox"));
|
||||
@@ -1169,6 +1171,7 @@ namespace demo
|
||||
(this->__vwsn_precompile_3 = new ::vl::presentation::compositions::GuiStackItemComposition());
|
||||
{
|
||||
(this->checkMin = new ::vl::presentation::controls::GuiSelectableButton(::vl::presentation::theme::ThemeName::CheckBox));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"checkMin"), ::vl::__vwsn::Box(this->checkMin));
|
||||
}
|
||||
{
|
||||
::vl::__vwsn::This(this->checkMin)->SetText(::vl::WString::Unmanaged(L"MinimizedBox"));
|
||||
@@ -1182,6 +1185,7 @@ namespace demo
|
||||
(this->__vwsn_precompile_4 = new ::vl::presentation::compositions::GuiStackItemComposition());
|
||||
{
|
||||
(this->checkBorder = new ::vl::presentation::controls::GuiSelectableButton(::vl::presentation::theme::ThemeName::CheckBox));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"checkBorder"), ::vl::__vwsn::Box(this->checkBorder));
|
||||
}
|
||||
{
|
||||
::vl::__vwsn::This(this->checkBorder)->SetText(::vl::WString::Unmanaged(L"Border"));
|
||||
@@ -1195,6 +1199,7 @@ namespace demo
|
||||
(this->__vwsn_precompile_5 = new ::vl::presentation::compositions::GuiStackItemComposition());
|
||||
{
|
||||
(this->checkSizeBox = new ::vl::presentation::controls::GuiSelectableButton(::vl::presentation::theme::ThemeName::CheckBox));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"checkSizeBox"), ::vl::__vwsn::Box(this->checkSizeBox));
|
||||
}
|
||||
{
|
||||
::vl::__vwsn::This(this->checkSizeBox)->SetText(::vl::WString::Unmanaged(L"SizeBox"));
|
||||
@@ -1208,6 +1213,7 @@ namespace demo
|
||||
(this->__vwsn_precompile_6 = new ::vl::presentation::compositions::GuiStackItemComposition());
|
||||
{
|
||||
(this->checkIcon = new ::vl::presentation::controls::GuiSelectableButton(::vl::presentation::theme::ThemeName::CheckBox));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"checkIcon"), ::vl::__vwsn::Box(this->checkIcon));
|
||||
}
|
||||
{
|
||||
::vl::__vwsn::This(this->checkIcon)->SetText(::vl::WString::Unmanaged(L"IconVisible"));
|
||||
@@ -1221,6 +1227,7 @@ namespace demo
|
||||
(this->__vwsn_precompile_7 = new ::vl::presentation::compositions::GuiStackItemComposition());
|
||||
{
|
||||
(this->checkTitle = new ::vl::presentation::controls::GuiSelectableButton(::vl::presentation::theme::ThemeName::CheckBox));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"checkTitle"), ::vl::__vwsn::Box(this->checkTitle));
|
||||
}
|
||||
{
|
||||
::vl::__vwsn::This(this->checkTitle)->SetText(::vl::WString::Unmanaged(L"TitleBar"));
|
||||
@@ -1234,6 +1241,7 @@ namespace demo
|
||||
(this->__vwsn_precompile_8 = new ::vl::presentation::compositions::GuiStackItemComposition());
|
||||
{
|
||||
(this->buttonNewWindow = new ::vl::presentation::controls::GuiButton(::vl::presentation::theme::ThemeName::Button));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"buttonNewWindow"), ::vl::__vwsn::Box(this->buttonNewWindow));
|
||||
}
|
||||
{
|
||||
::vl::__vwsn::This(this->buttonNewWindow)->SetText(::vl::WString::Unmanaged(L"Open New Window"));
|
||||
|
||||
@@ -1571,38 +1571,47 @@ Class (::demo::MainWindowConstructor)
|
||||
::vl::__vwsn::This(this->self)->SetText(::vl::WString::Unmanaged(L"AddressBook"));
|
||||
}
|
||||
(this->commandNewFolder = new ::vl::presentation::controls::GuiToolstripCommand());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"commandNewFolder"), ::vl::__vwsn::Box(this->commandNewFolder));
|
||||
{
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandNewFolder));
|
||||
}
|
||||
(this->commandDeleteFolder = new ::vl::presentation::controls::GuiToolstripCommand());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"commandDeleteFolder"), ::vl::__vwsn::Box(this->commandDeleteFolder));
|
||||
{
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandDeleteFolder));
|
||||
}
|
||||
(this->commandNewContact = new ::vl::presentation::controls::GuiToolstripCommand());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"commandNewContact"), ::vl::__vwsn::Box(this->commandNewContact));
|
||||
{
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandNewContact));
|
||||
}
|
||||
(this->commandEditContact = new ::vl::presentation::controls::GuiToolstripCommand());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"commandEditContact"), ::vl::__vwsn::Box(this->commandEditContact));
|
||||
{
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandEditContact));
|
||||
}
|
||||
(this->commandDeleteContact = new ::vl::presentation::controls::GuiToolstripCommand());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"commandDeleteContact"), ::vl::__vwsn::Box(this->commandDeleteContact));
|
||||
{
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandDeleteContact));
|
||||
}
|
||||
(this->commandBigIcon = new ::vl::presentation::controls::GuiToolstripCommand());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"commandBigIcon"), ::vl::__vwsn::Box(this->commandBigIcon));
|
||||
{
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandBigIcon));
|
||||
}
|
||||
(this->commandSmallIcon = new ::vl::presentation::controls::GuiToolstripCommand());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"commandSmallIcon"), ::vl::__vwsn::Box(this->commandSmallIcon));
|
||||
{
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandSmallIcon));
|
||||
}
|
||||
(this->commandList = new ::vl::presentation::controls::GuiToolstripCommand());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"commandList"), ::vl::__vwsn::Box(this->commandList));
|
||||
{
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandList));
|
||||
}
|
||||
(this->commandDetail = new ::vl::presentation::controls::GuiToolstripCommand());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"commandDetail"), ::vl::__vwsn::Box(this->commandDetail));
|
||||
{
|
||||
::vl::__vwsn::This(this->commandDetail)->SetSelected(true);
|
||||
}
|
||||
@@ -1610,10 +1619,12 @@ Class (::demo::MainWindowConstructor)
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandDetail));
|
||||
}
|
||||
(this->commandTile = new ::vl::presentation::controls::GuiToolstripCommand());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"commandTile"), ::vl::__vwsn::Box(this->commandTile));
|
||||
{
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandTile));
|
||||
}
|
||||
(this->commandInformation = new ::vl::presentation::controls::GuiToolstripCommand());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"commandInformation"), ::vl::__vwsn::Box(this->commandInformation));
|
||||
{
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandInformation));
|
||||
}
|
||||
@@ -1705,6 +1716,7 @@ Class (::demo::MainWindowConstructor)
|
||||
}
|
||||
{
|
||||
(this->treeViewFolders = new ::vl::presentation::controls::GuiBindableTreeView(::vl::presentation::theme::ThemeName::TreeView));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"treeViewFolders"), ::vl::__vwsn::Box(this->treeViewFolders));
|
||||
}
|
||||
{
|
||||
::vl::__vwsn::This(this->treeViewFolders)->SetChildrenProperty(vl::Func(::vl_workflow_global::__vwsnf1_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_(this)));
|
||||
@@ -1853,6 +1865,7 @@ Class (::demo::MainWindowConstructor)
|
||||
}
|
||||
{
|
||||
(this->listViewContacts = new ::vl::presentation::controls::GuiBindableListView(::vl::presentation::theme::ThemeName::ListView));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"listViewContacts"), ::vl::__vwsn::Box(this->listViewContacts));
|
||||
}
|
||||
{
|
||||
auto __vwsn_collection_ = ::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->listViewContacts)->GetDataColumns());
|
||||
@@ -2235,6 +2248,7 @@ Class (::demo::NewContactWindowConstructor)
|
||||
}
|
||||
{
|
||||
(this->textBoxName = new ::vl::presentation::controls::GuiDocumentLabel(::vl::presentation::theme::ThemeName::DocumentTextBox));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"textBoxName"), ::vl::__vwsn::Box(this->textBoxName));
|
||||
}
|
||||
{
|
||||
::vl::__vwsn::This(this->textBoxName)->SetEditMode(::vl::presentation::controls::GuiDocumentCommonInterface::EditMode::Editable);
|
||||
@@ -2274,6 +2288,7 @@ Class (::demo::NewContactWindowConstructor)
|
||||
}
|
||||
{
|
||||
(this->textBoxPhone = new ::vl::presentation::controls::GuiDocumentLabel(::vl::presentation::theme::ThemeName::DocumentTextBox));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"textBoxPhone"), ::vl::__vwsn::Box(this->textBoxPhone));
|
||||
}
|
||||
{
|
||||
::vl::__vwsn::This(this->textBoxPhone)->SetEditMode(::vl::presentation::controls::GuiDocumentCommonInterface::EditMode::Editable);
|
||||
@@ -2313,6 +2328,7 @@ Class (::demo::NewContactWindowConstructor)
|
||||
}
|
||||
{
|
||||
(this->textBoxAddress = new ::vl::presentation::controls::GuiDocumentLabel(::vl::presentation::theme::ThemeName::DocumentTextBox));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"textBoxAddress"), ::vl::__vwsn::Box(this->textBoxAddress));
|
||||
}
|
||||
{
|
||||
::vl::__vwsn::This(this->textBoxAddress)->SetEditMode(::vl::presentation::controls::GuiDocumentCommonInterface::EditMode::Editable);
|
||||
@@ -2352,6 +2368,7 @@ Class (::demo::NewContactWindowConstructor)
|
||||
}
|
||||
{
|
||||
(this->datePickerBirthday = new ::vl::presentation::controls::GuiDatePicker(::vl::presentation::theme::ThemeName::DatePicker));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"datePickerBirthday"), ::vl::__vwsn::Box(this->datePickerBirthday));
|
||||
}
|
||||
(this->__vwsn_precompile_16 = ::vl::__vwsn::This(this->datePickerBirthday)->GetBoundsComposition());
|
||||
{
|
||||
@@ -2571,6 +2588,7 @@ Class (::demo::NewFolderWindowConstructor)
|
||||
}
|
||||
{
|
||||
(this->textBoxName = new ::vl::presentation::controls::GuiDocumentLabel(::vl::presentation::theme::ThemeName::DocumentTextBox));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"textBoxName"), ::vl::__vwsn::Box(this->textBoxName));
|
||||
}
|
||||
{
|
||||
::vl::__vwsn::This(this->textBoxName)->SetEditMode(::vl::presentation::controls::GuiDocumentCommonInterface::EditMode::Editable);
|
||||
|
||||
@@ -1354,6 +1354,7 @@ Class (::demo::MainWindowConstructor)
|
||||
::vl::__vwsn::This(this->__vwsn_precompile_18)->SetText(::vl::WString::Unmanaged(L"Complex Animation"));
|
||||
}
|
||||
(this->animationBackground = new ::vl::presentation::compositions::GuiBoundsComposition());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"animationBackground"), ::vl::__vwsn::Box(this->animationBackground));
|
||||
{
|
||||
::vl::__vwsn::This(this->animationBackground)->SetPreferredMinSize([&](){ ::vl::presentation::Size __vwsn_temp__; __vwsn_temp__.x = static_cast<::vl::vint>(200); __vwsn_temp__.y = static_cast<::vl::vint>(200); return __vwsn_temp__; }());
|
||||
}
|
||||
|
||||
@@ -499,6 +499,7 @@ Class (::demo::MainWindowConstructor)
|
||||
}
|
||||
{
|
||||
(this->comboColor = new ::vl::presentation::controls::GuiComboButton(::vl::presentation::theme::ThemeName::ComboBox, this->__vwsn_precompile_5));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"comboColor"), ::vl::__vwsn::Box(this->comboColor));
|
||||
}
|
||||
(this->__vwsn_precompile_9 = ::vl::__vwsn::This(this->comboColor)->GetContainerComposition());
|
||||
(this->__vwsn_precompile_10 = new ::vl::presentation::compositions::GuiBoundsComposition());
|
||||
|
||||
@@ -71,6 +71,7 @@ namespace demo
|
||||
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetText(::vl::WString::Unmanaged(L"ContainersAndButtons"));
|
||||
}
|
||||
(this->radioGroup = new ::vl::presentation::controls::GuiSelectableButton::MutexGroupController());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"radioGroup"), ::vl::__vwsn::Box(this->radioGroup));
|
||||
{
|
||||
::vl::__vwsn::This(this->__vwsn_precompile_0)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->radioGroup));
|
||||
}
|
||||
|
||||
@@ -2399,6 +2399,7 @@ Class (::demo::CategoryEditorConstructor)
|
||||
}
|
||||
{
|
||||
(this->comboBox = new ::vl::presentation::controls::GuiComboBoxListControl(::vl::presentation::theme::ThemeName::ComboBox, static_cast<::vl::presentation::controls::GuiSelectableListControl*>(this->__vwsn_precompile_0)));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"comboBox"), ::vl::__vwsn::Box(this->comboBox));
|
||||
}
|
||||
{
|
||||
::vl::__vwsn::This(this->comboBox)->SetItemTemplate(vl::Func(::vl_workflow_global::__vwsnf44_Demo_demo_CategoryEditorConstructor___vwsn_demo_CategoryEditor_Initialize_(this)));
|
||||
@@ -2572,6 +2573,7 @@ Class (::demo::DateEditorConstructor)
|
||||
(this->self = __vwsn_this_);
|
||||
{
|
||||
(this->comboBox = new ::vl::presentation::controls::GuiDateComboBox(::vl::presentation::theme::ThemeName::DateComboBox));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"comboBox"), ::vl::__vwsn::Box(this->comboBox));
|
||||
}
|
||||
(this->__vwsn_precompile_0 = ::vl::__vwsn::This(this->comboBox)->GetBoundsComposition());
|
||||
{
|
||||
@@ -2649,6 +2651,7 @@ Class (::demo::DateFilterConstructor)
|
||||
}
|
||||
{
|
||||
(this->checkFrom = new ::vl::presentation::controls::GuiSelectableButton(::vl::presentation::theme::ThemeName::CheckBox));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"checkFrom"), ::vl::__vwsn::Box(this->checkFrom));
|
||||
}
|
||||
{
|
||||
::vl::__vwsn::This(this->checkFrom)->SetText(::vl::WString::Unmanaged(L"From:"));
|
||||
@@ -2665,6 +2668,7 @@ Class (::demo::DateFilterConstructor)
|
||||
}
|
||||
{
|
||||
(this->dateFrom = new ::vl::presentation::controls::GuiDateComboBox(::vl::presentation::theme::ThemeName::DateComboBox));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"dateFrom"), ::vl::__vwsn::Box(this->dateFrom));
|
||||
}
|
||||
{
|
||||
::vl::__vwsn::This(this->dateFrom)->SetSelectedDate(::vl::__vwsn::Parse<::vl::DateTime>(::vl::WString::Unmanaged(L"1988-01-01 00:00:00.000")));
|
||||
@@ -2685,6 +2689,7 @@ Class (::demo::DateFilterConstructor)
|
||||
}
|
||||
{
|
||||
(this->checkTo = new ::vl::presentation::controls::GuiSelectableButton(::vl::presentation::theme::ThemeName::CheckBox));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"checkTo"), ::vl::__vwsn::Box(this->checkTo));
|
||||
}
|
||||
{
|
||||
::vl::__vwsn::This(this->checkTo)->SetText(::vl::WString::Unmanaged(L"To:"));
|
||||
@@ -2701,6 +2706,7 @@ Class (::demo::DateFilterConstructor)
|
||||
}
|
||||
{
|
||||
(this->dateTo = new ::vl::presentation::controls::GuiDateComboBox(::vl::presentation::theme::ThemeName::DateComboBox));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"dateTo"), ::vl::__vwsn::Box(this->dateTo));
|
||||
}
|
||||
{
|
||||
::vl::__vwsn::This(this->dateTo)->SetSelectedDate(::vl::__vwsn::Parse<::vl::DateTime>(::vl::WString::Unmanaged(L"2000-01-01 00:00:00.000")));
|
||||
@@ -2899,6 +2905,7 @@ Class (::demo::GenderEditorConstructor)
|
||||
}
|
||||
{
|
||||
(this->comboBox = new ::vl::presentation::controls::GuiComboBoxListControl(::vl::presentation::theme::ThemeName::ComboBox, static_cast<::vl::presentation::controls::GuiSelectableListControl*>(this->__vwsn_precompile_0)));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"comboBox"), ::vl::__vwsn::Box(this->comboBox));
|
||||
}
|
||||
{
|
||||
::vl::__vwsn::This(this->comboBox)->SetItemTemplate(vl::Func(::vl_workflow_global::__vwsnf52_Demo_demo_GenderEditorConstructor___vwsn_demo_GenderEditor_Initialize_(this)));
|
||||
@@ -3154,6 +3161,7 @@ Class (::demo::MainWindowConstructor)
|
||||
}
|
||||
{
|
||||
(this->comboView = new ::vl::presentation::controls::GuiComboBoxListControl(::vl::presentation::theme::ThemeName::ComboBox, static_cast<::vl::presentation::controls::GuiSelectableListControl*>(this->__vwsn_precompile_2)));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"comboView"), ::vl::__vwsn::Box(this->comboView));
|
||||
}
|
||||
(this->__vwsn_precompile_10 = ::vl::__vwsn::This(this->comboView)->GetBoundsComposition());
|
||||
{
|
||||
@@ -3177,6 +3185,7 @@ Class (::demo::MainWindowConstructor)
|
||||
}
|
||||
{
|
||||
(this->dataGrid = new ::vl::presentation::controls::GuiBindableDataGrid(::vl::presentation::theme::ThemeName::ListView));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"dataGrid"), ::vl::__vwsn::Box(this->dataGrid));
|
||||
}
|
||||
{
|
||||
auto __vwsn_collection_ = ::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->dataGrid)->GetDataColumns());
|
||||
@@ -3281,6 +3290,7 @@ Class (::demo::MainWindowConstructor)
|
||||
(this->__vwsn_precompile_16 = new ::vl::presentation::controls::GuiToolstripMenu(::vl::presentation::theme::ThemeName::Menu, static_cast<::vl::presentation::controls::GuiControl*>(nullptr)));
|
||||
}
|
||||
(this->dateFilter = new ::demo::DateFilter());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"dateFilter"), ::vl::__vwsn::Box(this->dateFilter));
|
||||
(this->__vwsn_precompile_17 = ::vl::__vwsn::This(this->dateFilter)->GetBoundsComposition());
|
||||
{
|
||||
::vl::__vwsn::This(this->__vwsn_precompile_17)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint>(0); __vwsn_temp__.top = static_cast<::vl::vint>(0); __vwsn_temp__.right = static_cast<::vl::vint>(0); __vwsn_temp__.bottom = static_cast<::vl::vint>(0); return __vwsn_temp__; }());
|
||||
@@ -3535,6 +3545,7 @@ Class (::demo::TextEditorConstructor)
|
||||
(this->self = __vwsn_this_);
|
||||
{
|
||||
(this->textBox = new ::vl::presentation::controls::GuiSinglelineTextBox(::vl::presentation::theme::ThemeName::SinglelineTextBox));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"textBox"), ::vl::__vwsn::Box(this->textBox));
|
||||
}
|
||||
(this->__vwsn_precompile_0 = ::vl::__vwsn::This(this->textBox)->GetBoundsComposition());
|
||||
{
|
||||
|
||||
@@ -201,6 +201,7 @@ namespace demo
|
||||
::vl::__vwsn::This(this->self)->SetText(::vl::WString::Unmanaged(L"ColorDialog"));
|
||||
}
|
||||
(this->dialog = new ::vl::presentation::controls::GuiColorDialog());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"dialog"), ::vl::__vwsn::Box(this->dialog));
|
||||
{
|
||||
::vl::__vwsn::This(this->dialog)->SetEnabledCustomColor(true);
|
||||
}
|
||||
@@ -232,6 +233,7 @@ namespace demo
|
||||
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetSite(static_cast<::vl::vint>(0), static_cast<::vl::vint>(0), static_cast<::vl::vint>(1), static_cast<::vl::vint>(1));
|
||||
}
|
||||
(this->background = ::vl::Ptr<::vl::presentation::elements::GuiSolidBackgroundElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidBackgroundElement>()));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"background"), ::vl::__vwsn::Box(this->background));
|
||||
{
|
||||
::vl::__vwsn::This(this->background.Obj())->SetColor(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString::Unmanaged(L"#FFFFFF")));
|
||||
}
|
||||
@@ -306,10 +308,12 @@ Class (::demo::LocalizedFileDialogTabPageConstructor)
|
||||
::vl::__vwsn::This(this->self)->SetText(::vl::WString::Unmanaged(L"Open/Save FileDialog"));
|
||||
}
|
||||
(this->dialogOpen = new ::vl::presentation::controls::GuiOpenFileDialog());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"dialogOpen"), ::vl::__vwsn::Box(this->dialogOpen));
|
||||
{
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->dialogOpen));
|
||||
}
|
||||
(this->dialogSave = new ::vl::presentation::controls::GuiSaveFileDialog());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"dialogSave"), ::vl::__vwsn::Box(this->dialogSave));
|
||||
{
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->dialogSave));
|
||||
}
|
||||
@@ -456,6 +460,7 @@ Class (::demo::LocalizedFileDialogTabPageConstructor)
|
||||
}
|
||||
{
|
||||
(this->txtTitle = new ::vl::presentation::controls::GuiSinglelineTextBox(::vl::presentation::theme::ThemeName::SinglelineTextBox));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"txtTitle"), ::vl::__vwsn::Box(this->txtTitle));
|
||||
}
|
||||
(this->__vwsn_precompile_16 = ::vl::__vwsn::This(this->txtTitle)->GetBoundsComposition());
|
||||
{
|
||||
@@ -476,6 +481,7 @@ Class (::demo::LocalizedFileDialogTabPageConstructor)
|
||||
}
|
||||
{
|
||||
(this->txtDirectory = new ::vl::presentation::controls::GuiSinglelineTextBox(::vl::presentation::theme::ThemeName::SinglelineTextBox));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"txtDirectory"), ::vl::__vwsn::Box(this->txtDirectory));
|
||||
}
|
||||
(this->__vwsn_precompile_18 = ::vl::__vwsn::This(this->txtDirectory)->GetBoundsComposition());
|
||||
{
|
||||
@@ -496,6 +502,7 @@ Class (::demo::LocalizedFileDialogTabPageConstructor)
|
||||
}
|
||||
{
|
||||
(this->txtFileName = new ::vl::presentation::controls::GuiSinglelineTextBox(::vl::presentation::theme::ThemeName::SinglelineTextBox));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"txtFileName"), ::vl::__vwsn::Box(this->txtFileName));
|
||||
}
|
||||
(this->__vwsn_precompile_20 = ::vl::__vwsn::This(this->txtFileName)->GetBoundsComposition());
|
||||
{
|
||||
@@ -516,6 +523,7 @@ Class (::demo::LocalizedFileDialogTabPageConstructor)
|
||||
}
|
||||
{
|
||||
(this->txtFilter = new ::vl::presentation::controls::GuiSinglelineTextBox(::vl::presentation::theme::ThemeName::SinglelineTextBox));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"txtFilter"), ::vl::__vwsn::Box(this->txtFilter));
|
||||
}
|
||||
(this->__vwsn_precompile_22 = ::vl::__vwsn::This(this->txtFilter)->GetBoundsComposition());
|
||||
{
|
||||
@@ -536,6 +544,7 @@ Class (::demo::LocalizedFileDialogTabPageConstructor)
|
||||
}
|
||||
{
|
||||
(this->txtFilterIndex = new ::vl::presentation::controls::GuiSinglelineTextBox(::vl::presentation::theme::ThemeName::SinglelineTextBox));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"txtFilterIndex"), ::vl::__vwsn::Box(this->txtFilterIndex));
|
||||
}
|
||||
(this->__vwsn_precompile_24 = ::vl::__vwsn::This(this->txtFilterIndex)->GetBoundsComposition());
|
||||
{
|
||||
@@ -556,6 +565,7 @@ Class (::demo::LocalizedFileDialogTabPageConstructor)
|
||||
}
|
||||
{
|
||||
(this->txtDefaultExtension = new ::vl::presentation::controls::GuiSinglelineTextBox(::vl::presentation::theme::ThemeName::SinglelineTextBox));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"txtDefaultExtension"), ::vl::__vwsn::Box(this->txtDefaultExtension));
|
||||
}
|
||||
(this->__vwsn_precompile_26 = ::vl::__vwsn::This(this->txtDefaultExtension)->GetBoundsComposition());
|
||||
{
|
||||
@@ -587,6 +597,7 @@ Class (::demo::LocalizedFileDialogTabPageConstructor)
|
||||
(this->__vwsn_precompile_29 = new ::vl::presentation::compositions::GuiStackItemComposition());
|
||||
{
|
||||
(this->chkFileDialogAllowMultipleSelection = new ::vl::presentation::controls::GuiSelectableButton(::vl::presentation::theme::ThemeName::CheckBox));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"chkFileDialogAllowMultipleSelection"), ::vl::__vwsn::Box(this->chkFileDialogAllowMultipleSelection));
|
||||
}
|
||||
{
|
||||
::vl::__vwsn::This(this->chkFileDialogAllowMultipleSelection)->SetText(::vl::WString::Unmanaged(L"FileDialogAllowMultipleSelection"));
|
||||
@@ -600,6 +611,7 @@ Class (::demo::LocalizedFileDialogTabPageConstructor)
|
||||
(this->__vwsn_precompile_30 = new ::vl::presentation::compositions::GuiStackItemComposition());
|
||||
{
|
||||
(this->chkFileDialogFileMustExist = new ::vl::presentation::controls::GuiSelectableButton(::vl::presentation::theme::ThemeName::CheckBox));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"chkFileDialogFileMustExist"), ::vl::__vwsn::Box(this->chkFileDialogFileMustExist));
|
||||
}
|
||||
{
|
||||
::vl::__vwsn::This(this->chkFileDialogFileMustExist)->SetText(::vl::WString::Unmanaged(L"FileDialogFileMustExist"));
|
||||
@@ -613,6 +625,7 @@ Class (::demo::LocalizedFileDialogTabPageConstructor)
|
||||
(this->__vwsn_precompile_31 = new ::vl::presentation::compositions::GuiStackItemComposition());
|
||||
{
|
||||
(this->chkFileDialogShowReadOnlyCheckBox = new ::vl::presentation::controls::GuiSelectableButton(::vl::presentation::theme::ThemeName::CheckBox));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"chkFileDialogShowReadOnlyCheckBox"), ::vl::__vwsn::Box(this->chkFileDialogShowReadOnlyCheckBox));
|
||||
}
|
||||
{
|
||||
::vl::__vwsn::This(this->chkFileDialogShowReadOnlyCheckBox)->SetText(::vl::WString::Unmanaged(L"FileDialogShowReadOnlyCheckBox"));
|
||||
@@ -626,6 +639,7 @@ Class (::demo::LocalizedFileDialogTabPageConstructor)
|
||||
(this->__vwsn_precompile_32 = new ::vl::presentation::compositions::GuiStackItemComposition());
|
||||
{
|
||||
(this->chkFileDialogDereferenceLinks = new ::vl::presentation::controls::GuiSelectableButton(::vl::presentation::theme::ThemeName::CheckBox));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"chkFileDialogDereferenceLinks"), ::vl::__vwsn::Box(this->chkFileDialogDereferenceLinks));
|
||||
}
|
||||
{
|
||||
::vl::__vwsn::This(this->chkFileDialogDereferenceLinks)->SetText(::vl::WString::Unmanaged(L"FileDialogDereferenceLinks"));
|
||||
@@ -639,6 +653,7 @@ Class (::demo::LocalizedFileDialogTabPageConstructor)
|
||||
(this->__vwsn_precompile_33 = new ::vl::presentation::compositions::GuiStackItemComposition());
|
||||
{
|
||||
(this->chkFileDialogShowNetworkButton = new ::vl::presentation::controls::GuiSelectableButton(::vl::presentation::theme::ThemeName::CheckBox));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"chkFileDialogShowNetworkButton"), ::vl::__vwsn::Box(this->chkFileDialogShowNetworkButton));
|
||||
}
|
||||
{
|
||||
::vl::__vwsn::This(this->chkFileDialogShowNetworkButton)->SetText(::vl::WString::Unmanaged(L"FileDialogShowNetworkButton"));
|
||||
@@ -652,6 +667,7 @@ Class (::demo::LocalizedFileDialogTabPageConstructor)
|
||||
(this->__vwsn_precompile_34 = new ::vl::presentation::compositions::GuiStackItemComposition());
|
||||
{
|
||||
(this->chkFileDialogPromptCreateFile = new ::vl::presentation::controls::GuiSelectableButton(::vl::presentation::theme::ThemeName::CheckBox));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"chkFileDialogPromptCreateFile"), ::vl::__vwsn::Box(this->chkFileDialogPromptCreateFile));
|
||||
}
|
||||
{
|
||||
::vl::__vwsn::This(this->chkFileDialogPromptCreateFile)->SetText(::vl::WString::Unmanaged(L"FileDialogPromptCreateFile"));
|
||||
@@ -665,6 +681,7 @@ Class (::demo::LocalizedFileDialogTabPageConstructor)
|
||||
(this->__vwsn_precompile_35 = new ::vl::presentation::compositions::GuiStackItemComposition());
|
||||
{
|
||||
(this->chkFileDialogPromptOverwriteFile = new ::vl::presentation::controls::GuiSelectableButton(::vl::presentation::theme::ThemeName::CheckBox));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"chkFileDialogPromptOverwriteFile"), ::vl::__vwsn::Box(this->chkFileDialogPromptOverwriteFile));
|
||||
}
|
||||
{
|
||||
::vl::__vwsn::This(this->chkFileDialogPromptOverwriteFile)->SetText(::vl::WString::Unmanaged(L"FileDialogPromptOverwriteFile"));
|
||||
@@ -678,6 +695,7 @@ Class (::demo::LocalizedFileDialogTabPageConstructor)
|
||||
(this->__vwsn_precompile_36 = new ::vl::presentation::compositions::GuiStackItemComposition());
|
||||
{
|
||||
(this->chkFileDialogDirectoryMustExist = new ::vl::presentation::controls::GuiSelectableButton(::vl::presentation::theme::ThemeName::CheckBox));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"chkFileDialogDirectoryMustExist"), ::vl::__vwsn::Box(this->chkFileDialogDirectoryMustExist));
|
||||
}
|
||||
{
|
||||
::vl::__vwsn::This(this->chkFileDialogDirectoryMustExist)->SetText(::vl::WString::Unmanaged(L"FileDialogDirectoryMustExist"));
|
||||
@@ -691,6 +709,7 @@ Class (::demo::LocalizedFileDialogTabPageConstructor)
|
||||
(this->__vwsn_precompile_37 = new ::vl::presentation::compositions::GuiStackItemComposition());
|
||||
{
|
||||
(this->chkFileDialogAddToRecent = new ::vl::presentation::controls::GuiSelectableButton(::vl::presentation::theme::ThemeName::CheckBox));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"chkFileDialogAddToRecent"), ::vl::__vwsn::Box(this->chkFileDialogAddToRecent));
|
||||
}
|
||||
{
|
||||
::vl::__vwsn::This(this->chkFileDialogAddToRecent)->SetText(::vl::WString::Unmanaged(L"FileDialogAddToRecent"));
|
||||
@@ -729,6 +748,7 @@ Class (::demo::LocalizedFileDialogTabPageConstructor)
|
||||
(this->__vwsn_precompile_40 = new ::vl::presentation::compositions::GuiStackItemComposition());
|
||||
{
|
||||
(this->lstFiles = new ::vl::presentation::controls::GuiBindableTextList(::vl::presentation::theme::ThemeName::TextList));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"lstFiles"), ::vl::__vwsn::Box(this->lstFiles));
|
||||
}
|
||||
{
|
||||
::vl::__vwsn::This(this->lstFiles)->SetVerticalAlwaysVisible(false);
|
||||
@@ -959,6 +979,7 @@ Class (::demo::LocalizedFontDialogTabPageConstructor)
|
||||
::vl::__vwsn::This(this->self)->SetText(::vl::WString::Unmanaged(L"FontDialog"));
|
||||
}
|
||||
(this->dialog = new ::vl::presentation::controls::GuiFontDialog());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"dialog"), ::vl::__vwsn::Box(this->dialog));
|
||||
{
|
||||
::vl::__vwsn::This(this->dialog)->SetForceFontExist(true);
|
||||
}
|
||||
@@ -991,6 +1012,7 @@ Class (::demo::LocalizedFontDialogTabPageConstructor)
|
||||
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetSite(static_cast<::vl::vint>(0), static_cast<::vl::vint>(0), static_cast<::vl::vint>(1), static_cast<::vl::vint>(1));
|
||||
}
|
||||
(this->label = ::vl::Ptr<::vl::presentation::elements::GuiSolidLabelElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidLabelElement>()));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"label"), ::vl::__vwsn::Box(this->label));
|
||||
{
|
||||
::vl::__vwsn::This(this->label.Obj())->SetColor(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString::Unmanaged(L"#FFFFFF")));
|
||||
}
|
||||
@@ -1009,6 +1031,7 @@ Class (::demo::LocalizedFontDialogTabPageConstructor)
|
||||
}
|
||||
{
|
||||
(this->checkEffect = new ::vl::presentation::controls::GuiSelectableButton(::vl::presentation::theme::ThemeName::CheckBox));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"checkEffect"), ::vl::__vwsn::Box(this->checkEffect));
|
||||
}
|
||||
{
|
||||
::vl::__vwsn::This(this->checkEffect)->SetSelected(false);
|
||||
@@ -1092,6 +1115,7 @@ Class (::demo::LocalizedMessageDialogTabPageConstructor)
|
||||
::vl::__vwsn::This(this->self)->SetText(::vl::WString::Unmanaged(L"MessageDialog"));
|
||||
}
|
||||
(this->dialog = new ::vl::presentation::controls::GuiMessageDialog());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"dialog"), ::vl::__vwsn::Box(this->dialog));
|
||||
{
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->dialog));
|
||||
}
|
||||
@@ -1223,6 +1247,7 @@ Class (::demo::LocalizedMessageDialogTabPageConstructor)
|
||||
}
|
||||
{
|
||||
(this->txtTitle = new ::vl::presentation::controls::GuiSinglelineTextBox(::vl::presentation::theme::ThemeName::SinglelineTextBox));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"txtTitle"), ::vl::__vwsn::Box(this->txtTitle));
|
||||
}
|
||||
(this->__vwsn_precompile_14 = ::vl::__vwsn::This(this->txtTitle)->GetBoundsComposition());
|
||||
{
|
||||
@@ -1243,6 +1268,7 @@ Class (::demo::LocalizedMessageDialogTabPageConstructor)
|
||||
}
|
||||
{
|
||||
(this->txtText = new ::vl::presentation::controls::GuiSinglelineTextBox(::vl::presentation::theme::ThemeName::SinglelineTextBox));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"txtText"), ::vl::__vwsn::Box(this->txtText));
|
||||
}
|
||||
(this->__vwsn_precompile_16 = ::vl::__vwsn::This(this->txtText)->GetBoundsComposition());
|
||||
{
|
||||
@@ -1272,6 +1298,7 @@ Class (::demo::LocalizedMessageDialogTabPageConstructor)
|
||||
}
|
||||
{
|
||||
(this->comboInput = new ::vl::presentation::controls::GuiComboBoxListControl(::vl::presentation::theme::ThemeName::ComboBox, static_cast<::vl::presentation::controls::GuiSelectableListControl*>(this->__vwsn_precompile_18)));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"comboInput"), ::vl::__vwsn::Box(this->comboInput));
|
||||
}
|
||||
(this->__vwsn_precompile_19 = ::vl::__vwsn::This(this->comboInput)->GetBoundsComposition());
|
||||
{
|
||||
@@ -1298,6 +1325,7 @@ Class (::demo::LocalizedMessageDialogTabPageConstructor)
|
||||
}
|
||||
{
|
||||
(this->comboDefaultButton = new ::vl::presentation::controls::GuiComboBoxListControl(::vl::presentation::theme::ThemeName::ComboBox, static_cast<::vl::presentation::controls::GuiSelectableListControl*>(this->__vwsn_precompile_21)));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"comboDefaultButton"), ::vl::__vwsn::Box(this->comboDefaultButton));
|
||||
}
|
||||
(this->__vwsn_precompile_22 = ::vl::__vwsn::This(this->comboDefaultButton)->GetBoundsComposition());
|
||||
{
|
||||
@@ -1324,6 +1352,7 @@ Class (::demo::LocalizedMessageDialogTabPageConstructor)
|
||||
}
|
||||
{
|
||||
(this->comboIcon = new ::vl::presentation::controls::GuiComboBoxListControl(::vl::presentation::theme::ThemeName::ComboBox, static_cast<::vl::presentation::controls::GuiSelectableListControl*>(this->__vwsn_precompile_24)));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"comboIcon"), ::vl::__vwsn::Box(this->comboIcon));
|
||||
}
|
||||
(this->__vwsn_precompile_25 = ::vl::__vwsn::This(this->comboIcon)->GetBoundsComposition());
|
||||
{
|
||||
@@ -1341,6 +1370,7 @@ Class (::demo::LocalizedMessageDialogTabPageConstructor)
|
||||
}
|
||||
{
|
||||
(this->lblOutput = new ::vl::presentation::controls::GuiLabel(::vl::presentation::theme::ThemeName::Label));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"lblOutput"), ::vl::__vwsn::Box(this->lblOutput));
|
||||
}
|
||||
{
|
||||
::vl::__vwsn::This(this->__vwsn_precompile_26)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(::vl::__vwsn::This(this->lblOutput)->GetBoundsComposition()));
|
||||
|
||||
@@ -2903,6 +2903,7 @@ namespace demo
|
||||
::vl::__vwsn::This(this->self)->SetText(::vl::WString::Unmanaged(L"Document Editor"));
|
||||
}
|
||||
(this->dialogMessage = new ::vl::presentation::controls::GuiMessageDialog());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"dialogMessage"), ::vl::__vwsn::Box(this->dialogMessage));
|
||||
{
|
||||
::vl::__vwsn::This(this->dialogMessage)->SetTitle(::vl::WString::Unmanaged(L"You Clicked a Hyperlink!"));
|
||||
}
|
||||
@@ -2910,10 +2911,12 @@ namespace demo
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->dialogMessage));
|
||||
}
|
||||
(this->dialogNotImpl = new ::vl::presentation::controls::GuiMessageDialog());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"dialogNotImpl"), ::vl::__vwsn::Box(this->dialogNotImpl));
|
||||
{
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->dialogNotImpl));
|
||||
}
|
||||
(this->dialogOpen = new ::vl::presentation::controls::GuiOpenFileDialog());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"dialogOpen"), ::vl::__vwsn::Box(this->dialogOpen));
|
||||
{
|
||||
::vl::__vwsn::This(this->dialogOpen)->SetOptions((::vl::presentation::INativeDialogService::FileDialogOptions::FileDialogFileMustExist | ::vl::presentation::INativeDialogService::FileDialogOptions::FileDialogDereferenceLinks));
|
||||
}
|
||||
@@ -2930,6 +2933,7 @@ namespace demo
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->dialogOpen));
|
||||
}
|
||||
(this->dialogOpenDoc = new ::vl::presentation::controls::GuiOpenFileDialog());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"dialogOpenDoc"), ::vl::__vwsn::Box(this->dialogOpenDoc));
|
||||
{
|
||||
::vl::__vwsn::This(this->dialogOpenDoc)->SetOptions((::vl::presentation::INativeDialogService::FileDialogOptions::FileDialogFileMustExist | ::vl::presentation::INativeDialogService::FileDialogOptions::FileDialogDereferenceLinks));
|
||||
}
|
||||
@@ -2943,6 +2947,7 @@ namespace demo
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->dialogOpenDoc));
|
||||
}
|
||||
(this->dialogSaveDoc = new ::vl::presentation::controls::GuiSaveFileDialog());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"dialogSaveDoc"), ::vl::__vwsn::Box(this->dialogSaveDoc));
|
||||
{
|
||||
::vl::__vwsn::This(this->dialogSaveDoc)->SetOptions(::vl::presentation::INativeDialogService::FileDialogOptions::FileDialogPromptOverwriteFile);
|
||||
}
|
||||
@@ -2956,6 +2961,7 @@ namespace demo
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->dialogSaveDoc));
|
||||
}
|
||||
(this->dialogSaveDocPrivate = new ::vl::presentation::controls::GuiSaveFileDialog());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"dialogSaveDocPrivate"), ::vl::__vwsn::Box(this->dialogSaveDocPrivate));
|
||||
{
|
||||
::vl::__vwsn::This(this->dialogSaveDocPrivate)->SetOptions(::vl::presentation::INativeDialogService::FileDialogOptions::FileDialogPromptOverwriteFile);
|
||||
}
|
||||
@@ -2969,6 +2975,7 @@ namespace demo
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->dialogSaveDocPrivate));
|
||||
}
|
||||
(this->dialogQueryClose = new ::vl::presentation::controls::GuiMessageDialog());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"dialogQueryClose"), ::vl::__vwsn::Box(this->dialogQueryClose));
|
||||
{
|
||||
::vl::__vwsn::This(this->dialogQueryClose)->SetIcon(::vl::presentation::INativeDialogService::MessageBoxIcons::IconQuestion);
|
||||
}
|
||||
@@ -2996,6 +3003,7 @@ namespace demo
|
||||
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetColumnOption(static_cast<::vl::vint>(0), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(1.0); return __vwsn_temp__; }());
|
||||
}
|
||||
(this->menuContainer = new ::vl::presentation::compositions::GuiCellComposition());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"menuContainer"), ::vl::__vwsn::Box(this->menuContainer));
|
||||
{
|
||||
::vl::__vwsn::This(this->menuContainer)->SetSite(static_cast<::vl::vint>(0), static_cast<::vl::vint>(0), static_cast<::vl::vint>(1), static_cast<::vl::vint>(1));
|
||||
}
|
||||
@@ -3003,6 +3011,7 @@ namespace demo
|
||||
::vl::__vwsn::This(this->__vwsn_precompile_0)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->menuContainer));
|
||||
}
|
||||
(this->toolstripContainer = new ::vl::presentation::compositions::GuiCellComposition());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"toolstripContainer"), ::vl::__vwsn::Box(this->toolstripContainer));
|
||||
{
|
||||
::vl::__vwsn::This(this->toolstripContainer)->SetSite(static_cast<::vl::vint>(1), static_cast<::vl::vint>(0), static_cast<::vl::vint>(1), static_cast<::vl::vint>(1));
|
||||
}
|
||||
@@ -3015,6 +3024,7 @@ namespace demo
|
||||
}
|
||||
{
|
||||
(this->document = new ::vl::presentation::controls::GuiDocumentViewer(::vl::presentation::theme::ThemeName::DocumentViewer));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"document"), ::vl::__vwsn::Box(this->document));
|
||||
}
|
||||
{
|
||||
::vl::__vwsn::This(this->document)->SetAlt(::vl::WString::Unmanaged(L"D"));
|
||||
@@ -3036,6 +3046,7 @@ namespace demo
|
||||
::vl::__vwsn::This(::vl::__vwsn::This(this->self)->GetContainerComposition())->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_0));
|
||||
}
|
||||
(this->commandLoadPrivate = new ::vl::presentation::controls::GuiToolstripCommand());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"commandLoadPrivate"), ::vl::__vwsn::Box(this->commandLoadPrivate));
|
||||
{
|
||||
::vl::__vwsn::This(this->commandLoadPrivate)->SetText(::vl::WString::Unmanaged(L"Load as Private Format"));
|
||||
}
|
||||
@@ -3043,6 +3054,7 @@ namespace demo
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandLoadPrivate));
|
||||
}
|
||||
(this->commandSavePrivate = new ::vl::presentation::controls::GuiToolstripCommand());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"commandSavePrivate"), ::vl::__vwsn::Box(this->commandSavePrivate));
|
||||
{
|
||||
::vl::__vwsn::This(this->commandSavePrivate)->SetText(::vl::WString::Unmanaged(L"Save as Private Format"));
|
||||
}
|
||||
@@ -3050,6 +3062,7 @@ namespace demo
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandSavePrivate));
|
||||
}
|
||||
(this->commandSaveRtf = new ::vl::presentation::controls::GuiToolstripCommand());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"commandSaveRtf"), ::vl::__vwsn::Box(this->commandSaveRtf));
|
||||
{
|
||||
::vl::__vwsn::This(this->commandSaveRtf)->SetText(::vl::WString::Unmanaged(L"Save as RTF"));
|
||||
}
|
||||
@@ -3057,6 +3070,7 @@ namespace demo
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandSaveRtf));
|
||||
}
|
||||
(this->commandSaveHtml = new ::vl::presentation::controls::GuiToolstripCommand());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"commandSaveHtml"), ::vl::__vwsn::Box(this->commandSaveHtml));
|
||||
{
|
||||
::vl::__vwsn::This(this->commandSaveHtml)->SetText(::vl::WString::Unmanaged(L"Save as HTML"));
|
||||
}
|
||||
@@ -3064,6 +3078,7 @@ namespace demo
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandSaveHtml));
|
||||
}
|
||||
(this->commandUndo = new ::vl::presentation::controls::GuiToolstripCommand());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"commandUndo"), ::vl::__vwsn::Box(this->commandUndo));
|
||||
{
|
||||
::vl::__vwsn::This(this->commandUndo)->SetShortcutBuilder(::vl::WString::Unmanaged(L"Ctrl+Z"));
|
||||
}
|
||||
@@ -3074,6 +3089,7 @@ namespace demo
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandUndo));
|
||||
}
|
||||
(this->commandRedo = new ::vl::presentation::controls::GuiToolstripCommand());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"commandRedo"), ::vl::__vwsn::Box(this->commandRedo));
|
||||
{
|
||||
::vl::__vwsn::This(this->commandRedo)->SetShortcutBuilder(::vl::WString::Unmanaged(L"Ctrl+Y"));
|
||||
}
|
||||
@@ -3084,6 +3100,7 @@ namespace demo
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandRedo));
|
||||
}
|
||||
(this->commandCopy = new ::vl::presentation::controls::GuiToolstripCommand());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"commandCopy"), ::vl::__vwsn::Box(this->commandCopy));
|
||||
{
|
||||
::vl::__vwsn::This(this->commandCopy)->SetShortcutBuilder(::vl::WString::Unmanaged(L"Ctrl+C"));
|
||||
}
|
||||
@@ -3094,6 +3111,7 @@ namespace demo
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandCopy));
|
||||
}
|
||||
(this->commandCut = new ::vl::presentation::controls::GuiToolstripCommand());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"commandCut"), ::vl::__vwsn::Box(this->commandCut));
|
||||
{
|
||||
::vl::__vwsn::This(this->commandCut)->SetShortcutBuilder(::vl::WString::Unmanaged(L"Ctrl+X"));
|
||||
}
|
||||
@@ -3104,6 +3122,7 @@ namespace demo
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandCut));
|
||||
}
|
||||
(this->commandPaste = new ::vl::presentation::controls::GuiToolstripCommand());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"commandPaste"), ::vl::__vwsn::Box(this->commandPaste));
|
||||
{
|
||||
::vl::__vwsn::This(this->commandPaste)->SetShortcutBuilder(::vl::WString::Unmanaged(L"Ctrl+V"));
|
||||
}
|
||||
@@ -3114,6 +3133,7 @@ namespace demo
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandPaste));
|
||||
}
|
||||
(this->commandDelete = new ::vl::presentation::controls::GuiToolstripCommand());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"commandDelete"), ::vl::__vwsn::Box(this->commandDelete));
|
||||
{
|
||||
::vl::__vwsn::This(this->commandDelete)->SetText(::vl::WString::Unmanaged(L"Delete"));
|
||||
}
|
||||
@@ -3121,6 +3141,7 @@ namespace demo
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandDelete));
|
||||
}
|
||||
(this->commandSelect = new ::vl::presentation::controls::GuiToolstripCommand());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"commandSelect"), ::vl::__vwsn::Box(this->commandSelect));
|
||||
{
|
||||
::vl::__vwsn::This(this->commandSelect)->SetShortcutBuilder(::vl::WString::Unmanaged(L"Ctrl+A"));
|
||||
}
|
||||
@@ -3131,6 +3152,7 @@ namespace demo
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandSelect));
|
||||
}
|
||||
(this->commandInsertImage = new ::vl::presentation::controls::GuiToolstripCommand());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"commandInsertImage"), ::vl::__vwsn::Box(this->commandInsertImage));
|
||||
{
|
||||
::vl::__vwsn::This(this->commandInsertImage)->SetText(::vl::WString::Unmanaged(L"Insert Image ..."));
|
||||
}
|
||||
@@ -3138,6 +3160,7 @@ namespace demo
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandInsertImage));
|
||||
}
|
||||
(this->commandEditHyperlink = new ::vl::presentation::controls::GuiToolstripCommand());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"commandEditHyperlink"), ::vl::__vwsn::Box(this->commandEditHyperlink));
|
||||
{
|
||||
::vl::__vwsn::This(this->commandEditHyperlink)->SetText(::vl::WString::Unmanaged(L"Edit Hyperlink ..."));
|
||||
}
|
||||
@@ -3145,6 +3168,7 @@ namespace demo
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandEditHyperlink));
|
||||
}
|
||||
(this->commandRemoveHyperlink = new ::vl::presentation::controls::GuiToolstripCommand());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"commandRemoveHyperlink"), ::vl::__vwsn::Box(this->commandRemoveHyperlink));
|
||||
{
|
||||
::vl::__vwsn::This(this->commandRemoveHyperlink)->SetText(::vl::WString::Unmanaged(L"Remove Hyperlink"));
|
||||
}
|
||||
@@ -3152,6 +3176,7 @@ namespace demo
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandRemoveHyperlink));
|
||||
}
|
||||
(this->commandBold = new ::vl::presentation::controls::GuiToolstripCommand());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"commandBold"), ::vl::__vwsn::Box(this->commandBold));
|
||||
{
|
||||
::vl::__vwsn::This(this->commandBold)->SetText(::vl::WString::Unmanaged(L"Bold"));
|
||||
}
|
||||
@@ -3159,6 +3184,7 @@ namespace demo
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandBold));
|
||||
}
|
||||
(this->commandItalic = new ::vl::presentation::controls::GuiToolstripCommand());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"commandItalic"), ::vl::__vwsn::Box(this->commandItalic));
|
||||
{
|
||||
::vl::__vwsn::This(this->commandItalic)->SetText(::vl::WString::Unmanaged(L"Italic"));
|
||||
}
|
||||
@@ -3166,6 +3192,7 @@ namespace demo
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandItalic));
|
||||
}
|
||||
(this->commandUnderline = new ::vl::presentation::controls::GuiToolstripCommand());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"commandUnderline"), ::vl::__vwsn::Box(this->commandUnderline));
|
||||
{
|
||||
::vl::__vwsn::This(this->commandUnderline)->SetText(::vl::WString::Unmanaged(L"Underline"));
|
||||
}
|
||||
@@ -3173,6 +3200,7 @@ namespace demo
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandUnderline));
|
||||
}
|
||||
(this->commandStrike = new ::vl::presentation::controls::GuiToolstripCommand());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"commandStrike"), ::vl::__vwsn::Box(this->commandStrike));
|
||||
{
|
||||
::vl::__vwsn::This(this->commandStrike)->SetText(::vl::WString::Unmanaged(L"Strike"));
|
||||
}
|
||||
@@ -3180,6 +3208,7 @@ namespace demo
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandStrike));
|
||||
}
|
||||
(this->dialogColor = new ::vl::presentation::controls::GuiColorDialog());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"dialogColor"), ::vl::__vwsn::Box(this->dialogColor));
|
||||
{
|
||||
::vl::__vwsn::This(this->dialogColor)->SetEnabledCustomColor(false);
|
||||
}
|
||||
@@ -3187,6 +3216,7 @@ namespace demo
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->dialogColor));
|
||||
}
|
||||
(this->dialogFont = new ::vl::presentation::controls::GuiFontDialog());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"dialogFont"), ::vl::__vwsn::Box(this->dialogFont));
|
||||
{
|
||||
::vl::__vwsn::This(this->dialogFont)->SetForceFontExist(true);
|
||||
}
|
||||
@@ -3200,6 +3230,7 @@ namespace demo
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->dialogFont));
|
||||
}
|
||||
(this->commandFont = new ::vl::presentation::controls::GuiToolstripCommand());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"commandFont"), ::vl::__vwsn::Box(this->commandFont));
|
||||
{
|
||||
::vl::__vwsn::This(this->commandFont)->SetText(::vl::WString::Unmanaged(L"Set Font ..."));
|
||||
}
|
||||
@@ -3207,6 +3238,7 @@ namespace demo
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandFont));
|
||||
}
|
||||
(this->commandColor = new ::vl::presentation::controls::GuiToolstripCommand());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"commandColor"), ::vl::__vwsn::Box(this->commandColor));
|
||||
{
|
||||
::vl::__vwsn::This(this->commandColor)->SetText(::vl::WString::Unmanaged(L"Text Color ..."));
|
||||
}
|
||||
@@ -3214,6 +3246,7 @@ namespace demo
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandColor));
|
||||
}
|
||||
(this->commandBackColor = new ::vl::presentation::controls::GuiToolstripCommand());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"commandBackColor"), ::vl::__vwsn::Box(this->commandBackColor));
|
||||
{
|
||||
::vl::__vwsn::This(this->commandBackColor)->SetText(::vl::WString::Unmanaged(L"Background Color ..."));
|
||||
}
|
||||
@@ -3221,6 +3254,7 @@ namespace demo
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandBackColor));
|
||||
}
|
||||
(this->commandViewOnly = new ::vl::presentation::controls::GuiToolstripCommand());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"commandViewOnly"), ::vl::__vwsn::Box(this->commandViewOnly));
|
||||
{
|
||||
::vl::__vwsn::This(this->commandViewOnly)->SetShortcutBuilder(::vl::WString::Unmanaged(L"Ctrl+Shift+P"));
|
||||
}
|
||||
@@ -3231,6 +3265,7 @@ namespace demo
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandViewOnly));
|
||||
}
|
||||
(this->commandSelectable = new ::vl::presentation::controls::GuiToolstripCommand());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"commandSelectable"), ::vl::__vwsn::Box(this->commandSelectable));
|
||||
{
|
||||
::vl::__vwsn::This(this->commandSelectable)->SetShortcutBuilder(::vl::WString::Unmanaged(L"Ctrl+Shift+S"));
|
||||
}
|
||||
@@ -3241,6 +3276,7 @@ namespace demo
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandSelectable));
|
||||
}
|
||||
(this->commandEditable = new ::vl::presentation::controls::GuiToolstripCommand());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"commandEditable"), ::vl::__vwsn::Box(this->commandEditable));
|
||||
{
|
||||
::vl::__vwsn::This(this->commandEditable)->SetShortcutBuilder(::vl::WString::Unmanaged(L"Ctrl+Shift+E"));
|
||||
}
|
||||
@@ -3251,6 +3287,7 @@ namespace demo
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandEditable));
|
||||
}
|
||||
(this->commandAlignDefault = new ::vl::presentation::controls::GuiToolstripCommand());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"commandAlignDefault"), ::vl::__vwsn::Box(this->commandAlignDefault));
|
||||
{
|
||||
::vl::__vwsn::This(this->commandAlignDefault)->SetText(::vl::WString::Unmanaged(L"Set Alignment to Default (Left)"));
|
||||
}
|
||||
@@ -3258,6 +3295,7 @@ namespace demo
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandAlignDefault));
|
||||
}
|
||||
(this->commandAlignLeft = new ::vl::presentation::controls::GuiToolstripCommand());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"commandAlignLeft"), ::vl::__vwsn::Box(this->commandAlignLeft));
|
||||
{
|
||||
::vl::__vwsn::This(this->commandAlignLeft)->SetText(::vl::WString::Unmanaged(L"Left"));
|
||||
}
|
||||
@@ -3265,6 +3303,7 @@ namespace demo
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandAlignLeft));
|
||||
}
|
||||
(this->commandAlignCenter = new ::vl::presentation::controls::GuiToolstripCommand());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"commandAlignCenter"), ::vl::__vwsn::Box(this->commandAlignCenter));
|
||||
{
|
||||
::vl::__vwsn::This(this->commandAlignCenter)->SetText(::vl::WString::Unmanaged(L"Center"));
|
||||
}
|
||||
@@ -3272,6 +3311,7 @@ namespace demo
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandAlignCenter));
|
||||
}
|
||||
(this->commandAlignRight = new ::vl::presentation::controls::GuiToolstripCommand());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"commandAlignRight"), ::vl::__vwsn::Box(this->commandAlignRight));
|
||||
{
|
||||
::vl::__vwsn::This(this->commandAlignRight)->SetText(::vl::WString::Unmanaged(L"Right"));
|
||||
}
|
||||
@@ -3828,6 +3868,7 @@ Class (::demo::HyperlinkWindowConstructor)
|
||||
}
|
||||
{
|
||||
(this->textUrl = new ::vl::presentation::controls::GuiSinglelineTextBox(::vl::presentation::theme::ThemeName::SinglelineTextBox));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"textUrl"), ::vl::__vwsn::Box(this->textUrl));
|
||||
}
|
||||
(this->__vwsn_precompile_6 = ::vl::__vwsn::This(this->textUrl)->GetBoundsComposition());
|
||||
{
|
||||
|
||||
@@ -1725,6 +1725,7 @@ namespace demo
|
||||
}
|
||||
{
|
||||
(this->styleGallery = new ::vl::presentation::controls::GuiBindableRibbonGalleryList(::vl::presentation::theme::ThemeName::RibbonGalleryList));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"styleGallery"), ::vl::__vwsn::Box(this->styleGallery));
|
||||
}
|
||||
{
|
||||
::vl::__vwsn::This(this->styleGallery)->SetGroupChildrenProperty(vl::Func(::vl_workflow_global::__vwsnf3_EditorRibbon_demo_DocumentEditorRibbonConstructor___vwsn_demo_DocumentEditorRibbon_Initialize_(this)));
|
||||
@@ -1965,6 +1966,7 @@ namespace demo
|
||||
(this->__vwsn_precompile_10 = ::vl::__vwsn::This(this->__vwsn_precompile_8)->GetBeforeHeaders());
|
||||
{
|
||||
(this->buttonHome = new ::vl::presentation::controls::GuiButton(::vl::presentation::theme::ThemeName::Button));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"buttonHome"), ::vl::__vwsn::Box(this->buttonHome));
|
||||
}
|
||||
(this->__vwsn_precompile_11 = ::vl::__vwsn::This(this->buttonHome)->GetBoundsComposition());
|
||||
{
|
||||
@@ -1987,6 +1989,7 @@ namespace demo
|
||||
::vl::__vwsn::This(this->self)->SetText(::vl::WString::Unmanaged(L"Document Editor (Ribbon)"));
|
||||
}
|
||||
(this->dialogMessage = new ::vl::presentation::controls::GuiMessageDialog());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"dialogMessage"), ::vl::__vwsn::Box(this->dialogMessage));
|
||||
{
|
||||
::vl::__vwsn::This(this->dialogMessage)->SetTitle(::vl::WString::Unmanaged(L"You Expanded a Group!"));
|
||||
}
|
||||
@@ -1998,6 +2001,7 @@ namespace demo
|
||||
}
|
||||
{
|
||||
(this->toolstripHome = new ::vl::presentation::controls::GuiToolstripMenu(::vl::presentation::theme::ThemeName::Menu, static_cast<::vl::presentation::controls::GuiControl*>(nullptr)));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"toolstripHome"), ::vl::__vwsn::Box(this->toolstripHome));
|
||||
}
|
||||
{
|
||||
(this->__vwsn_precompile_0 = new ::vl::presentation::controls::GuiToolstripGroupContainer(::vl::presentation::theme::ThemeName::CustomControl));
|
||||
@@ -2498,6 +2502,7 @@ Class (::demo::MainWindowConstructor)
|
||||
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetClientSize([&](){ ::vl::presentation::Size __vwsn_temp__; __vwsn_temp__.x = static_cast<::vl::vint>(800); __vwsn_temp__.y = static_cast<::vl::vint>(600); return __vwsn_temp__; }());
|
||||
}
|
||||
(this->editor = new ::demo::DocumentEditorRibbon());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"editor"), ::vl::__vwsn::Box(this->editor));
|
||||
(this->__vwsn_precompile_1 = ::vl::__vwsn::This(this->editor)->GetBoundsComposition());
|
||||
{
|
||||
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint>(0); __vwsn_temp__.top = static_cast<::vl::vint>(0); __vwsn_temp__.right = static_cast<::vl::vint>(0); __vwsn_temp__.bottom = static_cast<::vl::vint>(0); return __vwsn_temp__; }());
|
||||
@@ -2587,6 +2592,7 @@ Class (::demo::StyleItemTemplateConstructor)
|
||||
}
|
||||
{
|
||||
(this->containerControl = new ::vl::presentation::controls::GuiCustomControl(::vl::presentation::theme::ThemeName::CustomControl));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"containerControl"), ::vl::__vwsn::Box(this->containerControl));
|
||||
}
|
||||
{
|
||||
(this->__vwsn_precompile_5 = new ::vl::presentation::controls::GuiCustomControl(::vl::presentation::theme::ThemeName::CustomControl));
|
||||
@@ -2636,6 +2642,7 @@ Class (::demo::StyleItemTemplateConstructor)
|
||||
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetSite(static_cast<::vl::vint>(0), static_cast<::vl::vint>(0), static_cast<::vl::vint>(1), static_cast<::vl::vint>(1));
|
||||
}
|
||||
(this->styleLabel = ::vl::Ptr<::vl::presentation::elements::GuiSolidLabelElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidLabelElement>()));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"styleLabel"), ::vl::__vwsn::Box(this->styleLabel));
|
||||
{
|
||||
::vl::__vwsn::This(this->styleLabel.Obj())->SetVerticalAlignment(::vl::presentation::Alignment::Center);
|
||||
}
|
||||
|
||||
+2
@@ -390,6 +390,7 @@ namespace demo
|
||||
}
|
||||
{
|
||||
(this->buttonAlignment = new ::vl::presentation::controls::GuiToolstripButton(::vl::presentation::theme::ThemeName::ToolstripDropdownButton));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"buttonAlignment"), ::vl::__vwsn::Box(this->buttonAlignment));
|
||||
}
|
||||
{
|
||||
::vl::__vwsn::This(this->buttonAlignment)->SetAlt(::vl::WString::Unmanaged(L"P"));
|
||||
@@ -1180,6 +1181,7 @@ Class (::demo::MainWindowConstructor)
|
||||
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetClientSize([&](){ ::vl::presentation::Size __vwsn_temp__; __vwsn_temp__.x = static_cast<::vl::vint>(800); __vwsn_temp__.y = static_cast<::vl::vint>(600); return __vwsn_temp__; }());
|
||||
}
|
||||
(this->editor = new ::demo::DocumentEditorToolstrip());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"editor"), ::vl::__vwsn::Box(this->editor));
|
||||
(this->__vwsn_precompile_1 = ::vl::__vwsn::This(this->editor)->GetBoundsComposition());
|
||||
{
|
||||
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint>(0); __vwsn_temp__.top = static_cast<::vl::vint>(0); __vwsn_temp__.right = static_cast<::vl::vint>(0); __vwsn_temp__.bottom = static_cast<::vl::vint>(0); return __vwsn_temp__; }());
|
||||
|
||||
@@ -113,6 +113,7 @@ namespace demo
|
||||
::vl::__vwsn::This(this->self)->SetText(::vl::WString::Unmanaged(L"GlobalHotkey"));
|
||||
}
|
||||
(this->dialog = new ::vl::presentation::controls::GuiMessageDialog());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"dialog"), ::vl::__vwsn::Box(this->dialog));
|
||||
{
|
||||
::vl::__vwsn::This(this->dialog)->SetTitle(::vl::WString::Unmanaged(L"Global Hotkey"));
|
||||
}
|
||||
@@ -123,6 +124,7 @@ namespace demo
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->dialog));
|
||||
}
|
||||
(this->commandGlobal = new ::vl::presentation::controls::GuiToolstripCommand());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"commandGlobal"), ::vl::__vwsn::Box(this->commandGlobal));
|
||||
{
|
||||
::vl::__vwsn::This(this->commandGlobal)->SetShortcutBuilder(::vl::WString::Unmanaged(L"global:Ctrl+Shift+Alt+D"));
|
||||
}
|
||||
@@ -134,6 +136,7 @@ namespace demo
|
||||
}
|
||||
{
|
||||
(this->menuRightClick = new ::vl::presentation::controls::GuiToolstripMenu(::vl::presentation::theme::ThemeName::Menu, static_cast<::vl::presentation::controls::GuiControl*>(nullptr)));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"menuRightClick"), ::vl::__vwsn::Box(this->menuRightClick));
|
||||
}
|
||||
{
|
||||
(this->__vwsn_precompile_0 = new ::vl::presentation::controls::GuiToolstripGroupContainer(::vl::presentation::theme::ThemeName::CustomControl));
|
||||
|
||||
@@ -795,6 +795,7 @@ namespace demo
|
||||
}
|
||||
{
|
||||
(this->comboView = new ::vl::presentation::controls::GuiComboBoxListControl(::vl::presentation::theme::ThemeName::ComboBox, static_cast<::vl::presentation::controls::GuiSelectableListControl*>(this->__vwsn_precompile_2)));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"comboView"), ::vl::__vwsn::Box(this->comboView));
|
||||
}
|
||||
{
|
||||
::vl::__vwsn::This(this->comboView)->SetSelectedIndex(static_cast<::vl::vint>(5));
|
||||
@@ -818,6 +819,7 @@ namespace demo
|
||||
}
|
||||
{
|
||||
(this->listView = new ::vl::presentation::controls::GuiListView(::vl::presentation::theme::ThemeName::ListView));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"listView"), ::vl::__vwsn::Box(this->listView));
|
||||
}
|
||||
{
|
||||
auto __vwsn_collection_ = ::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->listView)->GetDataColumns());
|
||||
@@ -888,6 +890,7 @@ namespace demo
|
||||
}
|
||||
{
|
||||
(this->bindableListView = new ::vl::presentation::controls::GuiBindableListView(::vl::presentation::theme::ThemeName::ListView));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"bindableListView"), ::vl::__vwsn::Box(this->bindableListView));
|
||||
}
|
||||
{
|
||||
::vl::__vwsn::This(this->bindableListView)->SetSmallImageProperty(vl::Func(::vl_workflow_global::__vwsnf1_Demo_demo_ListViewTabPageConstructor___vwsn_demo_ListViewTabPage_Initialize_(this)));
|
||||
@@ -1212,6 +1215,7 @@ Class (::demo::TextListTabPageConstructor)
|
||||
}
|
||||
{
|
||||
(this->comboView = new ::vl::presentation::controls::GuiComboBoxListControl(::vl::presentation::theme::ThemeName::ComboBox, static_cast<::vl::presentation::controls::GuiSelectableListControl*>(this->__vwsn_precompile_2)));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"comboView"), ::vl::__vwsn::Box(this->comboView));
|
||||
}
|
||||
{
|
||||
::vl::__vwsn::This(this->comboView)->SetSelectedIndex(static_cast<::vl::vint>(0));
|
||||
@@ -1235,6 +1239,7 @@ Class (::demo::TextListTabPageConstructor)
|
||||
}
|
||||
{
|
||||
(this->textList = new ::vl::presentation::controls::GuiTextList(::vl::presentation::theme::ThemeName::TextList));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"textList"), ::vl::__vwsn::Box(this->textList));
|
||||
}
|
||||
{
|
||||
::vl::__vwsn::This(this->textList)->SetVerticalAlwaysVisible(false);
|
||||
@@ -1364,6 +1369,7 @@ Class (::demo::TextListTabPageConstructor)
|
||||
}
|
||||
{
|
||||
(this->bindableTextList = new ::vl::presentation::controls::GuiBindableTextList(::vl::presentation::theme::ThemeName::TextList));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"bindableTextList"), ::vl::__vwsn::Box(this->bindableTextList));
|
||||
}
|
||||
{
|
||||
::vl::__vwsn::This(this->bindableTextList)->SetCheckedProperty(vl::Func(::vl_workflow_global::__vwsnf10_Demo_demo_TextListTabPageConstructor___vwsn_demo_TextListTabPage_Initialize_(this)));
|
||||
@@ -1592,6 +1598,7 @@ Class (::demo::TreeViewTabPageConstructor)
|
||||
}
|
||||
{
|
||||
(this->treeView = new ::vl::presentation::controls::GuiTreeView(::vl::presentation::theme::ThemeName::TreeView));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"treeView"), ::vl::__vwsn::Box(this->treeView));
|
||||
}
|
||||
{
|
||||
::vl::__vwsn::This(this->treeView)->SetVerticalAlwaysVisible(false);
|
||||
@@ -1706,6 +1713,7 @@ Class (::demo::TreeViewTabPageConstructor)
|
||||
}
|
||||
{
|
||||
(this->bindableTreeView = new ::vl::presentation::controls::GuiBindableTreeView(::vl::presentation::theme::ThemeName::TreeView));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"bindableTreeView"), ::vl::__vwsn::Box(this->bindableTreeView));
|
||||
}
|
||||
{
|
||||
::vl::__vwsn::This(this->bindableTreeView)->SetChildrenProperty(vl::Func(::vl_workflow_global::__vwsnf17_Demo_demo_TreeViewTabPageConstructor___vwsn_demo_TreeViewTabPage_Initialize_(this)));
|
||||
|
||||
@@ -1731,6 +1731,7 @@ Class (::demo::MainWindowConstructor)
|
||||
}
|
||||
{
|
||||
(this->listLocales = new ::vl::presentation::controls::GuiTextList(::vl::presentation::theme::ThemeName::TextList));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"listLocales"), ::vl::__vwsn::Box(this->listLocales));
|
||||
}
|
||||
(this->__vwsn_precompile_4 = ::vl::Ptr<::vl::presentation::controls::list::TextItem>(new ::vl::presentation::controls::list::TextItem()));
|
||||
{
|
||||
@@ -1764,6 +1765,7 @@ Class (::demo::MainWindowConstructor)
|
||||
}
|
||||
{
|
||||
(this->comboLocales = new ::vl::presentation::controls::GuiComboBoxListControl(::vl::presentation::theme::ThemeName::ComboBox, static_cast<::vl::presentation::controls::GuiSelectableListControl*>(this->listLocales)));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"comboLocales"), ::vl::__vwsn::Box(this->comboLocales));
|
||||
}
|
||||
(this->__vwsn_precompile_7 = ::vl::__vwsn::This(this->comboLocales)->GetBoundsComposition());
|
||||
{
|
||||
|
||||
@@ -111,6 +111,7 @@ namespace demo
|
||||
}
|
||||
{
|
||||
(this->menuItems = new ::vl::presentation::controls::GuiToolstripButton(::vl::presentation::theme::ThemeName::MenuBarButton));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"menuItems"), ::vl::__vwsn::Box(this->menuItems));
|
||||
}
|
||||
{
|
||||
::vl::__vwsn::This(this->menuItems)->SetText(::vl::WString::Unmanaged(L"Items"));
|
||||
@@ -221,6 +222,7 @@ namespace demo
|
||||
}
|
||||
{
|
||||
(this->checkList = new ::vl::presentation::controls::GuiTextList(::vl::presentation::theme::ThemeName::TextList));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"checkList"), ::vl::__vwsn::Box(this->checkList));
|
||||
}
|
||||
(this->__vwsn_precompile_17 = ::vl::Ptr<::vl::presentation::controls::list::TextItem>(new ::vl::presentation::controls::list::TextItem()));
|
||||
{
|
||||
|
||||
@@ -359,6 +359,7 @@ Class (::demo::MainWindowConstructor)
|
||||
{
|
||||
(this->progressBar = new ::vl::presentation::controls::GuiScroll(::vl::presentation::theme::ThemeName::ProgressBar));
|
||||
::vl::__vwsn::This(this->progressBar)->SetPageSize(static_cast<::vl::vint>(0));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"progressBar"), ::vl::__vwsn::Box(this->progressBar));
|
||||
}
|
||||
(this->__vwsn_precompile_2 = ::vl::__vwsn::This(this->progressBar)->GetBoundsComposition());
|
||||
{
|
||||
@@ -379,6 +380,7 @@ Class (::demo::MainWindowConstructor)
|
||||
}
|
||||
{
|
||||
(this->buttonDownload = new ::vl::presentation::controls::GuiButton(::vl::presentation::theme::ThemeName::Button));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"buttonDownload"), ::vl::__vwsn::Box(this->buttonDownload));
|
||||
}
|
||||
{
|
||||
::vl::__vwsn::This(this->buttonDownload)->SetText(::vl::WString::Unmanaged(L"Begin Download!"));
|
||||
@@ -395,6 +397,7 @@ Class (::demo::MainWindowConstructor)
|
||||
}
|
||||
{
|
||||
(this->textResult = new ::vl::presentation::controls::GuiMultilineTextBox(::vl::presentation::theme::ThemeName::MultilineTextBox));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"textResult"), ::vl::__vwsn::Box(this->textResult));
|
||||
}
|
||||
{
|
||||
::vl::__vwsn::This(this->textResult)->SetReadonly(true);
|
||||
|
||||
@@ -306,6 +306,7 @@ namespace demo
|
||||
}
|
||||
{
|
||||
(this->textBox = new ::vl::presentation::controls::GuiSinglelineTextBox(::vl::presentation::theme::ThemeName::SinglelineTextBox));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"textBox"), ::vl::__vwsn::Box(this->textBox));
|
||||
}
|
||||
(this->__vwsn_precompile_2 = ::vl::__vwsn::This(this->textBox)->GetBoundsComposition());
|
||||
{
|
||||
|
||||
@@ -1068,6 +1068,7 @@ namespace demo
|
||||
}
|
||||
{
|
||||
(this->documentLabel = new ::vl::presentation::controls::GuiDocumentLabel(::vl::presentation::theme::ThemeName::DocumentLabel));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"documentLabel"), ::vl::__vwsn::Box(this->documentLabel));
|
||||
}
|
||||
(this->__vwsn_precompile_4 = ::vl::__vwsn::This(this->documentLabel)->GetBoundsComposition());
|
||||
{
|
||||
@@ -1158,10 +1159,12 @@ Class (::demo::FindWindowConstructor)
|
||||
::vl::__vwsn::This(this->self)->SetText(::vl::WString::Unmanaged(L"Find"));
|
||||
}
|
||||
(this->groupDirection = new ::vl::presentation::controls::GuiSelectableButton::MutexGroupController());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"groupDirection"), ::vl::__vwsn::Box(this->groupDirection));
|
||||
{
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->groupDirection));
|
||||
}
|
||||
(this->dialogContentNotFound = new ::vl::presentation::controls::GuiMessageDialog());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"dialogContentNotFound"), ::vl::__vwsn::Box(this->dialogContentNotFound));
|
||||
{
|
||||
::vl::__vwsn::This(this->dialogContentNotFound)->SetInput(::vl::presentation::INativeDialogService::MessageBoxButtonsInput::DisplayOK);
|
||||
}
|
||||
@@ -1215,6 +1218,7 @@ Class (::demo::FindWindowConstructor)
|
||||
}
|
||||
{
|
||||
(this->textFind = new ::vl::presentation::controls::GuiSinglelineTextBox(::vl::presentation::theme::ThemeName::SinglelineTextBox));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"textFind"), ::vl::__vwsn::Box(this->textFind));
|
||||
}
|
||||
(this->__vwsn_precompile_5 = ::vl::__vwsn::This(this->textFind)->GetBoundsComposition());
|
||||
{
|
||||
@@ -1246,6 +1250,7 @@ Class (::demo::FindWindowConstructor)
|
||||
(this->__vwsn_precompile_8 = new ::vl::presentation::compositions::GuiStackItemComposition());
|
||||
{
|
||||
(this->checkCase = new ::vl::presentation::controls::GuiSelectableButton(::vl::presentation::theme::ThemeName::CheckBox));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"checkCase"), ::vl::__vwsn::Box(this->checkCase));
|
||||
}
|
||||
{
|
||||
::vl::__vwsn::This(this->checkCase)->SetText(::vl::WString::Unmanaged(L"Case Sensitive"));
|
||||
@@ -1287,6 +1292,7 @@ Class (::demo::FindWindowConstructor)
|
||||
(this->__vwsn_precompile_12 = new ::vl::presentation::compositions::GuiStackItemComposition());
|
||||
{
|
||||
(this->radioUp = new ::vl::presentation::controls::GuiSelectableButton(::vl::presentation::theme::ThemeName::RadioButton));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"radioUp"), ::vl::__vwsn::Box(this->radioUp));
|
||||
}
|
||||
{
|
||||
::vl::__vwsn::This(this->radioUp)->SetText(::vl::WString::Unmanaged(L"Up"));
|
||||
@@ -1300,6 +1306,7 @@ Class (::demo::FindWindowConstructor)
|
||||
(this->__vwsn_precompile_13 = new ::vl::presentation::compositions::GuiStackItemComposition());
|
||||
{
|
||||
(this->radioDown = new ::vl::presentation::controls::GuiSelectableButton(::vl::presentation::theme::ThemeName::RadioButton));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"radioDown"), ::vl::__vwsn::Box(this->radioDown));
|
||||
}
|
||||
{
|
||||
::vl::__vwsn::This(this->radioDown)->SetSelected(true);
|
||||
@@ -1442,6 +1449,7 @@ Class (::demo::MainWindowConstructor)
|
||||
::vl::__vwsn::This(this->self)->SetText(::vl::WString::Unmanaged(L"TextEditor"));
|
||||
}
|
||||
(this->commandFileNewText = new ::vl::presentation::controls::GuiToolstripCommand());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"commandFileNewText"), ::vl::__vwsn::Box(this->commandFileNewText));
|
||||
{
|
||||
::vl::__vwsn::This(this->commandFileNewText)->SetText(::vl::WString::Unmanaged(L"Text File"));
|
||||
}
|
||||
@@ -1449,6 +1457,7 @@ Class (::demo::MainWindowConstructor)
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandFileNewText));
|
||||
}
|
||||
(this->commandFileNewXml = new ::vl::presentation::controls::GuiToolstripCommand());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"commandFileNewXml"), ::vl::__vwsn::Box(this->commandFileNewXml));
|
||||
{
|
||||
::vl::__vwsn::This(this->commandFileNewXml)->SetText(::vl::WString::Unmanaged(L"Xml File"));
|
||||
}
|
||||
@@ -1456,6 +1465,7 @@ Class (::demo::MainWindowConstructor)
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandFileNewXml));
|
||||
}
|
||||
(this->commandFileOpen = new ::vl::presentation::controls::GuiToolstripCommand());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"commandFileOpen"), ::vl::__vwsn::Box(this->commandFileOpen));
|
||||
{
|
||||
::vl::__vwsn::This(this->commandFileOpen)->SetShortcutBuilder(::vl::WString::Unmanaged(L"Ctrl+O"));
|
||||
}
|
||||
@@ -1466,6 +1476,7 @@ Class (::demo::MainWindowConstructor)
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandFileOpen));
|
||||
}
|
||||
(this->commandFileOpenText = new ::vl::presentation::controls::GuiToolstripCommand());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"commandFileOpenText"), ::vl::__vwsn::Box(this->commandFileOpenText));
|
||||
{
|
||||
::vl::__vwsn::This(this->commandFileOpenText)->SetText(::vl::WString::Unmanaged(L"Text File ..."));
|
||||
}
|
||||
@@ -1473,6 +1484,7 @@ Class (::demo::MainWindowConstructor)
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandFileOpenText));
|
||||
}
|
||||
(this->commandFileOpenXml = new ::vl::presentation::controls::GuiToolstripCommand());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"commandFileOpenXml"), ::vl::__vwsn::Box(this->commandFileOpenXml));
|
||||
{
|
||||
::vl::__vwsn::This(this->commandFileOpenXml)->SetText(::vl::WString::Unmanaged(L"Xml File ..."));
|
||||
}
|
||||
@@ -1480,6 +1492,7 @@ Class (::demo::MainWindowConstructor)
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandFileOpenXml));
|
||||
}
|
||||
(this->commandFileSave = new ::vl::presentation::controls::GuiToolstripCommand());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"commandFileSave"), ::vl::__vwsn::Box(this->commandFileSave));
|
||||
{
|
||||
::vl::__vwsn::This(this->commandFileSave)->SetShortcutBuilder(::vl::WString::Unmanaged(L"Ctrl+S"));
|
||||
}
|
||||
@@ -1490,6 +1503,7 @@ Class (::demo::MainWindowConstructor)
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandFileSave));
|
||||
}
|
||||
(this->commandFileSaveAs = new ::vl::presentation::controls::GuiToolstripCommand());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"commandFileSaveAs"), ::vl::__vwsn::Box(this->commandFileSaveAs));
|
||||
{
|
||||
::vl::__vwsn::This(this->commandFileSaveAs)->SetText(::vl::WString::Unmanaged(L"Save As ..."));
|
||||
}
|
||||
@@ -1497,6 +1511,7 @@ Class (::demo::MainWindowConstructor)
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandFileSaveAs));
|
||||
}
|
||||
(this->commandFileExit = new ::vl::presentation::controls::GuiToolstripCommand());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"commandFileExit"), ::vl::__vwsn::Box(this->commandFileExit));
|
||||
{
|
||||
::vl::__vwsn::This(this->commandFileExit)->SetText(::vl::WString::Unmanaged(L"Exit"));
|
||||
}
|
||||
@@ -1504,6 +1519,7 @@ Class (::demo::MainWindowConstructor)
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandFileExit));
|
||||
}
|
||||
(this->commandEditUndo = new ::vl::presentation::controls::GuiToolstripCommand());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"commandEditUndo"), ::vl::__vwsn::Box(this->commandEditUndo));
|
||||
{
|
||||
::vl::__vwsn::This(this->commandEditUndo)->SetShortcutBuilder(::vl::WString::Unmanaged(L"Ctrl+Z"));
|
||||
}
|
||||
@@ -1514,6 +1530,7 @@ Class (::demo::MainWindowConstructor)
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandEditUndo));
|
||||
}
|
||||
(this->commandEditRedo = new ::vl::presentation::controls::GuiToolstripCommand());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"commandEditRedo"), ::vl::__vwsn::Box(this->commandEditRedo));
|
||||
{
|
||||
::vl::__vwsn::This(this->commandEditRedo)->SetShortcutBuilder(::vl::WString::Unmanaged(L"Ctrl+Y"));
|
||||
}
|
||||
@@ -1524,6 +1541,7 @@ Class (::demo::MainWindowConstructor)
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandEditRedo));
|
||||
}
|
||||
(this->commandEditCut = new ::vl::presentation::controls::GuiToolstripCommand());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"commandEditCut"), ::vl::__vwsn::Box(this->commandEditCut));
|
||||
{
|
||||
::vl::__vwsn::This(this->commandEditCut)->SetShortcutBuilder(::vl::WString::Unmanaged(L"Ctrl+X"));
|
||||
}
|
||||
@@ -1534,6 +1552,7 @@ Class (::demo::MainWindowConstructor)
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandEditCut));
|
||||
}
|
||||
(this->commandEditCopy = new ::vl::presentation::controls::GuiToolstripCommand());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"commandEditCopy"), ::vl::__vwsn::Box(this->commandEditCopy));
|
||||
{
|
||||
::vl::__vwsn::This(this->commandEditCopy)->SetShortcutBuilder(::vl::WString::Unmanaged(L"Ctrl+C"));
|
||||
}
|
||||
@@ -1544,6 +1563,7 @@ Class (::demo::MainWindowConstructor)
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandEditCopy));
|
||||
}
|
||||
(this->commandEditPaste = new ::vl::presentation::controls::GuiToolstripCommand());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"commandEditPaste"), ::vl::__vwsn::Box(this->commandEditPaste));
|
||||
{
|
||||
::vl::__vwsn::This(this->commandEditPaste)->SetShortcutBuilder(::vl::WString::Unmanaged(L"Ctrl+V"));
|
||||
}
|
||||
@@ -1554,6 +1574,7 @@ Class (::demo::MainWindowConstructor)
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandEditPaste));
|
||||
}
|
||||
(this->commandEditDelete = new ::vl::presentation::controls::GuiToolstripCommand());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"commandEditDelete"), ::vl::__vwsn::Box(this->commandEditDelete));
|
||||
{
|
||||
::vl::__vwsn::This(this->commandEditDelete)->SetText(::vl::WString::Unmanaged(L"Delete"));
|
||||
}
|
||||
@@ -1561,6 +1582,7 @@ Class (::demo::MainWindowConstructor)
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandEditDelete));
|
||||
}
|
||||
(this->commandEditSelect = new ::vl::presentation::controls::GuiToolstripCommand());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"commandEditSelect"), ::vl::__vwsn::Box(this->commandEditSelect));
|
||||
{
|
||||
::vl::__vwsn::This(this->commandEditSelect)->SetShortcutBuilder(::vl::WString::Unmanaged(L"Ctrl+A"));
|
||||
}
|
||||
@@ -1571,6 +1593,7 @@ Class (::demo::MainWindowConstructor)
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandEditSelect));
|
||||
}
|
||||
(this->commandEditFind = new ::vl::presentation::controls::GuiToolstripCommand());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"commandEditFind"), ::vl::__vwsn::Box(this->commandEditFind));
|
||||
{
|
||||
::vl::__vwsn::This(this->commandEditFind)->SetShortcutBuilder(::vl::WString::Unmanaged(L"Ctrl+F"));
|
||||
}
|
||||
@@ -1581,6 +1604,7 @@ Class (::demo::MainWindowConstructor)
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandEditFind));
|
||||
}
|
||||
(this->commandAbout = new ::vl::presentation::controls::GuiToolstripCommand());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"commandAbout"), ::vl::__vwsn::Box(this->commandAbout));
|
||||
{
|
||||
::vl::__vwsn::This(this->commandAbout)->SetText(::vl::WString::Unmanaged(L"About TextEditor ..."));
|
||||
}
|
||||
@@ -1588,6 +1612,7 @@ Class (::demo::MainWindowConstructor)
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandAbout));
|
||||
}
|
||||
(this->dialogQueryClose = new ::vl::presentation::controls::GuiMessageDialog());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"dialogQueryClose"), ::vl::__vwsn::Box(this->dialogQueryClose));
|
||||
{
|
||||
::vl::__vwsn::This(this->dialogQueryClose)->SetIcon(::vl::presentation::INativeDialogService::MessageBoxIcons::IconQuestion);
|
||||
}
|
||||
@@ -1601,6 +1626,7 @@ Class (::demo::MainWindowConstructor)
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->dialogQueryClose));
|
||||
}
|
||||
(this->dialogCannotOpen = new ::vl::presentation::controls::GuiMessageDialog());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"dialogCannotOpen"), ::vl::__vwsn::Box(this->dialogCannotOpen));
|
||||
{
|
||||
::vl::__vwsn::This(this->dialogCannotOpen)->SetIcon(::vl::presentation::INativeDialogService::MessageBoxIcons::IconError);
|
||||
}
|
||||
@@ -1614,6 +1640,7 @@ Class (::demo::MainWindowConstructor)
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->dialogCannotOpen));
|
||||
}
|
||||
(this->dialogCannotSave = new ::vl::presentation::controls::GuiMessageDialog());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"dialogCannotSave"), ::vl::__vwsn::Box(this->dialogCannotSave));
|
||||
{
|
||||
::vl::__vwsn::This(this->dialogCannotSave)->SetIcon(::vl::presentation::INativeDialogService::MessageBoxIcons::IconError);
|
||||
}
|
||||
@@ -1627,6 +1654,7 @@ Class (::demo::MainWindowConstructor)
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->dialogCannotSave));
|
||||
}
|
||||
(this->dialogOpen = new ::vl::presentation::controls::GuiOpenFileDialog());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"dialogOpen"), ::vl::__vwsn::Box(this->dialogOpen));
|
||||
{
|
||||
::vl::__vwsn::This(this->dialogOpen)->SetOptions((::vl::presentation::INativeDialogService::FileDialogOptions::FileDialogFileMustExist | ::vl::presentation::INativeDialogService::FileDialogOptions::FileDialogDereferenceLinks));
|
||||
}
|
||||
@@ -1640,6 +1668,7 @@ Class (::demo::MainWindowConstructor)
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->dialogOpen));
|
||||
}
|
||||
(this->dialogSave = new ::vl::presentation::controls::GuiSaveFileDialog());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"dialogSave"), ::vl::__vwsn::Box(this->dialogSave));
|
||||
{
|
||||
::vl::__vwsn::This(this->dialogSave)->SetOptions((((::vl::presentation::INativeDialogService::FileDialogOptions::FileDialogPromptCreateFile | ::vl::presentation::INativeDialogService::FileDialogOptions::FileDialogPromptOverwriteFile) | ::vl::presentation::INativeDialogService::FileDialogOptions::FileDialogDirectoryMustExist) | ::vl::presentation::INativeDialogService::FileDialogOptions::FileDialogAddToRecent));
|
||||
}
|
||||
@@ -2140,6 +2169,7 @@ Class (::demo::MainWindowConstructor)
|
||||
}
|
||||
{
|
||||
(this->textBox = new ::vl::presentation::controls::GuiMultilineTextBox(::vl::presentation::theme::ThemeName::MultilineTextBox));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"textBox"), ::vl::__vwsn::Box(this->textBox));
|
||||
}
|
||||
{
|
||||
::vl::__vwsn::This(this->textBox)->SetVerticalAlwaysVisible(false);
|
||||
|
||||
@@ -1151,6 +1151,7 @@ namespace demo
|
||||
}
|
||||
(this->__vwsn_precompile_2 = new ::vl::presentation::compositions::GuiStackItemComposition());
|
||||
(this->button = new ::demo::TriplePhaseButton());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"button"), ::vl::__vwsn::Box(this->button));
|
||||
(this->__vwsn_precompile_3 = ::vl::__vwsn::This(this->button)->GetBoundsComposition());
|
||||
{
|
||||
::vl::__vwsn::This(this->__vwsn_precompile_3)->SetPreferredMinSize([&](){ ::vl::presentation::Size __vwsn_temp__; __vwsn_temp__.x = static_cast<::vl::vint>(120); __vwsn_temp__.y = static_cast<::vl::vint>(40); return __vwsn_temp__; }());
|
||||
|
||||
@@ -103,6 +103,7 @@ namespace demo
|
||||
::vl::__vwsn::This(this->self)->SetText(::vl::WString::Unmanaged(L"Win11ToolstripMenu"));
|
||||
}
|
||||
(this->commandCut = new ::vl::presentation::controls::GuiToolstripCommand());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"commandCut"), ::vl::__vwsn::Box(this->commandCut));
|
||||
{
|
||||
::vl::__vwsn::This(this->commandCut)->SetShortcutBuilder(::vl::WString::Unmanaged(L"Ctrl+X"));
|
||||
}
|
||||
@@ -113,6 +114,7 @@ namespace demo
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandCut));
|
||||
}
|
||||
(this->commandCopy = new ::vl::presentation::controls::GuiToolstripCommand());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"commandCopy"), ::vl::__vwsn::Box(this->commandCopy));
|
||||
{
|
||||
::vl::__vwsn::This(this->commandCopy)->SetShortcutBuilder(::vl::WString::Unmanaged(L"Ctrl+C"));
|
||||
}
|
||||
@@ -123,6 +125,7 @@ namespace demo
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandCopy));
|
||||
}
|
||||
(this->commandPaste = new ::vl::presentation::controls::GuiToolstripCommand());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"commandPaste"), ::vl::__vwsn::Box(this->commandPaste));
|
||||
{
|
||||
::vl::__vwsn::This(this->commandPaste)->SetShortcutBuilder(::vl::WString::Unmanaged(L"Ctrl+V"));
|
||||
}
|
||||
@@ -133,6 +136,7 @@ namespace demo
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandPaste));
|
||||
}
|
||||
(this->commandDelete = new ::vl::presentation::controls::GuiToolstripCommand());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"commandDelete"), ::vl::__vwsn::Box(this->commandDelete));
|
||||
{
|
||||
::vl::__vwsn::This(this->commandDelete)->SetText(::vl::WString::Unmanaged(L"Delete"));
|
||||
}
|
||||
@@ -140,6 +144,7 @@ namespace demo
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandDelete));
|
||||
}
|
||||
(this->commandUndo = new ::vl::presentation::controls::GuiToolstripCommand());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"commandUndo"), ::vl::__vwsn::Box(this->commandUndo));
|
||||
{
|
||||
::vl::__vwsn::This(this->commandUndo)->SetShortcutBuilder(::vl::WString::Unmanaged(L"Ctrl+Z"));
|
||||
}
|
||||
@@ -150,6 +155,7 @@ namespace demo
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandUndo));
|
||||
}
|
||||
(this->commandRedo = new ::vl::presentation::controls::GuiToolstripCommand());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"commandRedo"), ::vl::__vwsn::Box(this->commandRedo));
|
||||
{
|
||||
::vl::__vwsn::This(this->commandRedo)->SetShortcutBuilder(::vl::WString::Unmanaged(L"Ctrl+Y"));
|
||||
}
|
||||
@@ -160,6 +166,7 @@ namespace demo
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandRedo));
|
||||
}
|
||||
(this->commandExportPrivate = new ::vl::presentation::controls::GuiToolstripCommand());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"commandExportPrivate"), ::vl::__vwsn::Box(this->commandExportPrivate));
|
||||
{
|
||||
::vl::__vwsn::This(this->commandExportPrivate)->SetText(::vl::WString::Unmanaged(L"Export as Private Format"));
|
||||
}
|
||||
@@ -167,6 +174,7 @@ namespace demo
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandExportPrivate));
|
||||
}
|
||||
(this->commandExportRtf = new ::vl::presentation::controls::GuiToolstripCommand());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"commandExportRtf"), ::vl::__vwsn::Box(this->commandExportRtf));
|
||||
{
|
||||
::vl::__vwsn::This(this->commandExportRtf)->SetText(::vl::WString::Unmanaged(L"Export as Rich Text Format"));
|
||||
}
|
||||
@@ -174,6 +182,7 @@ namespace demo
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandExportRtf));
|
||||
}
|
||||
(this->commandExportHtml = new ::vl::presentation::controls::GuiToolstripCommand());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"commandExportHtml"), ::vl::__vwsn::Box(this->commandExportHtml));
|
||||
{
|
||||
::vl::__vwsn::This(this->commandExportHtml)->SetText(::vl::WString::Unmanaged(L"Export as HTML"));
|
||||
}
|
||||
@@ -182,6 +191,7 @@ namespace demo
|
||||
}
|
||||
{
|
||||
(this->menuEdit = new ::vl::presentation::controls::GuiToolstripMenu(::vl::presentation::theme::ThemeName::Menu, static_cast<::vl::presentation::controls::GuiControl*>(nullptr)));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"menuEdit"), ::vl::__vwsn::Box(this->menuEdit));
|
||||
}
|
||||
{
|
||||
(this->__vwsn_precompile_0 = new ::vl::presentation::controls::GuiToolstripGroupContainer(::vl::presentation::theme::ThemeName::CustomControl));
|
||||
|
||||
@@ -598,6 +598,7 @@ namespace helloworld
|
||||
}
|
||||
{
|
||||
(this->textBoxUserName = new ::vl::presentation::controls::GuiSinglelineTextBox(::vl::presentation::theme::ThemeName::SinglelineTextBox));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"textBoxUserName"), ::vl::__vwsn::Box(this->textBoxUserName));
|
||||
}
|
||||
(this->__vwsn_precompile_6 = ::vl::__vwsn::This(this->textBoxUserName)->GetBoundsComposition());
|
||||
{
|
||||
@@ -661,6 +662,7 @@ namespace helloworld
|
||||
}
|
||||
{
|
||||
(this->textBoxPassword = new ::vl::presentation::controls::GuiSinglelineTextBox(::vl::presentation::theme::ThemeName::SinglelineTextBox));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"textBoxPassword"), ::vl::__vwsn::Box(this->textBoxPassword));
|
||||
}
|
||||
{
|
||||
::vl::__vwsn::This(this->textBoxPassword)->SetPasswordChar(::vl::__vwsn::Parse<wchar_t>(::vl::WString::Unmanaged(L"*")));
|
||||
@@ -707,6 +709,7 @@ namespace helloworld
|
||||
}
|
||||
{
|
||||
(this->buttonSignUp = new ::vl::presentation::controls::GuiButton(::vl::presentation::theme::ThemeName::Button));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"buttonSignUp"), ::vl::__vwsn::Box(this->buttonSignUp));
|
||||
}
|
||||
(this->__vwsn_precompile_16 = ::vl::__vwsn::This(this->buttonSignUp)->GetBoundsComposition());
|
||||
{
|
||||
@@ -723,6 +726,7 @@ namespace helloworld
|
||||
}
|
||||
{
|
||||
(this->buttonCancel = new ::vl::presentation::controls::GuiButton(::vl::presentation::theme::ThemeName::Button));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"buttonCancel"), ::vl::__vwsn::Box(this->buttonCancel));
|
||||
}
|
||||
(this->__vwsn_precompile_17 = ::vl::__vwsn::This(this->buttonCancel)->GetBoundsComposition());
|
||||
{
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -586,10 +586,12 @@ namespace demo
|
||||
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetText(::vl::WString::Unmanaged(L"Flow"));
|
||||
}
|
||||
(this->groupAxis = new ::vl::presentation::controls::GuiSelectableButton::MutexGroupController());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"groupAxis"), ::vl::__vwsn::Box(this->groupAxis));
|
||||
{
|
||||
::vl::__vwsn::This(this->__vwsn_precompile_0)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->groupAxis));
|
||||
}
|
||||
(this->groupAlignment = new ::vl::presentation::controls::GuiSelectableButton::MutexGroupController());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"groupAlignment"), ::vl::__vwsn::Box(this->groupAlignment));
|
||||
{
|
||||
::vl::__vwsn::This(this->__vwsn_precompile_0)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->groupAlignment));
|
||||
}
|
||||
@@ -618,6 +620,7 @@ namespace demo
|
||||
}
|
||||
{
|
||||
(this->groupBoxAxis = new ::vl::presentation::controls::GuiControl(::vl::presentation::theme::ThemeName::GroupBox));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"groupBoxAxis"), ::vl::__vwsn::Box(this->groupBoxAxis));
|
||||
}
|
||||
(this->__vwsn_precompile_21 = ::vl::__vwsn::This(this->groupBoxAxis)->GetContainerComposition());
|
||||
{
|
||||
@@ -794,6 +797,7 @@ namespace demo
|
||||
}
|
||||
{
|
||||
(this->groupBoxAlignment = new ::vl::presentation::controls::GuiControl(::vl::presentation::theme::ThemeName::GroupBox));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"groupBoxAlignment"), ::vl::__vwsn::Box(this->groupBoxAlignment));
|
||||
}
|
||||
(this->__vwsn_precompile_33 = ::vl::__vwsn::This(this->groupBoxAlignment)->GetContainerComposition());
|
||||
{
|
||||
@@ -918,6 +922,7 @@ namespace demo
|
||||
::vl::__vwsn::This(this->__vwsn_precompile_36)->SetSite(static_cast<::vl::vint>(2), static_cast<::vl::vint>(0), static_cast<::vl::vint>(1), static_cast<::vl::vint>(3));
|
||||
}
|
||||
(this->flowLayout = new ::vl::presentation::compositions::GuiFlowComposition());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"flowLayout"), ::vl::__vwsn::Box(this->flowLayout));
|
||||
{
|
||||
::vl::__vwsn::This(this->flowLayout)->SetExtraMargin([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint>(10); __vwsn_temp__.top = static_cast<::vl::vint>(10); __vwsn_temp__.right = static_cast<::vl::vint>(10); __vwsn_temp__.bottom = static_cast<::vl::vint>(10); return __vwsn_temp__; }());
|
||||
}
|
||||
|
||||
@@ -1130,6 +1130,7 @@ Class (::demo::ResponsiveGroupControlConstructor)
|
||||
::vl::__vwsn::This(this->__vwsn_precompile_2)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_3));
|
||||
}
|
||||
(this->responsive = new ::vl::presentation::compositions::GuiResponsiveGroupComposition());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"responsive"), ::vl::__vwsn::Box(this->responsive));
|
||||
(this->__vwsn_precompile_4 = new ::vl::presentation::compositions::GuiStackComposition());
|
||||
{
|
||||
::vl::__vwsn::This(this->__vwsn_precompile_4)->SetPadding(static_cast<::vl::vint>(10));
|
||||
@@ -1522,6 +1523,7 @@ Class (::demo::ResponsiveStackControlConstructor)
|
||||
::vl::__vwsn::This(this->__vwsn_precompile_2)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_3));
|
||||
}
|
||||
(this->responsive = new ::vl::presentation::compositions::GuiResponsiveStackComposition());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"responsive"), ::vl::__vwsn::Box(this->responsive));
|
||||
(this->__vwsn_precompile_4 = new ::vl::presentation::compositions::GuiStackComposition());
|
||||
{
|
||||
::vl::__vwsn::This(this->__vwsn_precompile_4)->SetPadding(static_cast<::vl::vint>(10));
|
||||
@@ -1914,6 +1916,7 @@ Class (::demo::ResponsiveViewControlConstructor)
|
||||
::vl::__vwsn::This(this->__vwsn_precompile_2)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_3));
|
||||
}
|
||||
(this->responsive = new ::vl::presentation::compositions::GuiResponsiveViewComposition());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"responsive"), ::vl::__vwsn::Box(this->responsive));
|
||||
(this->__vwsn_precompile_4 = new ::vl::presentation::compositions::GuiResponsiveFixedComposition());
|
||||
(this->__vwsn_precompile_5 = new ::vl::presentation::compositions::GuiStackComposition());
|
||||
{
|
||||
@@ -2084,6 +2087,7 @@ Class (::demo::ResponsiveViewControlConstructor)
|
||||
}
|
||||
{
|
||||
(this->documentBox = new ::vl::presentation::controls::GuiDocumentLabel(::vl::presentation::theme::ThemeName::DocumentTextBox));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"documentBox"), ::vl::__vwsn::Box(this->documentBox));
|
||||
}
|
||||
{
|
||||
::vl::__vwsn::This(this->documentBox)->SetEditMode(::vl::presentation::controls::GuiDocumentCommonInterface::EditMode::Editable);
|
||||
|
||||
@@ -1677,6 +1677,7 @@ Class (::demo::MainWindowConstructor)
|
||||
::vl::__vwsn::This(this->self)->SetClientSize([&](){ ::vl::presentation::Size __vwsn_temp__; __vwsn_temp__.x = static_cast<::vl::vint>(800); __vwsn_temp__.y = static_cast<::vl::vint>(600); return __vwsn_temp__; }());
|
||||
}
|
||||
(this->accountController = new ::vl::presentation::controls::GuiSelectableButton::MutexGroupController());
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"accountController"), ::vl::__vwsn::Box(this->accountController));
|
||||
{
|
||||
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->accountController));
|
||||
}
|
||||
@@ -1684,6 +1685,7 @@ Class (::demo::MainWindowConstructor)
|
||||
(this->__vwsn_precompile_1 = new ::vl::presentation::compositions::GuiResponsiveViewComposition());
|
||||
{
|
||||
(this->videoContainer = new ::vl::presentation::controls::GuiScrollContainer(::vl::presentation::theme::ThemeName::ScrollView));
|
||||
::vl::__vwsn::This(__vwsn_this_)->SetNamedObject(::vl::WString::Unmanaged(L"videoContainer"), ::vl::__vwsn::Box(this->videoContainer));
|
||||
}
|
||||
{
|
||||
::vl::__vwsn::This(this->videoContainer)->SetHorizontalAlwaysVisible(false);
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user