mirror of
https://github.com/vczh-libraries/Release.git
synced 2026-05-28 10:45:31 +08:00
Update release
This commit is contained in:
+25
-13
@@ -15,25 +15,25 @@ namespace vl
|
|||||||
using namespace collections;
|
using namespace collections;
|
||||||
using namespace stream;
|
using namespace stream;
|
||||||
using namespace filesystem;
|
using namespace filesystem;
|
||||||
|
using namespace parsing;
|
||||||
using namespace workflow;
|
using namespace workflow;
|
||||||
using namespace workflow::cppcodegen;
|
using namespace workflow::cppcodegen;
|
||||||
|
|
||||||
Ptr<GuiResourceFolder> PrecompileAndWriteErrors(
|
bool WriteErrors(
|
||||||
Ptr<GuiResource> resource,
|
|
||||||
IGuiResourcePrecompileCallback* callback,
|
|
||||||
collections::List<GuiResourceError>& errors,
|
collections::List<GuiResourceError>& errors,
|
||||||
const filesystem::FilePath& errorPath)
|
const filesystem::FilePath& errorPath)
|
||||||
|
{
|
||||||
|
List<WString> output;
|
||||||
|
GuiResourceError::SortAndLog(errors, output);
|
||||||
|
return File(errorPath).WriteAllLines(output, true, BomEncoder::Utf8);
|
||||||
|
}
|
||||||
|
|
||||||
|
Ptr<GuiResourceFolder> PrecompileResource(
|
||||||
|
Ptr<GuiResource> resource,
|
||||||
|
IGuiResourcePrecompileCallback* callback,
|
||||||
|
collections::List<GuiResourceError>& errors)
|
||||||
{
|
{
|
||||||
auto precompiledFolder = resource->Precompile(callback, errors);
|
auto precompiledFolder = resource->Precompile(callback, errors);
|
||||||
if (errors.Count() > 0)
|
|
||||||
{
|
|
||||||
List<WString> output;
|
|
||||||
GuiResourceError::SortAndLog(errors, output);
|
|
||||||
if (!File(errorPath).WriteAllLines(output, true, BomEncoder::Utf8))
|
|
||||||
{
|
|
||||||
return nullptr;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return precompiledFolder;
|
return precompiledFolder;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -79,11 +79,23 @@ namespace vl
|
|||||||
}
|
}
|
||||||
|
|
||||||
Ptr<workflow::cppcodegen::WfCppOutput> WriteCppCodesToFile(
|
Ptr<workflow::cppcodegen::WfCppOutput> WriteCppCodesToFile(
|
||||||
|
Ptr<GuiResource> resource,
|
||||||
Ptr<GuiInstanceCompiledWorkflow> compiled,
|
Ptr<GuiInstanceCompiledWorkflow> compiled,
|
||||||
Ptr<workflow::cppcodegen::WfCppInput> cppInput,
|
Ptr<workflow::cppcodegen::WfCppInput> cppInput,
|
||||||
const filesystem::FilePath& cppFolder)
|
const filesystem::FilePath& cppFolder,
|
||||||
|
collections::List<GuiResourceError>& errors)
|
||||||
{
|
{
|
||||||
auto output = GenerateCppFiles(cppInput, compiled->metadata.Obj());
|
auto output = GenerateCppFiles(cppInput, compiled->metadata.Obj());
|
||||||
|
|
||||||
|
if (compiled->metadata->errors.Count() > 0)
|
||||||
|
{
|
||||||
|
FOREACH(Ptr<ParsingError>, error, compiled->metadata->errors)
|
||||||
|
{
|
||||||
|
errors.Add(GuiResourceError({ {resource} }, error->errorMessage));
|
||||||
|
}
|
||||||
|
return nullptr;
|
||||||
|
}
|
||||||
|
|
||||||
FOREACH_INDEXER(WString, fileName, index, output->cppFiles.Keys())
|
FOREACH_INDEXER(WString, fileName, index, output->cppFiles.Keys())
|
||||||
{
|
{
|
||||||
WString code = output->cppFiles.Values()[index];
|
WString code = output->cppFiles.Values()[index];
|
||||||
|
|||||||
+10
-4
@@ -939,11 +939,15 @@ namespace vl
|
|||||||
{
|
{
|
||||||
using namespace reflection;
|
using namespace reflection;
|
||||||
|
|
||||||
extern Ptr<GuiResourceFolder> PrecompileAndWriteErrors(
|
extern bool WriteErrors(
|
||||||
|
collections::List<GuiResourceError>& errors,
|
||||||
|
const filesystem::FilePath& errorPath
|
||||||
|
);
|
||||||
|
|
||||||
|
extern Ptr<GuiResourceFolder> PrecompileResource(
|
||||||
Ptr<GuiResource> resource,
|
Ptr<GuiResource> resource,
|
||||||
IGuiResourcePrecompileCallback* callback,
|
IGuiResourcePrecompileCallback* callback,
|
||||||
collections::List<GuiResourceError>& errors,
|
collections::List<GuiResourceError>& errors);
|
||||||
const filesystem::FilePath& errorPath);
|
|
||||||
|
|
||||||
extern Ptr<GuiInstanceCompiledWorkflow> WriteWorkflowScript(
|
extern Ptr<GuiInstanceCompiledWorkflow> WriteWorkflowScript(
|
||||||
Ptr<GuiResourceFolder> precompiledFolder,
|
Ptr<GuiResourceFolder> precompiledFolder,
|
||||||
@@ -951,9 +955,11 @@ namespace vl
|
|||||||
const filesystem::FilePath& workflowPath);
|
const filesystem::FilePath& workflowPath);
|
||||||
|
|
||||||
extern Ptr<workflow::cppcodegen::WfCppOutput> WriteCppCodesToFile(
|
extern Ptr<workflow::cppcodegen::WfCppOutput> WriteCppCodesToFile(
|
||||||
|
Ptr<GuiResource> resource,
|
||||||
Ptr<GuiInstanceCompiledWorkflow> compiled,
|
Ptr<GuiInstanceCompiledWorkflow> compiled,
|
||||||
Ptr<workflow::cppcodegen::WfCppInput> cppInput,
|
Ptr<workflow::cppcodegen::WfCppInput> cppInput,
|
||||||
const filesystem::FilePath& cppFolder);
|
const filesystem::FilePath& cppFolder,
|
||||||
|
collections::List<GuiResourceError>& errors);
|
||||||
|
|
||||||
extern bool WriteBinaryResource(
|
extern bool WriteBinaryResource(
|
||||||
Ptr<GuiResource> resource,
|
Ptr<GuiResource> resource,
|
||||||
|
|||||||
+1311
-1311
File diff suppressed because one or more lines are too long
+1436
-1436
File diff suppressed because it is too large
Load Diff
+135
-18
@@ -4470,6 +4470,28 @@ WfErrors
|
|||||||
{
|
{
|
||||||
return new ParsingError(node, L"G13: Auto property \"" + node->name.value + L"\" cannot be initialized in interface \"" + classDecl->name.value + L"\".");
|
return new ParsingError(node, L"G13: Auto property \"" + node->name.value + L"\" cannot be initialized in interface \"" + classDecl->name.value + L"\".");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Ptr<parsing::ParsingError> WfErrors::CppUnableToDecideClassOrder(WfClassDeclaration* node, collections::List<reflection::description::ITypeDescriptor*>& tds)
|
||||||
|
{
|
||||||
|
WString description;
|
||||||
|
FOREACH(ITypeDescriptor*, td, tds)
|
||||||
|
{
|
||||||
|
description += L"\r\n\t";
|
||||||
|
description += td->GetTypeName();
|
||||||
|
}
|
||||||
|
return new ParsingError(node, L"CPP1: (C++ Code Generation) Cannot decide order of the following classes. It is probably caused by inheritance relationships of internal classes inside these classes:" + description + L".");
|
||||||
|
}
|
||||||
|
|
||||||
|
Ptr<parsing::ParsingError> WfErrors::CppUnableToSeparateCustomFile(WfClassDeclaration* node, collections::List<reflection::description::ITypeDescriptor*>& tds)
|
||||||
|
{
|
||||||
|
WString description;
|
||||||
|
FOREACH(ITypeDescriptor*, td, tds)
|
||||||
|
{
|
||||||
|
description += L"\r\n\t";
|
||||||
|
description += td->GetTypeName();
|
||||||
|
}
|
||||||
|
return new ParsingError(node, L"CPP2: (C++ Code Generation) @cpp:File atrribute values for these classes are invalid. Generating classes to source files specified by these attribute values will create source files which do not compile. It is probably caused by inheritance relationships of internal classes inside these classes:" + description + L".");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -10464,15 +10486,15 @@ CreateTypeInfoFromType
|
|||||||
VisitReferenceType(node);
|
VisitReferenceType(node);
|
||||||
}
|
}
|
||||||
|
|
||||||
static Ptr<ITypeInfo> Execute(WfLexicalScope* scope, WfType* type)
|
static Ptr<ITypeInfo> Execute(WfLexicalScope* scope, WfType* type, bool checkTypeForValue)
|
||||||
{
|
{
|
||||||
return CreateTypeInfoFromTypeVisitor(scope).Call(type, true);
|
return CreateTypeInfoFromTypeVisitor(scope).Call(type, checkTypeForValue);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
Ptr<reflection::description::ITypeInfo> CreateTypeInfoFromType(WfLexicalScope* scope, Ptr<WfType> type)
|
Ptr<reflection::description::ITypeInfo> CreateTypeInfoFromType(WfLexicalScope* scope, Ptr<WfType> type, bool checkTypeForValue)
|
||||||
{
|
{
|
||||||
return CreateTypeInfoFromTypeVisitor::Execute(scope, type.Obj());
|
return CreateTypeInfoFromTypeVisitor::Execute(scope, type.Obj(), checkTypeForValue);
|
||||||
}
|
}
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
@@ -17086,6 +17108,7 @@ namespace vl
|
|||||||
{
|
{
|
||||||
namespace cppcodegen
|
namespace cppcodegen
|
||||||
{
|
{
|
||||||
|
using namespace analyzer;
|
||||||
using namespace collections;
|
using namespace collections;
|
||||||
|
|
||||||
#define ASSIGN_INDEX_KEY(INDEX_DECL, INDEX_KEY, STRING_KEY) \
|
#define ASSIGN_INDEX_KEY(INDEX_DECL, INDEX_KEY, STRING_KEY) \
|
||||||
@@ -17262,7 +17285,24 @@ WfCppConfig::Collect
|
|||||||
for (vint j = 0; j < pop.components.Count(); j++)
|
for (vint j = 0; j < pop.components.Count(); j++)
|
||||||
{
|
{
|
||||||
auto& component = pop.components[j];
|
auto& component = pop.components[j];
|
||||||
CHECK_ERROR(component.nodeCount == 1, L"WfCppConfig::AssignClassDeclsToFiles()#Future error: Unexpected circle dependency found.");
|
|
||||||
|
// check error
|
||||||
|
if (component.nodeCount > 1)
|
||||||
|
{
|
||||||
|
List<ITypeDescriptor*> tds;
|
||||||
|
for (vint k = 0; k < component.nodeCount; k++)
|
||||||
|
{
|
||||||
|
auto& node = pop.nodes[component.firstNode[k]];
|
||||||
|
auto indexKey = classLevelDep.subClass[items[node.firstSubClassItem[0]]];
|
||||||
|
tds.Add(globalDep.allTds.Values()[indexKey]);
|
||||||
|
}
|
||||||
|
|
||||||
|
Sort<ITypeDescriptor*>(&tds[0], tds.Count(), [](ITypeDescriptor* a, ITypeDescriptor* b)
|
||||||
|
{
|
||||||
|
return WString::Compare(a->GetTypeName(), b->GetTypeName());
|
||||||
|
});
|
||||||
|
manager->errors.Add(WfErrors::CppUnableToDecideClassOrder(tdDecls[tds[0]].Cast<WfClassDeclaration>().Obj(), tds));
|
||||||
|
}
|
||||||
|
|
||||||
auto& node = pop.nodes[component.firstNode[0]];
|
auto& node = pop.nodes[component.firstNode[0]];
|
||||||
auto subDeclIndexKey = classLevelDep.subClass[items[node.firstSubClassItem[0]]];
|
auto subDeclIndexKey = classLevelDep.subClass[items[node.firstSubClassItem[0]]];
|
||||||
@@ -17271,7 +17311,7 @@ WfCppConfig::Collect
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!parent)
|
if (!parent && manager->errors.Count() == 0)
|
||||||
{
|
{
|
||||||
for (vint i = 0; i < classLevelDep.subClass.Count(); i++)
|
for (vint i = 0; i < classLevelDep.subClass.Count(); i++)
|
||||||
{
|
{
|
||||||
@@ -17334,7 +17374,32 @@ WfCppConfig::Collect
|
|||||||
for (vint i = 0; i < popSubClass.components.Count(); i++)
|
for (vint i = 0; i < popSubClass.components.Count(); i++)
|
||||||
{
|
{
|
||||||
auto& component = popSubClass.components[i];
|
auto& component = popSubClass.components[i];
|
||||||
CHECK_ERROR(component.nodeCount == 1, L"WfCppConfig::AssignClassDeclsToFiles()#Future error: Unexpected circle dependency found.");
|
|
||||||
|
// check error
|
||||||
|
if (component.nodeCount > 1)
|
||||||
|
{
|
||||||
|
List<ITypeDescriptor*> tds;
|
||||||
|
for (vint j = 0; j < component.nodeCount; j++)
|
||||||
|
{
|
||||||
|
auto& node = popSubClass.nodes[component.firstNode[j]];
|
||||||
|
for (vint k = 0; k < node.subClassItemCount; k++)
|
||||||
|
{
|
||||||
|
auto indexKey = globalDep.topLevelClasses[node.firstSubClassItem[k]];
|
||||||
|
tds.Add(globalDep.allTds.Values()[indexKey]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
Sort<ITypeDescriptor*>(&tds[0], tds.Count(), [](ITypeDescriptor* a, ITypeDescriptor* b)
|
||||||
|
{
|
||||||
|
return WString::Compare(a->GetTypeName(), b->GetTypeName());
|
||||||
|
});
|
||||||
|
manager->errors.Add(WfErrors::CppUnableToSeparateCustomFile(tdDecls[tds[0]].Cast<WfClassDeclaration>().Obj(), tds));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (manager->errors.Count() != 0)
|
||||||
|
{
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// generate two item list, one have all @cpp:File classes put in front, one have all non-@cpp:File classes put in front
|
// generate two item list, one have all @cpp:File classes put in front, one have all non-@cpp:File classes put in front
|
||||||
@@ -17417,9 +17482,9 @@ WfCppConfig::Collect
|
|||||||
popNonCustomFirst.InitWithGroup(nonCustomFirstItems, subClassDepGroup);
|
popNonCustomFirst.InitWithGroup(nonCustomFirstItems, subClassDepGroup);
|
||||||
popNonCustomFirst.Sort();
|
popNonCustomFirst.Sort();
|
||||||
|
|
||||||
CHECK_ERROR(popCustomFirst.components.Count() == customFirstItems.Count(), L"WfCppConfig::AssignClassDeclsToFiles()#Future error: Unexpected circle dependency found.");
|
CHECK_ERROR(popCustomFirst.components.Count() == customFirstItems.Count(), L"WfCppConfig::AssignClassDeclsToFiles()#Internal error: Unexpected circle dependency found, this should have been caught by code above.");
|
||||||
CHECK_ERROR(popNonCustomFirst.components.Count() == nonCustomFirstItems.Count(), L"WfCppConfig::AssignClassDeclsToFiles()#Future error: Unexpected circle dependency found.");
|
CHECK_ERROR(popNonCustomFirst.components.Count() == nonCustomFirstItems.Count(), L"WfCppConfig::AssignClassDeclsToFiles()#Future error: Unexpected circle dependency found, this should have been caught by code above.");
|
||||||
CHECK_ERROR(popCustomFirst.components.Count() == popNonCustomFirst.components.Count(), L"WfCppConfig::AssignClassDeclsToFiles()#Future error: Unexpected circle dependency found.");
|
CHECK_ERROR(popCustomFirst.components.Count() == popNonCustomFirst.components.Count(), L"WfCppConfig::AssignClassDeclsToFiles()#Future error: Unexpected circle dependency found, this should have been caught by code above.");
|
||||||
|
|
||||||
// translate popCustomFirst's sorting result
|
// translate popCustomFirst's sorting result
|
||||||
// popSubClass.nodes's index
|
// popSubClass.nodes's index
|
||||||
@@ -17951,7 +18016,7 @@ WfGenerateClassMemberImplVisitor
|
|||||||
vint callIndex = 0;
|
vint callIndex = 0;
|
||||||
FOREACH(Ptr<WfBaseConstructorCall>, call, node->baseConstructorCalls)
|
FOREACH(Ptr<WfBaseConstructorCall>, call, node->baseConstructorCalls)
|
||||||
{
|
{
|
||||||
auto callType = CreateTypeInfoFromType(scope, call->type);
|
auto callType = CreateTypeInfoFromType(scope, call->type, false);
|
||||||
auto callCtor = config->manager->baseConstructorCallResolvings[{node, callType->GetTypeDescriptor()}].value;
|
auto callCtor = config->manager->baseConstructorCallResolvings[{node, callType->GetTypeDescriptor()}].value;
|
||||||
|
|
||||||
writer.WriteString(prefix);
|
writer.WriteString(prefix);
|
||||||
@@ -21135,6 +21200,10 @@ GenerateCppFiles
|
|||||||
Ptr<WfCppOutput> GenerateCppFiles(Ptr<WfCppInput> input, analyzer::WfLexicalScopeManager* manager)
|
Ptr<WfCppOutput> GenerateCppFiles(Ptr<WfCppInput> input, analyzer::WfLexicalScopeManager* manager)
|
||||||
{
|
{
|
||||||
WfCppConfig config(manager, input->assemblyName, input->assemblyNamespace);
|
WfCppConfig config(manager, input->assemblyName, input->assemblyNamespace);
|
||||||
|
if (manager->errors.Count() > 0)
|
||||||
|
{
|
||||||
|
return nullptr;
|
||||||
|
}
|
||||||
|
|
||||||
auto output = MakePtr<WfCppOutput>();
|
auto output = MakePtr<WfCppOutput>();
|
||||||
if (config.manager->declarationTypes.Count() > 0)
|
if (config.manager->declarationTypes.Count() > 0)
|
||||||
@@ -21406,6 +21475,40 @@ MergeCppFile
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
MergeCppMultiPlatformException::MergeCppMultiPlatformException(vint _row32, vint _column32, vint _row64, vint _column64)
|
||||||
|
:Exception(L"The difference at "
|
||||||
|
L"x86 file(row:" + itow(_row32 + 1) + L", column:" + itow(_column32 + 1) + L") and "
|
||||||
|
L"x64 file(row:" + itow(_row64 + 1) + L", column:" + itow(_column64 + 1) + L") are not "
|
||||||
|
L"\"vint32_t\" and \"vint64_t\", "
|
||||||
|
L"\"vuint32_t\" and \"vuint64_t\", "
|
||||||
|
L"\"<number>\" and \"<number>L\", "
|
||||||
|
L"\"<number>\" and \"<number>UL\".")
|
||||||
|
, row32(_row32)
|
||||||
|
, column32(_column32)
|
||||||
|
, row64(_row64)
|
||||||
|
, column64(_column64)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
void CountRowAndColumn(const wchar_t* start, const wchar_t* reading, vint& row, vint& column)
|
||||||
|
{
|
||||||
|
row = 0;
|
||||||
|
column = 0;
|
||||||
|
while (start < reading)
|
||||||
|
{
|
||||||
|
if (*start++ == L'\n')
|
||||||
|
{
|
||||||
|
row++;
|
||||||
|
column = 0;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
column++;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
WString MergeCppMultiPlatform(const WString& code32, const WString& code64)
|
WString MergeCppMultiPlatform(const WString& code32, const WString& code64)
|
||||||
{
|
{
|
||||||
static wchar_t stringCast32[] = L"static_cast<::vl::vint32_t>(";
|
static wchar_t stringCast32[] = L"static_cast<::vl::vint32_t>(";
|
||||||
@@ -21419,6 +21522,7 @@ MergeCppFile
|
|||||||
const wchar_t* reading32 = code32.Buffer();
|
const wchar_t* reading32 = code32.Buffer();
|
||||||
const wchar_t* reading64 = code64.Buffer();
|
const wchar_t* reading64 = code64.Buffer();
|
||||||
const wchar_t* start32 = reading32;
|
const wchar_t* start32 = reading32;
|
||||||
|
const wchar_t* start64 = reading64;
|
||||||
while (true)
|
while (true)
|
||||||
{
|
{
|
||||||
vint length = 0;
|
vint length = 0;
|
||||||
@@ -21456,6 +21560,15 @@ MergeCppFile
|
|||||||
goto NEXT_ROUND;
|
goto NEXT_ROUND;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (length >= 5)
|
||||||
|
{
|
||||||
|
if (wcsncmp(reading32 - 5, L"vuint32_t", 9) == 0 && wcsncmp(reading64 - 5, L"vuint64_t", 9) == 0)
|
||||||
|
{
|
||||||
|
reading32 += 4;
|
||||||
|
reading64 += 4;
|
||||||
|
goto NEXT_ROUND;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else if (reading64[0] == L'L')
|
else if (reading64[0] == L'L')
|
||||||
{
|
{
|
||||||
@@ -21515,13 +21628,17 @@ MergeCppFile
|
|||||||
goto NEXT_ROUND;
|
goto NEXT_ROUND;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
throw Exception(L"The difference at " + itow((vint)(reading32 - start32)) + L"-th character between Input C++ source files are not "
|
|
||||||
L"\"vint32_t\" and \"vint64_t\", "
|
|
||||||
L"\"<number>\" and \"<number>L\", "
|
|
||||||
L"\"<number>\" and \"<number>UL\"."
|
|
||||||
);
|
|
||||||
NEXT_ROUND:;
|
|
||||||
|
|
||||||
|
{
|
||||||
|
vint row32 = 0;
|
||||||
|
vint column32 = 0;
|
||||||
|
vint row64 = 0;
|
||||||
|
vint column64 = 0;
|
||||||
|
CountRowAndColumn(start32, reading32, row32, column32);
|
||||||
|
CountRowAndColumn(start64, reading64, row64, column64);
|
||||||
|
throw MergeCppMultiPlatformException(row32, column32, row64, column64);
|
||||||
|
}
|
||||||
|
NEXT_ROUND:;
|
||||||
#undef IS_DIGIT
|
#undef IS_DIGIT
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@@ -25720,7 +25837,7 @@ GenerateInstructions(Expression)
|
|||||||
void Visit(WfTypeOfTypeExpression* node)override
|
void Visit(WfTypeOfTypeExpression* node)override
|
||||||
{
|
{
|
||||||
auto scope = context.manager->nodeScopes[node].Obj();
|
auto scope = context.manager->nodeScopes[node].Obj();
|
||||||
auto type = CreateTypeInfoFromType(scope, node->type);
|
auto type = CreateTypeInfoFromType(scope, node->type, false);
|
||||||
auto value = Value::From(type->GetTypeDescriptor());
|
auto value = Value::From(type->GetTypeDescriptor());
|
||||||
INSTRUCTION(Ins::LoadValue(value));
|
INSTRUCTION(Ins::LoadValue(value));
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4032,7 +4032,7 @@ Type Analyzing
|
|||||||
extern Ptr<WfExpression> GetExpressionFromTypeDescriptor(reflection::description::ITypeDescriptor* typeDescriptor);
|
extern Ptr<WfExpression> GetExpressionFromTypeDescriptor(reflection::description::ITypeDescriptor* typeDescriptor);
|
||||||
extern Ptr<WfType> GetTypeFromTypeInfo(reflection::description::ITypeInfo* typeInfo);
|
extern Ptr<WfType> GetTypeFromTypeInfo(reflection::description::ITypeInfo* typeInfo);
|
||||||
extern Ptr<WfLexicalScopeName> GetScopeNameFromReferenceType(WfLexicalScope* scope, Ptr<WfType> type);
|
extern Ptr<WfLexicalScopeName> GetScopeNameFromReferenceType(WfLexicalScope* scope, Ptr<WfType> type);
|
||||||
extern Ptr<reflection::description::ITypeInfo> CreateTypeInfoFromType(WfLexicalScope* scope, Ptr<WfType> type);
|
extern Ptr<reflection::description::ITypeInfo> CreateTypeInfoFromType(WfLexicalScope* scope, Ptr<WfType> type, bool checkTypeForValue = true);
|
||||||
|
|
||||||
extern Ptr<reflection::description::ITypeInfo> CopyTypeInfo(reflection::description::ITypeInfo* typeInfo);
|
extern Ptr<reflection::description::ITypeInfo> CopyTypeInfo(reflection::description::ITypeInfo* typeInfo);
|
||||||
extern bool CanConvertToType(reflection::description::ITypeInfo* fromType, reflection::description::ITypeInfo* toType, bool explicitly);
|
extern bool CanConvertToType(reflection::description::ITypeInfo* fromType, reflection::description::ITypeInfo* toType, bool explicitly);
|
||||||
@@ -4349,6 +4349,10 @@ Error Messages
|
|||||||
static Ptr<parsing::ParsingError> TooManyDestructor(WfDestructorDeclaration* node, WfClassDeclaration* classDecl);
|
static Ptr<parsing::ParsingError> TooManyDestructor(WfDestructorDeclaration* node, WfClassDeclaration* classDecl);
|
||||||
static Ptr<parsing::ParsingError> AutoPropertyShouldBeInitialized(WfAutoPropertyDeclaration* node);
|
static Ptr<parsing::ParsingError> AutoPropertyShouldBeInitialized(WfAutoPropertyDeclaration* node);
|
||||||
static Ptr<parsing::ParsingError> AutoPropertyCannotBeInitializedInInterface(WfAutoPropertyDeclaration* node, WfClassDeclaration* classDecl);
|
static Ptr<parsing::ParsingError> AutoPropertyCannotBeInitializedInInterface(WfAutoPropertyDeclaration* node, WfClassDeclaration* classDecl);
|
||||||
|
|
||||||
|
// CPP: C++ code generation error
|
||||||
|
static Ptr<parsing::ParsingError> CppUnableToDecideClassOrder(WfClassDeclaration* node, collections::List<reflection::description::ITypeDescriptor*>& tds);
|
||||||
|
static Ptr<parsing::ParsingError> CppUnableToSeparateCustomFile(WfClassDeclaration* node, collections::List<reflection::description::ITypeDescriptor*>& tds);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -4800,6 +4804,17 @@ GenerateCppFiles
|
|||||||
WString entryFileName;
|
WString entryFileName;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
class MergeCppMultiPlatformException : public Exception
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
vint row32;
|
||||||
|
vint column32;
|
||||||
|
vint row64;
|
||||||
|
vint column64;
|
||||||
|
|
||||||
|
MergeCppMultiPlatformException(vint _row32, vint _column32, vint _row64, vint _column64);
|
||||||
|
};
|
||||||
|
|
||||||
extern Ptr<WfCppOutput> GenerateCppFiles(Ptr<WfCppInput> input, analyzer::WfLexicalScopeManager* manager);
|
extern Ptr<WfCppOutput> GenerateCppFiles(Ptr<WfCppInput> input, analyzer::WfLexicalScopeManager* manager);
|
||||||
extern WString MergeCppMultiPlatform(const WString& code32, const WString& code64);
|
extern WString MergeCppMultiPlatform(const WString& code32, const WString& code64);
|
||||||
extern WString MergeCppFileContent(const WString& dst, const WString& src);
|
extern WString MergeCppFileContent(const WString& dst, const WString& src);
|
||||||
|
|||||||
@@ -1041,6 +1041,16 @@ WfLoadLibraryTypes
|
|||||||
};
|
};
|
||||||
|
|
||||||
BEGIN_CLASS_MEMBER(Sys)
|
BEGIN_CLASS_MEMBER(Sys)
|
||||||
|
CLASS_MEMBER_STATIC_METHOD(Int32ToInt, { L"value" })
|
||||||
|
CLASS_MEMBER_STATIC_METHOD(Int64ToInt, { L"value" })
|
||||||
|
CLASS_MEMBER_STATIC_METHOD(IntToInt32, { L"value" })
|
||||||
|
CLASS_MEMBER_STATIC_METHOD(IntToInt64, { L"value" })
|
||||||
|
|
||||||
|
CLASS_MEMBER_STATIC_METHOD(UInt32ToUInt, { L"value" })
|
||||||
|
CLASS_MEMBER_STATIC_METHOD(UInt64ToUInt, { L"value" })
|
||||||
|
CLASS_MEMBER_STATIC_METHOD(UIntToUInt32, { L"value" })
|
||||||
|
CLASS_MEMBER_STATIC_METHOD(UIntToUInt64, { L"value" })
|
||||||
|
|
||||||
CLASS_MEMBER_STATIC_METHOD(Len, { L"value" })
|
CLASS_MEMBER_STATIC_METHOD(Len, { L"value" })
|
||||||
CLASS_MEMBER_STATIC_METHOD(Left, { L"value" _ L"length" })
|
CLASS_MEMBER_STATIC_METHOD(Left, { L"value" _ L"length" })
|
||||||
CLASS_MEMBER_STATIC_METHOD(Right, { L"value" _ L"length" })
|
CLASS_MEMBER_STATIC_METHOD(Right, { L"value" _ L"length" })
|
||||||
|
|||||||
@@ -199,6 +199,16 @@ Libraries
|
|||||||
class Sys : public Description<Sys>
|
class Sys : public Description<Sys>
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
static vint Int32ToInt(vint32_t value) { return (vint)value; }
|
||||||
|
static vint Int64ToInt(vint64_t value) { return (vint)value; }
|
||||||
|
static vint32_t IntToInt32(vint value) { return (vint32_t)value; }
|
||||||
|
static vint64_t IntToInt64(vint value) { return (vint64_t)value; }
|
||||||
|
|
||||||
|
static vuint UInt32ToUInt(vuint32_t value) { return (vuint)value; }
|
||||||
|
static vuint UInt64ToUInt(vuint64_t value) { return (vuint)value; }
|
||||||
|
static vuint32_t UIntToUInt32(vuint value) { return (vuint32_t)value; }
|
||||||
|
static vuint64_t UIntToUInt64(vuint value) { return (vuint64_t)value; }
|
||||||
|
|
||||||
static vint Len(const WString& value) { return value.Length(); }
|
static vint Len(const WString& value) { return value.Length(); }
|
||||||
static WString Left(const WString& value, vint length) { return value.Left(length); }
|
static WString Left(const WString& value, vint length) { return value.Left(length); }
|
||||||
static WString Right(const WString& value, vint length) { return value.Right(length); }
|
static WString Right(const WString& value, vint length) { return value.Right(length); }
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -2454,6 +2454,49 @@ Class (::demo::NewContactWindowConstructor)
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
Class (::demo::NewContactWindow)
|
||||||
|
***********************************************************************/
|
||||||
|
|
||||||
|
bool NewContactWindow::GetForEdit()
|
||||||
|
{
|
||||||
|
return this->__vwsn_prop_ForEdit;
|
||||||
|
}
|
||||||
|
void NewContactWindow::SetForEdit(bool __vwsn_value_)
|
||||||
|
{
|
||||||
|
if ((this->__vwsn_prop_ForEdit != __vwsn_value_))
|
||||||
|
{
|
||||||
|
(this->__vwsn_prop_ForEdit = __vwsn_value_);
|
||||||
|
::vl::__vwsn::EventInvoke(this->ForEditChanged)();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void NewContactWindow::SetContact(::vl::Ptr<::demo::IContact> value)
|
||||||
|
{
|
||||||
|
(this->contact = value);
|
||||||
|
::vl::__vwsn::This(this->textBoxName)->SetText(::vl::__vwsn::This(this->contact.Obj())->GetName());
|
||||||
|
::vl::__vwsn::This(this->textBoxPhone)->SetText(::vl::__vwsn::This(this->contact.Obj())->GetPhone());
|
||||||
|
::vl::__vwsn::This(this->textBoxAddress)->SetText(::vl::__vwsn::This(this->contact.Obj())->GetAddress());
|
||||||
|
::vl::__vwsn::This(this->datePickerBirthday)->SetDate(::vl::__vwsn::This(this->contact.Obj())->GetBirthday());
|
||||||
|
}
|
||||||
|
|
||||||
|
NewContactWindow::NewContactWindow()
|
||||||
|
: ::vl::presentation::controls::GuiWindow(::vl::presentation::theme::ThemeName::Window)
|
||||||
|
, __vwsn_prop_ForEdit(false)
|
||||||
|
, Ready(false)
|
||||||
|
, contact(::vl::Ptr<::demo::IContact>())
|
||||||
|
{
|
||||||
|
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"demo::NewContactWindow", false));
|
||||||
|
auto __vwsn_resolver_ = ::vl::Ptr<::vl::presentation::GuiResourcePathResolver>(new ::vl::presentation::GuiResourcePathResolver(__vwsn_resource_, ::vl::__vwsn::This(__vwsn_resource_.Obj())->GetWorkingDirectory()));
|
||||||
|
::vl::__vwsn::This(this)->SetResourceResolver(__vwsn_resolver_);
|
||||||
|
::vl::__vwsn::This(this)->__vwsn_demo_NewContactWindow_Initialize(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
NewContactWindow::~NewContactWindow()
|
||||||
|
{
|
||||||
|
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::controls::GuiControlHost*>(this));
|
||||||
|
}
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
Class (::demo::NewFolderWindowConstructor)
|
Class (::demo::NewFolderWindowConstructor)
|
||||||
***********************************************************************/
|
***********************************************************************/
|
||||||
@@ -2621,49 +2664,6 @@ Class (::demo::NewFolderWindowConstructor)
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
/***********************************************************************
|
|
||||||
Class (::demo::NewContactWindow)
|
|
||||||
***********************************************************************/
|
|
||||||
|
|
||||||
bool NewContactWindow::GetForEdit()
|
|
||||||
{
|
|
||||||
return this->__vwsn_prop_ForEdit;
|
|
||||||
}
|
|
||||||
void NewContactWindow::SetForEdit(bool __vwsn_value_)
|
|
||||||
{
|
|
||||||
if ((this->__vwsn_prop_ForEdit != __vwsn_value_))
|
|
||||||
{
|
|
||||||
(this->__vwsn_prop_ForEdit = __vwsn_value_);
|
|
||||||
::vl::__vwsn::EventInvoke(this->ForEditChanged)();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
void NewContactWindow::SetContact(::vl::Ptr<::demo::IContact> value)
|
|
||||||
{
|
|
||||||
(this->contact = value);
|
|
||||||
::vl::__vwsn::This(this->textBoxName)->SetText(::vl::__vwsn::This(this->contact.Obj())->GetName());
|
|
||||||
::vl::__vwsn::This(this->textBoxPhone)->SetText(::vl::__vwsn::This(this->contact.Obj())->GetPhone());
|
|
||||||
::vl::__vwsn::This(this->textBoxAddress)->SetText(::vl::__vwsn::This(this->contact.Obj())->GetAddress());
|
|
||||||
::vl::__vwsn::This(this->datePickerBirthday)->SetDate(::vl::__vwsn::This(this->contact.Obj())->GetBirthday());
|
|
||||||
}
|
|
||||||
|
|
||||||
NewContactWindow::NewContactWindow()
|
|
||||||
: ::vl::presentation::controls::GuiWindow(::vl::presentation::theme::ThemeName::Window)
|
|
||||||
, __vwsn_prop_ForEdit(false)
|
|
||||||
, Ready(false)
|
|
||||||
, contact(::vl::Ptr<::demo::IContact>())
|
|
||||||
{
|
|
||||||
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"demo::NewContactWindow", false));
|
|
||||||
auto __vwsn_resolver_ = ::vl::Ptr<::vl::presentation::GuiResourcePathResolver>(new ::vl::presentation::GuiResourcePathResolver(__vwsn_resource_, ::vl::__vwsn::This(__vwsn_resource_.Obj())->GetWorkingDirectory()));
|
|
||||||
::vl::__vwsn::This(this)->SetResourceResolver(__vwsn_resolver_);
|
|
||||||
::vl::__vwsn::This(this)->__vwsn_demo_NewContactWindow_Initialize(this);
|
|
||||||
}
|
|
||||||
|
|
||||||
NewContactWindow::~NewContactWindow()
|
|
||||||
{
|
|
||||||
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::controls::GuiControlHost*>(this));
|
|
||||||
}
|
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
Class (::demo::NewFolderWindow)
|
Class (::demo::NewFolderWindow)
|
||||||
***********************************************************************/
|
***********************************************************************/
|
||||||
|
|||||||
@@ -83,10 +83,10 @@ namespace demo
|
|||||||
class IContact;
|
class IContact;
|
||||||
class IViewModel;
|
class IViewModel;
|
||||||
class MainWindowConstructor;
|
class MainWindowConstructor;
|
||||||
class NewContactWindowConstructor;
|
|
||||||
class NewFolderWindowConstructor;
|
|
||||||
class MainWindow;
|
class MainWindow;
|
||||||
|
class NewContactWindowConstructor;
|
||||||
class NewContactWindow;
|
class NewContactWindow;
|
||||||
|
class NewFolderWindowConstructor;
|
||||||
class NewFolderWindow;
|
class NewFolderWindow;
|
||||||
|
|
||||||
class ICategory : public virtual ::vl::reflection::IDescriptable, public ::vl::reflection::Description<ICategory>
|
class ICategory : public virtual ::vl::reflection::IDescriptable, public ::vl::reflection::Description<ICategory>
|
||||||
@@ -290,6 +290,28 @@ namespace demo
|
|||||||
NewContactWindowConstructor();
|
NewContactWindowConstructor();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
class NewContactWindow : public ::vl::presentation::controls::GuiWindow, public ::demo::NewContactWindowConstructor, public ::vl::reflection::Description<NewContactWindow>
|
||||||
|
{
|
||||||
|
friend class ::demo::NewContactWindowConstructor;
|
||||||
|
friend class ::vl_workflow_global::__vwsnc12_Demo_demo_NewContactWindowConstructor___vwsn_demo_NewContactWindow_Initialize__vl_reflection_description_IValueSubscription;
|
||||||
|
friend struct ::vl_workflow_global::__vwsnf32_Demo_demo_NewContactWindowConstructor___vwsn_demo_NewContactWindow_Initialize_;
|
||||||
|
friend struct ::vl_workflow_global::__vwsnf33_Demo_demo_NewContactWindowConstructor___vwsn_demo_NewContactWindow_Initialize_;
|
||||||
|
friend struct ::vl_workflow_global::__vwsnf34_Demo_demo_NewContactWindowConstructor___vwsn_demo_NewContactWindow_Initialize_;
|
||||||
|
#ifndef VCZH_DEBUG_NO_REFLECTION
|
||||||
|
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<NewContactWindow>;
|
||||||
|
#endif
|
||||||
|
public:
|
||||||
|
bool __vwsn_prop_ForEdit;
|
||||||
|
bool GetForEdit();
|
||||||
|
void SetForEdit(bool __vwsn_value_);
|
||||||
|
::vl::Event<void()> ForEditChanged;
|
||||||
|
bool Ready;
|
||||||
|
::vl::Ptr<::demo::IContact> contact;
|
||||||
|
void SetContact(::vl::Ptr<::demo::IContact> value);
|
||||||
|
NewContactWindow();
|
||||||
|
~NewContactWindow();
|
||||||
|
};
|
||||||
|
|
||||||
class NewFolderWindowConstructor : public ::vl::Object, public ::vl::reflection::Description<NewFolderWindowConstructor>
|
class NewFolderWindowConstructor : public ::vl::Object, public ::vl::reflection::Description<NewFolderWindowConstructor>
|
||||||
{
|
{
|
||||||
friend class ::vl_workflow_global::__vwsnc13_Demo_demo_NewFolderWindowConstructor___vwsn_demo_NewFolderWindow_Initialize__vl_reflection_description_IValueSubscription;
|
friend class ::vl_workflow_global::__vwsnc13_Demo_demo_NewFolderWindowConstructor___vwsn_demo_NewFolderWindow_Initialize__vl_reflection_description_IValueSubscription;
|
||||||
@@ -319,28 +341,6 @@ namespace demo
|
|||||||
NewFolderWindowConstructor();
|
NewFolderWindowConstructor();
|
||||||
};
|
};
|
||||||
|
|
||||||
class NewContactWindow : public ::vl::presentation::controls::GuiWindow, public ::demo::NewContactWindowConstructor, public ::vl::reflection::Description<NewContactWindow>
|
|
||||||
{
|
|
||||||
friend class ::demo::NewContactWindowConstructor;
|
|
||||||
friend class ::vl_workflow_global::__vwsnc12_Demo_demo_NewContactWindowConstructor___vwsn_demo_NewContactWindow_Initialize__vl_reflection_description_IValueSubscription;
|
|
||||||
friend struct ::vl_workflow_global::__vwsnf32_Demo_demo_NewContactWindowConstructor___vwsn_demo_NewContactWindow_Initialize_;
|
|
||||||
friend struct ::vl_workflow_global::__vwsnf33_Demo_demo_NewContactWindowConstructor___vwsn_demo_NewContactWindow_Initialize_;
|
|
||||||
friend struct ::vl_workflow_global::__vwsnf34_Demo_demo_NewContactWindowConstructor___vwsn_demo_NewContactWindow_Initialize_;
|
|
||||||
#ifndef VCZH_DEBUG_NO_REFLECTION
|
|
||||||
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<NewContactWindow>;
|
|
||||||
#endif
|
|
||||||
public:
|
|
||||||
bool __vwsn_prop_ForEdit;
|
|
||||||
bool GetForEdit();
|
|
||||||
void SetForEdit(bool __vwsn_value_);
|
|
||||||
::vl::Event<void()> ForEditChanged;
|
|
||||||
bool Ready;
|
|
||||||
::vl::Ptr<::demo::IContact> contact;
|
|
||||||
void SetContact(::vl::Ptr<::demo::IContact> value);
|
|
||||||
NewContactWindow();
|
|
||||||
~NewContactWindow();
|
|
||||||
};
|
|
||||||
|
|
||||||
class NewFolderWindow : public ::vl::presentation::controls::GuiWindow, public ::demo::NewFolderWindowConstructor, public ::vl::reflection::Description<NewFolderWindow>
|
class NewFolderWindow : public ::vl::presentation::controls::GuiWindow, public ::demo::NewFolderWindowConstructor, public ::vl::reflection::Description<NewFolderWindow>
|
||||||
{
|
{
|
||||||
friend class ::demo::NewFolderWindowConstructor;
|
friend class ::demo::NewFolderWindowConstructor;
|
||||||
|
|||||||
@@ -432,6 +432,44 @@ namespace demo
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
Class (::demo::ColorBomboItemTemplate)
|
||||||
|
***********************************************************************/
|
||||||
|
|
||||||
|
::vl::presentation::Color ColorBomboItemTemplate::GetTextColor()
|
||||||
|
{
|
||||||
|
return this->__vwsn_prop_TextColor;
|
||||||
|
}
|
||||||
|
void ColorBomboItemTemplate::SetTextColor(::vl::presentation::Color __vwsn_value_)
|
||||||
|
{
|
||||||
|
if ((this->__vwsn_prop_TextColor != __vwsn_value_))
|
||||||
|
{
|
||||||
|
(this->__vwsn_prop_TextColor = __vwsn_value_);
|
||||||
|
::vl::__vwsn::EventInvoke(this->TextColorChanged)();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
::vl::Ptr<::demo::IColorItem> ColorBomboItemTemplate::GetViewModel()
|
||||||
|
{
|
||||||
|
return this->__vwsn_parameter_ViewModel;
|
||||||
|
}
|
||||||
|
|
||||||
|
ColorBomboItemTemplate::ColorBomboItemTemplate(::vl::Ptr<::demo::IColorItem> __vwsn_ctor_parameter_ViewModel)
|
||||||
|
: __vwsn_prop_TextColor(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#FFFFFF", false)))
|
||||||
|
, __vwsn_parameter_ViewModel(::vl::Ptr<::demo::IColorItem>())
|
||||||
|
{
|
||||||
|
(this->__vwsn_parameter_ViewModel = __vwsn_ctor_parameter_ViewModel);
|
||||||
|
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"demo::ColorBomboItemTemplate", false));
|
||||||
|
auto __vwsn_resolver_ = ::vl::Ptr<::vl::presentation::GuiResourcePathResolver>(new ::vl::presentation::GuiResourcePathResolver(__vwsn_resource_, ::vl::__vwsn::This(__vwsn_resource_.Obj())->GetWorkingDirectory()));
|
||||||
|
::vl::__vwsn::This(this)->SetResourceResolver(__vwsn_resolver_);
|
||||||
|
::vl::__vwsn::This(this)->__vwsn_demo_ColorBomboItemTemplate_Initialize(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
ColorBomboItemTemplate::~ColorBomboItemTemplate()
|
||||||
|
{
|
||||||
|
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::templates::GuiTemplate*>(this));
|
||||||
|
}
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
Class (::demo::ColorListItemTemplateConstructor)
|
Class (::demo::ColorListItemTemplateConstructor)
|
||||||
***********************************************************************/
|
***********************************************************************/
|
||||||
@@ -464,6 +502,30 @@ Class (::demo::ColorListItemTemplateConstructor)
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
Class (::demo::ColorListItemTemplate)
|
||||||
|
***********************************************************************/
|
||||||
|
|
||||||
|
::vl::Ptr<::demo::IColorItem> ColorListItemTemplate::GetViewModel()
|
||||||
|
{
|
||||||
|
return this->__vwsn_parameter_ViewModel;
|
||||||
|
}
|
||||||
|
|
||||||
|
ColorListItemTemplate::ColorListItemTemplate(::vl::Ptr<::demo::IColorItem> __vwsn_ctor_parameter_ViewModel)
|
||||||
|
: __vwsn_parameter_ViewModel(::vl::Ptr<::demo::IColorItem>())
|
||||||
|
{
|
||||||
|
(this->__vwsn_parameter_ViewModel = __vwsn_ctor_parameter_ViewModel);
|
||||||
|
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"demo::ColorListItemTemplate", false));
|
||||||
|
auto __vwsn_resolver_ = ::vl::Ptr<::vl::presentation::GuiResourcePathResolver>(new ::vl::presentation::GuiResourcePathResolver(__vwsn_resource_, ::vl::__vwsn::This(__vwsn_resource_.Obj())->GetWorkingDirectory()));
|
||||||
|
::vl::__vwsn::This(this)->SetResourceResolver(__vwsn_resolver_);
|
||||||
|
::vl::__vwsn::This(this)->__vwsn_demo_ColorListItemTemplate_Initialize(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
ColorListItemTemplate::~ColorListItemTemplate()
|
||||||
|
{
|
||||||
|
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::templates::GuiTemplate*>(this));
|
||||||
|
}
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
Class (::demo::IColorItem)
|
Class (::demo::IColorItem)
|
||||||
***********************************************************************/
|
***********************************************************************/
|
||||||
@@ -581,68 +643,6 @@ Class (::demo::MainWindowConstructor)
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
/***********************************************************************
|
|
||||||
Class (::demo::ColorBomboItemTemplate)
|
|
||||||
***********************************************************************/
|
|
||||||
|
|
||||||
::vl::presentation::Color ColorBomboItemTemplate::GetTextColor()
|
|
||||||
{
|
|
||||||
return this->__vwsn_prop_TextColor;
|
|
||||||
}
|
|
||||||
void ColorBomboItemTemplate::SetTextColor(::vl::presentation::Color __vwsn_value_)
|
|
||||||
{
|
|
||||||
if ((this->__vwsn_prop_TextColor != __vwsn_value_))
|
|
||||||
{
|
|
||||||
(this->__vwsn_prop_TextColor = __vwsn_value_);
|
|
||||||
::vl::__vwsn::EventInvoke(this->TextColorChanged)();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
::vl::Ptr<::demo::IColorItem> ColorBomboItemTemplate::GetViewModel()
|
|
||||||
{
|
|
||||||
return this->__vwsn_parameter_ViewModel;
|
|
||||||
}
|
|
||||||
|
|
||||||
ColorBomboItemTemplate::ColorBomboItemTemplate(::vl::Ptr<::demo::IColorItem> __vwsn_ctor_parameter_ViewModel)
|
|
||||||
: __vwsn_prop_TextColor(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#FFFFFF", false)))
|
|
||||||
, __vwsn_parameter_ViewModel(::vl::Ptr<::demo::IColorItem>())
|
|
||||||
{
|
|
||||||
(this->__vwsn_parameter_ViewModel = __vwsn_ctor_parameter_ViewModel);
|
|
||||||
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"demo::ColorBomboItemTemplate", false));
|
|
||||||
auto __vwsn_resolver_ = ::vl::Ptr<::vl::presentation::GuiResourcePathResolver>(new ::vl::presentation::GuiResourcePathResolver(__vwsn_resource_, ::vl::__vwsn::This(__vwsn_resource_.Obj())->GetWorkingDirectory()));
|
|
||||||
::vl::__vwsn::This(this)->SetResourceResolver(__vwsn_resolver_);
|
|
||||||
::vl::__vwsn::This(this)->__vwsn_demo_ColorBomboItemTemplate_Initialize(this);
|
|
||||||
}
|
|
||||||
|
|
||||||
ColorBomboItemTemplate::~ColorBomboItemTemplate()
|
|
||||||
{
|
|
||||||
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::templates::GuiTemplate*>(this));
|
|
||||||
}
|
|
||||||
|
|
||||||
/***********************************************************************
|
|
||||||
Class (::demo::ColorListItemTemplate)
|
|
||||||
***********************************************************************/
|
|
||||||
|
|
||||||
::vl::Ptr<::demo::IColorItem> ColorListItemTemplate::GetViewModel()
|
|
||||||
{
|
|
||||||
return this->__vwsn_parameter_ViewModel;
|
|
||||||
}
|
|
||||||
|
|
||||||
ColorListItemTemplate::ColorListItemTemplate(::vl::Ptr<::demo::IColorItem> __vwsn_ctor_parameter_ViewModel)
|
|
||||||
: __vwsn_parameter_ViewModel(::vl::Ptr<::demo::IColorItem>())
|
|
||||||
{
|
|
||||||
(this->__vwsn_parameter_ViewModel = __vwsn_ctor_parameter_ViewModel);
|
|
||||||
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"demo::ColorListItemTemplate", false));
|
|
||||||
auto __vwsn_resolver_ = ::vl::Ptr<::vl::presentation::GuiResourcePathResolver>(new ::vl::presentation::GuiResourcePathResolver(__vwsn_resource_, ::vl::__vwsn::This(__vwsn_resource_.Obj())->GetWorkingDirectory()));
|
|
||||||
::vl::__vwsn::This(this)->SetResourceResolver(__vwsn_resolver_);
|
|
||||||
::vl::__vwsn::This(this)->__vwsn_demo_ColorListItemTemplate_Initialize(this);
|
|
||||||
}
|
|
||||||
|
|
||||||
ColorListItemTemplate::~ColorListItemTemplate()
|
|
||||||
{
|
|
||||||
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::templates::GuiTemplate*>(this));
|
|
||||||
}
|
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
Class (::demo::MainWindow)
|
Class (::demo::MainWindow)
|
||||||
***********************************************************************/
|
***********************************************************************/
|
||||||
|
|||||||
@@ -39,12 +39,12 @@ namespace vl_workflow_global
|
|||||||
namespace demo
|
namespace demo
|
||||||
{
|
{
|
||||||
class ColorBomboItemTemplateConstructor;
|
class ColorBomboItemTemplateConstructor;
|
||||||
|
class ColorBomboItemTemplate;
|
||||||
class ColorListItemTemplateConstructor;
|
class ColorListItemTemplateConstructor;
|
||||||
|
class ColorListItemTemplate;
|
||||||
class IColorItem;
|
class IColorItem;
|
||||||
class IViewModel;
|
class IViewModel;
|
||||||
class MainWindowConstructor;
|
class MainWindowConstructor;
|
||||||
class ColorBomboItemTemplate;
|
|
||||||
class ColorListItemTemplate;
|
|
||||||
class MainWindow;
|
class MainWindow;
|
||||||
|
|
||||||
class ColorBomboItemTemplateConstructor : public ::vl::Object, public ::vl::reflection::Description<ColorBomboItemTemplateConstructor>
|
class ColorBomboItemTemplateConstructor : public ::vl::Object, public ::vl::reflection::Description<ColorBomboItemTemplateConstructor>
|
||||||
@@ -69,6 +69,27 @@ namespace demo
|
|||||||
ColorBomboItemTemplateConstructor();
|
ColorBomboItemTemplateConstructor();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
class ColorBomboItemTemplate : public ::vl::presentation::templates::GuiControlTemplate, public ::demo::ColorBomboItemTemplateConstructor, public ::vl::reflection::Description<ColorBomboItemTemplate>
|
||||||
|
{
|
||||||
|
friend class ::demo::ColorBomboItemTemplateConstructor;
|
||||||
|
friend class ::vl_workflow_global::__vwsnc1_Demo_demo_ColorBomboItemTemplateConstructor___vwsn_demo_ColorBomboItemTemplate_Initialize__vl_reflection_description_IValueSubscription;
|
||||||
|
friend class ::vl_workflow_global::__vwsnc2_Demo_demo_ColorBomboItemTemplateConstructor___vwsn_demo_ColorBomboItemTemplate_Initialize__vl_reflection_description_IValueSubscription;
|
||||||
|
friend struct ::vl_workflow_global::__vwsnf1_Demo_demo_ColorBomboItemTemplateConstructor___vwsn_demo_ColorBomboItemTemplate_Initialize_;
|
||||||
|
friend struct ::vl_workflow_global::__vwsnf2_Demo_demo_ColorBomboItemTemplateConstructor___vwsn_demo_ColorBomboItemTemplate_Initialize_;
|
||||||
|
#ifndef VCZH_DEBUG_NO_REFLECTION
|
||||||
|
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<ColorBomboItemTemplate>;
|
||||||
|
#endif
|
||||||
|
public:
|
||||||
|
::vl::presentation::Color __vwsn_prop_TextColor;
|
||||||
|
::vl::presentation::Color GetTextColor();
|
||||||
|
void SetTextColor(::vl::presentation::Color __vwsn_value_);
|
||||||
|
::vl::Event<void()> TextColorChanged;
|
||||||
|
::vl::Ptr<::demo::IColorItem> __vwsn_parameter_ViewModel;
|
||||||
|
::vl::Ptr<::demo::IColorItem> GetViewModel();
|
||||||
|
ColorBomboItemTemplate(::vl::Ptr<::demo::IColorItem> __vwsn_ctor_parameter_ViewModel);
|
||||||
|
~ColorBomboItemTemplate();
|
||||||
|
};
|
||||||
|
|
||||||
class ColorListItemTemplateConstructor : public ::vl::Object, public ::vl::reflection::Description<ColorListItemTemplateConstructor>
|
class ColorListItemTemplateConstructor : public ::vl::Object, public ::vl::reflection::Description<ColorListItemTemplateConstructor>
|
||||||
{
|
{
|
||||||
friend class ::vl_workflow_global::__vwsnc3_Demo_demo_ColorListItemTemplateConstructor___vwsn_demo_ColorListItemTemplate_Initialize__vl_reflection_description_IValueSubscription;
|
friend class ::vl_workflow_global::__vwsnc3_Demo_demo_ColorListItemTemplateConstructor___vwsn_demo_ColorListItemTemplate_Initialize__vl_reflection_description_IValueSubscription;
|
||||||
@@ -85,6 +106,21 @@ namespace demo
|
|||||||
ColorListItemTemplateConstructor();
|
ColorListItemTemplateConstructor();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
class ColorListItemTemplate : public ::vl::presentation::templates::GuiTextListItemTemplate, public ::demo::ColorListItemTemplateConstructor, public ::vl::reflection::Description<ColorListItemTemplate>
|
||||||
|
{
|
||||||
|
friend class ::demo::ColorListItemTemplateConstructor;
|
||||||
|
friend class ::vl_workflow_global::__vwsnc3_Demo_demo_ColorListItemTemplateConstructor___vwsn_demo_ColorListItemTemplate_Initialize__vl_reflection_description_IValueSubscription;
|
||||||
|
friend struct ::vl_workflow_global::__vwsnf3_Demo_demo_ColorListItemTemplateConstructor___vwsn_demo_ColorListItemTemplate_Initialize_;
|
||||||
|
#ifndef VCZH_DEBUG_NO_REFLECTION
|
||||||
|
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<ColorListItemTemplate>;
|
||||||
|
#endif
|
||||||
|
public:
|
||||||
|
::vl::Ptr<::demo::IColorItem> __vwsn_parameter_ViewModel;
|
||||||
|
::vl::Ptr<::demo::IColorItem> GetViewModel();
|
||||||
|
ColorListItemTemplate(::vl::Ptr<::demo::IColorItem> __vwsn_ctor_parameter_ViewModel);
|
||||||
|
~ColorListItemTemplate();
|
||||||
|
};
|
||||||
|
|
||||||
class IColorItem : public virtual ::vl::reflection::IDescriptable, public ::vl::reflection::Description<IColorItem>
|
class IColorItem : public virtual ::vl::reflection::IDescriptable, public ::vl::reflection::Description<IColorItem>
|
||||||
{
|
{
|
||||||
#ifndef VCZH_DEBUG_NO_REFLECTION
|
#ifndef VCZH_DEBUG_NO_REFLECTION
|
||||||
@@ -128,42 +164,6 @@ namespace demo
|
|||||||
MainWindowConstructor();
|
MainWindowConstructor();
|
||||||
};
|
};
|
||||||
|
|
||||||
class ColorBomboItemTemplate : public ::vl::presentation::templates::GuiControlTemplate, public ::demo::ColorBomboItemTemplateConstructor, public ::vl::reflection::Description<ColorBomboItemTemplate>
|
|
||||||
{
|
|
||||||
friend class ::demo::ColorBomboItemTemplateConstructor;
|
|
||||||
friend class ::vl_workflow_global::__vwsnc1_Demo_demo_ColorBomboItemTemplateConstructor___vwsn_demo_ColorBomboItemTemplate_Initialize__vl_reflection_description_IValueSubscription;
|
|
||||||
friend class ::vl_workflow_global::__vwsnc2_Demo_demo_ColorBomboItemTemplateConstructor___vwsn_demo_ColorBomboItemTemplate_Initialize__vl_reflection_description_IValueSubscription;
|
|
||||||
friend struct ::vl_workflow_global::__vwsnf1_Demo_demo_ColorBomboItemTemplateConstructor___vwsn_demo_ColorBomboItemTemplate_Initialize_;
|
|
||||||
friend struct ::vl_workflow_global::__vwsnf2_Demo_demo_ColorBomboItemTemplateConstructor___vwsn_demo_ColorBomboItemTemplate_Initialize_;
|
|
||||||
#ifndef VCZH_DEBUG_NO_REFLECTION
|
|
||||||
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<ColorBomboItemTemplate>;
|
|
||||||
#endif
|
|
||||||
public:
|
|
||||||
::vl::presentation::Color __vwsn_prop_TextColor;
|
|
||||||
::vl::presentation::Color GetTextColor();
|
|
||||||
void SetTextColor(::vl::presentation::Color __vwsn_value_);
|
|
||||||
::vl::Event<void()> TextColorChanged;
|
|
||||||
::vl::Ptr<::demo::IColorItem> __vwsn_parameter_ViewModel;
|
|
||||||
::vl::Ptr<::demo::IColorItem> GetViewModel();
|
|
||||||
ColorBomboItemTemplate(::vl::Ptr<::demo::IColorItem> __vwsn_ctor_parameter_ViewModel);
|
|
||||||
~ColorBomboItemTemplate();
|
|
||||||
};
|
|
||||||
|
|
||||||
class ColorListItemTemplate : public ::vl::presentation::templates::GuiTextListItemTemplate, public ::demo::ColorListItemTemplateConstructor, public ::vl::reflection::Description<ColorListItemTemplate>
|
|
||||||
{
|
|
||||||
friend class ::demo::ColorListItemTemplateConstructor;
|
|
||||||
friend class ::vl_workflow_global::__vwsnc3_Demo_demo_ColorListItemTemplateConstructor___vwsn_demo_ColorListItemTemplate_Initialize__vl_reflection_description_IValueSubscription;
|
|
||||||
friend struct ::vl_workflow_global::__vwsnf3_Demo_demo_ColorListItemTemplateConstructor___vwsn_demo_ColorListItemTemplate_Initialize_;
|
|
||||||
#ifndef VCZH_DEBUG_NO_REFLECTION
|
|
||||||
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<ColorListItemTemplate>;
|
|
||||||
#endif
|
|
||||||
public:
|
|
||||||
::vl::Ptr<::demo::IColorItem> __vwsn_parameter_ViewModel;
|
|
||||||
::vl::Ptr<::demo::IColorItem> GetViewModel();
|
|
||||||
ColorListItemTemplate(::vl::Ptr<::demo::IColorItem> __vwsn_ctor_parameter_ViewModel);
|
|
||||||
~ColorListItemTemplate();
|
|
||||||
};
|
|
||||||
|
|
||||||
class MainWindow : public ::vl::presentation::controls::GuiWindow, public ::demo::MainWindowConstructor, public ::vl::reflection::Description<MainWindow>
|
class MainWindow : public ::vl::presentation::controls::GuiWindow, public ::demo::MainWindowConstructor, public ::vl::reflection::Description<MainWindow>
|
||||||
{
|
{
|
||||||
friend class ::demo::MainWindowConstructor;
|
friend class ::demo::MainWindowConstructor;
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -121,8 +121,8 @@ namespace vl_workflow_global
|
|||||||
namespace demo
|
namespace demo
|
||||||
{
|
{
|
||||||
class DocumentEditorBaseConstructor;
|
class DocumentEditorBaseConstructor;
|
||||||
class HyperlinkWindowConstructor;
|
|
||||||
class DocumentEditorBase;
|
class DocumentEditorBase;
|
||||||
|
class HyperlinkWindowConstructor;
|
||||||
class HyperlinkWindow;
|
class HyperlinkWindow;
|
||||||
|
|
||||||
class DocumentEditorBaseConstructor : public ::vl::Object, public ::vl::reflection::Description<DocumentEditorBaseConstructor>
|
class DocumentEditorBaseConstructor : public ::vl::Object, public ::vl::reflection::Description<DocumentEditorBaseConstructor>
|
||||||
|
|||||||
@@ -1010,6 +1010,33 @@ namespace demo
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
Class (::demo::ListViewTabPage)
|
||||||
|
***********************************************************************/
|
||||||
|
|
||||||
|
ListViewTabPage::ListViewTabPage()
|
||||||
|
: ::vl::presentation::controls::GuiTabPage(::vl::presentation::theme::ThemeName::CustomControl)
|
||||||
|
{
|
||||||
|
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"demo::ListViewTabPage", false));
|
||||||
|
auto __vwsn_resolver_ = ::vl::Ptr<::vl::presentation::GuiResourcePathResolver>(new ::vl::presentation::GuiResourcePathResolver(__vwsn_resource_, ::vl::__vwsn::This(__vwsn_resource_.Obj())->GetWorkingDirectory()));
|
||||||
|
::vl::__vwsn::This(this)->SetResourceResolver(__vwsn_resolver_);
|
||||||
|
::vl::__vwsn::This(this)->__vwsn_demo_ListViewTabPage_Initialize(this);
|
||||||
|
this->__vwsn_instance_ctor_();
|
||||||
|
}
|
||||||
|
|
||||||
|
void ListViewTabPage::__vwsn_instance_ctor_()
|
||||||
|
{
|
||||||
|
GLOBAL_NAME LoadListView(static_cast<::vl::presentation::controls::GuiInstanceRootObject*>(this), LAMBDA(::vl_workflow_global::__vwsnf8_Demo_demo_ListViewTabPage___vwsn_instance_ctor__(this)));
|
||||||
|
auto itemsToBind = ::vl::reflection::description::IValueObservableList::Create();
|
||||||
|
GLOBAL_NAME LoadListView(static_cast<::vl::presentation::controls::GuiInstanceRootObject*>(this), LAMBDA(::vl_workflow_global::__vwsnf9_Demo_demo_ListViewTabPage___vwsn_instance_ctor__(itemsToBind, this)));
|
||||||
|
::vl::__vwsn::This(this->bindableListView)->SetItemSource(::vl::Ptr<::vl::reflection::description::IValueEnumerable>(itemsToBind));
|
||||||
|
}
|
||||||
|
|
||||||
|
ListViewTabPage::~ListViewTabPage()
|
||||||
|
{
|
||||||
|
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::controls::GuiCustomControl*>(this));
|
||||||
|
}
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
Class (::demo::MainWindowConstructor)
|
Class (::demo::MainWindowConstructor)
|
||||||
***********************************************************************/
|
***********************************************************************/
|
||||||
@@ -1074,6 +1101,24 @@ Class (::demo::MainWindowConstructor)
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
Class (::demo::MainWindow)
|
||||||
|
***********************************************************************/
|
||||||
|
|
||||||
|
MainWindow::MainWindow()
|
||||||
|
: ::vl::presentation::controls::GuiWindow(::vl::presentation::theme::ThemeName::Window)
|
||||||
|
{
|
||||||
|
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"demo::MainWindow", false));
|
||||||
|
auto __vwsn_resolver_ = ::vl::Ptr<::vl::presentation::GuiResourcePathResolver>(new ::vl::presentation::GuiResourcePathResolver(__vwsn_resource_, ::vl::__vwsn::This(__vwsn_resource_.Obj())->GetWorkingDirectory()));
|
||||||
|
::vl::__vwsn::This(this)->SetResourceResolver(__vwsn_resolver_);
|
||||||
|
::vl::__vwsn::This(this)->__vwsn_demo_MainWindow_Initialize(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
MainWindow::~MainWindow()
|
||||||
|
{
|
||||||
|
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::controls::GuiControlHost*>(this));
|
||||||
|
}
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
Class (::demo::MyTextItem)
|
Class (::demo::MyTextItem)
|
||||||
***********************************************************************/
|
***********************************************************************/
|
||||||
@@ -1407,6 +1452,26 @@ Class (::demo::TextListTabPageConstructor)
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
Class (::demo::TextListTabPage)
|
||||||
|
***********************************************************************/
|
||||||
|
|
||||||
|
TextListTabPage::TextListTabPage()
|
||||||
|
: ::vl::presentation::controls::GuiTabPage(::vl::presentation::theme::ThemeName::CustomControl)
|
||||||
|
, counter(static_cast<::vl::vint>(0))
|
||||||
|
, itemsToBind(::vl::reflection::description::IValueObservableList::Create())
|
||||||
|
{
|
||||||
|
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"demo::TextListTabPage", false));
|
||||||
|
auto __vwsn_resolver_ = ::vl::Ptr<::vl::presentation::GuiResourcePathResolver>(new ::vl::presentation::GuiResourcePathResolver(__vwsn_resource_, ::vl::__vwsn::This(__vwsn_resource_.Obj())->GetWorkingDirectory()));
|
||||||
|
::vl::__vwsn::This(this)->SetResourceResolver(__vwsn_resolver_);
|
||||||
|
::vl::__vwsn::This(this)->__vwsn_demo_TextListTabPage_Initialize(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
TextListTabPage::~TextListTabPage()
|
||||||
|
{
|
||||||
|
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::controls::GuiCustomControl*>(this));
|
||||||
|
}
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
Class (::demo::TreeViewTabPageConstructor)
|
Class (::demo::TreeViewTabPageConstructor)
|
||||||
***********************************************************************/
|
***********************************************************************/
|
||||||
@@ -1733,71 +1798,6 @@ Class (::demo::TreeViewTabPageConstructor)
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
/***********************************************************************
|
|
||||||
Class (::demo::ListViewTabPage)
|
|
||||||
***********************************************************************/
|
|
||||||
|
|
||||||
ListViewTabPage::ListViewTabPage()
|
|
||||||
: ::vl::presentation::controls::GuiTabPage(::vl::presentation::theme::ThemeName::CustomControl)
|
|
||||||
{
|
|
||||||
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"demo::ListViewTabPage", false));
|
|
||||||
auto __vwsn_resolver_ = ::vl::Ptr<::vl::presentation::GuiResourcePathResolver>(new ::vl::presentation::GuiResourcePathResolver(__vwsn_resource_, ::vl::__vwsn::This(__vwsn_resource_.Obj())->GetWorkingDirectory()));
|
|
||||||
::vl::__vwsn::This(this)->SetResourceResolver(__vwsn_resolver_);
|
|
||||||
::vl::__vwsn::This(this)->__vwsn_demo_ListViewTabPage_Initialize(this);
|
|
||||||
this->__vwsn_instance_ctor_();
|
|
||||||
}
|
|
||||||
|
|
||||||
void ListViewTabPage::__vwsn_instance_ctor_()
|
|
||||||
{
|
|
||||||
GLOBAL_NAME LoadListView(static_cast<::vl::presentation::controls::GuiInstanceRootObject*>(this), LAMBDA(::vl_workflow_global::__vwsnf8_Demo_demo_ListViewTabPage___vwsn_instance_ctor__(this)));
|
|
||||||
auto itemsToBind = ::vl::reflection::description::IValueObservableList::Create();
|
|
||||||
GLOBAL_NAME LoadListView(static_cast<::vl::presentation::controls::GuiInstanceRootObject*>(this), LAMBDA(::vl_workflow_global::__vwsnf9_Demo_demo_ListViewTabPage___vwsn_instance_ctor__(itemsToBind, this)));
|
|
||||||
::vl::__vwsn::This(this->bindableListView)->SetItemSource(::vl::Ptr<::vl::reflection::description::IValueEnumerable>(itemsToBind));
|
|
||||||
}
|
|
||||||
|
|
||||||
ListViewTabPage::~ListViewTabPage()
|
|
||||||
{
|
|
||||||
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::controls::GuiCustomControl*>(this));
|
|
||||||
}
|
|
||||||
|
|
||||||
/***********************************************************************
|
|
||||||
Class (::demo::MainWindow)
|
|
||||||
***********************************************************************/
|
|
||||||
|
|
||||||
MainWindow::MainWindow()
|
|
||||||
: ::vl::presentation::controls::GuiWindow(::vl::presentation::theme::ThemeName::Window)
|
|
||||||
{
|
|
||||||
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"demo::MainWindow", false));
|
|
||||||
auto __vwsn_resolver_ = ::vl::Ptr<::vl::presentation::GuiResourcePathResolver>(new ::vl::presentation::GuiResourcePathResolver(__vwsn_resource_, ::vl::__vwsn::This(__vwsn_resource_.Obj())->GetWorkingDirectory()));
|
|
||||||
::vl::__vwsn::This(this)->SetResourceResolver(__vwsn_resolver_);
|
|
||||||
::vl::__vwsn::This(this)->__vwsn_demo_MainWindow_Initialize(this);
|
|
||||||
}
|
|
||||||
|
|
||||||
MainWindow::~MainWindow()
|
|
||||||
{
|
|
||||||
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::controls::GuiControlHost*>(this));
|
|
||||||
}
|
|
||||||
|
|
||||||
/***********************************************************************
|
|
||||||
Class (::demo::TextListTabPage)
|
|
||||||
***********************************************************************/
|
|
||||||
|
|
||||||
TextListTabPage::TextListTabPage()
|
|
||||||
: ::vl::presentation::controls::GuiTabPage(::vl::presentation::theme::ThemeName::CustomControl)
|
|
||||||
, counter(static_cast<::vl::vint>(0))
|
|
||||||
, itemsToBind(::vl::reflection::description::IValueObservableList::Create())
|
|
||||||
{
|
|
||||||
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"demo::TextListTabPage", false));
|
|
||||||
auto __vwsn_resolver_ = ::vl::Ptr<::vl::presentation::GuiResourcePathResolver>(new ::vl::presentation::GuiResourcePathResolver(__vwsn_resource_, ::vl::__vwsn::This(__vwsn_resource_.Obj())->GetWorkingDirectory()));
|
|
||||||
::vl::__vwsn::This(this)->SetResourceResolver(__vwsn_resolver_);
|
|
||||||
::vl::__vwsn::This(this)->__vwsn_demo_TextListTabPage_Initialize(this);
|
|
||||||
}
|
|
||||||
|
|
||||||
TextListTabPage::~TextListTabPage()
|
|
||||||
{
|
|
||||||
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::controls::GuiCustomControl*>(this));
|
|
||||||
}
|
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
Class (::demo::TreeViewTabPage)
|
Class (::demo::TreeViewTabPage)
|
||||||
***********************************************************************/
|
***********************************************************************/
|
||||||
|
|||||||
@@ -49,13 +49,13 @@ namespace vl_workflow_global
|
|||||||
namespace demo
|
namespace demo
|
||||||
{
|
{
|
||||||
class ListViewTabPageConstructor;
|
class ListViewTabPageConstructor;
|
||||||
|
class ListViewTabPage;
|
||||||
class MainWindowConstructor;
|
class MainWindowConstructor;
|
||||||
|
class MainWindow;
|
||||||
class MyTextItem;
|
class MyTextItem;
|
||||||
class TextListTabPageConstructor;
|
class TextListTabPageConstructor;
|
||||||
class TreeViewTabPageConstructor;
|
|
||||||
class ListViewTabPage;
|
|
||||||
class MainWindow;
|
|
||||||
class TextListTabPage;
|
class TextListTabPage;
|
||||||
|
class TreeViewTabPageConstructor;
|
||||||
class TreeViewTabPage;
|
class TreeViewTabPage;
|
||||||
|
|
||||||
class ListViewTabPageConstructor : public ::vl::Object, public ::vl::reflection::Description<ListViewTabPageConstructor>
|
class ListViewTabPageConstructor : public ::vl::Object, public ::vl::reflection::Description<ListViewTabPageConstructor>
|
||||||
@@ -102,6 +102,27 @@ namespace demo
|
|||||||
ListViewTabPageConstructor();
|
ListViewTabPageConstructor();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
class ListViewTabPage : public ::vl::presentation::controls::GuiTabPage, public ::demo::ListViewTabPageConstructor, public ::vl::reflection::Description<ListViewTabPage>
|
||||||
|
{
|
||||||
|
friend struct ::vl_workflow_global::__vwsnf8_Demo_demo_ListViewTabPage___vwsn_instance_ctor__;
|
||||||
|
friend struct ::vl_workflow_global::__vwsnf9_Demo_demo_ListViewTabPage___vwsn_instance_ctor__;
|
||||||
|
friend class ::demo::ListViewTabPageConstructor;
|
||||||
|
friend struct ::vl_workflow_global::__vwsnf1_Demo_demo_ListViewTabPageConstructor___vwsn_demo_ListViewTabPage_Initialize_;
|
||||||
|
friend struct ::vl_workflow_global::__vwsnf2_Demo_demo_ListViewTabPageConstructor___vwsn_demo_ListViewTabPage_Initialize_;
|
||||||
|
friend struct ::vl_workflow_global::__vwsnf3_Demo_demo_ListViewTabPageConstructor___vwsn_demo_ListViewTabPage_Initialize_;
|
||||||
|
friend struct ::vl_workflow_global::__vwsnf4_Demo_demo_ListViewTabPageConstructor___vwsn_demo_ListViewTabPage_Initialize_;
|
||||||
|
friend struct ::vl_workflow_global::__vwsnf5_Demo_demo_ListViewTabPageConstructor___vwsn_demo_ListViewTabPage_Initialize_;
|
||||||
|
friend struct ::vl_workflow_global::__vwsnf6_Demo_demo_ListViewTabPageConstructor___vwsn_demo_ListViewTabPage_Initialize_;
|
||||||
|
friend struct ::vl_workflow_global::__vwsnf7_Demo_demo_ListViewTabPageConstructor___vwsn_demo_ListViewTabPage_Initialize_;
|
||||||
|
#ifndef VCZH_DEBUG_NO_REFLECTION
|
||||||
|
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<ListViewTabPage>;
|
||||||
|
#endif
|
||||||
|
public:
|
||||||
|
ListViewTabPage();
|
||||||
|
void __vwsn_instance_ctor_();
|
||||||
|
~ListViewTabPage();
|
||||||
|
};
|
||||||
|
|
||||||
class MainWindowConstructor : public ::vl::Object, public ::vl::reflection::Description<MainWindowConstructor>
|
class MainWindowConstructor : public ::vl::Object, public ::vl::reflection::Description<MainWindowConstructor>
|
||||||
{
|
{
|
||||||
#ifndef VCZH_DEBUG_NO_REFLECTION
|
#ifndef VCZH_DEBUG_NO_REFLECTION
|
||||||
@@ -120,6 +141,17 @@ namespace demo
|
|||||||
MainWindowConstructor();
|
MainWindowConstructor();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
class MainWindow : public ::vl::presentation::controls::GuiWindow, public ::demo::MainWindowConstructor, public ::vl::reflection::Description<MainWindow>
|
||||||
|
{
|
||||||
|
friend class ::demo::MainWindowConstructor;
|
||||||
|
#ifndef VCZH_DEBUG_NO_REFLECTION
|
||||||
|
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<MainWindow>;
|
||||||
|
#endif
|
||||||
|
public:
|
||||||
|
MainWindow();
|
||||||
|
~MainWindow();
|
||||||
|
};
|
||||||
|
|
||||||
class MyTextItem : public ::vl::Object, public ::vl::reflection::Description<MyTextItem>
|
class MyTextItem : public ::vl::Object, public ::vl::reflection::Description<MyTextItem>
|
||||||
{
|
{
|
||||||
#ifndef VCZH_DEBUG_NO_REFLECTION
|
#ifndef VCZH_DEBUG_NO_REFLECTION
|
||||||
@@ -185,6 +217,26 @@ namespace demo
|
|||||||
TextListTabPageConstructor();
|
TextListTabPageConstructor();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
class TextListTabPage : public ::vl::presentation::controls::GuiTabPage, public ::demo::TextListTabPageConstructor, public ::vl::reflection::Description<TextListTabPage>
|
||||||
|
{
|
||||||
|
friend class ::demo::TextListTabPageConstructor;
|
||||||
|
friend struct ::vl_workflow_global::__vwsnf10_Demo_demo_TextListTabPageConstructor___vwsn_demo_TextListTabPage_Initialize_;
|
||||||
|
friend struct ::vl_workflow_global::__vwsnf11_Demo_demo_TextListTabPageConstructor___vwsn_demo_TextListTabPage_Initialize_;
|
||||||
|
friend struct ::vl_workflow_global::__vwsnf12_Demo_demo_TextListTabPageConstructor___vwsn_demo_TextListTabPage_Initialize_;
|
||||||
|
friend struct ::vl_workflow_global::__vwsnf13_Demo_demo_TextListTabPageConstructor___vwsn_demo_TextListTabPage_Initialize_;
|
||||||
|
friend struct ::vl_workflow_global::__vwsnf14_Demo_demo_TextListTabPageConstructor___vwsn_demo_TextListTabPage_Initialize_;
|
||||||
|
friend struct ::vl_workflow_global::__vwsnf15_Demo_demo_TextListTabPageConstructor___vwsn_demo_TextListTabPage_Initialize_;
|
||||||
|
friend struct ::vl_workflow_global::__vwsnf16_Demo_demo_TextListTabPageConstructor___vwsn_demo_TextListTabPage_Initialize_;
|
||||||
|
#ifndef VCZH_DEBUG_NO_REFLECTION
|
||||||
|
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<TextListTabPage>;
|
||||||
|
#endif
|
||||||
|
public:
|
||||||
|
::vl::vint counter;
|
||||||
|
::vl::Ptr<::vl::reflection::description::IValueObservableList> itemsToBind;
|
||||||
|
TextListTabPage();
|
||||||
|
~TextListTabPage();
|
||||||
|
};
|
||||||
|
|
||||||
class TreeViewTabPageConstructor : public ::vl::Object, public ::vl::reflection::Description<TreeViewTabPageConstructor>
|
class TreeViewTabPageConstructor : public ::vl::Object, public ::vl::reflection::Description<TreeViewTabPageConstructor>
|
||||||
{
|
{
|
||||||
friend struct ::vl_workflow_global::__vwsnf17_Demo_demo_TreeViewTabPageConstructor___vwsn_demo_TreeViewTabPage_Initialize_;
|
friend struct ::vl_workflow_global::__vwsnf17_Demo_demo_TreeViewTabPageConstructor___vwsn_demo_TreeViewTabPage_Initialize_;
|
||||||
@@ -252,58 +304,6 @@ namespace demo
|
|||||||
TreeViewTabPageConstructor();
|
TreeViewTabPageConstructor();
|
||||||
};
|
};
|
||||||
|
|
||||||
class ListViewTabPage : public ::vl::presentation::controls::GuiTabPage, public ::demo::ListViewTabPageConstructor, public ::vl::reflection::Description<ListViewTabPage>
|
|
||||||
{
|
|
||||||
friend struct ::vl_workflow_global::__vwsnf8_Demo_demo_ListViewTabPage___vwsn_instance_ctor__;
|
|
||||||
friend struct ::vl_workflow_global::__vwsnf9_Demo_demo_ListViewTabPage___vwsn_instance_ctor__;
|
|
||||||
friend class ::demo::ListViewTabPageConstructor;
|
|
||||||
friend struct ::vl_workflow_global::__vwsnf1_Demo_demo_ListViewTabPageConstructor___vwsn_demo_ListViewTabPage_Initialize_;
|
|
||||||
friend struct ::vl_workflow_global::__vwsnf2_Demo_demo_ListViewTabPageConstructor___vwsn_demo_ListViewTabPage_Initialize_;
|
|
||||||
friend struct ::vl_workflow_global::__vwsnf3_Demo_demo_ListViewTabPageConstructor___vwsn_demo_ListViewTabPage_Initialize_;
|
|
||||||
friend struct ::vl_workflow_global::__vwsnf4_Demo_demo_ListViewTabPageConstructor___vwsn_demo_ListViewTabPage_Initialize_;
|
|
||||||
friend struct ::vl_workflow_global::__vwsnf5_Demo_demo_ListViewTabPageConstructor___vwsn_demo_ListViewTabPage_Initialize_;
|
|
||||||
friend struct ::vl_workflow_global::__vwsnf6_Demo_demo_ListViewTabPageConstructor___vwsn_demo_ListViewTabPage_Initialize_;
|
|
||||||
friend struct ::vl_workflow_global::__vwsnf7_Demo_demo_ListViewTabPageConstructor___vwsn_demo_ListViewTabPage_Initialize_;
|
|
||||||
#ifndef VCZH_DEBUG_NO_REFLECTION
|
|
||||||
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<ListViewTabPage>;
|
|
||||||
#endif
|
|
||||||
public:
|
|
||||||
ListViewTabPage();
|
|
||||||
void __vwsn_instance_ctor_();
|
|
||||||
~ListViewTabPage();
|
|
||||||
};
|
|
||||||
|
|
||||||
class MainWindow : public ::vl::presentation::controls::GuiWindow, public ::demo::MainWindowConstructor, public ::vl::reflection::Description<MainWindow>
|
|
||||||
{
|
|
||||||
friend class ::demo::MainWindowConstructor;
|
|
||||||
#ifndef VCZH_DEBUG_NO_REFLECTION
|
|
||||||
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<MainWindow>;
|
|
||||||
#endif
|
|
||||||
public:
|
|
||||||
MainWindow();
|
|
||||||
~MainWindow();
|
|
||||||
};
|
|
||||||
|
|
||||||
class TextListTabPage : public ::vl::presentation::controls::GuiTabPage, public ::demo::TextListTabPageConstructor, public ::vl::reflection::Description<TextListTabPage>
|
|
||||||
{
|
|
||||||
friend class ::demo::TextListTabPageConstructor;
|
|
||||||
friend struct ::vl_workflow_global::__vwsnf10_Demo_demo_TextListTabPageConstructor___vwsn_demo_TextListTabPage_Initialize_;
|
|
||||||
friend struct ::vl_workflow_global::__vwsnf11_Demo_demo_TextListTabPageConstructor___vwsn_demo_TextListTabPage_Initialize_;
|
|
||||||
friend struct ::vl_workflow_global::__vwsnf12_Demo_demo_TextListTabPageConstructor___vwsn_demo_TextListTabPage_Initialize_;
|
|
||||||
friend struct ::vl_workflow_global::__vwsnf13_Demo_demo_TextListTabPageConstructor___vwsn_demo_TextListTabPage_Initialize_;
|
|
||||||
friend struct ::vl_workflow_global::__vwsnf14_Demo_demo_TextListTabPageConstructor___vwsn_demo_TextListTabPage_Initialize_;
|
|
||||||
friend struct ::vl_workflow_global::__vwsnf15_Demo_demo_TextListTabPageConstructor___vwsn_demo_TextListTabPage_Initialize_;
|
|
||||||
friend struct ::vl_workflow_global::__vwsnf16_Demo_demo_TextListTabPageConstructor___vwsn_demo_TextListTabPage_Initialize_;
|
|
||||||
#ifndef VCZH_DEBUG_NO_REFLECTION
|
|
||||||
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<TextListTabPage>;
|
|
||||||
#endif
|
|
||||||
public:
|
|
||||||
::vl::vint counter;
|
|
||||||
::vl::Ptr<::vl::reflection::description::IValueObservableList> itemsToBind;
|
|
||||||
TextListTabPage();
|
|
||||||
~TextListTabPage();
|
|
||||||
};
|
|
||||||
|
|
||||||
class TreeViewTabPage : public ::vl::presentation::controls::GuiTabPage, public ::demo::TreeViewTabPageConstructor, public ::vl::reflection::Description<TreeViewTabPage>
|
class TreeViewTabPage : public ::vl::presentation::controls::GuiTabPage, public ::demo::TreeViewTabPageConstructor, public ::vl::reflection::Description<TreeViewTabPage>
|
||||||
{
|
{
|
||||||
friend class ::demo::TreeViewTabPageConstructor;
|
friend class ::demo::TreeViewTabPageConstructor;
|
||||||
|
|||||||
@@ -1880,39 +1880,6 @@ Class (::demo::MainWindowConstructor)
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
/***********************************************************************
|
|
||||||
Class (::demo::StringResource)
|
|
||||||
***********************************************************************/
|
|
||||||
|
|
||||||
::vl::WString StringResource::__vwsn_ls_First(const ::vl::collections::LazyList<::vl::WString>& __vwsn_ls_formats)
|
|
||||||
{
|
|
||||||
{
|
|
||||||
auto __vwsn_for_enumerable_ = ::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueEnumerable>(__vwsn_ls_formats);
|
|
||||||
auto __vwsn_for_enumerator_ = ::vl::__vwsn::This(__vwsn_for_enumerable_.Obj())->CreateEnumerator();
|
|
||||||
while (::vl::__vwsn::This(__vwsn_for_enumerator_.Obj())->Next())
|
|
||||||
{
|
|
||||||
auto __vwsn_ls_format = ::vl::__vwsn::Unbox<::vl::WString>(::vl::__vwsn::This(__vwsn_for_enumerator_.Obj())->GetCurrent());
|
|
||||||
{
|
|
||||||
return __vwsn_ls_format;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return ::vl::WString(L"", false);
|
|
||||||
}
|
|
||||||
|
|
||||||
::vl::Ptr<::demo::IStringResourceStrings> StringResource::Get(::vl::Locale __vwsn_ls_locale)
|
|
||||||
{
|
|
||||||
if (::vl::__vwsn::InSet(::vl::__vwsn::ToString(__vwsn_ls_locale), (::vl::__vwsn::CreateList().Add(::vl::WString(L"zh-CN", false))).list))
|
|
||||||
{
|
|
||||||
return ::vl::Ptr<::demo::IStringResourceStrings>(new ::vl_workflow_global::__vwsnc18_Demo_demo_StringResource_Get__demo_IStringResourceStrings(__vwsn_ls_locale));
|
|
||||||
}
|
|
||||||
return ::vl::Ptr<::demo::IStringResourceStrings>(new ::vl_workflow_global::__vwsnc19_Demo_demo_StringResource_Get__demo_IStringResourceStrings(__vwsn_ls_locale));
|
|
||||||
}
|
|
||||||
|
|
||||||
StringResource::StringResource()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
Class (::demo::MainWindow)
|
Class (::demo::MainWindow)
|
||||||
***********************************************************************/
|
***********************************************************************/
|
||||||
@@ -1968,6 +1935,39 @@ Class (::demo::MainWindow)
|
|||||||
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::controls::GuiControlHost*>(this));
|
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::controls::GuiControlHost*>(this));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
Class (::demo::StringResource)
|
||||||
|
***********************************************************************/
|
||||||
|
|
||||||
|
::vl::WString StringResource::__vwsn_ls_First(const ::vl::collections::LazyList<::vl::WString>& __vwsn_ls_formats)
|
||||||
|
{
|
||||||
|
{
|
||||||
|
auto __vwsn_for_enumerable_ = ::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueEnumerable>(__vwsn_ls_formats);
|
||||||
|
auto __vwsn_for_enumerator_ = ::vl::__vwsn::This(__vwsn_for_enumerable_.Obj())->CreateEnumerator();
|
||||||
|
while (::vl::__vwsn::This(__vwsn_for_enumerator_.Obj())->Next())
|
||||||
|
{
|
||||||
|
auto __vwsn_ls_format = ::vl::__vwsn::Unbox<::vl::WString>(::vl::__vwsn::This(__vwsn_for_enumerator_.Obj())->GetCurrent());
|
||||||
|
{
|
||||||
|
return __vwsn_ls_format;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return ::vl::WString(L"", false);
|
||||||
|
}
|
||||||
|
|
||||||
|
::vl::Ptr<::demo::IStringResourceStrings> StringResource::Get(::vl::Locale __vwsn_ls_locale)
|
||||||
|
{
|
||||||
|
if (::vl::__vwsn::InSet(::vl::__vwsn::ToString(__vwsn_ls_locale), (::vl::__vwsn::CreateList().Add(::vl::WString(L"zh-CN", false))).list))
|
||||||
|
{
|
||||||
|
return ::vl::Ptr<::demo::IStringResourceStrings>(new ::vl_workflow_global::__vwsnc18_Demo_demo_StringResource_Get__demo_IStringResourceStrings(__vwsn_ls_locale));
|
||||||
|
}
|
||||||
|
return ::vl::Ptr<::demo::IStringResourceStrings>(new ::vl_workflow_global::__vwsnc19_Demo_demo_StringResource_Get__demo_IStringResourceStrings(__vwsn_ls_locale));
|
||||||
|
}
|
||||||
|
|
||||||
|
StringResource::StringResource()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
#undef GLOBAL_SYMBOL
|
#undef GLOBAL_SYMBOL
|
||||||
#undef GLOBAL_NAME
|
#undef GLOBAL_NAME
|
||||||
|
|||||||
@@ -68,8 +68,8 @@ namespace demo
|
|||||||
{
|
{
|
||||||
class IStringResourceStrings;
|
class IStringResourceStrings;
|
||||||
class MainWindowConstructor;
|
class MainWindowConstructor;
|
||||||
class StringResource;
|
|
||||||
class MainWindow;
|
class MainWindow;
|
||||||
|
class StringResource;
|
||||||
|
|
||||||
class IStringResourceStrings : public virtual ::vl::reflection::IDescriptable, public ::vl::reflection::Description<IStringResourceStrings>
|
class IStringResourceStrings : public virtual ::vl::reflection::IDescriptable, public ::vl::reflection::Description<IStringResourceStrings>
|
||||||
{
|
{
|
||||||
@@ -162,19 +162,6 @@ namespace demo
|
|||||||
MainWindowConstructor();
|
MainWindowConstructor();
|
||||||
};
|
};
|
||||||
|
|
||||||
class StringResource : public ::vl::Object, public ::vl::reflection::Description<StringResource>
|
|
||||||
{
|
|
||||||
friend class ::vl_workflow_global::__vwsnc18_Demo_demo_StringResource_Get__demo_IStringResourceStrings;
|
|
||||||
friend class ::vl_workflow_global::__vwsnc19_Demo_demo_StringResource_Get__demo_IStringResourceStrings;
|
|
||||||
#ifndef VCZH_DEBUG_NO_REFLECTION
|
|
||||||
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<StringResource>;
|
|
||||||
#endif
|
|
||||||
public:
|
|
||||||
static ::vl::WString __vwsn_ls_First(const ::vl::collections::LazyList<::vl::WString>& __vwsn_ls_formats);
|
|
||||||
static ::vl::Ptr<::demo::IStringResourceStrings> Get(::vl::Locale __vwsn_ls_locale);
|
|
||||||
StringResource();
|
|
||||||
};
|
|
||||||
|
|
||||||
class MainWindow : public ::vl::presentation::controls::GuiWindow, public ::demo::MainWindowConstructor, public ::vl::reflection::Description<MainWindow>
|
class MainWindow : public ::vl::presentation::controls::GuiWindow, public ::demo::MainWindowConstructor, public ::vl::reflection::Description<MainWindow>
|
||||||
{
|
{
|
||||||
friend class ::demo::MainWindowConstructor;
|
friend class ::demo::MainWindowConstructor;
|
||||||
@@ -229,6 +216,19 @@ namespace demo
|
|||||||
~MainWindow();
|
~MainWindow();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
class StringResource : public ::vl::Object, public ::vl::reflection::Description<StringResource>
|
||||||
|
{
|
||||||
|
friend class ::vl_workflow_global::__vwsnc18_Demo_demo_StringResource_Get__demo_IStringResourceStrings;
|
||||||
|
friend class ::vl_workflow_global::__vwsnc19_Demo_demo_StringResource_Get__demo_IStringResourceStrings;
|
||||||
|
#ifndef VCZH_DEBUG_NO_REFLECTION
|
||||||
|
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<StringResource>;
|
||||||
|
#endif
|
||||||
|
public:
|
||||||
|
static ::vl::WString __vwsn_ls_First(const ::vl::collections::LazyList<::vl::WString>& __vwsn_ls_formats);
|
||||||
|
static ::vl::Ptr<::demo::IStringResourceStrings> Get(::vl::Locale __vwsn_ls_locale);
|
||||||
|
StringResource();
|
||||||
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
Global Variables and Functions
|
Global Variables and Functions
|
||||||
|
|||||||
@@ -70,12 +70,12 @@ namespace vl_workflow_global
|
|||||||
namespace demo
|
namespace demo
|
||||||
{
|
{
|
||||||
class AboutWindowConstructor;
|
class AboutWindowConstructor;
|
||||||
class FindWindowConstructor;
|
|
||||||
class MainWindowConstructor;
|
|
||||||
class RecentFileItemTemplateConstructor;
|
|
||||||
class AboutWindow;
|
class AboutWindow;
|
||||||
|
class FindWindowConstructor;
|
||||||
class FindWindow;
|
class FindWindow;
|
||||||
|
class MainWindowConstructor;
|
||||||
class MainWindow;
|
class MainWindow;
|
||||||
|
class RecentFileItemTemplateConstructor;
|
||||||
class RecentFileItemTemplate;
|
class RecentFileItemTemplate;
|
||||||
|
|
||||||
class AboutWindowConstructor : public ::vl::Object, public ::vl::reflection::Description<AboutWindowConstructor>
|
class AboutWindowConstructor : public ::vl::Object, public ::vl::reflection::Description<AboutWindowConstructor>
|
||||||
|
|||||||
@@ -1219,6 +1219,24 @@ namespace demo
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
Class (::demo::MainWindow)
|
||||||
|
***********************************************************************/
|
||||||
|
|
||||||
|
MainWindow::MainWindow()
|
||||||
|
: ::vl::presentation::controls::GuiWindow(::vl::presentation::theme::ThemeName::Window)
|
||||||
|
{
|
||||||
|
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"demo::MainWindow", false));
|
||||||
|
auto __vwsn_resolver_ = ::vl::Ptr<::vl::presentation::GuiResourcePathResolver>(new ::vl::presentation::GuiResourcePathResolver(__vwsn_resource_, ::vl::__vwsn::This(__vwsn_resource_.Obj())->GetWorkingDirectory()));
|
||||||
|
::vl::__vwsn::This(this)->SetResourceResolver(__vwsn_resolver_);
|
||||||
|
::vl::__vwsn::This(this)->__vwsn_demo_MainWindow_Initialize(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
MainWindow::~MainWindow()
|
||||||
|
{
|
||||||
|
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::controls::GuiControlHost*>(this));
|
||||||
|
}
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
Class (::demo::TriplePhaseButtonConstructor)
|
Class (::demo::TriplePhaseButtonConstructor)
|
||||||
***********************************************************************/
|
***********************************************************************/
|
||||||
@@ -1265,6 +1283,66 @@ Class (::demo::TriplePhaseButtonConstructor)
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
Class (::demo::TriplePhaseButton)
|
||||||
|
***********************************************************************/
|
||||||
|
|
||||||
|
::TripleState TriplePhaseButton::GetState()
|
||||||
|
{
|
||||||
|
return this->__vwsn_prop_State;
|
||||||
|
}
|
||||||
|
void TriplePhaseButton::SetState(::TripleState __vwsn_value_)
|
||||||
|
{
|
||||||
|
if ((this->__vwsn_prop_State != __vwsn_value_))
|
||||||
|
{
|
||||||
|
(this->__vwsn_prop_State = __vwsn_value_);
|
||||||
|
::vl::__vwsn::EventInvoke(this->StateChanged)();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
::vl::Ptr<::vl::presentation::GuiImageData> TriplePhaseButton::GetCheckedImage()
|
||||||
|
{
|
||||||
|
return this->__vwsn_prop_CheckedImage;
|
||||||
|
}
|
||||||
|
void TriplePhaseButton::SetCheckedImage(::vl::Ptr<::vl::presentation::GuiImageData> __vwsn_value_)
|
||||||
|
{
|
||||||
|
if ((this->__vwsn_prop_CheckedImage.Obj() != __vwsn_value_.Obj()))
|
||||||
|
{
|
||||||
|
(this->__vwsn_prop_CheckedImage = __vwsn_value_);
|
||||||
|
::vl::__vwsn::EventInvoke(this->CheckedImageChanged)();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
::vl::Ptr<::vl::presentation::GuiImageData> TriplePhaseButton::GetPartialImage()
|
||||||
|
{
|
||||||
|
return this->__vwsn_prop_PartialImage;
|
||||||
|
}
|
||||||
|
void TriplePhaseButton::SetPartialImage(::vl::Ptr<::vl::presentation::GuiImageData> __vwsn_value_)
|
||||||
|
{
|
||||||
|
if ((this->__vwsn_prop_PartialImage.Obj() != __vwsn_value_.Obj()))
|
||||||
|
{
|
||||||
|
(this->__vwsn_prop_PartialImage = __vwsn_value_);
|
||||||
|
::vl::__vwsn::EventInvoke(this->PartialImageChanged)();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
TriplePhaseButton::TriplePhaseButton()
|
||||||
|
: ::vl::presentation::controls::GuiCustomControl(::vl::presentation::theme::ThemeName::CustomControl)
|
||||||
|
, __vwsn_prop_State(::TripleState::Checked)
|
||||||
|
, __vwsn_prop_CheckedImage(::vl::Ptr<::vl::presentation::GuiImageData>())
|
||||||
|
, __vwsn_prop_PartialImage(::vl::Ptr<::vl::presentation::GuiImageData>())
|
||||||
|
{
|
||||||
|
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"demo::TriplePhaseButton", false));
|
||||||
|
auto __vwsn_resolver_ = ::vl::Ptr<::vl::presentation::GuiResourcePathResolver>(new ::vl::presentation::GuiResourcePathResolver(__vwsn_resource_, ::vl::__vwsn::This(__vwsn_resource_.Obj())->GetWorkingDirectory()));
|
||||||
|
::vl::__vwsn::This(this)->SetResourceResolver(__vwsn_resolver_);
|
||||||
|
::vl::__vwsn::This(this)->__vwsn_demo_TriplePhaseButton_Initialize(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
TriplePhaseButton::~TriplePhaseButton()
|
||||||
|
{
|
||||||
|
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::controls::GuiCustomControl*>(this));
|
||||||
|
}
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
Class (::demo::TriplePhaseImageButtonTemplateConstructor)
|
Class (::demo::TriplePhaseImageButtonTemplateConstructor)
|
||||||
***********************************************************************/
|
***********************************************************************/
|
||||||
@@ -1384,84 +1462,6 @@ Class (::demo::TriplePhaseImageButtonTemplateConstructor)
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
/***********************************************************************
|
|
||||||
Class (::demo::MainWindow)
|
|
||||||
***********************************************************************/
|
|
||||||
|
|
||||||
MainWindow::MainWindow()
|
|
||||||
: ::vl::presentation::controls::GuiWindow(::vl::presentation::theme::ThemeName::Window)
|
|
||||||
{
|
|
||||||
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"demo::MainWindow", false));
|
|
||||||
auto __vwsn_resolver_ = ::vl::Ptr<::vl::presentation::GuiResourcePathResolver>(new ::vl::presentation::GuiResourcePathResolver(__vwsn_resource_, ::vl::__vwsn::This(__vwsn_resource_.Obj())->GetWorkingDirectory()));
|
|
||||||
::vl::__vwsn::This(this)->SetResourceResolver(__vwsn_resolver_);
|
|
||||||
::vl::__vwsn::This(this)->__vwsn_demo_MainWindow_Initialize(this);
|
|
||||||
}
|
|
||||||
|
|
||||||
MainWindow::~MainWindow()
|
|
||||||
{
|
|
||||||
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::controls::GuiControlHost*>(this));
|
|
||||||
}
|
|
||||||
|
|
||||||
/***********************************************************************
|
|
||||||
Class (::demo::TriplePhaseButton)
|
|
||||||
***********************************************************************/
|
|
||||||
|
|
||||||
::TripleState TriplePhaseButton::GetState()
|
|
||||||
{
|
|
||||||
return this->__vwsn_prop_State;
|
|
||||||
}
|
|
||||||
void TriplePhaseButton::SetState(::TripleState __vwsn_value_)
|
|
||||||
{
|
|
||||||
if ((this->__vwsn_prop_State != __vwsn_value_))
|
|
||||||
{
|
|
||||||
(this->__vwsn_prop_State = __vwsn_value_);
|
|
||||||
::vl::__vwsn::EventInvoke(this->StateChanged)();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
::vl::Ptr<::vl::presentation::GuiImageData> TriplePhaseButton::GetCheckedImage()
|
|
||||||
{
|
|
||||||
return this->__vwsn_prop_CheckedImage;
|
|
||||||
}
|
|
||||||
void TriplePhaseButton::SetCheckedImage(::vl::Ptr<::vl::presentation::GuiImageData> __vwsn_value_)
|
|
||||||
{
|
|
||||||
if ((this->__vwsn_prop_CheckedImage.Obj() != __vwsn_value_.Obj()))
|
|
||||||
{
|
|
||||||
(this->__vwsn_prop_CheckedImage = __vwsn_value_);
|
|
||||||
::vl::__vwsn::EventInvoke(this->CheckedImageChanged)();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
::vl::Ptr<::vl::presentation::GuiImageData> TriplePhaseButton::GetPartialImage()
|
|
||||||
{
|
|
||||||
return this->__vwsn_prop_PartialImage;
|
|
||||||
}
|
|
||||||
void TriplePhaseButton::SetPartialImage(::vl::Ptr<::vl::presentation::GuiImageData> __vwsn_value_)
|
|
||||||
{
|
|
||||||
if ((this->__vwsn_prop_PartialImage.Obj() != __vwsn_value_.Obj()))
|
|
||||||
{
|
|
||||||
(this->__vwsn_prop_PartialImage = __vwsn_value_);
|
|
||||||
::vl::__vwsn::EventInvoke(this->PartialImageChanged)();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
TriplePhaseButton::TriplePhaseButton()
|
|
||||||
: ::vl::presentation::controls::GuiCustomControl(::vl::presentation::theme::ThemeName::CustomControl)
|
|
||||||
, __vwsn_prop_State(::TripleState::Checked)
|
|
||||||
, __vwsn_prop_CheckedImage(::vl::Ptr<::vl::presentation::GuiImageData>())
|
|
||||||
, __vwsn_prop_PartialImage(::vl::Ptr<::vl::presentation::GuiImageData>())
|
|
||||||
{
|
|
||||||
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"demo::TriplePhaseButton", false));
|
|
||||||
auto __vwsn_resolver_ = ::vl::Ptr<::vl::presentation::GuiResourcePathResolver>(new ::vl::presentation::GuiResourcePathResolver(__vwsn_resource_, ::vl::__vwsn::This(__vwsn_resource_.Obj())->GetWorkingDirectory()));
|
|
||||||
::vl::__vwsn::This(this)->SetResourceResolver(__vwsn_resolver_);
|
|
||||||
::vl::__vwsn::This(this)->__vwsn_demo_TriplePhaseButton_Initialize(this);
|
|
||||||
}
|
|
||||||
|
|
||||||
TriplePhaseButton::~TriplePhaseButton()
|
|
||||||
{
|
|
||||||
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::controls::GuiCustomControl*>(this));
|
|
||||||
}
|
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
Class (::demo::TriplePhaseImageButtonTemplate)
|
Class (::demo::TriplePhaseImageButtonTemplate)
|
||||||
***********************************************************************/
|
***********************************************************************/
|
||||||
|
|||||||
@@ -52,22 +52,27 @@ namespace vl_workflow_global
|
|||||||
class __vwsnc9_Demo_demo_TriplePhaseImageButtonTemplateConstructor___vwsn_demo_TriplePhaseImageButtonTemplate_Initialize__vl_reflection_description_IValueSubscription;
|
class __vwsnc9_Demo_demo_TriplePhaseImageButtonTemplateConstructor___vwsn_demo_TriplePhaseImageButtonTemplate_Initialize__vl_reflection_description_IValueSubscription;
|
||||||
}
|
}
|
||||||
|
|
||||||
enum class TripleState : vl::vuint64_t
|
namespace __vwsn_enums
|
||||||
{
|
{
|
||||||
Normal = 0UL,
|
enum class _TripleState : vl::vuint64_t
|
||||||
Checked = 1UL,
|
{
|
||||||
Partial = 2UL,
|
Normal = 0UL,
|
||||||
};
|
Checked = 1UL,
|
||||||
inline TripleState operator& (TripleState a, TripleState b) { return static_cast<TripleState>(static_cast<::vl::vuint64_t>(a) & static_cast<::vl::vuint64_t>(b)); }
|
Partial = 2UL,
|
||||||
inline TripleState operator| (TripleState a, TripleState b) { return static_cast<TripleState>(static_cast<::vl::vuint64_t>(a) | static_cast<::vl::vuint64_t>(b)); }
|
};
|
||||||
|
inline _TripleState operator& (_TripleState a, _TripleState b) { return static_cast<_TripleState>(static_cast<::vl::vuint64_t>(a) & static_cast<::vl::vuint64_t>(b)); }
|
||||||
|
inline _TripleState operator| (_TripleState a, _TripleState b) { return static_cast<_TripleState>(static_cast<::vl::vuint64_t>(a) | static_cast<::vl::vuint64_t>(b)); }
|
||||||
|
|
||||||
|
}
|
||||||
|
using TripleState = ::__vwsn_enums::_TripleState;
|
||||||
|
|
||||||
namespace demo
|
namespace demo
|
||||||
{
|
{
|
||||||
class MainWindowConstructor;
|
class MainWindowConstructor;
|
||||||
class TriplePhaseButtonConstructor;
|
|
||||||
class TriplePhaseImageButtonTemplateConstructor;
|
|
||||||
class MainWindow;
|
class MainWindow;
|
||||||
|
class TriplePhaseButtonConstructor;
|
||||||
class TriplePhaseButton;
|
class TriplePhaseButton;
|
||||||
|
class TriplePhaseImageButtonTemplateConstructor;
|
||||||
class TriplePhaseImageButtonTemplate;
|
class TriplePhaseImageButtonTemplate;
|
||||||
|
|
||||||
class MainWindowConstructor : public ::vl::Object, public ::vl::reflection::Description<MainWindowConstructor>
|
class MainWindowConstructor : public ::vl::Object, public ::vl::reflection::Description<MainWindowConstructor>
|
||||||
@@ -94,6 +99,22 @@ namespace demo
|
|||||||
MainWindowConstructor();
|
MainWindowConstructor();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
class MainWindow : public ::vl::presentation::controls::GuiWindow, public ::demo::MainWindowConstructor, public ::vl::reflection::Description<MainWindow>
|
||||||
|
{
|
||||||
|
friend class ::demo::MainWindowConstructor;
|
||||||
|
friend class ::vl_workflow_global::__vwsnc1_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize__vl_reflection_description_IValueSubscription;
|
||||||
|
friend class ::vl_workflow_global::__vwsnc2_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize__vl_reflection_description_IValueSubscription;
|
||||||
|
friend struct ::vl_workflow_global::__vwsnf1_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_;
|
||||||
|
friend struct ::vl_workflow_global::__vwsnf2_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_;
|
||||||
|
friend struct ::vl_workflow_global::__vwsnf3_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_;
|
||||||
|
#ifndef VCZH_DEBUG_NO_REFLECTION
|
||||||
|
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<MainWindow>;
|
||||||
|
#endif
|
||||||
|
public:
|
||||||
|
MainWindow();
|
||||||
|
~MainWindow();
|
||||||
|
};
|
||||||
|
|
||||||
class TriplePhaseButtonConstructor : public ::vl::Object, public ::vl::reflection::Description<TriplePhaseButtonConstructor>
|
class TriplePhaseButtonConstructor : public ::vl::Object, public ::vl::reflection::Description<TriplePhaseButtonConstructor>
|
||||||
{
|
{
|
||||||
friend class ::vl_workflow_global::__vwsnc3_Demo_demo_TriplePhaseButtonConstructor___vwsn_demo_TriplePhaseButton_Initialize__vl_reflection_description_IValueSubscription;
|
friend class ::vl_workflow_global::__vwsnc3_Demo_demo_TriplePhaseButtonConstructor___vwsn_demo_TriplePhaseButton_Initialize__vl_reflection_description_IValueSubscription;
|
||||||
@@ -114,6 +135,35 @@ namespace demo
|
|||||||
TriplePhaseButtonConstructor();
|
TriplePhaseButtonConstructor();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
class TriplePhaseButton : public ::vl::presentation::controls::GuiCustomControl, public ::demo::TriplePhaseButtonConstructor, public ::vl::reflection::Description<TriplePhaseButton>
|
||||||
|
{
|
||||||
|
friend class ::demo::TriplePhaseButtonConstructor;
|
||||||
|
friend class ::vl_workflow_global::__vwsnc3_Demo_demo_TriplePhaseButtonConstructor___vwsn_demo_TriplePhaseButton_Initialize__vl_reflection_description_IValueSubscription;
|
||||||
|
friend class ::vl_workflow_global::__vwsnc4_Demo_demo_TriplePhaseButtonConstructor___vwsn_demo_TriplePhaseButton_Initialize__vl_reflection_description_IValueSubscription;
|
||||||
|
friend struct ::vl_workflow_global::__vwsnf4_Demo_demo_TriplePhaseButtonConstructor___vwsn_demo_TriplePhaseButton_Initialize_;
|
||||||
|
friend struct ::vl_workflow_global::__vwsnf5_Demo_demo_TriplePhaseButtonConstructor___vwsn_demo_TriplePhaseButton_Initialize_;
|
||||||
|
friend struct ::vl_workflow_global::__vwsnf6_Demo_demo_TriplePhaseButtonConstructor___vwsn_demo_TriplePhaseButton_Initialize_;
|
||||||
|
friend struct ::vl_workflow_global::__vwsnf7_Demo_demo_TriplePhaseButtonConstructor___vwsn_demo_TriplePhaseButton_Initialize_;
|
||||||
|
#ifndef VCZH_DEBUG_NO_REFLECTION
|
||||||
|
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<TriplePhaseButton>;
|
||||||
|
#endif
|
||||||
|
public:
|
||||||
|
::TripleState __vwsn_prop_State;
|
||||||
|
::TripleState GetState();
|
||||||
|
void SetState(::TripleState __vwsn_value_);
|
||||||
|
::vl::Event<void()> StateChanged;
|
||||||
|
::vl::Ptr<::vl::presentation::GuiImageData> __vwsn_prop_CheckedImage;
|
||||||
|
::vl::Ptr<::vl::presentation::GuiImageData> GetCheckedImage();
|
||||||
|
void SetCheckedImage(::vl::Ptr<::vl::presentation::GuiImageData> __vwsn_value_);
|
||||||
|
::vl::Event<void()> CheckedImageChanged;
|
||||||
|
::vl::Ptr<::vl::presentation::GuiImageData> __vwsn_prop_PartialImage;
|
||||||
|
::vl::Ptr<::vl::presentation::GuiImageData> GetPartialImage();
|
||||||
|
void SetPartialImage(::vl::Ptr<::vl::presentation::GuiImageData> __vwsn_value_);
|
||||||
|
::vl::Event<void()> PartialImageChanged;
|
||||||
|
TriplePhaseButton();
|
||||||
|
~TriplePhaseButton();
|
||||||
|
};
|
||||||
|
|
||||||
class TriplePhaseImageButtonTemplateConstructor : public ::vl::Object, public ::vl::reflection::Description<TriplePhaseImageButtonTemplateConstructor>
|
class TriplePhaseImageButtonTemplateConstructor : public ::vl::Object, public ::vl::reflection::Description<TriplePhaseImageButtonTemplateConstructor>
|
||||||
{
|
{
|
||||||
friend class ::vl_workflow_global::__vwsnc10_Demo_demo_TriplePhaseImageButtonTemplateConstructor___vwsn_demo_TriplePhaseImageButtonTemplate_Initialize__vl_reflection_description_IValueSubscription;
|
friend class ::vl_workflow_global::__vwsnc10_Demo_demo_TriplePhaseImageButtonTemplateConstructor___vwsn_demo_TriplePhaseImageButtonTemplate_Initialize__vl_reflection_description_IValueSubscription;
|
||||||
@@ -147,51 +197,6 @@ namespace demo
|
|||||||
TriplePhaseImageButtonTemplateConstructor();
|
TriplePhaseImageButtonTemplateConstructor();
|
||||||
};
|
};
|
||||||
|
|
||||||
class MainWindow : public ::vl::presentation::controls::GuiWindow, public ::demo::MainWindowConstructor, public ::vl::reflection::Description<MainWindow>
|
|
||||||
{
|
|
||||||
friend class ::demo::MainWindowConstructor;
|
|
||||||
friend class ::vl_workflow_global::__vwsnc1_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize__vl_reflection_description_IValueSubscription;
|
|
||||||
friend class ::vl_workflow_global::__vwsnc2_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize__vl_reflection_description_IValueSubscription;
|
|
||||||
friend struct ::vl_workflow_global::__vwsnf1_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_;
|
|
||||||
friend struct ::vl_workflow_global::__vwsnf2_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_;
|
|
||||||
friend struct ::vl_workflow_global::__vwsnf3_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_;
|
|
||||||
#ifndef VCZH_DEBUG_NO_REFLECTION
|
|
||||||
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<MainWindow>;
|
|
||||||
#endif
|
|
||||||
public:
|
|
||||||
MainWindow();
|
|
||||||
~MainWindow();
|
|
||||||
};
|
|
||||||
|
|
||||||
class TriplePhaseButton : public ::vl::presentation::controls::GuiCustomControl, public ::demo::TriplePhaseButtonConstructor, public ::vl::reflection::Description<TriplePhaseButton>
|
|
||||||
{
|
|
||||||
friend class ::demo::TriplePhaseButtonConstructor;
|
|
||||||
friend class ::vl_workflow_global::__vwsnc3_Demo_demo_TriplePhaseButtonConstructor___vwsn_demo_TriplePhaseButton_Initialize__vl_reflection_description_IValueSubscription;
|
|
||||||
friend class ::vl_workflow_global::__vwsnc4_Demo_demo_TriplePhaseButtonConstructor___vwsn_demo_TriplePhaseButton_Initialize__vl_reflection_description_IValueSubscription;
|
|
||||||
friend struct ::vl_workflow_global::__vwsnf4_Demo_demo_TriplePhaseButtonConstructor___vwsn_demo_TriplePhaseButton_Initialize_;
|
|
||||||
friend struct ::vl_workflow_global::__vwsnf5_Demo_demo_TriplePhaseButtonConstructor___vwsn_demo_TriplePhaseButton_Initialize_;
|
|
||||||
friend struct ::vl_workflow_global::__vwsnf6_Demo_demo_TriplePhaseButtonConstructor___vwsn_demo_TriplePhaseButton_Initialize_;
|
|
||||||
friend struct ::vl_workflow_global::__vwsnf7_Demo_demo_TriplePhaseButtonConstructor___vwsn_demo_TriplePhaseButton_Initialize_;
|
|
||||||
#ifndef VCZH_DEBUG_NO_REFLECTION
|
|
||||||
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<TriplePhaseButton>;
|
|
||||||
#endif
|
|
||||||
public:
|
|
||||||
::TripleState __vwsn_prop_State;
|
|
||||||
::TripleState GetState();
|
|
||||||
void SetState(::TripleState __vwsn_value_);
|
|
||||||
::vl::Event<void()> StateChanged;
|
|
||||||
::vl::Ptr<::vl::presentation::GuiImageData> __vwsn_prop_CheckedImage;
|
|
||||||
::vl::Ptr<::vl::presentation::GuiImageData> GetCheckedImage();
|
|
||||||
void SetCheckedImage(::vl::Ptr<::vl::presentation::GuiImageData> __vwsn_value_);
|
|
||||||
::vl::Event<void()> CheckedImageChanged;
|
|
||||||
::vl::Ptr<::vl::presentation::GuiImageData> __vwsn_prop_PartialImage;
|
|
||||||
::vl::Ptr<::vl::presentation::GuiImageData> GetPartialImage();
|
|
||||||
void SetPartialImage(::vl::Ptr<::vl::presentation::GuiImageData> __vwsn_value_);
|
|
||||||
::vl::Event<void()> PartialImageChanged;
|
|
||||||
TriplePhaseButton();
|
|
||||||
~TriplePhaseButton();
|
|
||||||
};
|
|
||||||
|
|
||||||
class TriplePhaseImageButtonTemplate : public ::vl::presentation::templates::GuiButtonTemplate, public ::demo::TriplePhaseImageButtonTemplateConstructor, public ::vl::reflection::Description<TriplePhaseImageButtonTemplate>
|
class TriplePhaseImageButtonTemplate : public ::vl::presentation::templates::GuiButtonTemplate, public ::demo::TriplePhaseImageButtonTemplateConstructor, public ::vl::reflection::Description<TriplePhaseImageButtonTemplate>
|
||||||
{
|
{
|
||||||
friend class ::demo::TriplePhaseImageButtonTemplateConstructor;
|
friend class ::demo::TriplePhaseImageButtonTemplateConstructor;
|
||||||
|
|||||||
@@ -42,15 +42,15 @@ namespace vl_workflow_global
|
|||||||
namespace helloworld
|
namespace helloworld
|
||||||
{
|
{
|
||||||
class MainWindowConstructor;
|
class MainWindowConstructor;
|
||||||
|
class MainWindow;
|
||||||
}
|
}
|
||||||
namespace vm
|
namespace vm
|
||||||
{
|
{
|
||||||
class IViewModel;
|
class IViewModel;
|
||||||
|
|
||||||
}
|
}
|
||||||
namespace helloworld
|
namespace helloworld
|
||||||
{
|
{
|
||||||
class MainWindow;
|
|
||||||
|
|
||||||
class MainWindowConstructor : public ::vl::Object, public ::vl::reflection::Description<MainWindowConstructor>
|
class MainWindowConstructor : public ::vl::Object, public ::vl::reflection::Description<MainWindowConstructor>
|
||||||
{
|
{
|
||||||
friend class ::vl_workflow_global::__vwsnc1_HelloWorld_helloworld_MainWindowConstructor___vwsn_helloworld_MainWindow_Initialize__vl_reflection_description_IValueSubscription;
|
friend class ::vl_workflow_global::__vwsnc1_HelloWorld_helloworld_MainWindowConstructor___vwsn_helloworld_MainWindow_Initialize__vl_reflection_description_IValueSubscription;
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
@@ -1064,6 +1064,24 @@ namespace demo
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
Class (::demo::MainWindow)
|
||||||
|
***********************************************************************/
|
||||||
|
|
||||||
|
MainWindow::MainWindow()
|
||||||
|
: ::vl::presentation::controls::GuiWindow(::vl::presentation::theme::ThemeName::Window)
|
||||||
|
{
|
||||||
|
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"demo::MainWindow", false));
|
||||||
|
auto __vwsn_resolver_ = ::vl::Ptr<::vl::presentation::GuiResourcePathResolver>(new ::vl::presentation::GuiResourcePathResolver(__vwsn_resource_, ::vl::__vwsn::This(__vwsn_resource_.Obj())->GetWorkingDirectory()));
|
||||||
|
::vl::__vwsn::This(this)->SetResourceResolver(__vwsn_resolver_);
|
||||||
|
::vl::__vwsn::This(this)->__vwsn_demo_MainWindow_Initialize(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
MainWindow::~MainWindow()
|
||||||
|
{
|
||||||
|
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::controls::GuiControlHost*>(this));
|
||||||
|
}
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
Class (::demo::ResponsiveGroupControlConstructor)
|
Class (::demo::ResponsiveGroupControlConstructor)
|
||||||
***********************************************************************/
|
***********************************************************************/
|
||||||
@@ -1438,6 +1456,24 @@ Class (::demo::ResponsiveGroupControlConstructor)
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
Class (::demo::ResponsiveGroupControl)
|
||||||
|
***********************************************************************/
|
||||||
|
|
||||||
|
ResponsiveGroupControl::ResponsiveGroupControl()
|
||||||
|
: ::vl::presentation::controls::GuiCustomControl(::vl::presentation::theme::ThemeName::CustomControl)
|
||||||
|
{
|
||||||
|
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"demo::ResponsiveGroupControl", false));
|
||||||
|
auto __vwsn_resolver_ = ::vl::Ptr<::vl::presentation::GuiResourcePathResolver>(new ::vl::presentation::GuiResourcePathResolver(__vwsn_resource_, ::vl::__vwsn::This(__vwsn_resource_.Obj())->GetWorkingDirectory()));
|
||||||
|
::vl::__vwsn::This(this)->SetResourceResolver(__vwsn_resolver_);
|
||||||
|
::vl::__vwsn::This(this)->__vwsn_demo_ResponsiveGroupControl_Initialize(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
ResponsiveGroupControl::~ResponsiveGroupControl()
|
||||||
|
{
|
||||||
|
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::controls::GuiCustomControl*>(this));
|
||||||
|
}
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
Class (::demo::ResponsiveStackControlConstructor)
|
Class (::demo::ResponsiveStackControlConstructor)
|
||||||
***********************************************************************/
|
***********************************************************************/
|
||||||
@@ -1812,6 +1848,24 @@ Class (::demo::ResponsiveStackControlConstructor)
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
Class (::demo::ResponsiveStackControl)
|
||||||
|
***********************************************************************/
|
||||||
|
|
||||||
|
ResponsiveStackControl::ResponsiveStackControl()
|
||||||
|
: ::vl::presentation::controls::GuiCustomControl(::vl::presentation::theme::ThemeName::CustomControl)
|
||||||
|
{
|
||||||
|
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"demo::ResponsiveStackControl", false));
|
||||||
|
auto __vwsn_resolver_ = ::vl::Ptr<::vl::presentation::GuiResourcePathResolver>(new ::vl::presentation::GuiResourcePathResolver(__vwsn_resource_, ::vl::__vwsn::This(__vwsn_resource_.Obj())->GetWorkingDirectory()));
|
||||||
|
::vl::__vwsn::This(this)->SetResourceResolver(__vwsn_resolver_);
|
||||||
|
::vl::__vwsn::This(this)->__vwsn_demo_ResponsiveStackControl_Initialize(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
ResponsiveStackControl::~ResponsiveStackControl()
|
||||||
|
{
|
||||||
|
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::controls::GuiCustomControl*>(this));
|
||||||
|
}
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
Class (::demo::ResponsiveViewControlConstructor)
|
Class (::demo::ResponsiveViewControlConstructor)
|
||||||
***********************************************************************/
|
***********************************************************************/
|
||||||
@@ -2207,60 +2261,6 @@ Class (::demo::ResponsiveViewControlConstructor)
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
/***********************************************************************
|
|
||||||
Class (::demo::MainWindow)
|
|
||||||
***********************************************************************/
|
|
||||||
|
|
||||||
MainWindow::MainWindow()
|
|
||||||
: ::vl::presentation::controls::GuiWindow(::vl::presentation::theme::ThemeName::Window)
|
|
||||||
{
|
|
||||||
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"demo::MainWindow", false));
|
|
||||||
auto __vwsn_resolver_ = ::vl::Ptr<::vl::presentation::GuiResourcePathResolver>(new ::vl::presentation::GuiResourcePathResolver(__vwsn_resource_, ::vl::__vwsn::This(__vwsn_resource_.Obj())->GetWorkingDirectory()));
|
|
||||||
::vl::__vwsn::This(this)->SetResourceResolver(__vwsn_resolver_);
|
|
||||||
::vl::__vwsn::This(this)->__vwsn_demo_MainWindow_Initialize(this);
|
|
||||||
}
|
|
||||||
|
|
||||||
MainWindow::~MainWindow()
|
|
||||||
{
|
|
||||||
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::controls::GuiControlHost*>(this));
|
|
||||||
}
|
|
||||||
|
|
||||||
/***********************************************************************
|
|
||||||
Class (::demo::ResponsiveGroupControl)
|
|
||||||
***********************************************************************/
|
|
||||||
|
|
||||||
ResponsiveGroupControl::ResponsiveGroupControl()
|
|
||||||
: ::vl::presentation::controls::GuiCustomControl(::vl::presentation::theme::ThemeName::CustomControl)
|
|
||||||
{
|
|
||||||
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"demo::ResponsiveGroupControl", false));
|
|
||||||
auto __vwsn_resolver_ = ::vl::Ptr<::vl::presentation::GuiResourcePathResolver>(new ::vl::presentation::GuiResourcePathResolver(__vwsn_resource_, ::vl::__vwsn::This(__vwsn_resource_.Obj())->GetWorkingDirectory()));
|
|
||||||
::vl::__vwsn::This(this)->SetResourceResolver(__vwsn_resolver_);
|
|
||||||
::vl::__vwsn::This(this)->__vwsn_demo_ResponsiveGroupControl_Initialize(this);
|
|
||||||
}
|
|
||||||
|
|
||||||
ResponsiveGroupControl::~ResponsiveGroupControl()
|
|
||||||
{
|
|
||||||
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::controls::GuiCustomControl*>(this));
|
|
||||||
}
|
|
||||||
|
|
||||||
/***********************************************************************
|
|
||||||
Class (::demo::ResponsiveStackControl)
|
|
||||||
***********************************************************************/
|
|
||||||
|
|
||||||
ResponsiveStackControl::ResponsiveStackControl()
|
|
||||||
: ::vl::presentation::controls::GuiCustomControl(::vl::presentation::theme::ThemeName::CustomControl)
|
|
||||||
{
|
|
||||||
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"demo::ResponsiveStackControl", false));
|
|
||||||
auto __vwsn_resolver_ = ::vl::Ptr<::vl::presentation::GuiResourcePathResolver>(new ::vl::presentation::GuiResourcePathResolver(__vwsn_resource_, ::vl::__vwsn::This(__vwsn_resource_.Obj())->GetWorkingDirectory()));
|
|
||||||
::vl::__vwsn::This(this)->SetResourceResolver(__vwsn_resolver_);
|
|
||||||
::vl::__vwsn::This(this)->__vwsn_demo_ResponsiveStackControl_Initialize(this);
|
|
||||||
}
|
|
||||||
|
|
||||||
ResponsiveStackControl::~ResponsiveStackControl()
|
|
||||||
{
|
|
||||||
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::controls::GuiCustomControl*>(this));
|
|
||||||
}
|
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
Class (::demo::ResponsiveViewControl)
|
Class (::demo::ResponsiveViewControl)
|
||||||
***********************************************************************/
|
***********************************************************************/
|
||||||
|
|||||||
@@ -56,12 +56,12 @@ namespace vl_workflow_global
|
|||||||
namespace demo
|
namespace demo
|
||||||
{
|
{
|
||||||
class MainWindowConstructor;
|
class MainWindowConstructor;
|
||||||
class ResponsiveGroupControlConstructor;
|
|
||||||
class ResponsiveStackControlConstructor;
|
|
||||||
class ResponsiveViewControlConstructor;
|
|
||||||
class MainWindow;
|
class MainWindow;
|
||||||
|
class ResponsiveGroupControlConstructor;
|
||||||
class ResponsiveGroupControl;
|
class ResponsiveGroupControl;
|
||||||
|
class ResponsiveStackControlConstructor;
|
||||||
class ResponsiveStackControl;
|
class ResponsiveStackControl;
|
||||||
|
class ResponsiveViewControlConstructor;
|
||||||
class ResponsiveViewControl;
|
class ResponsiveViewControl;
|
||||||
|
|
||||||
class MainWindowConstructor : public ::vl::Object, public ::vl::reflection::Description<MainWindowConstructor>
|
class MainWindowConstructor : public ::vl::Object, public ::vl::reflection::Description<MainWindowConstructor>
|
||||||
@@ -93,6 +93,17 @@ namespace demo
|
|||||||
MainWindowConstructor();
|
MainWindowConstructor();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
class MainWindow : public ::vl::presentation::controls::GuiWindow, public ::demo::MainWindowConstructor, public ::vl::reflection::Description<MainWindow>
|
||||||
|
{
|
||||||
|
friend class ::demo::MainWindowConstructor;
|
||||||
|
#ifndef VCZH_DEBUG_NO_REFLECTION
|
||||||
|
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<MainWindow>;
|
||||||
|
#endif
|
||||||
|
public:
|
||||||
|
MainWindow();
|
||||||
|
~MainWindow();
|
||||||
|
};
|
||||||
|
|
||||||
class ResponsiveGroupControlConstructor : public ::vl::Object, public ::vl::reflection::Description<ResponsiveGroupControlConstructor>
|
class ResponsiveGroupControlConstructor : public ::vl::Object, public ::vl::reflection::Description<ResponsiveGroupControlConstructor>
|
||||||
{
|
{
|
||||||
friend class ::vl_workflow_global::__vwsnc1_Demo_demo_ResponsiveGroupControlConstructor___vwsn_demo_ResponsiveGroupControl_Initialize__vl_reflection_description_IValueSubscription;
|
friend class ::vl_workflow_global::__vwsnc1_Demo_demo_ResponsiveGroupControlConstructor___vwsn_demo_ResponsiveGroupControl_Initialize__vl_reflection_description_IValueSubscription;
|
||||||
@@ -153,6 +164,23 @@ namespace demo
|
|||||||
ResponsiveGroupControlConstructor();
|
ResponsiveGroupControlConstructor();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
class ResponsiveGroupControl : public ::vl::presentation::controls::GuiCustomControl, public ::demo::ResponsiveGroupControlConstructor, public ::vl::reflection::Description<ResponsiveGroupControl>
|
||||||
|
{
|
||||||
|
friend class ::demo::ResponsiveGroupControlConstructor;
|
||||||
|
friend class ::vl_workflow_global::__vwsnc1_Demo_demo_ResponsiveGroupControlConstructor___vwsn_demo_ResponsiveGroupControl_Initialize__vl_reflection_description_IValueSubscription;
|
||||||
|
friend class ::vl_workflow_global::__vwsnc2_Demo_demo_ResponsiveGroupControlConstructor___vwsn_demo_ResponsiveGroupControl_Initialize__vl_reflection_description_IValueSubscription;
|
||||||
|
friend struct ::vl_workflow_global::__vwsnf1_Demo_demo_ResponsiveGroupControlConstructor___vwsn_demo_ResponsiveGroupControl_Initialize_;
|
||||||
|
friend struct ::vl_workflow_global::__vwsnf2_Demo_demo_ResponsiveGroupControlConstructor___vwsn_demo_ResponsiveGroupControl_Initialize_;
|
||||||
|
friend struct ::vl_workflow_global::__vwsnf3_Demo_demo_ResponsiveGroupControlConstructor___vwsn_demo_ResponsiveGroupControl_Initialize_;
|
||||||
|
friend struct ::vl_workflow_global::__vwsnf4_Demo_demo_ResponsiveGroupControlConstructor___vwsn_demo_ResponsiveGroupControl_Initialize_;
|
||||||
|
#ifndef VCZH_DEBUG_NO_REFLECTION
|
||||||
|
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<ResponsiveGroupControl>;
|
||||||
|
#endif
|
||||||
|
public:
|
||||||
|
ResponsiveGroupControl();
|
||||||
|
~ResponsiveGroupControl();
|
||||||
|
};
|
||||||
|
|
||||||
class ResponsiveStackControlConstructor : public ::vl::Object, public ::vl::reflection::Description<ResponsiveStackControlConstructor>
|
class ResponsiveStackControlConstructor : public ::vl::Object, public ::vl::reflection::Description<ResponsiveStackControlConstructor>
|
||||||
{
|
{
|
||||||
friend class ::vl_workflow_global::__vwsnc3_Demo_demo_ResponsiveStackControlConstructor___vwsn_demo_ResponsiveStackControl_Initialize__vl_reflection_description_IValueSubscription;
|
friend class ::vl_workflow_global::__vwsnc3_Demo_demo_ResponsiveStackControlConstructor___vwsn_demo_ResponsiveStackControl_Initialize__vl_reflection_description_IValueSubscription;
|
||||||
@@ -213,6 +241,23 @@ namespace demo
|
|||||||
ResponsiveStackControlConstructor();
|
ResponsiveStackControlConstructor();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
class ResponsiveStackControl : public ::vl::presentation::controls::GuiCustomControl, public ::demo::ResponsiveStackControlConstructor, public ::vl::reflection::Description<ResponsiveStackControl>
|
||||||
|
{
|
||||||
|
friend class ::demo::ResponsiveStackControlConstructor;
|
||||||
|
friend class ::vl_workflow_global::__vwsnc3_Demo_demo_ResponsiveStackControlConstructor___vwsn_demo_ResponsiveStackControl_Initialize__vl_reflection_description_IValueSubscription;
|
||||||
|
friend class ::vl_workflow_global::__vwsnc4_Demo_demo_ResponsiveStackControlConstructor___vwsn_demo_ResponsiveStackControl_Initialize__vl_reflection_description_IValueSubscription;
|
||||||
|
friend struct ::vl_workflow_global::__vwsnf5_Demo_demo_ResponsiveStackControlConstructor___vwsn_demo_ResponsiveStackControl_Initialize_;
|
||||||
|
friend struct ::vl_workflow_global::__vwsnf6_Demo_demo_ResponsiveStackControlConstructor___vwsn_demo_ResponsiveStackControl_Initialize_;
|
||||||
|
friend struct ::vl_workflow_global::__vwsnf7_Demo_demo_ResponsiveStackControlConstructor___vwsn_demo_ResponsiveStackControl_Initialize_;
|
||||||
|
friend struct ::vl_workflow_global::__vwsnf8_Demo_demo_ResponsiveStackControlConstructor___vwsn_demo_ResponsiveStackControl_Initialize_;
|
||||||
|
#ifndef VCZH_DEBUG_NO_REFLECTION
|
||||||
|
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<ResponsiveStackControl>;
|
||||||
|
#endif
|
||||||
|
public:
|
||||||
|
ResponsiveStackControl();
|
||||||
|
~ResponsiveStackControl();
|
||||||
|
};
|
||||||
|
|
||||||
class ResponsiveViewControlConstructor : public ::vl::Object, public ::vl::reflection::Description<ResponsiveViewControlConstructor>
|
class ResponsiveViewControlConstructor : public ::vl::Object, public ::vl::reflection::Description<ResponsiveViewControlConstructor>
|
||||||
{
|
{
|
||||||
friend class ::vl_workflow_global::__vwsnc10_Demo_demo_ResponsiveViewControlConstructor___vwsn_demo_ResponsiveViewControl_Initialize__vl_reflection_description_IValueSubscription;
|
friend class ::vl_workflow_global::__vwsnc10_Demo_demo_ResponsiveViewControlConstructor___vwsn_demo_ResponsiveViewControl_Initialize__vl_reflection_description_IValueSubscription;
|
||||||
@@ -277,51 +322,6 @@ namespace demo
|
|||||||
ResponsiveViewControlConstructor();
|
ResponsiveViewControlConstructor();
|
||||||
};
|
};
|
||||||
|
|
||||||
class MainWindow : public ::vl::presentation::controls::GuiWindow, public ::demo::MainWindowConstructor, public ::vl::reflection::Description<MainWindow>
|
|
||||||
{
|
|
||||||
friend class ::demo::MainWindowConstructor;
|
|
||||||
#ifndef VCZH_DEBUG_NO_REFLECTION
|
|
||||||
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<MainWindow>;
|
|
||||||
#endif
|
|
||||||
public:
|
|
||||||
MainWindow();
|
|
||||||
~MainWindow();
|
|
||||||
};
|
|
||||||
|
|
||||||
class ResponsiveGroupControl : public ::vl::presentation::controls::GuiCustomControl, public ::demo::ResponsiveGroupControlConstructor, public ::vl::reflection::Description<ResponsiveGroupControl>
|
|
||||||
{
|
|
||||||
friend class ::demo::ResponsiveGroupControlConstructor;
|
|
||||||
friend class ::vl_workflow_global::__vwsnc1_Demo_demo_ResponsiveGroupControlConstructor___vwsn_demo_ResponsiveGroupControl_Initialize__vl_reflection_description_IValueSubscription;
|
|
||||||
friend class ::vl_workflow_global::__vwsnc2_Demo_demo_ResponsiveGroupControlConstructor___vwsn_demo_ResponsiveGroupControl_Initialize__vl_reflection_description_IValueSubscription;
|
|
||||||
friend struct ::vl_workflow_global::__vwsnf1_Demo_demo_ResponsiveGroupControlConstructor___vwsn_demo_ResponsiveGroupControl_Initialize_;
|
|
||||||
friend struct ::vl_workflow_global::__vwsnf2_Demo_demo_ResponsiveGroupControlConstructor___vwsn_demo_ResponsiveGroupControl_Initialize_;
|
|
||||||
friend struct ::vl_workflow_global::__vwsnf3_Demo_demo_ResponsiveGroupControlConstructor___vwsn_demo_ResponsiveGroupControl_Initialize_;
|
|
||||||
friend struct ::vl_workflow_global::__vwsnf4_Demo_demo_ResponsiveGroupControlConstructor___vwsn_demo_ResponsiveGroupControl_Initialize_;
|
|
||||||
#ifndef VCZH_DEBUG_NO_REFLECTION
|
|
||||||
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<ResponsiveGroupControl>;
|
|
||||||
#endif
|
|
||||||
public:
|
|
||||||
ResponsiveGroupControl();
|
|
||||||
~ResponsiveGroupControl();
|
|
||||||
};
|
|
||||||
|
|
||||||
class ResponsiveStackControl : public ::vl::presentation::controls::GuiCustomControl, public ::demo::ResponsiveStackControlConstructor, public ::vl::reflection::Description<ResponsiveStackControl>
|
|
||||||
{
|
|
||||||
friend class ::demo::ResponsiveStackControlConstructor;
|
|
||||||
friend class ::vl_workflow_global::__vwsnc3_Demo_demo_ResponsiveStackControlConstructor___vwsn_demo_ResponsiveStackControl_Initialize__vl_reflection_description_IValueSubscription;
|
|
||||||
friend class ::vl_workflow_global::__vwsnc4_Demo_demo_ResponsiveStackControlConstructor___vwsn_demo_ResponsiveStackControl_Initialize__vl_reflection_description_IValueSubscription;
|
|
||||||
friend struct ::vl_workflow_global::__vwsnf5_Demo_demo_ResponsiveStackControlConstructor___vwsn_demo_ResponsiveStackControl_Initialize_;
|
|
||||||
friend struct ::vl_workflow_global::__vwsnf6_Demo_demo_ResponsiveStackControlConstructor___vwsn_demo_ResponsiveStackControl_Initialize_;
|
|
||||||
friend struct ::vl_workflow_global::__vwsnf7_Demo_demo_ResponsiveStackControlConstructor___vwsn_demo_ResponsiveStackControl_Initialize_;
|
|
||||||
friend struct ::vl_workflow_global::__vwsnf8_Demo_demo_ResponsiveStackControlConstructor___vwsn_demo_ResponsiveStackControl_Initialize_;
|
|
||||||
#ifndef VCZH_DEBUG_NO_REFLECTION
|
|
||||||
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<ResponsiveStackControl>;
|
|
||||||
#endif
|
|
||||||
public:
|
|
||||||
ResponsiveStackControl();
|
|
||||||
~ResponsiveStackControl();
|
|
||||||
};
|
|
||||||
|
|
||||||
class ResponsiveViewControl : public ::vl::presentation::controls::GuiCustomControl, public ::demo::ResponsiveViewControlConstructor, public ::vl::reflection::Description<ResponsiveViewControl>
|
class ResponsiveViewControl : public ::vl::presentation::controls::GuiCustomControl, public ::demo::ResponsiveViewControlConstructor, public ::vl::reflection::Description<ResponsiveViewControl>
|
||||||
{
|
{
|
||||||
friend class ::demo::ResponsiveViewControlConstructor;
|
friend class ::demo::ResponsiveViewControlConstructor;
|
||||||
|
|||||||
@@ -1450,6 +1450,37 @@ namespace demo
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
Class (::demo::AccountButtonTemplate)
|
||||||
|
***********************************************************************/
|
||||||
|
|
||||||
|
::vl::Ptr<::demo::AccountButtonViewModel> AccountButtonTemplate::GetViewModel()
|
||||||
|
{
|
||||||
|
return this->__vwsn_prop_ViewModel;
|
||||||
|
}
|
||||||
|
void AccountButtonTemplate::SetViewModel(::vl::Ptr<::demo::AccountButtonViewModel> __vwsn_value_)
|
||||||
|
{
|
||||||
|
if ((this->__vwsn_prop_ViewModel.Obj() != __vwsn_value_.Obj()))
|
||||||
|
{
|
||||||
|
(this->__vwsn_prop_ViewModel = __vwsn_value_);
|
||||||
|
::vl::__vwsn::EventInvoke(this->ViewModelChanged)();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
AccountButtonTemplate::AccountButtonTemplate()
|
||||||
|
: __vwsn_prop_ViewModel(::vl::Ptr<::demo::AccountButtonViewModel>())
|
||||||
|
{
|
||||||
|
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"demo::AccountButtonTemplate", false));
|
||||||
|
auto __vwsn_resolver_ = ::vl::Ptr<::vl::presentation::GuiResourcePathResolver>(new ::vl::presentation::GuiResourcePathResolver(__vwsn_resource_, ::vl::__vwsn::This(__vwsn_resource_.Obj())->GetWorkingDirectory()));
|
||||||
|
::vl::__vwsn::This(this)->SetResourceResolver(__vwsn_resolver_);
|
||||||
|
::vl::__vwsn::This(this)->__vwsn_demo_AccountButtonTemplate_Initialize(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
AccountButtonTemplate::~AccountButtonTemplate()
|
||||||
|
{
|
||||||
|
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::templates::GuiTemplate*>(this));
|
||||||
|
}
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
Class (::demo::AccountButtonViewModel)
|
Class (::demo::AccountButtonViewModel)
|
||||||
***********************************************************************/
|
***********************************************************************/
|
||||||
@@ -1546,6 +1577,30 @@ Class (::demo::AccountItemTemplateConstructor)
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
Class (::demo::AccountItemTemplate)
|
||||||
|
***********************************************************************/
|
||||||
|
|
||||||
|
::vl::Ptr<::demo::AccountButtonViewModel> AccountItemTemplate::GetViewModel()
|
||||||
|
{
|
||||||
|
return this->__vwsn_parameter_ViewModel;
|
||||||
|
}
|
||||||
|
|
||||||
|
AccountItemTemplate::AccountItemTemplate(::vl::Ptr<::demo::AccountButtonViewModel> __vwsn_ctor_parameter_ViewModel)
|
||||||
|
: __vwsn_parameter_ViewModel(::vl::Ptr<::demo::AccountButtonViewModel>())
|
||||||
|
{
|
||||||
|
(this->__vwsn_parameter_ViewModel = __vwsn_ctor_parameter_ViewModel);
|
||||||
|
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"demo::AccountItemTemplate", false));
|
||||||
|
auto __vwsn_resolver_ = ::vl::Ptr<::vl::presentation::GuiResourcePathResolver>(new ::vl::presentation::GuiResourcePathResolver(__vwsn_resource_, ::vl::__vwsn::This(__vwsn_resource_.Obj())->GetWorkingDirectory()));
|
||||||
|
::vl::__vwsn::This(this)->SetResourceResolver(__vwsn_resolver_);
|
||||||
|
::vl::__vwsn::This(this)->__vwsn_demo_AccountItemTemplate_Initialize(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
AccountItemTemplate::~AccountItemTemplate()
|
||||||
|
{
|
||||||
|
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::templates::GuiTemplate*>(this));
|
||||||
|
}
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
Class (::demo::AccountMenuItemTemplateConstructor)
|
Class (::demo::AccountMenuItemTemplateConstructor)
|
||||||
***********************************************************************/
|
***********************************************************************/
|
||||||
@@ -1585,6 +1640,30 @@ Class (::demo::AccountMenuItemTemplateConstructor)
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
Class (::demo::AccountMenuItemTemplate)
|
||||||
|
***********************************************************************/
|
||||||
|
|
||||||
|
::vl::Ptr<::demo::AccountButtonViewModel> AccountMenuItemTemplate::GetViewModel()
|
||||||
|
{
|
||||||
|
return this->__vwsn_parameter_ViewModel;
|
||||||
|
}
|
||||||
|
|
||||||
|
AccountMenuItemTemplate::AccountMenuItemTemplate(::vl::Ptr<::demo::AccountButtonViewModel> __vwsn_ctor_parameter_ViewModel)
|
||||||
|
: __vwsn_parameter_ViewModel(::vl::Ptr<::demo::AccountButtonViewModel>())
|
||||||
|
{
|
||||||
|
(this->__vwsn_parameter_ViewModel = __vwsn_ctor_parameter_ViewModel);
|
||||||
|
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"demo::AccountMenuItemTemplate", false));
|
||||||
|
auto __vwsn_resolver_ = ::vl::Ptr<::vl::presentation::GuiResourcePathResolver>(new ::vl::presentation::GuiResourcePathResolver(__vwsn_resource_, ::vl::__vwsn::This(__vwsn_resource_.Obj())->GetWorkingDirectory()));
|
||||||
|
::vl::__vwsn::This(this)->SetResourceResolver(__vwsn_resolver_);
|
||||||
|
::vl::__vwsn::This(this)->__vwsn_demo_AccountMenuItemTemplate_Initialize(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
AccountMenuItemTemplate::~AccountMenuItemTemplate()
|
||||||
|
{
|
||||||
|
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::templates::GuiTemplate*>(this));
|
||||||
|
}
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
Class (::demo::MainWindowConstructor)
|
Class (::demo::MainWindowConstructor)
|
||||||
***********************************************************************/
|
***********************************************************************/
|
||||||
@@ -1847,6 +1926,63 @@ Class (::demo::MainWindowConstructor)
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
Class (::demo::MainWindow)
|
||||||
|
***********************************************************************/
|
||||||
|
|
||||||
|
MainWindow::MainWindow()
|
||||||
|
: ::vl::presentation::controls::GuiWindow(::vl::presentation::theme::ThemeName::Window)
|
||||||
|
, accounts(::vl::reflection::description::IValueObservableList::Create())
|
||||||
|
, videos(::vl::reflection::description::IValueObservableList::Create())
|
||||||
|
{
|
||||||
|
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"demo::MainWindow", false));
|
||||||
|
auto __vwsn_resolver_ = ::vl::Ptr<::vl::presentation::GuiResourcePathResolver>(new ::vl::presentation::GuiResourcePathResolver(__vwsn_resource_, ::vl::__vwsn::This(__vwsn_resource_.Obj())->GetWorkingDirectory()));
|
||||||
|
::vl::__vwsn::This(this)->SetResourceResolver(__vwsn_resolver_);
|
||||||
|
::vl::__vwsn::This(this)->__vwsn_demo_MainWindow_Initialize(this);
|
||||||
|
this->__vwsn_instance_ctor_();
|
||||||
|
}
|
||||||
|
|
||||||
|
void MainWindow::__vwsn_instance_ctor_()
|
||||||
|
{
|
||||||
|
{
|
||||||
|
auto __vwsn_for_begin_i = static_cast<::vl::vint>(1);
|
||||||
|
auto __vwsn_for_end_i = static_cast<::vl::vint>(8);
|
||||||
|
auto i = __vwsn_for_begin_i;
|
||||||
|
while ((i <= __vwsn_for_end_i))
|
||||||
|
{
|
||||||
|
{
|
||||||
|
auto item = ::vl::Ptr<::demo::AccountButtonViewModel>(new ::demo::AccountButtonViewModel());
|
||||||
|
::vl::__vwsn::This(item.Obj())->SetController(static_cast<::vl::presentation::controls::GuiSelectableButton::GroupController*>(::vl::__vwsn::This(this->self)->accountController));
|
||||||
|
::vl::__vwsn::This(item.Obj())->SetName(::vl::reflection::description::Sys::LoremIpsumTitle(static_cast<::vl::vint>(20)));
|
||||||
|
::vl::__vwsn::This(item.Obj())->SetImage(::vl::__vwsn::This(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(this->self)->ResolveResource(::vl::WString(L"res", false), (::vl::WString(L"Images/_", false) + ::vl::__vwsn::ToString(i)), true).Obj())).Obj())->GetImage());
|
||||||
|
::vl::__vwsn::This(::vl::__vwsn::This(this->self)->accounts.Obj())->Add(::vl::__vwsn::Box(item));
|
||||||
|
}
|
||||||
|
(i = (i + static_cast<::vl::vint>(1)));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{
|
||||||
|
auto __vwsn_for_begin_i = (static_cast<::vl::vint>(0) + static_cast<::vl::vint>(1));
|
||||||
|
auto __vwsn_for_end_i = (static_cast<::vl::vint>(20) - static_cast<::vl::vint>(1));
|
||||||
|
auto i = __vwsn_for_begin_i;
|
||||||
|
while ((i <= __vwsn_for_end_i))
|
||||||
|
{
|
||||||
|
{
|
||||||
|
auto item = ::vl::Ptr<::demo::VideoViewModel>(new ::demo::VideoViewModel());
|
||||||
|
::vl::__vwsn::This(item.Obj())->SetAuthor(::vl::reflection::description::Sys::LoremIpsumTitle(static_cast<::vl::vint>(16)));
|
||||||
|
::vl::__vwsn::This(item.Obj())->SetTitle(::vl::reflection::description::Sys::LoremIpsumTitle(static_cast<::vl::vint>(80)));
|
||||||
|
::vl::__vwsn::This(item.Obj())->SetFont(::vl::__vwsn::This(this->self)->GetFont());
|
||||||
|
::vl::__vwsn::This(::vl::__vwsn::This(this->self)->videos.Obj())->Add(::vl::__vwsn::Box(item));
|
||||||
|
}
|
||||||
|
(i = (i + static_cast<::vl::vint>(1)));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
MainWindow::~MainWindow()
|
||||||
|
{
|
||||||
|
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::controls::GuiControlHost*>(this));
|
||||||
|
}
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
Class (::demo::VideoItemTemplateConstructor)
|
Class (::demo::VideoItemTemplateConstructor)
|
||||||
***********************************************************************/
|
***********************************************************************/
|
||||||
@@ -1993,6 +2129,30 @@ Class (::demo::VideoItemTemplateConstructor)
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
Class (::demo::VideoItemTemplate)
|
||||||
|
***********************************************************************/
|
||||||
|
|
||||||
|
::vl::Ptr<::demo::VideoViewModel> VideoItemTemplate::GetViewModel()
|
||||||
|
{
|
||||||
|
return this->__vwsn_parameter_ViewModel;
|
||||||
|
}
|
||||||
|
|
||||||
|
VideoItemTemplate::VideoItemTemplate(::vl::Ptr<::demo::VideoViewModel> __vwsn_ctor_parameter_ViewModel)
|
||||||
|
: __vwsn_parameter_ViewModel(::vl::Ptr<::demo::VideoViewModel>())
|
||||||
|
{
|
||||||
|
(this->__vwsn_parameter_ViewModel = __vwsn_ctor_parameter_ViewModel);
|
||||||
|
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"demo::VideoItemTemplate", false));
|
||||||
|
auto __vwsn_resolver_ = ::vl::Ptr<::vl::presentation::GuiResourcePathResolver>(new ::vl::presentation::GuiResourcePathResolver(__vwsn_resource_, ::vl::__vwsn::This(__vwsn_resource_.Obj())->GetWorkingDirectory()));
|
||||||
|
::vl::__vwsn::This(this)->SetResourceResolver(__vwsn_resolver_);
|
||||||
|
::vl::__vwsn::This(this)->__vwsn_demo_VideoItemTemplate_Initialize(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
VideoItemTemplate::~VideoItemTemplate()
|
||||||
|
{
|
||||||
|
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::templates::GuiTemplate*>(this));
|
||||||
|
}
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
Class (::demo::VideoViewModel)
|
Class (::demo::VideoViewModel)
|
||||||
***********************************************************************/
|
***********************************************************************/
|
||||||
@@ -2046,166 +2206,6 @@ Class (::demo::VideoViewModel)
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
/***********************************************************************
|
|
||||||
Class (::demo::AccountButtonTemplate)
|
|
||||||
***********************************************************************/
|
|
||||||
|
|
||||||
::vl::Ptr<::demo::AccountButtonViewModel> AccountButtonTemplate::GetViewModel()
|
|
||||||
{
|
|
||||||
return this->__vwsn_prop_ViewModel;
|
|
||||||
}
|
|
||||||
void AccountButtonTemplate::SetViewModel(::vl::Ptr<::demo::AccountButtonViewModel> __vwsn_value_)
|
|
||||||
{
|
|
||||||
if ((this->__vwsn_prop_ViewModel.Obj() != __vwsn_value_.Obj()))
|
|
||||||
{
|
|
||||||
(this->__vwsn_prop_ViewModel = __vwsn_value_);
|
|
||||||
::vl::__vwsn::EventInvoke(this->ViewModelChanged)();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
AccountButtonTemplate::AccountButtonTemplate()
|
|
||||||
: __vwsn_prop_ViewModel(::vl::Ptr<::demo::AccountButtonViewModel>())
|
|
||||||
{
|
|
||||||
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"demo::AccountButtonTemplate", false));
|
|
||||||
auto __vwsn_resolver_ = ::vl::Ptr<::vl::presentation::GuiResourcePathResolver>(new ::vl::presentation::GuiResourcePathResolver(__vwsn_resource_, ::vl::__vwsn::This(__vwsn_resource_.Obj())->GetWorkingDirectory()));
|
|
||||||
::vl::__vwsn::This(this)->SetResourceResolver(__vwsn_resolver_);
|
|
||||||
::vl::__vwsn::This(this)->__vwsn_demo_AccountButtonTemplate_Initialize(this);
|
|
||||||
}
|
|
||||||
|
|
||||||
AccountButtonTemplate::~AccountButtonTemplate()
|
|
||||||
{
|
|
||||||
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::templates::GuiTemplate*>(this));
|
|
||||||
}
|
|
||||||
|
|
||||||
/***********************************************************************
|
|
||||||
Class (::demo::AccountItemTemplate)
|
|
||||||
***********************************************************************/
|
|
||||||
|
|
||||||
::vl::Ptr<::demo::AccountButtonViewModel> AccountItemTemplate::GetViewModel()
|
|
||||||
{
|
|
||||||
return this->__vwsn_parameter_ViewModel;
|
|
||||||
}
|
|
||||||
|
|
||||||
AccountItemTemplate::AccountItemTemplate(::vl::Ptr<::demo::AccountButtonViewModel> __vwsn_ctor_parameter_ViewModel)
|
|
||||||
: __vwsn_parameter_ViewModel(::vl::Ptr<::demo::AccountButtonViewModel>())
|
|
||||||
{
|
|
||||||
(this->__vwsn_parameter_ViewModel = __vwsn_ctor_parameter_ViewModel);
|
|
||||||
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"demo::AccountItemTemplate", false));
|
|
||||||
auto __vwsn_resolver_ = ::vl::Ptr<::vl::presentation::GuiResourcePathResolver>(new ::vl::presentation::GuiResourcePathResolver(__vwsn_resource_, ::vl::__vwsn::This(__vwsn_resource_.Obj())->GetWorkingDirectory()));
|
|
||||||
::vl::__vwsn::This(this)->SetResourceResolver(__vwsn_resolver_);
|
|
||||||
::vl::__vwsn::This(this)->__vwsn_demo_AccountItemTemplate_Initialize(this);
|
|
||||||
}
|
|
||||||
|
|
||||||
AccountItemTemplate::~AccountItemTemplate()
|
|
||||||
{
|
|
||||||
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::templates::GuiTemplate*>(this));
|
|
||||||
}
|
|
||||||
|
|
||||||
/***********************************************************************
|
|
||||||
Class (::demo::AccountMenuItemTemplate)
|
|
||||||
***********************************************************************/
|
|
||||||
|
|
||||||
::vl::Ptr<::demo::AccountButtonViewModel> AccountMenuItemTemplate::GetViewModel()
|
|
||||||
{
|
|
||||||
return this->__vwsn_parameter_ViewModel;
|
|
||||||
}
|
|
||||||
|
|
||||||
AccountMenuItemTemplate::AccountMenuItemTemplate(::vl::Ptr<::demo::AccountButtonViewModel> __vwsn_ctor_parameter_ViewModel)
|
|
||||||
: __vwsn_parameter_ViewModel(::vl::Ptr<::demo::AccountButtonViewModel>())
|
|
||||||
{
|
|
||||||
(this->__vwsn_parameter_ViewModel = __vwsn_ctor_parameter_ViewModel);
|
|
||||||
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"demo::AccountMenuItemTemplate", false));
|
|
||||||
auto __vwsn_resolver_ = ::vl::Ptr<::vl::presentation::GuiResourcePathResolver>(new ::vl::presentation::GuiResourcePathResolver(__vwsn_resource_, ::vl::__vwsn::This(__vwsn_resource_.Obj())->GetWorkingDirectory()));
|
|
||||||
::vl::__vwsn::This(this)->SetResourceResolver(__vwsn_resolver_);
|
|
||||||
::vl::__vwsn::This(this)->__vwsn_demo_AccountMenuItemTemplate_Initialize(this);
|
|
||||||
}
|
|
||||||
|
|
||||||
AccountMenuItemTemplate::~AccountMenuItemTemplate()
|
|
||||||
{
|
|
||||||
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::templates::GuiTemplate*>(this));
|
|
||||||
}
|
|
||||||
|
|
||||||
/***********************************************************************
|
|
||||||
Class (::demo::MainWindow)
|
|
||||||
***********************************************************************/
|
|
||||||
|
|
||||||
MainWindow::MainWindow()
|
|
||||||
: ::vl::presentation::controls::GuiWindow(::vl::presentation::theme::ThemeName::Window)
|
|
||||||
, accounts(::vl::reflection::description::IValueObservableList::Create())
|
|
||||||
, videos(::vl::reflection::description::IValueObservableList::Create())
|
|
||||||
{
|
|
||||||
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"demo::MainWindow", false));
|
|
||||||
auto __vwsn_resolver_ = ::vl::Ptr<::vl::presentation::GuiResourcePathResolver>(new ::vl::presentation::GuiResourcePathResolver(__vwsn_resource_, ::vl::__vwsn::This(__vwsn_resource_.Obj())->GetWorkingDirectory()));
|
|
||||||
::vl::__vwsn::This(this)->SetResourceResolver(__vwsn_resolver_);
|
|
||||||
::vl::__vwsn::This(this)->__vwsn_demo_MainWindow_Initialize(this);
|
|
||||||
this->__vwsn_instance_ctor_();
|
|
||||||
}
|
|
||||||
|
|
||||||
void MainWindow::__vwsn_instance_ctor_()
|
|
||||||
{
|
|
||||||
{
|
|
||||||
auto __vwsn_for_begin_i = static_cast<::vl::vint>(1);
|
|
||||||
auto __vwsn_for_end_i = static_cast<::vl::vint>(8);
|
|
||||||
auto i = __vwsn_for_begin_i;
|
|
||||||
while ((i <= __vwsn_for_end_i))
|
|
||||||
{
|
|
||||||
{
|
|
||||||
auto item = ::vl::Ptr<::demo::AccountButtonViewModel>(new ::demo::AccountButtonViewModel());
|
|
||||||
::vl::__vwsn::This(item.Obj())->SetController(static_cast<::vl::presentation::controls::GuiSelectableButton::GroupController*>(::vl::__vwsn::This(this->self)->accountController));
|
|
||||||
::vl::__vwsn::This(item.Obj())->SetName(::vl::reflection::description::Sys::LoremIpsumTitle(static_cast<::vl::vint>(20)));
|
|
||||||
::vl::__vwsn::This(item.Obj())->SetImage(::vl::__vwsn::This(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(this->self)->ResolveResource(::vl::WString(L"res", false), (::vl::WString(L"Images/_", false) + ::vl::__vwsn::ToString(i)), true).Obj())).Obj())->GetImage());
|
|
||||||
::vl::__vwsn::This(::vl::__vwsn::This(this->self)->accounts.Obj())->Add(::vl::__vwsn::Box(item));
|
|
||||||
}
|
|
||||||
(i = (i + static_cast<::vl::vint>(1)));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
{
|
|
||||||
auto __vwsn_for_begin_i = (static_cast<::vl::vint>(0) + static_cast<::vl::vint>(1));
|
|
||||||
auto __vwsn_for_end_i = (static_cast<::vl::vint>(20) - static_cast<::vl::vint>(1));
|
|
||||||
auto i = __vwsn_for_begin_i;
|
|
||||||
while ((i <= __vwsn_for_end_i))
|
|
||||||
{
|
|
||||||
{
|
|
||||||
auto item = ::vl::Ptr<::demo::VideoViewModel>(new ::demo::VideoViewModel());
|
|
||||||
::vl::__vwsn::This(item.Obj())->SetAuthor(::vl::reflection::description::Sys::LoremIpsumTitle(static_cast<::vl::vint>(16)));
|
|
||||||
::vl::__vwsn::This(item.Obj())->SetTitle(::vl::reflection::description::Sys::LoremIpsumTitle(static_cast<::vl::vint>(80)));
|
|
||||||
::vl::__vwsn::This(item.Obj())->SetFont(::vl::__vwsn::This(this->self)->GetFont());
|
|
||||||
::vl::__vwsn::This(::vl::__vwsn::This(this->self)->videos.Obj())->Add(::vl::__vwsn::Box(item));
|
|
||||||
}
|
|
||||||
(i = (i + static_cast<::vl::vint>(1)));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
MainWindow::~MainWindow()
|
|
||||||
{
|
|
||||||
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::controls::GuiControlHost*>(this));
|
|
||||||
}
|
|
||||||
|
|
||||||
/***********************************************************************
|
|
||||||
Class (::demo::VideoItemTemplate)
|
|
||||||
***********************************************************************/
|
|
||||||
|
|
||||||
::vl::Ptr<::demo::VideoViewModel> VideoItemTemplate::GetViewModel()
|
|
||||||
{
|
|
||||||
return this->__vwsn_parameter_ViewModel;
|
|
||||||
}
|
|
||||||
|
|
||||||
VideoItemTemplate::VideoItemTemplate(::vl::Ptr<::demo::VideoViewModel> __vwsn_ctor_parameter_ViewModel)
|
|
||||||
: __vwsn_parameter_ViewModel(::vl::Ptr<::demo::VideoViewModel>())
|
|
||||||
{
|
|
||||||
(this->__vwsn_parameter_ViewModel = __vwsn_ctor_parameter_ViewModel);
|
|
||||||
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"demo::VideoItemTemplate", false));
|
|
||||||
auto __vwsn_resolver_ = ::vl::Ptr<::vl::presentation::GuiResourcePathResolver>(new ::vl::presentation::GuiResourcePathResolver(__vwsn_resource_, ::vl::__vwsn::This(__vwsn_resource_.Obj())->GetWorkingDirectory()));
|
|
||||||
::vl::__vwsn::This(this)->SetResourceResolver(__vwsn_resolver_);
|
|
||||||
::vl::__vwsn::This(this)->__vwsn_demo_VideoItemTemplate_Initialize(this);
|
|
||||||
}
|
|
||||||
|
|
||||||
VideoItemTemplate::~VideoItemTemplate()
|
|
||||||
{
|
|
||||||
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::templates::GuiTemplate*>(this));
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
#undef GLOBAL_SYMBOL
|
#undef GLOBAL_SYMBOL
|
||||||
#undef GLOBAL_NAME
|
#undef GLOBAL_NAME
|
||||||
|
|||||||
@@ -62,17 +62,17 @@ namespace vl_workflow_global
|
|||||||
namespace demo
|
namespace demo
|
||||||
{
|
{
|
||||||
class AccountButtonTemplateConstructor;
|
class AccountButtonTemplateConstructor;
|
||||||
|
class AccountButtonTemplate;
|
||||||
class AccountButtonViewModel;
|
class AccountButtonViewModel;
|
||||||
class AccountItemTemplateConstructor;
|
class AccountItemTemplateConstructor;
|
||||||
class AccountMenuItemTemplateConstructor;
|
|
||||||
class MainWindowConstructor;
|
|
||||||
class VideoItemTemplateConstructor;
|
|
||||||
class VideoViewModel;
|
|
||||||
class AccountButtonTemplate;
|
|
||||||
class AccountItemTemplate;
|
class AccountItemTemplate;
|
||||||
|
class AccountMenuItemTemplateConstructor;
|
||||||
class AccountMenuItemTemplate;
|
class AccountMenuItemTemplate;
|
||||||
|
class MainWindowConstructor;
|
||||||
class MainWindow;
|
class MainWindow;
|
||||||
|
class VideoItemTemplateConstructor;
|
||||||
class VideoItemTemplate;
|
class VideoItemTemplate;
|
||||||
|
class VideoViewModel;
|
||||||
|
|
||||||
class AccountButtonTemplateConstructor : public ::vl::Object, public ::vl::reflection::Description<AccountButtonTemplateConstructor>
|
class AccountButtonTemplateConstructor : public ::vl::Object, public ::vl::reflection::Description<AccountButtonTemplateConstructor>
|
||||||
{
|
{
|
||||||
@@ -111,6 +111,35 @@ namespace demo
|
|||||||
AccountButtonTemplateConstructor();
|
AccountButtonTemplateConstructor();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
class AccountButtonTemplate : public ::vl::presentation::templates::GuiSelectableButtonTemplate, public ::demo::AccountButtonTemplateConstructor, public ::vl::reflection::Description<AccountButtonTemplate>
|
||||||
|
{
|
||||||
|
friend class ::demo::AccountButtonTemplateConstructor;
|
||||||
|
friend class ::vl_workflow_global::__vwsnc1_Demo_demo_AccountButtonTemplateConstructor___vwsn_demo_AccountButtonTemplate_Initialize__vl_reflection_description_IValueSubscription;
|
||||||
|
friend class ::vl_workflow_global::__vwsnc2_Demo_demo_AccountButtonTemplateConstructor___vwsn_demo_AccountButtonTemplate_Initialize__vl_reflection_description_IValueSubscription;
|
||||||
|
friend class ::vl_workflow_global::__vwsnc3_Demo_demo_AccountButtonTemplateConstructor___vwsn_demo_AccountButtonTemplate_Initialize__vl_reflection_description_IValueSubscription;
|
||||||
|
friend class ::vl_workflow_global::__vwsnc4_Demo_demo_AccountButtonTemplateConstructor___vwsn_demo_AccountButtonTemplate_Initialize__vl_reflection_description_IValueSubscription;
|
||||||
|
friend class ::vl_workflow_global::__vwsnc5_Demo_demo_AccountButtonTemplateConstructor___vwsn_demo_AccountButtonTemplate_Initialize__vl_reflection_description_IValueSubscription;
|
||||||
|
friend class ::vl_workflow_global::__vwsnc6_Demo_demo_AccountButtonTemplateConstructor___vwsn_demo_AccountButtonTemplate_Initialize__vl_reflection_description_IValueSubscription;
|
||||||
|
friend class ::vl_workflow_global::__vwsnc7_Demo_demo_AccountButtonTemplateConstructor___vwsn_demo_AccountButtonTemplate_Initialize__vl_reflection_description_IValueSubscription;
|
||||||
|
friend struct ::vl_workflow_global::__vwsnf1_Demo_demo_AccountButtonTemplateConstructor___vwsn_demo_AccountButtonTemplate_Initialize_;
|
||||||
|
friend struct ::vl_workflow_global::__vwsnf2_Demo_demo_AccountButtonTemplateConstructor___vwsn_demo_AccountButtonTemplate_Initialize_;
|
||||||
|
friend struct ::vl_workflow_global::__vwsnf3_Demo_demo_AccountButtonTemplateConstructor___vwsn_demo_AccountButtonTemplate_Initialize_;
|
||||||
|
friend struct ::vl_workflow_global::__vwsnf4_Demo_demo_AccountButtonTemplateConstructor___vwsn_demo_AccountButtonTemplate_Initialize_;
|
||||||
|
friend struct ::vl_workflow_global::__vwsnf5_Demo_demo_AccountButtonTemplateConstructor___vwsn_demo_AccountButtonTemplate_Initialize_;
|
||||||
|
friend struct ::vl_workflow_global::__vwsnf6_Demo_demo_AccountButtonTemplateConstructor___vwsn_demo_AccountButtonTemplate_Initialize_;
|
||||||
|
friend struct ::vl_workflow_global::__vwsnf7_Demo_demo_AccountButtonTemplateConstructor___vwsn_demo_AccountButtonTemplate_Initialize_;
|
||||||
|
#ifndef VCZH_DEBUG_NO_REFLECTION
|
||||||
|
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<AccountButtonTemplate>;
|
||||||
|
#endif
|
||||||
|
public:
|
||||||
|
::vl::Ptr<::demo::AccountButtonViewModel> __vwsn_prop_ViewModel;
|
||||||
|
::vl::Ptr<::demo::AccountButtonViewModel> GetViewModel();
|
||||||
|
void SetViewModel(::vl::Ptr<::demo::AccountButtonViewModel> __vwsn_value_);
|
||||||
|
::vl::Event<void()> ViewModelChanged;
|
||||||
|
AccountButtonTemplate();
|
||||||
|
~AccountButtonTemplate();
|
||||||
|
};
|
||||||
|
|
||||||
class AccountButtonViewModel : public ::vl::Object, public ::vl::reflection::Description<AccountButtonViewModel>
|
class AccountButtonViewModel : public ::vl::Object, public ::vl::reflection::Description<AccountButtonViewModel>
|
||||||
{
|
{
|
||||||
#ifndef VCZH_DEBUG_NO_REFLECTION
|
#ifndef VCZH_DEBUG_NO_REFLECTION
|
||||||
@@ -153,6 +182,20 @@ namespace demo
|
|||||||
AccountItemTemplateConstructor();
|
AccountItemTemplateConstructor();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
class AccountItemTemplate : public ::vl::presentation::templates::GuiControlTemplate, public ::demo::AccountItemTemplateConstructor, public ::vl::reflection::Description<AccountItemTemplate>
|
||||||
|
{
|
||||||
|
friend class ::demo::AccountItemTemplateConstructor;
|
||||||
|
friend struct ::vl_workflow_global::__vwsnf8_Demo_demo_AccountItemTemplateConstructor___vwsn_demo_AccountItemTemplate_Initialize_;
|
||||||
|
#ifndef VCZH_DEBUG_NO_REFLECTION
|
||||||
|
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<AccountItemTemplate>;
|
||||||
|
#endif
|
||||||
|
public:
|
||||||
|
::vl::Ptr<::demo::AccountButtonViewModel> __vwsn_parameter_ViewModel;
|
||||||
|
::vl::Ptr<::demo::AccountButtonViewModel> GetViewModel();
|
||||||
|
AccountItemTemplate(::vl::Ptr<::demo::AccountButtonViewModel> __vwsn_ctor_parameter_ViewModel);
|
||||||
|
~AccountItemTemplate();
|
||||||
|
};
|
||||||
|
|
||||||
class AccountMenuItemTemplateConstructor : public ::vl::Object, public ::vl::reflection::Description<AccountMenuItemTemplateConstructor>
|
class AccountMenuItemTemplateConstructor : public ::vl::Object, public ::vl::reflection::Description<AccountMenuItemTemplateConstructor>
|
||||||
{
|
{
|
||||||
friend class ::vl_workflow_global::__vwsnc8_Demo_demo_AccountMenuItemTemplateConstructor___vwsn_demo_AccountMenuItemTemplate_Initialize__vl_reflection_description_IValueSubscription;
|
friend class ::vl_workflow_global::__vwsnc8_Demo_demo_AccountMenuItemTemplateConstructor___vwsn_demo_AccountMenuItemTemplate_Initialize__vl_reflection_description_IValueSubscription;
|
||||||
@@ -170,6 +213,21 @@ namespace demo
|
|||||||
AccountMenuItemTemplateConstructor();
|
AccountMenuItemTemplateConstructor();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
class AccountMenuItemTemplate : public ::vl::presentation::templates::GuiControlTemplate, public ::demo::AccountMenuItemTemplateConstructor, public ::vl::reflection::Description<AccountMenuItemTemplate>
|
||||||
|
{
|
||||||
|
friend class ::demo::AccountMenuItemTemplateConstructor;
|
||||||
|
friend class ::vl_workflow_global::__vwsnc8_Demo_demo_AccountMenuItemTemplateConstructor___vwsn_demo_AccountMenuItemTemplate_Initialize__vl_reflection_description_IValueSubscription;
|
||||||
|
friend struct ::vl_workflow_global::__vwsnf9_Demo_demo_AccountMenuItemTemplateConstructor___vwsn_demo_AccountMenuItemTemplate_Initialize_;
|
||||||
|
#ifndef VCZH_DEBUG_NO_REFLECTION
|
||||||
|
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<AccountMenuItemTemplate>;
|
||||||
|
#endif
|
||||||
|
public:
|
||||||
|
::vl::Ptr<::demo::AccountButtonViewModel> __vwsn_parameter_ViewModel;
|
||||||
|
::vl::Ptr<::demo::AccountButtonViewModel> GetViewModel();
|
||||||
|
AccountMenuItemTemplate(::vl::Ptr<::demo::AccountButtonViewModel> __vwsn_ctor_parameter_ViewModel);
|
||||||
|
~AccountMenuItemTemplate();
|
||||||
|
};
|
||||||
|
|
||||||
class MainWindowConstructor : public ::vl::Object, public ::vl::reflection::Description<MainWindowConstructor>
|
class MainWindowConstructor : public ::vl::Object, public ::vl::reflection::Description<MainWindowConstructor>
|
||||||
{
|
{
|
||||||
friend class ::vl_workflow_global::__vwsnc9_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize__vl_reflection_description_IValueSubscription;
|
friend class ::vl_workflow_global::__vwsnc9_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize__vl_reflection_description_IValueSubscription;
|
||||||
@@ -208,6 +266,25 @@ namespace demo
|
|||||||
MainWindowConstructor();
|
MainWindowConstructor();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
class MainWindow : public ::vl::presentation::controls::GuiWindow, public ::demo::MainWindowConstructor, public ::vl::reflection::Description<MainWindow>
|
||||||
|
{
|
||||||
|
friend class ::demo::MainWindowConstructor;
|
||||||
|
friend class ::vl_workflow_global::__vwsnc9_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize__vl_reflection_description_IValueSubscription;
|
||||||
|
friend struct ::vl_workflow_global::__vwsnf10_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_;
|
||||||
|
friend struct ::vl_workflow_global::__vwsnf11_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_;
|
||||||
|
friend struct ::vl_workflow_global::__vwsnf12_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_;
|
||||||
|
friend struct ::vl_workflow_global::__vwsnf13_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_;
|
||||||
|
#ifndef VCZH_DEBUG_NO_REFLECTION
|
||||||
|
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<MainWindow>;
|
||||||
|
#endif
|
||||||
|
public:
|
||||||
|
::vl::Ptr<::vl::reflection::description::IValueObservableList> accounts;
|
||||||
|
::vl::Ptr<::vl::reflection::description::IValueObservableList> videos;
|
||||||
|
MainWindow();
|
||||||
|
void __vwsn_instance_ctor_();
|
||||||
|
~MainWindow();
|
||||||
|
};
|
||||||
|
|
||||||
class VideoItemTemplateConstructor : public ::vl::Object, public ::vl::reflection::Description<VideoItemTemplateConstructor>
|
class VideoItemTemplateConstructor : public ::vl::Object, public ::vl::reflection::Description<VideoItemTemplateConstructor>
|
||||||
{
|
{
|
||||||
friend class ::vl_workflow_global::__vwsnc10_Demo_demo_VideoItemTemplateConstructor___vwsn_demo_VideoItemTemplate_Initialize__vl_reflection_description_IValueSubscription;
|
friend class ::vl_workflow_global::__vwsnc10_Demo_demo_VideoItemTemplateConstructor___vwsn_demo_VideoItemTemplate_Initialize__vl_reflection_description_IValueSubscription;
|
||||||
@@ -240,6 +317,29 @@ namespace demo
|
|||||||
VideoItemTemplateConstructor();
|
VideoItemTemplateConstructor();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
class VideoItemTemplate : public ::vl::presentation::templates::GuiControlTemplate, public ::demo::VideoItemTemplateConstructor, public ::vl::reflection::Description<VideoItemTemplate>
|
||||||
|
{
|
||||||
|
friend class ::demo::VideoItemTemplateConstructor;
|
||||||
|
friend class ::vl_workflow_global::__vwsnc10_Demo_demo_VideoItemTemplateConstructor___vwsn_demo_VideoItemTemplate_Initialize__vl_reflection_description_IValueSubscription;
|
||||||
|
friend class ::vl_workflow_global::__vwsnc11_Demo_demo_VideoItemTemplateConstructor___vwsn_demo_VideoItemTemplate_Initialize__vl_reflection_description_IValueSubscription;
|
||||||
|
friend class ::vl_workflow_global::__vwsnc12_Demo_demo_VideoItemTemplateConstructor___vwsn_demo_VideoItemTemplate_Initialize__vl_reflection_description_IValueSubscription;
|
||||||
|
friend class ::vl_workflow_global::__vwsnc13_Demo_demo_VideoItemTemplateConstructor___vwsn_demo_VideoItemTemplate_Initialize__vl_reflection_description_IValueSubscription;
|
||||||
|
friend class ::vl_workflow_global::__vwsnc14_Demo_demo_VideoItemTemplateConstructor___vwsn_demo_VideoItemTemplate_Initialize__vl_reflection_description_IValueSubscription;
|
||||||
|
friend struct ::vl_workflow_global::__vwsnf14_Demo_demo_VideoItemTemplateConstructor___vwsn_demo_VideoItemTemplate_Initialize_;
|
||||||
|
friend struct ::vl_workflow_global::__vwsnf15_Demo_demo_VideoItemTemplateConstructor___vwsn_demo_VideoItemTemplate_Initialize_;
|
||||||
|
friend struct ::vl_workflow_global::__vwsnf16_Demo_demo_VideoItemTemplateConstructor___vwsn_demo_VideoItemTemplate_Initialize_;
|
||||||
|
friend struct ::vl_workflow_global::__vwsnf17_Demo_demo_VideoItemTemplateConstructor___vwsn_demo_VideoItemTemplate_Initialize_;
|
||||||
|
friend struct ::vl_workflow_global::__vwsnf18_Demo_demo_VideoItemTemplateConstructor___vwsn_demo_VideoItemTemplate_Initialize_;
|
||||||
|
#ifndef VCZH_DEBUG_NO_REFLECTION
|
||||||
|
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<VideoItemTemplate>;
|
||||||
|
#endif
|
||||||
|
public:
|
||||||
|
::vl::Ptr<::demo::VideoViewModel> __vwsn_parameter_ViewModel;
|
||||||
|
::vl::Ptr<::demo::VideoViewModel> GetViewModel();
|
||||||
|
VideoItemTemplate(::vl::Ptr<::demo::VideoViewModel> __vwsn_ctor_parameter_ViewModel);
|
||||||
|
~VideoItemTemplate();
|
||||||
|
};
|
||||||
|
|
||||||
class VideoViewModel : public ::vl::Object, public ::vl::reflection::Description<VideoViewModel>
|
class VideoViewModel : public ::vl::Object, public ::vl::reflection::Description<VideoViewModel>
|
||||||
{
|
{
|
||||||
#ifndef VCZH_DEBUG_NO_REFLECTION
|
#ifndef VCZH_DEBUG_NO_REFLECTION
|
||||||
@@ -266,106 +366,6 @@ namespace demo
|
|||||||
VideoViewModel();
|
VideoViewModel();
|
||||||
};
|
};
|
||||||
|
|
||||||
class AccountButtonTemplate : public ::vl::presentation::templates::GuiSelectableButtonTemplate, public ::demo::AccountButtonTemplateConstructor, public ::vl::reflection::Description<AccountButtonTemplate>
|
|
||||||
{
|
|
||||||
friend class ::demo::AccountButtonTemplateConstructor;
|
|
||||||
friend class ::vl_workflow_global::__vwsnc1_Demo_demo_AccountButtonTemplateConstructor___vwsn_demo_AccountButtonTemplate_Initialize__vl_reflection_description_IValueSubscription;
|
|
||||||
friend class ::vl_workflow_global::__vwsnc2_Demo_demo_AccountButtonTemplateConstructor___vwsn_demo_AccountButtonTemplate_Initialize__vl_reflection_description_IValueSubscription;
|
|
||||||
friend class ::vl_workflow_global::__vwsnc3_Demo_demo_AccountButtonTemplateConstructor___vwsn_demo_AccountButtonTemplate_Initialize__vl_reflection_description_IValueSubscription;
|
|
||||||
friend class ::vl_workflow_global::__vwsnc4_Demo_demo_AccountButtonTemplateConstructor___vwsn_demo_AccountButtonTemplate_Initialize__vl_reflection_description_IValueSubscription;
|
|
||||||
friend class ::vl_workflow_global::__vwsnc5_Demo_demo_AccountButtonTemplateConstructor___vwsn_demo_AccountButtonTemplate_Initialize__vl_reflection_description_IValueSubscription;
|
|
||||||
friend class ::vl_workflow_global::__vwsnc6_Demo_demo_AccountButtonTemplateConstructor___vwsn_demo_AccountButtonTemplate_Initialize__vl_reflection_description_IValueSubscription;
|
|
||||||
friend class ::vl_workflow_global::__vwsnc7_Demo_demo_AccountButtonTemplateConstructor___vwsn_demo_AccountButtonTemplate_Initialize__vl_reflection_description_IValueSubscription;
|
|
||||||
friend struct ::vl_workflow_global::__vwsnf1_Demo_demo_AccountButtonTemplateConstructor___vwsn_demo_AccountButtonTemplate_Initialize_;
|
|
||||||
friend struct ::vl_workflow_global::__vwsnf2_Demo_demo_AccountButtonTemplateConstructor___vwsn_demo_AccountButtonTemplate_Initialize_;
|
|
||||||
friend struct ::vl_workflow_global::__vwsnf3_Demo_demo_AccountButtonTemplateConstructor___vwsn_demo_AccountButtonTemplate_Initialize_;
|
|
||||||
friend struct ::vl_workflow_global::__vwsnf4_Demo_demo_AccountButtonTemplateConstructor___vwsn_demo_AccountButtonTemplate_Initialize_;
|
|
||||||
friend struct ::vl_workflow_global::__vwsnf5_Demo_demo_AccountButtonTemplateConstructor___vwsn_demo_AccountButtonTemplate_Initialize_;
|
|
||||||
friend struct ::vl_workflow_global::__vwsnf6_Demo_demo_AccountButtonTemplateConstructor___vwsn_demo_AccountButtonTemplate_Initialize_;
|
|
||||||
friend struct ::vl_workflow_global::__vwsnf7_Demo_demo_AccountButtonTemplateConstructor___vwsn_demo_AccountButtonTemplate_Initialize_;
|
|
||||||
#ifndef VCZH_DEBUG_NO_REFLECTION
|
|
||||||
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<AccountButtonTemplate>;
|
|
||||||
#endif
|
|
||||||
public:
|
|
||||||
::vl::Ptr<::demo::AccountButtonViewModel> __vwsn_prop_ViewModel;
|
|
||||||
::vl::Ptr<::demo::AccountButtonViewModel> GetViewModel();
|
|
||||||
void SetViewModel(::vl::Ptr<::demo::AccountButtonViewModel> __vwsn_value_);
|
|
||||||
::vl::Event<void()> ViewModelChanged;
|
|
||||||
AccountButtonTemplate();
|
|
||||||
~AccountButtonTemplate();
|
|
||||||
};
|
|
||||||
|
|
||||||
class AccountItemTemplate : public ::vl::presentation::templates::GuiControlTemplate, public ::demo::AccountItemTemplateConstructor, public ::vl::reflection::Description<AccountItemTemplate>
|
|
||||||
{
|
|
||||||
friend class ::demo::AccountItemTemplateConstructor;
|
|
||||||
friend struct ::vl_workflow_global::__vwsnf8_Demo_demo_AccountItemTemplateConstructor___vwsn_demo_AccountItemTemplate_Initialize_;
|
|
||||||
#ifndef VCZH_DEBUG_NO_REFLECTION
|
|
||||||
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<AccountItemTemplate>;
|
|
||||||
#endif
|
|
||||||
public:
|
|
||||||
::vl::Ptr<::demo::AccountButtonViewModel> __vwsn_parameter_ViewModel;
|
|
||||||
::vl::Ptr<::demo::AccountButtonViewModel> GetViewModel();
|
|
||||||
AccountItemTemplate(::vl::Ptr<::demo::AccountButtonViewModel> __vwsn_ctor_parameter_ViewModel);
|
|
||||||
~AccountItemTemplate();
|
|
||||||
};
|
|
||||||
|
|
||||||
class AccountMenuItemTemplate : public ::vl::presentation::templates::GuiControlTemplate, public ::demo::AccountMenuItemTemplateConstructor, public ::vl::reflection::Description<AccountMenuItemTemplate>
|
|
||||||
{
|
|
||||||
friend class ::demo::AccountMenuItemTemplateConstructor;
|
|
||||||
friend class ::vl_workflow_global::__vwsnc8_Demo_demo_AccountMenuItemTemplateConstructor___vwsn_demo_AccountMenuItemTemplate_Initialize__vl_reflection_description_IValueSubscription;
|
|
||||||
friend struct ::vl_workflow_global::__vwsnf9_Demo_demo_AccountMenuItemTemplateConstructor___vwsn_demo_AccountMenuItemTemplate_Initialize_;
|
|
||||||
#ifndef VCZH_DEBUG_NO_REFLECTION
|
|
||||||
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<AccountMenuItemTemplate>;
|
|
||||||
#endif
|
|
||||||
public:
|
|
||||||
::vl::Ptr<::demo::AccountButtonViewModel> __vwsn_parameter_ViewModel;
|
|
||||||
::vl::Ptr<::demo::AccountButtonViewModel> GetViewModel();
|
|
||||||
AccountMenuItemTemplate(::vl::Ptr<::demo::AccountButtonViewModel> __vwsn_ctor_parameter_ViewModel);
|
|
||||||
~AccountMenuItemTemplate();
|
|
||||||
};
|
|
||||||
|
|
||||||
class MainWindow : public ::vl::presentation::controls::GuiWindow, public ::demo::MainWindowConstructor, public ::vl::reflection::Description<MainWindow>
|
|
||||||
{
|
|
||||||
friend class ::demo::MainWindowConstructor;
|
|
||||||
friend class ::vl_workflow_global::__vwsnc9_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize__vl_reflection_description_IValueSubscription;
|
|
||||||
friend struct ::vl_workflow_global::__vwsnf10_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_;
|
|
||||||
friend struct ::vl_workflow_global::__vwsnf11_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_;
|
|
||||||
friend struct ::vl_workflow_global::__vwsnf12_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_;
|
|
||||||
friend struct ::vl_workflow_global::__vwsnf13_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_;
|
|
||||||
#ifndef VCZH_DEBUG_NO_REFLECTION
|
|
||||||
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<MainWindow>;
|
|
||||||
#endif
|
|
||||||
public:
|
|
||||||
::vl::Ptr<::vl::reflection::description::IValueObservableList> accounts;
|
|
||||||
::vl::Ptr<::vl::reflection::description::IValueObservableList> videos;
|
|
||||||
MainWindow();
|
|
||||||
void __vwsn_instance_ctor_();
|
|
||||||
~MainWindow();
|
|
||||||
};
|
|
||||||
|
|
||||||
class VideoItemTemplate : public ::vl::presentation::templates::GuiControlTemplate, public ::demo::VideoItemTemplateConstructor, public ::vl::reflection::Description<VideoItemTemplate>
|
|
||||||
{
|
|
||||||
friend class ::demo::VideoItemTemplateConstructor;
|
|
||||||
friend class ::vl_workflow_global::__vwsnc10_Demo_demo_VideoItemTemplateConstructor___vwsn_demo_VideoItemTemplate_Initialize__vl_reflection_description_IValueSubscription;
|
|
||||||
friend class ::vl_workflow_global::__vwsnc11_Demo_demo_VideoItemTemplateConstructor___vwsn_demo_VideoItemTemplate_Initialize__vl_reflection_description_IValueSubscription;
|
|
||||||
friend class ::vl_workflow_global::__vwsnc12_Demo_demo_VideoItemTemplateConstructor___vwsn_demo_VideoItemTemplate_Initialize__vl_reflection_description_IValueSubscription;
|
|
||||||
friend class ::vl_workflow_global::__vwsnc13_Demo_demo_VideoItemTemplateConstructor___vwsn_demo_VideoItemTemplate_Initialize__vl_reflection_description_IValueSubscription;
|
|
||||||
friend class ::vl_workflow_global::__vwsnc14_Demo_demo_VideoItemTemplateConstructor___vwsn_demo_VideoItemTemplate_Initialize__vl_reflection_description_IValueSubscription;
|
|
||||||
friend struct ::vl_workflow_global::__vwsnf14_Demo_demo_VideoItemTemplateConstructor___vwsn_demo_VideoItemTemplate_Initialize_;
|
|
||||||
friend struct ::vl_workflow_global::__vwsnf15_Demo_demo_VideoItemTemplateConstructor___vwsn_demo_VideoItemTemplate_Initialize_;
|
|
||||||
friend struct ::vl_workflow_global::__vwsnf16_Demo_demo_VideoItemTemplateConstructor___vwsn_demo_VideoItemTemplate_Initialize_;
|
|
||||||
friend struct ::vl_workflow_global::__vwsnf17_Demo_demo_VideoItemTemplateConstructor___vwsn_demo_VideoItemTemplate_Initialize_;
|
|
||||||
friend struct ::vl_workflow_global::__vwsnf18_Demo_demo_VideoItemTemplateConstructor___vwsn_demo_VideoItemTemplate_Initialize_;
|
|
||||||
#ifndef VCZH_DEBUG_NO_REFLECTION
|
|
||||||
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<VideoItemTemplate>;
|
|
||||||
#endif
|
|
||||||
public:
|
|
||||||
::vl::Ptr<::demo::VideoViewModel> __vwsn_parameter_ViewModel;
|
|
||||||
::vl::Ptr<::demo::VideoViewModel> GetViewModel();
|
|
||||||
VideoItemTemplate(::vl::Ptr<::demo::VideoViewModel> __vwsn_ctor_parameter_ViewModel);
|
|
||||||
~VideoItemTemplate();
|
|
||||||
};
|
|
||||||
|
|
||||||
}
|
}
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
Global Variables and Functions
|
Global Variables and Functions
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -48,15 +48,15 @@ namespace vl_workflow_global
|
|||||||
namespace demo
|
namespace demo
|
||||||
{
|
{
|
||||||
class EnglishNumbersControllerConstructor;
|
class EnglishNumbersControllerConstructor;
|
||||||
|
class EnglishNumbersController;
|
||||||
class EnglishNumbersControllerTabPageConstructor;
|
class EnglishNumbersControllerTabPageConstructor;
|
||||||
|
class EnglishNumbersControllerTabPage;
|
||||||
class MainWindowConstructor;
|
class MainWindowConstructor;
|
||||||
|
class MainWindow;
|
||||||
class MyTextItem;
|
class MyTextItem;
|
||||||
class SharedSizeItemTemplateConstructor;
|
class SharedSizeItemTemplateConstructor;
|
||||||
class SharedSizeTextItemTemplateConstructor;
|
|
||||||
class EnglishNumbersController;
|
|
||||||
class EnglishNumbersControllerTabPage;
|
|
||||||
class MainWindow;
|
|
||||||
class SharedSizeItemTemplate;
|
class SharedSizeItemTemplate;
|
||||||
|
class SharedSizeTextItemTemplateConstructor;
|
||||||
class SharedSizeTextItemTemplate;
|
class SharedSizeTextItemTemplate;
|
||||||
|
|
||||||
class EnglishNumbersControllerConstructor : public ::vl::Object, public ::vl::reflection::Description<EnglishNumbersControllerConstructor>
|
class EnglishNumbersControllerConstructor : public ::vl::Object, public ::vl::reflection::Description<EnglishNumbersControllerConstructor>
|
||||||
@@ -97,6 +97,36 @@ namespace demo
|
|||||||
EnglishNumbersControllerConstructor();
|
EnglishNumbersControllerConstructor();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
class EnglishNumbersController : public ::vl::presentation::controls::GuiCustomControl, public ::demo::EnglishNumbersControllerConstructor, public ::vl::reflection::Description<EnglishNumbersController>
|
||||||
|
{
|
||||||
|
friend class ::demo::EnglishNumbersControllerConstructor;
|
||||||
|
friend class ::vl_workflow_global::__vwsnc1_Demo_demo_EnglishNumbersControllerConstructor___vwsn_demo_EnglishNumbersController_Initialize__vl_reflection_description_IValueSubscription;
|
||||||
|
friend struct ::vl_workflow_global::__vwsnf4_Demo_demo_EnglishNumbersControllerConstructor___vwsn_demo_EnglishNumbersController_Initialize_;
|
||||||
|
friend struct ::vl_workflow_global::__vwsnf5_Demo_demo_EnglishNumbersControllerConstructor___vwsn_demo_EnglishNumbersController_Initialize_;
|
||||||
|
friend struct ::vl_workflow_global::__vwsnf6_Demo_demo_EnglishNumbersControllerConstructor___vwsn_demo_EnglishNumbersController_Initialize_;
|
||||||
|
friend struct ::vl_workflow_global::__vwsnf7_Demo_demo_EnglishNumbersControllerConstructor___vwsn_demo_EnglishNumbersController_Initialize_;
|
||||||
|
friend struct ::vl_workflow_global::__vwsnf8_Demo_demo_EnglishNumbersControllerConstructor___vwsn_demo_EnglishNumbersController_Initialize_;
|
||||||
|
friend struct ::vl_workflow_global::__vwsnf9_Demo_demo_EnglishNumbersControllerConstructor___vwsn_demo_EnglishNumbersController_Initialize_;
|
||||||
|
#ifndef VCZH_DEBUG_NO_REFLECTION
|
||||||
|
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<EnglishNumbersController>;
|
||||||
|
#endif
|
||||||
|
private:
|
||||||
|
::vl::vint counter;
|
||||||
|
public:
|
||||||
|
::vl::Ptr<::vl::reflection::description::IValueObservableList> __vwsn_prop_ItemsToBind;
|
||||||
|
::vl::Ptr<::vl::reflection::description::IValueObservableList> GetItemsToBind();
|
||||||
|
void SetItemsToBind(::vl::Ptr<::vl::reflection::description::IValueObservableList> __vwsn_value_);
|
||||||
|
private:
|
||||||
|
::vl::WString ToText_1to9(::vl::vint i);
|
||||||
|
::vl::WString ToText_11to19(::vl::vint i);
|
||||||
|
::vl::WString NumberToText_1To99(::vl::vint i);
|
||||||
|
::vl::WString NumberToText_0to999(::vl::vint i);
|
||||||
|
::vl::WString NumberToText(::vl::vint i);
|
||||||
|
public:
|
||||||
|
EnglishNumbersController();
|
||||||
|
~EnglishNumbersController();
|
||||||
|
};
|
||||||
|
|
||||||
class EnglishNumbersControllerTabPageConstructor : public ::vl::Object, public ::vl::reflection::Description<EnglishNumbersControllerTabPageConstructor>
|
class EnglishNumbersControllerTabPageConstructor : public ::vl::Object, public ::vl::reflection::Description<EnglishNumbersControllerTabPageConstructor>
|
||||||
{
|
{
|
||||||
#ifndef VCZH_DEBUG_NO_REFLECTION
|
#ifndef VCZH_DEBUG_NO_REFLECTION
|
||||||
@@ -114,6 +144,24 @@ namespace demo
|
|||||||
EnglishNumbersControllerTabPageConstructor();
|
EnglishNumbersControllerTabPageConstructor();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
class EnglishNumbersControllerTabPage : public ::vl::presentation::controls::GuiTabPage, public ::demo::EnglishNumbersControllerTabPageConstructor, public ::vl::reflection::Description<EnglishNumbersControllerTabPage>
|
||||||
|
{
|
||||||
|
friend class ::demo::EnglishNumbersControllerTabPageConstructor;
|
||||||
|
#ifndef VCZH_DEBUG_NO_REFLECTION
|
||||||
|
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<EnglishNumbersControllerTabPage>;
|
||||||
|
#endif
|
||||||
|
public:
|
||||||
|
::vl::Ptr<::vl::reflection::description::IValueObservableList> __vwsn_prop_ItemsToBind;
|
||||||
|
::vl::Ptr<::vl::reflection::description::IValueObservableList> GetItemsToBind();
|
||||||
|
void SetItemsToBind(::vl::Ptr<::vl::reflection::description::IValueObservableList> __vwsn_value_);
|
||||||
|
::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_prop_ContentComposition;
|
||||||
|
::vl::presentation::compositions::GuiGraphicsComposition* GetContentComposition();
|
||||||
|
void SetContentComposition(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_value_);
|
||||||
|
EnglishNumbersControllerTabPage();
|
||||||
|
void __vwsn_instance_ctor_();
|
||||||
|
~EnglishNumbersControllerTabPage();
|
||||||
|
};
|
||||||
|
|
||||||
class MainWindowConstructor : public ::vl::Object, public ::vl::reflection::Description<MainWindowConstructor>
|
class MainWindowConstructor : public ::vl::Object, public ::vl::reflection::Description<MainWindowConstructor>
|
||||||
{
|
{
|
||||||
friend struct ::vl_workflow_global::__vwsnf1_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_;
|
friend struct ::vl_workflow_global::__vwsnf1_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_;
|
||||||
@@ -142,6 +190,20 @@ namespace demo
|
|||||||
MainWindowConstructor();
|
MainWindowConstructor();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
class MainWindow : public ::vl::presentation::controls::GuiWindow, public ::demo::MainWindowConstructor, public ::vl::reflection::Description<MainWindow>
|
||||||
|
{
|
||||||
|
friend class ::demo::MainWindowConstructor;
|
||||||
|
friend struct ::vl_workflow_global::__vwsnf1_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_;
|
||||||
|
friend struct ::vl_workflow_global::__vwsnf2_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_;
|
||||||
|
friend struct ::vl_workflow_global::__vwsnf3_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_;
|
||||||
|
#ifndef VCZH_DEBUG_NO_REFLECTION
|
||||||
|
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<MainWindow>;
|
||||||
|
#endif
|
||||||
|
public:
|
||||||
|
MainWindow();
|
||||||
|
~MainWindow();
|
||||||
|
};
|
||||||
|
|
||||||
class MyTextItem : public ::vl::Object, public ::vl::reflection::Description<MyTextItem>
|
class MyTextItem : public ::vl::Object, public ::vl::reflection::Description<MyTextItem>
|
||||||
{
|
{
|
||||||
#ifndef VCZH_DEBUG_NO_REFLECTION
|
#ifndef VCZH_DEBUG_NO_REFLECTION
|
||||||
@@ -178,6 +240,21 @@ namespace demo
|
|||||||
SharedSizeItemTemplateConstructor();
|
SharedSizeItemTemplateConstructor();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
class SharedSizeItemTemplate : public ::vl::presentation::templates::GuiControlTemplate, public ::demo::SharedSizeItemTemplateConstructor, public ::vl::reflection::Description<SharedSizeItemTemplate>
|
||||||
|
{
|
||||||
|
friend class ::demo::SharedSizeItemTemplateConstructor;
|
||||||
|
friend class ::vl_workflow_global::__vwsnc2_Demo_demo_SharedSizeItemTemplateConstructor___vwsn_demo_SharedSizeItemTemplate_Initialize__vl_reflection_description_IValueSubscription;
|
||||||
|
friend struct ::vl_workflow_global::__vwsnf10_Demo_demo_SharedSizeItemTemplateConstructor___vwsn_demo_SharedSizeItemTemplate_Initialize_;
|
||||||
|
#ifndef VCZH_DEBUG_NO_REFLECTION
|
||||||
|
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<SharedSizeItemTemplate>;
|
||||||
|
#endif
|
||||||
|
public:
|
||||||
|
::vl::Ptr<::demo::MyTextItem> __vwsn_parameter_ViewModel;
|
||||||
|
::vl::Ptr<::demo::MyTextItem> GetViewModel();
|
||||||
|
SharedSizeItemTemplate(::vl::Ptr<::demo::MyTextItem> __vwsn_ctor_parameter_ViewModel);
|
||||||
|
~SharedSizeItemTemplate();
|
||||||
|
};
|
||||||
|
|
||||||
class SharedSizeTextItemTemplateConstructor : public ::vl::Object, public ::vl::reflection::Description<SharedSizeTextItemTemplateConstructor>
|
class SharedSizeTextItemTemplateConstructor : public ::vl::Object, public ::vl::reflection::Description<SharedSizeTextItemTemplateConstructor>
|
||||||
{
|
{
|
||||||
friend class ::vl_workflow_global::__vwsnc3_Demo_demo_SharedSizeTextItemTemplateConstructor___vwsn_demo_SharedSizeTextItemTemplate_Initialize__vl_reflection_description_IValueSubscription;
|
friend class ::vl_workflow_global::__vwsnc3_Demo_demo_SharedSizeTextItemTemplateConstructor___vwsn_demo_SharedSizeTextItemTemplate_Initialize__vl_reflection_description_IValueSubscription;
|
||||||
@@ -199,83 +276,6 @@ namespace demo
|
|||||||
SharedSizeTextItemTemplateConstructor();
|
SharedSizeTextItemTemplateConstructor();
|
||||||
};
|
};
|
||||||
|
|
||||||
class EnglishNumbersController : public ::vl::presentation::controls::GuiCustomControl, public ::demo::EnglishNumbersControllerConstructor, public ::vl::reflection::Description<EnglishNumbersController>
|
|
||||||
{
|
|
||||||
friend class ::demo::EnglishNumbersControllerConstructor;
|
|
||||||
friend class ::vl_workflow_global::__vwsnc1_Demo_demo_EnglishNumbersControllerConstructor___vwsn_demo_EnglishNumbersController_Initialize__vl_reflection_description_IValueSubscription;
|
|
||||||
friend struct ::vl_workflow_global::__vwsnf4_Demo_demo_EnglishNumbersControllerConstructor___vwsn_demo_EnglishNumbersController_Initialize_;
|
|
||||||
friend struct ::vl_workflow_global::__vwsnf5_Demo_demo_EnglishNumbersControllerConstructor___vwsn_demo_EnglishNumbersController_Initialize_;
|
|
||||||
friend struct ::vl_workflow_global::__vwsnf6_Demo_demo_EnglishNumbersControllerConstructor___vwsn_demo_EnglishNumbersController_Initialize_;
|
|
||||||
friend struct ::vl_workflow_global::__vwsnf7_Demo_demo_EnglishNumbersControllerConstructor___vwsn_demo_EnglishNumbersController_Initialize_;
|
|
||||||
friend struct ::vl_workflow_global::__vwsnf8_Demo_demo_EnglishNumbersControllerConstructor___vwsn_demo_EnglishNumbersController_Initialize_;
|
|
||||||
friend struct ::vl_workflow_global::__vwsnf9_Demo_demo_EnglishNumbersControllerConstructor___vwsn_demo_EnglishNumbersController_Initialize_;
|
|
||||||
#ifndef VCZH_DEBUG_NO_REFLECTION
|
|
||||||
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<EnglishNumbersController>;
|
|
||||||
#endif
|
|
||||||
private:
|
|
||||||
::vl::vint counter;
|
|
||||||
public:
|
|
||||||
::vl::Ptr<::vl::reflection::description::IValueObservableList> __vwsn_prop_ItemsToBind;
|
|
||||||
::vl::Ptr<::vl::reflection::description::IValueObservableList> GetItemsToBind();
|
|
||||||
void SetItemsToBind(::vl::Ptr<::vl::reflection::description::IValueObservableList> __vwsn_value_);
|
|
||||||
private:
|
|
||||||
::vl::WString ToText_1to9(::vl::vint i);
|
|
||||||
::vl::WString ToText_11to19(::vl::vint i);
|
|
||||||
::vl::WString NumberToText_1To99(::vl::vint i);
|
|
||||||
::vl::WString NumberToText_0to999(::vl::vint i);
|
|
||||||
::vl::WString NumberToText(::vl::vint i);
|
|
||||||
public:
|
|
||||||
EnglishNumbersController();
|
|
||||||
~EnglishNumbersController();
|
|
||||||
};
|
|
||||||
|
|
||||||
class EnglishNumbersControllerTabPage : public ::vl::presentation::controls::GuiTabPage, public ::demo::EnglishNumbersControllerTabPageConstructor, public ::vl::reflection::Description<EnglishNumbersControllerTabPage>
|
|
||||||
{
|
|
||||||
friend class ::demo::EnglishNumbersControllerTabPageConstructor;
|
|
||||||
#ifndef VCZH_DEBUG_NO_REFLECTION
|
|
||||||
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<EnglishNumbersControllerTabPage>;
|
|
||||||
#endif
|
|
||||||
public:
|
|
||||||
::vl::Ptr<::vl::reflection::description::IValueObservableList> __vwsn_prop_ItemsToBind;
|
|
||||||
::vl::Ptr<::vl::reflection::description::IValueObservableList> GetItemsToBind();
|
|
||||||
void SetItemsToBind(::vl::Ptr<::vl::reflection::description::IValueObservableList> __vwsn_value_);
|
|
||||||
::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_prop_ContentComposition;
|
|
||||||
::vl::presentation::compositions::GuiGraphicsComposition* GetContentComposition();
|
|
||||||
void SetContentComposition(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_value_);
|
|
||||||
EnglishNumbersControllerTabPage();
|
|
||||||
void __vwsn_instance_ctor_();
|
|
||||||
~EnglishNumbersControllerTabPage();
|
|
||||||
};
|
|
||||||
|
|
||||||
class MainWindow : public ::vl::presentation::controls::GuiWindow, public ::demo::MainWindowConstructor, public ::vl::reflection::Description<MainWindow>
|
|
||||||
{
|
|
||||||
friend class ::demo::MainWindowConstructor;
|
|
||||||
friend struct ::vl_workflow_global::__vwsnf1_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_;
|
|
||||||
friend struct ::vl_workflow_global::__vwsnf2_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_;
|
|
||||||
friend struct ::vl_workflow_global::__vwsnf3_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_;
|
|
||||||
#ifndef VCZH_DEBUG_NO_REFLECTION
|
|
||||||
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<MainWindow>;
|
|
||||||
#endif
|
|
||||||
public:
|
|
||||||
MainWindow();
|
|
||||||
~MainWindow();
|
|
||||||
};
|
|
||||||
|
|
||||||
class SharedSizeItemTemplate : public ::vl::presentation::templates::GuiControlTemplate, public ::demo::SharedSizeItemTemplateConstructor, public ::vl::reflection::Description<SharedSizeItemTemplate>
|
|
||||||
{
|
|
||||||
friend class ::demo::SharedSizeItemTemplateConstructor;
|
|
||||||
friend class ::vl_workflow_global::__vwsnc2_Demo_demo_SharedSizeItemTemplateConstructor___vwsn_demo_SharedSizeItemTemplate_Initialize__vl_reflection_description_IValueSubscription;
|
|
||||||
friend struct ::vl_workflow_global::__vwsnf10_Demo_demo_SharedSizeItemTemplateConstructor___vwsn_demo_SharedSizeItemTemplate_Initialize_;
|
|
||||||
#ifndef VCZH_DEBUG_NO_REFLECTION
|
|
||||||
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<SharedSizeItemTemplate>;
|
|
||||||
#endif
|
|
||||||
public:
|
|
||||||
::vl::Ptr<::demo::MyTextItem> __vwsn_parameter_ViewModel;
|
|
||||||
::vl::Ptr<::demo::MyTextItem> GetViewModel();
|
|
||||||
SharedSizeItemTemplate(::vl::Ptr<::demo::MyTextItem> __vwsn_ctor_parameter_ViewModel);
|
|
||||||
~SharedSizeItemTemplate();
|
|
||||||
};
|
|
||||||
|
|
||||||
class SharedSizeTextItemTemplate : public ::vl::presentation::templates::GuiTextListItemTemplate, public ::demo::SharedSizeTextItemTemplateConstructor, public ::vl::reflection::Description<SharedSizeTextItemTemplate>
|
class SharedSizeTextItemTemplate : public ::vl::presentation::templates::GuiTextListItemTemplate, public ::demo::SharedSizeTextItemTemplateConstructor, public ::vl::reflection::Description<SharedSizeTextItemTemplate>
|
||||||
{
|
{
|
||||||
friend class ::demo::SharedSizeTextItemTemplateConstructor;
|
friend class ::demo::SharedSizeTextItemTemplateConstructor;
|
||||||
|
|||||||
@@ -253,6 +253,24 @@ namespace demo
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
Class (::demo::MainWindow)
|
||||||
|
***********************************************************************/
|
||||||
|
|
||||||
|
MainWindow::MainWindow()
|
||||||
|
: ::vl::presentation::controls::GuiWindow(::vl::presentation::theme::ThemeName::Window)
|
||||||
|
{
|
||||||
|
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"demo::MainWindow", false));
|
||||||
|
auto __vwsn_resolver_ = ::vl::Ptr<::vl::presentation::GuiResourcePathResolver>(new ::vl::presentation::GuiResourcePathResolver(__vwsn_resource_, ::vl::__vwsn::This(__vwsn_resource_.Obj())->GetWorkingDirectory()));
|
||||||
|
::vl::__vwsn::This(this)->SetResourceResolver(__vwsn_resolver_);
|
||||||
|
::vl::__vwsn::This(this)->__vwsn_demo_MainWindow_Initialize(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
MainWindow::~MainWindow()
|
||||||
|
{
|
||||||
|
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::controls::GuiControlHost*>(this));
|
||||||
|
}
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
Class (::demo::MyControlConstructor)
|
Class (::demo::MyControlConstructor)
|
||||||
***********************************************************************/
|
***********************************************************************/
|
||||||
@@ -294,24 +312,6 @@ Class (::demo::MyControlConstructor)
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
/***********************************************************************
|
|
||||||
Class (::demo::MainWindow)
|
|
||||||
***********************************************************************/
|
|
||||||
|
|
||||||
MainWindow::MainWindow()
|
|
||||||
: ::vl::presentation::controls::GuiWindow(::vl::presentation::theme::ThemeName::Window)
|
|
||||||
{
|
|
||||||
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"demo::MainWindow", false));
|
|
||||||
auto __vwsn_resolver_ = ::vl::Ptr<::vl::presentation::GuiResourcePathResolver>(new ::vl::presentation::GuiResourcePathResolver(__vwsn_resource_, ::vl::__vwsn::This(__vwsn_resource_.Obj())->GetWorkingDirectory()));
|
|
||||||
::vl::__vwsn::This(this)->SetResourceResolver(__vwsn_resolver_);
|
|
||||||
::vl::__vwsn::This(this)->__vwsn_demo_MainWindow_Initialize(this);
|
|
||||||
}
|
|
||||||
|
|
||||||
MainWindow::~MainWindow()
|
|
||||||
{
|
|
||||||
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::controls::GuiControlHost*>(this));
|
|
||||||
}
|
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
Class (::demo::MyControl)
|
Class (::demo::MyControl)
|
||||||
***********************************************************************/
|
***********************************************************************/
|
||||||
|
|||||||
@@ -34,8 +34,8 @@ namespace vl_workflow_global
|
|||||||
namespace demo
|
namespace demo
|
||||||
{
|
{
|
||||||
class MainWindowConstructor;
|
class MainWindowConstructor;
|
||||||
class MyControlConstructor;
|
|
||||||
class MainWindow;
|
class MainWindow;
|
||||||
|
class MyControlConstructor;
|
||||||
class MyControl;
|
class MyControl;
|
||||||
|
|
||||||
class MainWindowConstructor : public ::vl::Object, public ::vl::reflection::Description<MainWindowConstructor>
|
class MainWindowConstructor : public ::vl::Object, public ::vl::reflection::Description<MainWindowConstructor>
|
||||||
@@ -52,6 +52,17 @@ namespace demo
|
|||||||
MainWindowConstructor();
|
MainWindowConstructor();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
class MainWindow : public ::vl::presentation::controls::GuiWindow, public ::demo::MainWindowConstructor, public ::vl::reflection::Description<MainWindow>
|
||||||
|
{
|
||||||
|
friend class ::demo::MainWindowConstructor;
|
||||||
|
#ifndef VCZH_DEBUG_NO_REFLECTION
|
||||||
|
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<MainWindow>;
|
||||||
|
#endif
|
||||||
|
public:
|
||||||
|
MainWindow();
|
||||||
|
~MainWindow();
|
||||||
|
};
|
||||||
|
|
||||||
class MyControlConstructor : public ::vl::Object, public ::vl::reflection::Description<MyControlConstructor>
|
class MyControlConstructor : public ::vl::Object, public ::vl::reflection::Description<MyControlConstructor>
|
||||||
{
|
{
|
||||||
friend class ::vl_workflow_global::__vwsnc1_Demo_demo_MyControlConstructor___vwsn_demo_MyControl_Initialize__vl_reflection_description_IValueSubscription;
|
friend class ::vl_workflow_global::__vwsnc1_Demo_demo_MyControlConstructor___vwsn_demo_MyControl_Initialize__vl_reflection_description_IValueSubscription;
|
||||||
@@ -71,17 +82,6 @@ namespace demo
|
|||||||
MyControlConstructor();
|
MyControlConstructor();
|
||||||
};
|
};
|
||||||
|
|
||||||
class MainWindow : public ::vl::presentation::controls::GuiWindow, public ::demo::MainWindowConstructor, public ::vl::reflection::Description<MainWindow>
|
|
||||||
{
|
|
||||||
friend class ::demo::MainWindowConstructor;
|
|
||||||
#ifndef VCZH_DEBUG_NO_REFLECTION
|
|
||||||
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<MainWindow>;
|
|
||||||
#endif
|
|
||||||
public:
|
|
||||||
MainWindow();
|
|
||||||
~MainWindow();
|
|
||||||
};
|
|
||||||
|
|
||||||
class MyControl : public ::vl::presentation::controls::GuiCustomControl, public ::demo::MyControlConstructor, public ::vl::reflection::Description<MyControl>
|
class MyControl : public ::vl::presentation::controls::GuiCustomControl, public ::demo::MyControlConstructor, public ::vl::reflection::Description<MyControl>
|
||||||
{
|
{
|
||||||
friend class ::demo::MyControlConstructor;
|
friend class ::demo::MyControlConstructor;
|
||||||
|
|||||||
@@ -109,6 +109,24 @@ namespace demo
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
Class (::demo::AnotherWindow)
|
||||||
|
***********************************************************************/
|
||||||
|
|
||||||
|
AnotherWindow::AnotherWindow()
|
||||||
|
: ::vl::presentation::controls::GuiWindow(::vl::presentation::theme::ThemeName::Window)
|
||||||
|
{
|
||||||
|
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"demo::AnotherWindow", false));
|
||||||
|
auto __vwsn_resolver_ = ::vl::Ptr<::vl::presentation::GuiResourcePathResolver>(new ::vl::presentation::GuiResourcePathResolver(__vwsn_resource_, ::vl::__vwsn::This(__vwsn_resource_.Obj())->GetWorkingDirectory()));
|
||||||
|
::vl::__vwsn::This(this)->SetResourceResolver(__vwsn_resolver_);
|
||||||
|
::vl::__vwsn::This(this)->__vwsn_demo_AnotherWindow_Initialize(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
AnotherWindow::~AnotherWindow()
|
||||||
|
{
|
||||||
|
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::controls::GuiControlHost*>(this));
|
||||||
|
}
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
Class (::demo::MainWindowConstructor)
|
Class (::demo::MainWindowConstructor)
|
||||||
***********************************************************************/
|
***********************************************************************/
|
||||||
@@ -152,24 +170,6 @@ Class (::demo::MainWindowConstructor)
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
/***********************************************************************
|
|
||||||
Class (::demo::AnotherWindow)
|
|
||||||
***********************************************************************/
|
|
||||||
|
|
||||||
AnotherWindow::AnotherWindow()
|
|
||||||
: ::vl::presentation::controls::GuiWindow(::vl::presentation::theme::ThemeName::Window)
|
|
||||||
{
|
|
||||||
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"demo::AnotherWindow", false));
|
|
||||||
auto __vwsn_resolver_ = ::vl::Ptr<::vl::presentation::GuiResourcePathResolver>(new ::vl::presentation::GuiResourcePathResolver(__vwsn_resource_, ::vl::__vwsn::This(__vwsn_resource_.Obj())->GetWorkingDirectory()));
|
|
||||||
::vl::__vwsn::This(this)->SetResourceResolver(__vwsn_resolver_);
|
|
||||||
::vl::__vwsn::This(this)->__vwsn_demo_AnotherWindow_Initialize(this);
|
|
||||||
}
|
|
||||||
|
|
||||||
AnotherWindow::~AnotherWindow()
|
|
||||||
{
|
|
||||||
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::controls::GuiControlHost*>(this));
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
#undef GLOBAL_SYMBOL
|
#undef GLOBAL_SYMBOL
|
||||||
#undef GLOBAL_NAME
|
#undef GLOBAL_NAME
|
||||||
|
|||||||
@@ -31,8 +31,8 @@ namespace vl_workflow_global
|
|||||||
namespace demo
|
namespace demo
|
||||||
{
|
{
|
||||||
class AnotherWindowConstructor;
|
class AnotherWindowConstructor;
|
||||||
class MainWindowConstructor;
|
|
||||||
class AnotherWindow;
|
class AnotherWindow;
|
||||||
|
class MainWindowConstructor;
|
||||||
class MainWindow;
|
class MainWindow;
|
||||||
|
|
||||||
class AnotherWindowConstructor : public ::vl::Object, public ::vl::reflection::Description<AnotherWindowConstructor>
|
class AnotherWindowConstructor : public ::vl::Object, public ::vl::reflection::Description<AnotherWindowConstructor>
|
||||||
@@ -49,6 +49,17 @@ namespace demo
|
|||||||
AnotherWindowConstructor();
|
AnotherWindowConstructor();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
class AnotherWindow : public ::vl::presentation::controls::GuiWindow, public ::demo::AnotherWindowConstructor, public ::vl::reflection::Description<AnotherWindow>
|
||||||
|
{
|
||||||
|
friend class ::demo::AnotherWindowConstructor;
|
||||||
|
#ifndef VCZH_DEBUG_NO_REFLECTION
|
||||||
|
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<AnotherWindow>;
|
||||||
|
#endif
|
||||||
|
public:
|
||||||
|
AnotherWindow();
|
||||||
|
~AnotherWindow();
|
||||||
|
};
|
||||||
|
|
||||||
class MainWindowConstructor : public ::vl::Object, public ::vl::reflection::Description<MainWindowConstructor>
|
class MainWindowConstructor : public ::vl::Object, public ::vl::reflection::Description<MainWindowConstructor>
|
||||||
{
|
{
|
||||||
friend struct ::vl_workflow_global::__vwsno1_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_;
|
friend struct ::vl_workflow_global::__vwsno1_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_;
|
||||||
@@ -65,17 +76,6 @@ namespace demo
|
|||||||
MainWindowConstructor();
|
MainWindowConstructor();
|
||||||
};
|
};
|
||||||
|
|
||||||
class AnotherWindow : public ::vl::presentation::controls::GuiWindow, public ::demo::AnotherWindowConstructor, public ::vl::reflection::Description<AnotherWindow>
|
|
||||||
{
|
|
||||||
friend class ::demo::AnotherWindowConstructor;
|
|
||||||
#ifndef VCZH_DEBUG_NO_REFLECTION
|
|
||||||
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<AnotherWindow>;
|
|
||||||
#endif
|
|
||||||
public:
|
|
||||||
AnotherWindow();
|
|
||||||
~AnotherWindow();
|
|
||||||
};
|
|
||||||
|
|
||||||
}
|
}
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
Global Variables and Functions
|
Global Variables and Functions
|
||||||
|
|||||||
@@ -281,6 +281,24 @@ namespace demo
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
Class (::demo::MainWindow)
|
||||||
|
***********************************************************************/
|
||||||
|
|
||||||
|
MainWindow::MainWindow()
|
||||||
|
: ::vl::presentation::controls::GuiWindow(::vl::presentation::theme::ThemeName::Window)
|
||||||
|
{
|
||||||
|
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"demo::MainWindow", false));
|
||||||
|
auto __vwsn_resolver_ = ::vl::Ptr<::vl::presentation::GuiResourcePathResolver>(new ::vl::presentation::GuiResourcePathResolver(__vwsn_resource_, ::vl::__vwsn::This(__vwsn_resource_.Obj())->GetWorkingDirectory()));
|
||||||
|
::vl::__vwsn::This(this)->SetResourceResolver(__vwsn_resolver_);
|
||||||
|
::vl::__vwsn::This(this)->__vwsn_demo_MainWindow_Initialize(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
MainWindow::~MainWindow()
|
||||||
|
{
|
||||||
|
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::controls::GuiControlHost*>(this));
|
||||||
|
}
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
Class (::demo::MyControlConstructor)
|
Class (::demo::MyControlConstructor)
|
||||||
***********************************************************************/
|
***********************************************************************/
|
||||||
@@ -386,24 +404,6 @@ Class (::demo::MyControlConstructor)
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
/***********************************************************************
|
|
||||||
Class (::demo::MainWindow)
|
|
||||||
***********************************************************************/
|
|
||||||
|
|
||||||
MainWindow::MainWindow()
|
|
||||||
: ::vl::presentation::controls::GuiWindow(::vl::presentation::theme::ThemeName::Window)
|
|
||||||
{
|
|
||||||
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"demo::MainWindow", false));
|
|
||||||
auto __vwsn_resolver_ = ::vl::Ptr<::vl::presentation::GuiResourcePathResolver>(new ::vl::presentation::GuiResourcePathResolver(__vwsn_resource_, ::vl::__vwsn::This(__vwsn_resource_.Obj())->GetWorkingDirectory()));
|
|
||||||
::vl::__vwsn::This(this)->SetResourceResolver(__vwsn_resolver_);
|
|
||||||
::vl::__vwsn::This(this)->__vwsn_demo_MainWindow_Initialize(this);
|
|
||||||
}
|
|
||||||
|
|
||||||
MainWindow::~MainWindow()
|
|
||||||
{
|
|
||||||
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::controls::GuiControlHost*>(this));
|
|
||||||
}
|
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
Class (::demo::MyControl)
|
Class (::demo::MyControl)
|
||||||
***********************************************************************/
|
***********************************************************************/
|
||||||
|
|||||||
@@ -36,8 +36,8 @@ namespace vl_workflow_global
|
|||||||
namespace demo
|
namespace demo
|
||||||
{
|
{
|
||||||
class MainWindowConstructor;
|
class MainWindowConstructor;
|
||||||
class MyControlConstructor;
|
|
||||||
class MainWindow;
|
class MainWindow;
|
||||||
|
class MyControlConstructor;
|
||||||
class MyControl;
|
class MyControl;
|
||||||
|
|
||||||
class MainWindowConstructor : public ::vl::Object, public ::vl::reflection::Description<MainWindowConstructor>
|
class MainWindowConstructor : public ::vl::Object, public ::vl::reflection::Description<MainWindowConstructor>
|
||||||
@@ -57,6 +57,19 @@ namespace demo
|
|||||||
MainWindowConstructor();
|
MainWindowConstructor();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
class MainWindow : public ::vl::presentation::controls::GuiWindow, public ::demo::MainWindowConstructor, public ::vl::reflection::Description<MainWindow>
|
||||||
|
{
|
||||||
|
friend class ::demo::MainWindowConstructor;
|
||||||
|
friend class ::vl_workflow_global::__vwsnc1_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize__vl_reflection_description_IValueSubscription;
|
||||||
|
friend struct ::vl_workflow_global::__vwsnf1_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_;
|
||||||
|
#ifndef VCZH_DEBUG_NO_REFLECTION
|
||||||
|
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<MainWindow>;
|
||||||
|
#endif
|
||||||
|
public:
|
||||||
|
MainWindow();
|
||||||
|
~MainWindow();
|
||||||
|
};
|
||||||
|
|
||||||
class MyControlConstructor : public ::vl::Object, public ::vl::reflection::Description<MyControlConstructor>
|
class MyControlConstructor : public ::vl::Object, public ::vl::reflection::Description<MyControlConstructor>
|
||||||
{
|
{
|
||||||
friend class ::vl_workflow_global::__vwsnc2_Demo_demo_MyControlConstructor___vwsn_demo_MyControl_Initialize__vl_reflection_description_IValueSubscription;
|
friend class ::vl_workflow_global::__vwsnc2_Demo_demo_MyControlConstructor___vwsn_demo_MyControl_Initialize__vl_reflection_description_IValueSubscription;
|
||||||
@@ -82,19 +95,6 @@ namespace demo
|
|||||||
MyControlConstructor();
|
MyControlConstructor();
|
||||||
};
|
};
|
||||||
|
|
||||||
class MainWindow : public ::vl::presentation::controls::GuiWindow, public ::demo::MainWindowConstructor, public ::vl::reflection::Description<MainWindow>
|
|
||||||
{
|
|
||||||
friend class ::demo::MainWindowConstructor;
|
|
||||||
friend class ::vl_workflow_global::__vwsnc1_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize__vl_reflection_description_IValueSubscription;
|
|
||||||
friend struct ::vl_workflow_global::__vwsnf1_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_;
|
|
||||||
#ifndef VCZH_DEBUG_NO_REFLECTION
|
|
||||||
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<MainWindow>;
|
|
||||||
#endif
|
|
||||||
public:
|
|
||||||
MainWindow();
|
|
||||||
~MainWindow();
|
|
||||||
};
|
|
||||||
|
|
||||||
class MyControl : public ::vl::presentation::controls::GuiCustomControl, public ::demo::MyControlConstructor, public ::vl::reflection::Description<MyControl>
|
class MyControl : public ::vl::presentation::controls::GuiCustomControl, public ::demo::MyControlConstructor, public ::vl::reflection::Description<MyControl>
|
||||||
{
|
{
|
||||||
friend class ::demo::MyControlConstructor;
|
friend class ::demo::MyControlConstructor;
|
||||||
|
|||||||
Reference in New Issue
Block a user