blob_id
stringlengths 40
40
| directory_id
stringlengths 40
40
| path
stringlengths 2
247
| content_id
stringlengths 40
40
| detected_licenses
listlengths 0
57
| license_type
stringclasses 2
values | repo_name
stringlengths 4
111
| snapshot_id
stringlengths 40
40
| revision_id
stringlengths 40
40
| branch_name
stringlengths 4
58
| visit_date
timestamp[ns]date 2015-07-25 18:16:41
2023-09-06 10:45:08
| revision_date
timestamp[ns]date 1970-01-14 14:03:36
2023-09-06 06:22:19
| committer_date
timestamp[ns]date 1970-01-14 14:03:36
2023-09-06 06:22:19
| github_id
int64 3.89k
689M
⌀ | star_events_count
int64 0
209k
| fork_events_count
int64 0
110k
| gha_license_id
stringclasses 25
values | gha_event_created_at
timestamp[ns]date 2012-06-07 00:51:45
2023-09-14 21:58:52
⌀ | gha_created_at
timestamp[ns]date 2008-03-27 23:40:48
2023-08-24 19:49:39
⌀ | gha_language
stringclasses 159
values | src_encoding
stringclasses 34
values | language
stringclasses 1
value | is_vendor
bool 1
class | is_generated
bool 2
classes | length_bytes
int64 7
10.5M
| extension
stringclasses 111
values | filename
stringlengths 1
195
| text
stringlengths 7
10.5M
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
972112e115eeb621c02049a1f441539bea1391b4
|
703de2cc53e6a1729bef24803a08f081afe7c0d7
|
/leetcode/two_pointers/rotate_list.cpp
|
6d0037c184fef5c2ec238dabeab266907ba8db61
|
[
"MIT"
] |
permissive
|
codingpotato/algorithm-cpp
|
7cea8c7b1aa06eec757368c921631a14cb1a3a93
|
793dc9e141000f48ea19c77ef0047923a7667358
|
refs/heads/master
| 2022-12-08T19:38:18.106049
| 2020-09-10T14:10:41
| 2020-09-10T14:10:41
| 274,135,515
| 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 1,040
|
cpp
|
rotate_list.cpp
|
#include <doctest/doctest.h>
#include <iostream>
#include <vector>
#include "list.h"
#include "verify.h"
// 61. Rotate List
class Solution {
public:
ListNode* rotateRight(ListNode* head, int k) {
if (!head) return nullptr;
ListNode dummy{0, head};
auto fast = &dummy;
auto n = 0;
while (k > 0) {
fast = fast->next;
--k;
++n;
if (!fast->next) {
k %= n;
fast = &dummy;
}
}
auto slow = &dummy;
while (fast->next) {
fast = fast->next;
slow = slow->next;
}
if (slow->next) {
fast->next = head;
head = slow->next;
slow->next = nullptr;
}
return head;
}
};
TEST_CASE("Rotate List") {
Solution s;
SUBCASE("Case 1") {
List list{1, 2, 3, 4, 5};
auto result = s.rotateRight(list.head, 2);
verify_list(result, std::vector<int>{4, 5, 1, 2, 3});
}
SUBCASE("Case 2") {
List list{0, 1, 2};
auto result = s.rotateRight(list.head, 4);
verify_list(result, std::vector<int>{2, 0, 1});
}
}
|
32cdbb655a241582d4f49c904274a6bf036ca795
|
9f9940d58e099318c77faf56816fcd251fdad39d
|
/src/http_server.hh
|
3bea81085d0b6d0ef86d8a538391f34d397f727b
|
[] |
no_license
|
tadasv/httplog
|
f6509dcfb47a0ae91947252f3b0c0f35c59e830e
|
52860e7b720272536877df9e50016ce4461dbc8b
|
refs/heads/master
| 2021-01-21T18:00:28.233474
| 2014-04-08T21:16:45
| 2014-04-08T21:16:45
| 18,564,566
| 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 486
|
hh
|
http_server.hh
|
#ifndef INCLUDE_GUARD_AA330A97_4F27_4542_A6EC_B8E67B66D18F
#define INCLUDE_GUARD_AA330A97_4F27_4542_A6EC_B8E67B66D18F
class HttpServer {
public:
HttpServer();
~HttpServer();
void Init(struct event_base *loop, int port, int backlog);
void Start();
void Stop();
protected:
struct evhttp *httpd_;
struct event_base *loop_;
int socket_;
int backlog_;
int port_;
};
#endif /* end of include guard */
|
badbb756ab3df1dabe084e7f82ea0c7727eb9d1c
|
3c09686d2196ec9957051e9f05bb03cb2be5d63c
|
/GreedTree.cpp
|
87a2f23078008c63d8541622a57b3e3a66421e33
|
[] |
no_license
|
Timsie/Greed-Solver
|
3e128be1a06cae615ec2f731f04bc94b2624bde7
|
1984f7096e0975c362c1ca6a42393b9b0f619b11
|
refs/heads/master
| 2021-01-10T19:32:08.865584
| 2011-09-11T02:47:30
| 2011-09-11T02:47:30
| 2,269,164
| 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 772
|
cpp
|
GreedTree.cpp
|
#include "GreedTree.h"
GreedTree::GreedTree(int x, int y, greedMatrix brd)
{
startX = x;
startY = y;
board = brd;
}
GreedTree::~GreedTree()
{
}
void GreedTree::buildTree()
{
int initial = 500;
int matrixSize = initial;
int lastIdx = 1;
GreedNode** tree = (GreedNode**)malloc(initial * sizeof(GreedNode*));
tree[0] = new GreedNode(0, NULL, 0, (GreedNode::Direction)NULL);
GreedNode node;
greedMatrix matrix;
GreedNode::Location loc;
for (int i = 0; i < lastIdx; i++)
{
node = *tree[i];
matrix = node.getClearedMatrix();
loc = node.getLocation();
switch(node.getDirectionCameFrom())
{
case GreedNode::ABOVE:
break;
case GreedNode::BELOW:
break;
case GreedNode::LEFT:
break;
case GreedNode::RIGHT:
break;
}
}
}
|
c81e5f64b619e7a95b3942c0f9c64993a9ee6157
|
cea74570a5a2511e68e4ba968220cd4bbb13c516
|
/OpenSauce/shared/Include/GWEN/Controls/Pointer.h
|
596278ffba5f5b014b3e8c12141a91608d11658f
|
[] |
no_license
|
Dwood15/OpenSauce_Upgrade
|
80bbc88fbf34340323d28ccd03623a103a27e714
|
d48cf4819ed371beb4f6e9426f8ab8bcd67fe2b3
|
refs/heads/master
| 2021-05-04T18:35:39.132266
| 2018-02-18T01:26:48
| 2018-02-18T01:26:48
| 120,191,658
| 5
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 477
|
h
|
Pointer.h
|
/*
GWEN
Copyright (c) 2010 Facepunch Studios
See license in Gwen.h
*/
#pragma once
#if !PLATFORM_IS_DEDI
#ifndef GWEN_CONTROLS_POINTER_H
#define GWEN_CONTROLS_POINTER_H
#include "Gwen/Controls/Base.h"
#include "Gwen/Gwen.h"
#include "Gwen/Skin.h"
namespace Gwen
{
namespace Controls
{
class GWEN_EXPORT Pointer : public Controls::Base
{
public:
GWEN_CONTROL( Pointer, Controls::Base );
virtual void Render( Skin::Base* skin );
};
}
}
#endif
#endif
|
cdcd465706be9c77d8b08eae64e4cadb427f3bd3
|
04854e7dc859870baa887c2a20f6bc90d741774a
|
/StructuredScript/StructuredScript/scanner/ScannerTest.cpp
|
b0607fe4148f28e742edc1712c46c2182c253632
|
[] |
no_license
|
benbraide/StructuredScript
|
6d0445876d7b76ee8fbad4b332488de7369ec11e
|
fdc12fd2a9e40c3dbdca0f9024ac79b7695dbe46
|
refs/heads/master
| 2016-09-14T10:16:58.379091
| 2016-05-27T16:18:47
| 2016-05-27T16:18:47
| 57,159,990
| 1
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 6,264
|
cpp
|
ScannerTest.cpp
|
#include "../CppUnitLite/TestHarness.h"
#include "Scanner.h"
#include "Plugins/Number/SignedNumber.h"
#include "Wells/StringCharacterWell.h"
namespace StructuredScript{
TEST(Scanner, Test){
Scanner::Scanner scanner;
Scanner::StringCharacterWell well("var value = -45 / -45 + 0x72ffb ** 036 ? 0b1001 : 4r320, \"hello\" + @`world` :: === + $ - /*ignore*/ aye;//fin");
std::string types = "any void bool bit byte char unsigned char short unsigned short int unsigned int long; unsigned long;";
types += "long long unsigned long long float double long double string str unsigned; unsigned float unsigned long double long bit";
Scanner::StringCharacterWell typeWell(types);
Scanner::Plugins::SignedNumber signedNumber;
scanner.init();
scanner.operatorSymbols.init();
CHECK(scanner.next(well) == Scanner::Token(Scanner::TokenType::TOKEN_TYPE_IDENTIFIER, "var"));
CHECK(scanner.next(well) == Scanner::Token(Scanner::TokenType::TOKEN_TYPE_IDENTIFIER, "value"));
CHECK(scanner.next(well) == Scanner::Token(Scanner::TokenType::TOKEN_TYPE_SYMBOL, "="));
CHECK(scanner.next(well, { &signedNumber }) == Scanner::Token(Scanner::TokenType::TOKEN_TYPE_DECIMAL_INTEGER, "-45"));
CHECK(scanner.next(well) == Scanner::Token(Scanner::TokenType::TOKEN_TYPE_SYMBOL, "/"));
CHECK(scanner.next(well) == Scanner::Token(Scanner::TokenType::TOKEN_TYPE_SYMBOL, "-"));
CHECK(scanner.next(well) == Scanner::Token(Scanner::TokenType::TOKEN_TYPE_DECIMAL_INTEGER, "45"));
CHECK(scanner.next(well) == Scanner::Token(Scanner::TokenType::TOKEN_TYPE_SYMBOL, "+"));
CHECK(scanner.next(well) == Scanner::Token(Scanner::TokenType::TOKEN_TYPE_HEXADECIMAL_INTEGER, "72ffb"));
CHECK(scanner.next(well) == Scanner::Token(Scanner::TokenType::TOKEN_TYPE_SYMBOL, "**"));
CHECK(scanner.next(well) == Scanner::Token(Scanner::TokenType::TOKEN_TYPE_OCTAL_INTEGER, "36"));
CHECK(scanner.next(well) == Scanner::Token(Scanner::TokenType::TOKEN_TYPE_SYMBOL, "?"));
CHECK(scanner.next(well) == Scanner::Token(Scanner::TokenType::TOKEN_TYPE_BINARY_INTEGER, "1001"));
CHECK(scanner.next(well) == Scanner::Token(Scanner::TokenType::TOKEN_TYPE_SYMBOL, ":"));
CHECK(scanner.next(well) == Scanner::Token(Scanner::TokenType::TOKEN_TYPE_RADIX_INTEGER, "320"));
CHECK(scanner.next(well) == Scanner::Token(Scanner::TokenType::TOKEN_TYPE_SYMBOL, ","));
CHECK(scanner.next(well) == Scanner::Token(Scanner::TokenType::TOKEN_TYPE_DOUBLY_QUOTED_STRING, "hello"));
CHECK(scanner.next(well) == Scanner::Token(Scanner::TokenType::TOKEN_TYPE_SYMBOL, "+"));
CHECK(scanner.next(well) == Scanner::Token(Scanner::TokenType::TOKEN_TYPE_BACK_QUOTED_RAW_STRING, "world"));
CHECK(scanner.next(well) == Scanner::Token(Scanner::TokenType::TOKEN_TYPE_SYMBOL, "::"));
CHECK(scanner.next(well) == Scanner::Token(Scanner::TokenType::TOKEN_TYPE_SYMBOL, "==="));
CHECK(scanner.next(well, { &signedNumber }) == Scanner::Token(Scanner::TokenType::TOKEN_TYPE_SYMBOL, "+"));
CHECK(scanner.next(well) == Scanner::Token(Scanner::TokenType::TOKEN_TYPE_IDENTIFIER, "$"));
CHECK(scanner.next(well, { &signedNumber }) == Scanner::Token(Scanner::TokenType::TOKEN_TYPE_SYMBOL, "-"));
CHECK(scanner.next(well) == Scanner::Token(Scanner::TokenType::TOKEN_TYPE_IDENTIFIER, "aye"));
CHECK(scanner.next(well) == Scanner::Token(Scanner::TokenType::TOKEN_TYPE_SYMBOL, ";"));
CHECK(scanner.next(well) == Scanner::Token(Scanner::TokenType::TOKEN_TYPE_NONE, ""));
CHECK(scanner.next(typeWell) == Scanner::Token(Scanner::Plugins::TypenameTokenType::type, "any"));
CHECK(scanner.next(typeWell) == Scanner::Token(Scanner::Plugins::TypenameTokenType::type, "void"));
CHECK(scanner.next(typeWell) == Scanner::Token(Scanner::Plugins::TypenameTokenType::type, "bool"));
CHECK(scanner.next(typeWell) == Scanner::Token(Scanner::Plugins::TypenameTokenType::type, "bit"));
CHECK(scanner.next(typeWell) == Scanner::Token(Scanner::Plugins::TypenameTokenType::type, "byte"));
CHECK(scanner.next(typeWell) == Scanner::Token(Scanner::Plugins::TypenameTokenType::type, "char"));
CHECK(scanner.next(typeWell) == Scanner::Token(Scanner::Plugins::TypenameTokenType::type, "unsigned char"));
CHECK(scanner.next(typeWell) == Scanner::Token(Scanner::Plugins::TypenameTokenType::type, "short"));
CHECK(scanner.next(typeWell) == Scanner::Token(Scanner::Plugins::TypenameTokenType::type, "unsigned short"));
CHECK(scanner.next(typeWell) == Scanner::Token(Scanner::Plugins::TypenameTokenType::type, "int"));
CHECK(scanner.next(typeWell) == Scanner::Token(Scanner::Plugins::TypenameTokenType::type, "unsigned int"));
CHECK(scanner.next(typeWell) == Scanner::Token(Scanner::Plugins::TypenameTokenType::type, "long"));
CHECK(scanner.next(typeWell) == Scanner::Token(Scanner::TokenType::TOKEN_TYPE_SYMBOL, ";"));
CHECK(scanner.next(typeWell) == Scanner::Token(Scanner::Plugins::TypenameTokenType::type, "unsigned long"));
CHECK(scanner.next(typeWell) == Scanner::Token(Scanner::TokenType::TOKEN_TYPE_SYMBOL, ";"));
CHECK(scanner.next(typeWell) == Scanner::Token(Scanner::Plugins::TypenameTokenType::type, "long long"));
CHECK(scanner.next(typeWell) == Scanner::Token(Scanner::Plugins::TypenameTokenType::type, "unsigned long long"));
CHECK(scanner.next(typeWell) == Scanner::Token(Scanner::Plugins::TypenameTokenType::type, "float"));
CHECK(scanner.next(typeWell) == Scanner::Token(Scanner::Plugins::TypenameTokenType::type, "double"));
CHECK(scanner.next(typeWell) == Scanner::Token(Scanner::Plugins::TypenameTokenType::type, "long double"));
CHECK(scanner.next(typeWell) == Scanner::Token(Scanner::Plugins::TypenameTokenType::type, "string"));
CHECK(scanner.next(typeWell) == Scanner::Token(Scanner::TokenType::TOKEN_TYPE_IDENTIFIER, "str"));
CHECK(scanner.next(typeWell) == Scanner::Token(Scanner::TokenType::TOKEN_TYPE_ERROR, "unsigned"));
CHECK(scanner.next(typeWell) == Scanner::Token(Scanner::TokenType::TOKEN_TYPE_SYMBOL, ";"));
CHECK(scanner.next(typeWell) == Scanner::Token(Scanner::TokenType::TOKEN_TYPE_ERROR, "unsigned float"));
CHECK(scanner.next(typeWell) == Scanner::Token(Scanner::TokenType::TOKEN_TYPE_ERROR, "unsigned long double"));
CHECK(scanner.next(typeWell) == Scanner::Token(Scanner::TokenType::TOKEN_TYPE_ERROR, "long bit"));
}
}
|
865022d8a828853279947790a30d14d5b6b9995b
|
de7e771699065ec21a340ada1060a3cf0bec3091
|
/core/src/java/org/apache/lucene/codecs/LegacyDocValuesIterables.cpp
|
58c36368a74e36eedb4535134eca8240d3800aac
|
[] |
no_license
|
sraihan73/Lucene-
|
0d7290bacba05c33b8d5762e0a2a30c1ec8cf110
|
1fe2b48428dcbd1feb3e10202ec991a5ca0d54f3
|
refs/heads/master
| 2020-03-31T07:23:46.505891
| 2018-12-08T14:57:54
| 2018-12-08T14:57:54
| 152,020,180
| 7
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 22,611
|
cpp
|
LegacyDocValuesIterables.cpp
|
using namespace std;
#include "LegacyDocValuesIterables.h"
#include "../index/BinaryDocValues.h"
#include "../index/FieldInfo.h"
#include "../index/NumericDocValues.h"
#include "../index/SortedDocValues.h"
#include "../index/SortedNumericDocValues.h"
#include "../index/SortedSetDocValues.h"
#include "../util/BytesRef.h"
#include "DocValuesProducer.h"
#include "NormsProducer.h"
namespace org::apache::lucene::codecs
{
using BinaryDocValues = org::apache::lucene::index::BinaryDocValues;
using FieldInfo = org::apache::lucene::index::FieldInfo;
using NumericDocValues = org::apache::lucene::index::NumericDocValues;
using SortedDocValues = org::apache::lucene::index::SortedDocValues;
using SortedNumericDocValues =
org::apache::lucene::index::SortedNumericDocValues;
using SortedSetDocValues = org::apache::lucene::index::SortedSetDocValues;
using BytesRef = org::apache::lucene::util::BytesRef;
// import static org.apache.lucene.index.SortedSetDocValues.NO_MORE_ORDS;
// import static org.apache.lucene.search.DocIdSetIterator.NO_MORE_DOCS;
LegacyDocValuesIterables::LegacyDocValuesIterables()
{
// no
}
// C++ TODO: Most Java annotations will not have direct C++ equivalents:
// ORIGINAL LINE: @Deprecated public static
// Iterable<org.apache.lucene.util.BytesRef> valuesIterable(final
// org.apache.lucene.index.SortedDocValues values)
deque<std::shared_ptr<BytesRef>>
LegacyDocValuesIterables::valuesIterable(shared_ptr<SortedDocValues> values)
{
return make_shared<IterableAnonymousInnerClass>(values);
}
LegacyDocValuesIterables::IterableAnonymousInnerClass::
IterableAnonymousInnerClass(shared_ptr<SortedDocValues> values)
{
this->values = values;
}
shared_ptr<Iterator<std::shared_ptr<BytesRef>>>
LegacyDocValuesIterables::IterableAnonymousInnerClass::iterator()
{
return make_shared<IteratorAnonymousInnerClass>(shared_from_this());
}
LegacyDocValuesIterables::IterableAnonymousInnerClass::
IteratorAnonymousInnerClass::IteratorAnonymousInnerClass(
shared_ptr<IterableAnonymousInnerClass> outerInstance)
{
this->outerInstance = outerInstance;
}
bool LegacyDocValuesIterables::IterableAnonymousInnerClass::
IteratorAnonymousInnerClass::hasNext()
{
return nextOrd < outerInstance->values.getValueCount();
}
shared_ptr<BytesRef> LegacyDocValuesIterables::IterableAnonymousInnerClass::
IteratorAnonymousInnerClass::next()
{
try {
return outerInstance->values.lookupOrd(nextOrd++);
} catch (const IOException &e) {
throw runtime_error(e);
}
}
// C++ TODO: Most Java annotations will not have direct C++ equivalents:
// ORIGINAL LINE: @Deprecated public static
// Iterable<org.apache.lucene.util.BytesRef> valuesIterable(final
// org.apache.lucene.index.SortedSetDocValues values)
deque<std::shared_ptr<BytesRef>>
LegacyDocValuesIterables::valuesIterable(shared_ptr<SortedSetDocValues> values)
{
return make_shared<IterableAnonymousInnerClass2>(values);
}
LegacyDocValuesIterables::IterableAnonymousInnerClass2::
IterableAnonymousInnerClass2(shared_ptr<SortedSetDocValues> values)
{
this->values = values;
}
shared_ptr<Iterator<std::shared_ptr<BytesRef>>>
LegacyDocValuesIterables::IterableAnonymousInnerClass2::iterator()
{
return make_shared<IteratorAnonymousInnerClass2>(shared_from_this());
}
LegacyDocValuesIterables::IterableAnonymousInnerClass2::
IteratorAnonymousInnerClass2::IteratorAnonymousInnerClass2(
shared_ptr<IterableAnonymousInnerClass2> outerInstance)
{
this->outerInstance = outerInstance;
}
bool LegacyDocValuesIterables::IterableAnonymousInnerClass2::
IteratorAnonymousInnerClass2::hasNext()
{
return nextOrd < outerInstance->values.getValueCount();
}
shared_ptr<BytesRef> LegacyDocValuesIterables::IterableAnonymousInnerClass2::
IteratorAnonymousInnerClass2::next()
{
try {
return outerInstance->values.lookupOrd(nextOrd++);
} catch (const IOException &e) {
throw runtime_error(e);
}
}
// C++ TODO: Most Java annotations will not have direct C++ equivalents:
// ORIGINAL LINE: @Deprecated public static Iterable<Number>
// sortedOrdIterable(final DocValuesProducer valuesProducer,
// org.apache.lucene.index.FieldInfo fieldInfo, int maxDoc)
deque<std::shared_ptr<Number>> LegacyDocValuesIterables::sortedOrdIterable(
shared_ptr<DocValuesProducer> valuesProducer,
shared_ptr<FieldInfo> fieldInfo, int maxDoc)
{
return make_shared<IterableAnonymousInnerClass3>(valuesProducer, fieldInfo,
maxDoc);
}
LegacyDocValuesIterables::IterableAnonymousInnerClass3::
IterableAnonymousInnerClass3(
shared_ptr<org::apache::lucene::codecs::DocValuesProducer>
valuesProducer,
shared_ptr<FieldInfo> fieldInfo, int maxDoc)
{
this->valuesProducer = valuesProducer;
this->fieldInfo = fieldInfo;
this->maxDoc = maxDoc;
}
shared_ptr<Iterator<std::shared_ptr<Number>>>
LegacyDocValuesIterables::IterableAnonymousInnerClass3::iterator()
{
shared_ptr<SortedDocValues> *const values;
try {
values = valuesProducer->getSorted(fieldInfo);
} catch (const IOException &ioe) {
throw runtime_error(ioe);
}
return make_shared<IteratorAnonymousInnerClass3>(shared_from_this(), values);
}
LegacyDocValuesIterables::IterableAnonymousInnerClass3::
IteratorAnonymousInnerClass3::IteratorAnonymousInnerClass3(
shared_ptr<IterableAnonymousInnerClass3> outerInstance,
shared_ptr<SortedDocValues> values)
{
this->outerInstance = outerInstance;
this->values = values;
}
bool LegacyDocValuesIterables::IterableAnonymousInnerClass3::
IteratorAnonymousInnerClass3::hasNext()
{
return nextDocID < outerInstance->maxDoc;
}
shared_ptr<Number> LegacyDocValuesIterables::IterableAnonymousInnerClass3::
IteratorAnonymousInnerClass3::next()
{
try {
if (nextDocID > values->docID()) {
values->nextDoc();
}
int result;
if (nextDocID == values->docID()) {
result = values->ordValue();
} else {
result = -1;
}
nextDocID++;
return result;
} catch (const IOException &ioe) {
throw runtime_error(ioe);
}
}
// C++ TODO: Most Java annotations will not have direct C++ equivalents:
// ORIGINAL LINE: @Deprecated public static Iterable<Number>
// sortedSetOrdCountIterable(final DocValuesProducer valuesProducer, final
// org.apache.lucene.index.FieldInfo fieldInfo, final int maxDoc)
deque<std::shared_ptr<Number>>
LegacyDocValuesIterables::sortedSetOrdCountIterable(
shared_ptr<DocValuesProducer> valuesProducer,
shared_ptr<FieldInfo> fieldInfo, int const maxDoc)
{
return make_shared<IterableAnonymousInnerClass4>(valuesProducer, fieldInfo,
maxDoc);
}
LegacyDocValuesIterables::IterableAnonymousInnerClass4::
IterableAnonymousInnerClass4(
shared_ptr<org::apache::lucene::codecs::DocValuesProducer>
valuesProducer,
shared_ptr<FieldInfo> fieldInfo, int maxDoc)
{
this->valuesProducer = valuesProducer;
this->fieldInfo = fieldInfo;
this->maxDoc = maxDoc;
}
shared_ptr<Iterator<std::shared_ptr<Number>>>
LegacyDocValuesIterables::IterableAnonymousInnerClass4::iterator()
{
shared_ptr<SortedSetDocValues> *const values;
try {
values = valuesProducer->getSortedSet(fieldInfo);
} catch (const IOException &ioe) {
throw runtime_error(ioe);
}
return make_shared<IteratorAnonymousInnerClass4>(shared_from_this(), values);
}
LegacyDocValuesIterables::IterableAnonymousInnerClass4::
IteratorAnonymousInnerClass4::IteratorAnonymousInnerClass4(
shared_ptr<IterableAnonymousInnerClass4> outerInstance,
shared_ptr<SortedSetDocValues> values)
{
this->outerInstance = outerInstance;
this->values = values;
}
bool LegacyDocValuesIterables::IterableAnonymousInnerClass4::
IteratorAnonymousInnerClass4::hasNext()
{
return nextDocID < outerInstance->maxDoc;
}
shared_ptr<Number> LegacyDocValuesIterables::IterableAnonymousInnerClass4::
IteratorAnonymousInnerClass4::next()
{
try {
if (nextDocID > values->docID()) {
if (values->nextDoc() != NO_MORE_DOCS) {
ordCount = 0;
while (values->nextOrd() != SortedSetDocValues::NO_MORE_ORDS) {
ordCount++;
}
}
}
int result;
if (nextDocID == values->docID()) {
result = ordCount;
} else {
result = 0;
}
nextDocID++;
return result;
} catch (const IOException &ioe) {
throw runtime_error(ioe);
}
}
// C++ TODO: Most Java annotations will not have direct C++ equivalents:
// ORIGINAL LINE: @Deprecated public static Iterable<Number>
// sortedSetOrdsIterable(final DocValuesProducer valuesProducer, final
// org.apache.lucene.index.FieldInfo fieldInfo)
deque<std::shared_ptr<Number>> LegacyDocValuesIterables::sortedSetOrdsIterable(
shared_ptr<DocValuesProducer> valuesProducer,
shared_ptr<FieldInfo> fieldInfo)
{
return make_shared<IterableAnonymousInnerClass5>(valuesProducer, fieldInfo);
}
LegacyDocValuesIterables::IterableAnonymousInnerClass5::
IterableAnonymousInnerClass5(
shared_ptr<org::apache::lucene::codecs::DocValuesProducer>
valuesProducer,
shared_ptr<FieldInfo> fieldInfo)
{
this->valuesProducer = valuesProducer;
this->fieldInfo = fieldInfo;
}
shared_ptr<Iterator<std::shared_ptr<Number>>>
LegacyDocValuesIterables::IterableAnonymousInnerClass5::iterator()
{
shared_ptr<SortedSetDocValues> *const values;
try {
values = valuesProducer->getSortedSet(fieldInfo);
} catch (const IOException &ioe) {
throw runtime_error(ioe);
}
return make_shared<IteratorAnonymousInnerClass5>(shared_from_this(), values);
}
LegacyDocValuesIterables::IterableAnonymousInnerClass5::
IteratorAnonymousInnerClass5::IteratorAnonymousInnerClass5(
shared_ptr<IterableAnonymousInnerClass5> outerInstance,
shared_ptr<SortedSetDocValues> values)
{
this->outerInstance = outerInstance;
this->values = values;
}
void LegacyDocValuesIterables::IterableAnonymousInnerClass5::
IteratorAnonymousInnerClass5::setNext()
{
try {
if (nextIsSet == false) {
if (values->docID() == -1) {
values->nextDoc();
}
while (true) {
if (values->docID() == NO_MORE_DOCS) {
nextOrd = -1;
break;
}
nextOrd = values->nextOrd();
if (nextOrd != -1) {
break;
}
values->nextDoc();
}
nextIsSet = true;
}
} catch (const IOException &ioe) {
throw runtime_error(ioe);
}
}
bool LegacyDocValuesIterables::IterableAnonymousInnerClass5::
IteratorAnonymousInnerClass5::hasNext()
{
setNext();
return nextOrd != -1;
}
shared_ptr<Number> LegacyDocValuesIterables::IterableAnonymousInnerClass5::
IteratorAnonymousInnerClass5::next()
{
setNext();
assert(nextOrd != -1);
nextIsSet = false;
return nextOrd;
}
// C++ TODO: Most Java annotations will not have direct C++ equivalents:
// ORIGINAL LINE: @Deprecated public static Iterable<Number>
// sortedNumericToDocCount(final DocValuesProducer valuesProducer, final
// org.apache.lucene.index.FieldInfo fieldInfo, int maxDoc)
deque<std::shared_ptr<Number>>
LegacyDocValuesIterables::sortedNumericToDocCount(
shared_ptr<DocValuesProducer> valuesProducer,
shared_ptr<FieldInfo> fieldInfo, int maxDoc)
{
return make_shared<IterableAnonymousInnerClass6>(valuesProducer, fieldInfo,
maxDoc);
}
LegacyDocValuesIterables::IterableAnonymousInnerClass6::
IterableAnonymousInnerClass6(
shared_ptr<org::apache::lucene::codecs::DocValuesProducer>
valuesProducer,
shared_ptr<FieldInfo> fieldInfo, int maxDoc)
{
this->valuesProducer = valuesProducer;
this->fieldInfo = fieldInfo;
this->maxDoc = maxDoc;
}
shared_ptr<Iterator<std::shared_ptr<Number>>>
LegacyDocValuesIterables::IterableAnonymousInnerClass6::iterator()
{
shared_ptr<SortedNumericDocValues> *const values;
try {
values = valuesProducer->getSortedNumeric(fieldInfo);
} catch (const IOException &ioe) {
throw runtime_error(ioe);
}
return make_shared<IteratorAnonymousInnerClass6>(shared_from_this(), values);
}
LegacyDocValuesIterables::IterableAnonymousInnerClass6::
IteratorAnonymousInnerClass6::IteratorAnonymousInnerClass6(
shared_ptr<IterableAnonymousInnerClass6> outerInstance,
shared_ptr<SortedNumericDocValues> values)
{
this->outerInstance = outerInstance;
this->values = values;
}
bool LegacyDocValuesIterables::IterableAnonymousInnerClass6::
IteratorAnonymousInnerClass6::hasNext()
{
return nextDocID < outerInstance->maxDoc;
}
shared_ptr<Number> LegacyDocValuesIterables::IterableAnonymousInnerClass6::
IteratorAnonymousInnerClass6::next()
{
try {
if (nextDocID > values->docID()) {
values->nextDoc();
}
int result;
if (nextDocID == values->docID()) {
result = values->docValueCount();
} else {
result = 0;
}
nextDocID++;
return result;
} catch (const IOException &ioe) {
throw runtime_error(ioe);
}
}
// C++ TODO: Most Java annotations will not have direct C++ equivalents:
// ORIGINAL LINE: @Deprecated public static Iterable<Number>
// sortedNumericToValues(final DocValuesProducer valuesProducer, final
// org.apache.lucene.index.FieldInfo fieldInfo)
deque<std::shared_ptr<Number>> LegacyDocValuesIterables::sortedNumericToValues(
shared_ptr<DocValuesProducer> valuesProducer,
shared_ptr<FieldInfo> fieldInfo)
{
return make_shared<IterableAnonymousInnerClass7>(valuesProducer, fieldInfo);
}
LegacyDocValuesIterables::IterableAnonymousInnerClass7::
IterableAnonymousInnerClass7(
shared_ptr<org::apache::lucene::codecs::DocValuesProducer>
valuesProducer,
shared_ptr<FieldInfo> fieldInfo)
{
this->valuesProducer = valuesProducer;
this->fieldInfo = fieldInfo;
}
shared_ptr<Iterator<std::shared_ptr<Number>>>
LegacyDocValuesIterables::IterableAnonymousInnerClass7::iterator()
{
shared_ptr<SortedNumericDocValues> *const values;
try {
values = valuesProducer->getSortedNumeric(fieldInfo);
} catch (const IOException &ioe) {
throw runtime_error(ioe);
}
return make_shared<IteratorAnonymousInnerClass7>(shared_from_this(), values);
}
LegacyDocValuesIterables::IterableAnonymousInnerClass7::
IteratorAnonymousInnerClass7::IteratorAnonymousInnerClass7(
shared_ptr<IterableAnonymousInnerClass7> outerInstance,
shared_ptr<SortedNumericDocValues> values)
{
this->outerInstance = outerInstance;
this->values = values;
}
void LegacyDocValuesIterables::IterableAnonymousInnerClass7::
IteratorAnonymousInnerClass7::setNext()
{
try {
if (nextIsSet == false) {
if (upto == nextCount) {
values->nextDoc();
if (values->docID() == NO_MORE_DOCS) {
nextCount = 0;
nextIsSet = false;
return;
} else {
nextCount = values->docValueCount();
}
upto = 0;
}
nextValue = values->nextValue();
upto++;
nextIsSet = true;
}
} catch (const IOException &ioe) {
throw runtime_error(ioe);
}
}
bool LegacyDocValuesIterables::IterableAnonymousInnerClass7::
IteratorAnonymousInnerClass7::hasNext()
{
setNext();
return nextCount != 0;
}
shared_ptr<Number> LegacyDocValuesIterables::IterableAnonymousInnerClass7::
IteratorAnonymousInnerClass7::next()
{
setNext();
assert(nextCount != 0);
nextIsSet = false;
return nextValue;
}
// C++ TODO: Most Java annotations will not have direct C++ equivalents:
// ORIGINAL LINE: @Deprecated public static Iterable<Number> normsIterable(final
// org.apache.lucene.index.FieldInfo field, final NormsProducer normsProducer,
// final int maxDoc)
deque<std::shared_ptr<Number>>
LegacyDocValuesIterables::normsIterable(shared_ptr<FieldInfo> field,
shared_ptr<NormsProducer> normsProducer,
int const maxDoc)
{
return make_shared<IterableAnonymousInnerClass8>(field, normsProducer,
maxDoc);
}
LegacyDocValuesIterables::IterableAnonymousInnerClass8::
IterableAnonymousInnerClass8(
shared_ptr<FieldInfo> field,
shared_ptr<org::apache::lucene::codecs::NormsProducer> normsProducer,
int maxDoc)
{
this->field = field;
this->normsProducer = normsProducer;
this->maxDoc = maxDoc;
}
shared_ptr<Iterator<std::shared_ptr<Number>>>
LegacyDocValuesIterables::IterableAnonymousInnerClass8::iterator()
{
shared_ptr<NumericDocValues> *const values;
try {
values = normsProducer->getNorms(field);
} catch (const IOException &ioe) {
throw runtime_error(ioe);
}
return make_shared<IteratorAnonymousInnerClass8>(shared_from_this(), values);
}
LegacyDocValuesIterables::IterableAnonymousInnerClass8::
IteratorAnonymousInnerClass8::IteratorAnonymousInnerClass8(
shared_ptr<IterableAnonymousInnerClass8> outerInstance,
shared_ptr<NumericDocValues> values)
{
this->outerInstance = outerInstance;
this->values = values;
docIDUpto = -1;
}
bool LegacyDocValuesIterables::IterableAnonymousInnerClass8::
IteratorAnonymousInnerClass8::hasNext()
{
return docIDUpto + 1 < outerInstance->maxDoc;
}
shared_ptr<Number> LegacyDocValuesIterables::IterableAnonymousInnerClass8::
IteratorAnonymousInnerClass8::next()
{
docIDUpto++;
if (docIDUpto > values->docID()) {
try {
values->nextDoc();
} catch (const IOException &ioe) {
throw runtime_error(ioe);
}
}
shared_ptr<Number> result;
if (docIDUpto == values->docID()) {
try {
result = values->longValue();
} catch (const IOException &ioe) {
throw runtime_error(ioe);
}
} else {
// Unlike NumericDocValues, norms used to return 0 for missing values:
result = 0;
}
return result;
}
// C++ TODO: Most Java annotations will not have direct C++ equivalents:
// ORIGINAL LINE: @Deprecated public static
// Iterable<org.apache.lucene.util.BytesRef> binaryIterable(final
// org.apache.lucene.index.FieldInfo field, final DocValuesProducer
// valuesProducer, final int maxDoc)
deque<std::shared_ptr<BytesRef>> LegacyDocValuesIterables::binaryIterable(
shared_ptr<FieldInfo> field, shared_ptr<DocValuesProducer> valuesProducer,
int const maxDoc)
{
return make_shared<IterableAnonymousInnerClass9>(field, valuesProducer,
maxDoc);
}
LegacyDocValuesIterables::IterableAnonymousInnerClass9::
IterableAnonymousInnerClass9(
shared_ptr<FieldInfo> field,
shared_ptr<org::apache::lucene::codecs::DocValuesProducer>
valuesProducer,
int maxDoc)
{
this->field = field;
this->valuesProducer = valuesProducer;
this->maxDoc = maxDoc;
}
shared_ptr<Iterator<std::shared_ptr<BytesRef>>>
LegacyDocValuesIterables::IterableAnonymousInnerClass9::iterator()
{
shared_ptr<BinaryDocValues> *const values;
try {
values = valuesProducer->getBinary(field);
} catch (const IOException &ioe) {
throw runtime_error(ioe);
}
return make_shared<IteratorAnonymousInnerClass9>(shared_from_this(), values);
}
LegacyDocValuesIterables::IterableAnonymousInnerClass9::
IteratorAnonymousInnerClass9::IteratorAnonymousInnerClass9(
shared_ptr<IterableAnonymousInnerClass9> outerInstance,
shared_ptr<BinaryDocValues> values)
{
this->outerInstance = outerInstance;
this->values = values;
docIDUpto = -1;
}
bool LegacyDocValuesIterables::IterableAnonymousInnerClass9::
IteratorAnonymousInnerClass9::hasNext()
{
return docIDUpto + 1 < outerInstance->maxDoc;
}
shared_ptr<BytesRef> LegacyDocValuesIterables::IterableAnonymousInnerClass9::
IteratorAnonymousInnerClass9::next()
{
docIDUpto++;
if (docIDUpto > values->docID()) {
try {
values->nextDoc();
} catch (const IOException &ioe) {
throw runtime_error(ioe);
}
}
shared_ptr<BytesRef> result;
if (docIDUpto == values->docID()) {
try {
result = values->binaryValue();
} catch (const IOException &e) {
throw runtime_error(e);
}
} else {
result.reset();
}
return result;
}
// C++ TODO: Most Java annotations will not have direct C++ equivalents:
// ORIGINAL LINE: @Deprecated public static Iterable<Number>
// numericIterable(final org.apache.lucene.index.FieldInfo field, final
// DocValuesProducer valuesProducer, final int maxDoc)
deque<std::shared_ptr<Number>> LegacyDocValuesIterables::numericIterable(
shared_ptr<FieldInfo> field, shared_ptr<DocValuesProducer> valuesProducer,
int const maxDoc)
{
return make_shared<IterableAnonymousInnerClass10>(field, valuesProducer,
maxDoc);
}
LegacyDocValuesIterables::IterableAnonymousInnerClass10::
IterableAnonymousInnerClass10(
shared_ptr<FieldInfo> field,
shared_ptr<org::apache::lucene::codecs::DocValuesProducer>
valuesProducer,
int maxDoc)
{
this->field = field;
this->valuesProducer = valuesProducer;
this->maxDoc = maxDoc;
}
shared_ptr<Iterator<std::shared_ptr<Number>>>
LegacyDocValuesIterables::IterableAnonymousInnerClass10::iterator()
{
shared_ptr<NumericDocValues> *const values;
try {
values = valuesProducer->getNumeric(field);
} catch (const IOException &ioe) {
throw runtime_error(ioe);
}
return make_shared<IteratorAnonymousInnerClass10>(shared_from_this(), values);
}
LegacyDocValuesIterables::IterableAnonymousInnerClass10::
IteratorAnonymousInnerClass10::IteratorAnonymousInnerClass10(
shared_ptr<IterableAnonymousInnerClass10> outerInstance,
shared_ptr<NumericDocValues> values)
{
this->outerInstance = outerInstance;
this->values = values;
docIDUpto = -1;
}
bool LegacyDocValuesIterables::IterableAnonymousInnerClass10::
IteratorAnonymousInnerClass10::hasNext()
{
return docIDUpto + 1 < outerInstance->maxDoc;
}
shared_ptr<Number> LegacyDocValuesIterables::IterableAnonymousInnerClass10::
IteratorAnonymousInnerClass10::next()
{
docIDUpto++;
if (docIDUpto > values->docID()) {
try {
values->nextDoc();
} catch (const IOException &ioe) {
throw runtime_error(ioe);
}
}
shared_ptr<Number> result;
if (docIDUpto == values->docID()) {
try {
result = values->longValue();
} catch (const IOException &ioe) {
throw runtime_error(ioe);
}
} else {
result.reset();
}
return result;
}
} // namespace org::apache::lucene::codecs
|
2b95dc2d17135315991af18751fd59ce39e61195
|
c45a2cfb6864bfaf017b54ee23e3f5b9b5ab5e62
|
/app/src/main/cpp/SortHelper.h
|
dcb8dfe6920b8f92ac512c5b6144f82104fdf264
|
[] |
no_license
|
arpsyalin/algorithm
|
131e5ee58735eb6dfbf16fb8d2e69f41368b37df
|
a802c20727ba85fb429e6356d40f916a70485618
|
refs/heads/master
| 2022-12-31T16:27:38.038691
| 2020-10-22T09:14:38
| 2020-10-22T09:14:38
| 306,046,481
| 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 386
|
h
|
SortHelper.h
|
#ifndef ALGORITHM_SORTHELPER_H
#define ALGORITHM_SORTHELPER_H
namespace SortHelper {
//生成随机数组num为数量,start-end的范围
int *generateRandomArray(int num, int start, int end);
void swap(int *arr, int i, int j);
//选择排序算法
int *selectionSort(int *arr, int len);
int *fillArr(int *arr, int size);
}
#endif //ALGORITHM_SORTHELPER_H
|
33adc384003e165935a1b993cc85633488f23abe
|
21c9a61c287a8a63525ec473d56d43d30cce872e
|
/Core/src/UserInterface/LabelsList.cpp
|
4a58a98ace0ea307ddbd9f8fee1da09f8a6d0bab
|
[] |
no_license
|
lazarev-pv/robot-game
|
444242166766bc4753e170177522f6286ae46df5
|
f4f22f2f2f7da51c07eb3b148d844fbd187fe867
|
refs/heads/master
| 2021-01-10T09:17:15.792534
| 2015-10-01T16:57:54
| 2015-10-01T16:57:54
| 43,508,571
| 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 9,351
|
cpp
|
LabelsList.cpp
|
#include <ChibiEngine/XMLParser/UserInterfaceParser.h>
#include <ChibiEngine/Render/Sprites/NineSliceSprite.h>
#include <ChibiEngine/Render/Primitives/PrimitiveDrawer.h>
#include <ChibiEngine/Render/Primitives/SpriteText.h>
#include <ChibiEngine/Render/ScreenSystem.h>
#include <ChibiEngine/UserInterface/LabelsList.h>
#include <zlib.h>
using namespace game;
using namespace std;
using namespace glm;
const string LabelsList::TYPE_NAME = "LabelsList";
class game::ListElement :public UIElement {
public:
ListElement(const std::string& name, LabelsList* parent, const vec3& pos = vec3(0,0,0), const vec2& size=vec2(-1,-1)):
selected(false),
text(Game::getLookAndFeel().font,name),
parent(parent){
setPosition(pos);
setSize(vec2(size.x>0?size.x:parent->getHW()+parent->laf.padding.x,
size.y>0?size.y:text.getScreenHHeight()+parent->laf.padding.y));
}
virtual void executeAction(){
if(text.getText().size()>0) {
parent->refreshCurrentSelection(this);
Game::getUserInterface()->fireEvent(parent->getName(), text.getText());
}
}
virtual bool executeScroll(bool up){
return parent->executeScroll(up);
}
virtual void draw(){
if(selected){
Game::getPrimitiveDrawer()->drawFilledRectangle(
createMatrix(getPosition(),vec2(getHW() - parent->laf.borderWidth.x, getHH())),
parent->laf.selectionColor);
}
vec3 pos = getPosition();
pos.x-=(getHW()-text.getScreenHWidth()-parent->laf.padding.x);
text.draw(pos,selected?parent->laf.selectedTextColor:parent->laf.normalTextColor);
}
virtual void setValue(const string& value){
text.setText(value);
}
void setSelection(bool val){
selected = val;
}
virtual std::string getValue() const{
return text.getText();
}
private:
bool selected;
SpriteText text;
LabelsList* parent;
};
class game::ScrollBar : public UIElement{
public:
ScrollBar(LabelsList* parent):
parent(parent),
laf(Game::getLookAndFeel().labelsList.scroller),
normal(Game::getResources()->findSpriteInfo(laf.image),0.5f*laf.worldWidth,0.5f*laf.worldHeight),
hovered(Game::getResources()->findSpriteInfo(laf.hoveredImage),0.5f*laf.worldWidth,0.5f*laf.worldHeight)
{
setSize(vec2(0.5f*laf.worldWidth*Game::getScreen()->getWidthDensity(),
0.5f*laf.worldHeight*Game::getScreen()->getHeightDensityNoAspect()));
updatePosition();
}
void updatePosition(){
float shw = 0.5f*laf.worldWidth*Game::getScreen()->getWidthDensity();
float shh = 0.5f*laf.worldHeight*Game::getScreen()->getHeightDensityNoAspect();
vec3 p = parent->getPosition();
p.x+=parent->getHW()-shw-laf.borderWidth.x;
p.z+=0.2;
p.y+=parent->getHH()-shh-laf.borderWidth.x;
setPosition(p);
}
void draw() override{
if(isHovered()){
hovered.draw(getPosition());
}else{
normal.draw(getPosition());
}
}
bool executeScroll(bool up) override{
return parent->executeScroll(up);
}
void setVisible(bool flag) override{
bool need2Show = static_cast<int >(parent->values.size())-static_cast<int >(parent->elements.size())>0;
UIElement::setVisible(need2Show && flag);
}
void processDraggingAction(const glm::vec2& delta) override{
float minY = parent->getPosition().y-parent->getHH()+getHH()+laf.borderWidth.y;
float maxY = parent->getPosition().y+parent->getHH()-getHH()-laf.borderWidth.y;
if(getPosition().y+delta.y>minY && getPosition().y+delta.y<maxY) {
UIElement::move(vec3(0, delta.y, 0));
parent->updateFirstIndex();
}
}
private:
LabelsList* parent;
const ScrollerLAF& laf;
NineSliceSprite normal, hovered;
};
LabelsList::LabelsList(const glm::vec3& pos, const glm::vec2& size, const std::string& name):
laf(Game::getLookAndFeel().labelsList),
firstIndex(0),
selected(nullptr){
{
ElementCollection::setPosition(pos);
ElementCollection::setSize(size);
setName(name);
}{
ListElement tst("!pTy", this);
averageHeight = tst.getHH();
}{
scrollerHW = 0.5f*laf.scroller.worldWidth*Game::getScreen()->getWidthDensity();
scrollerHH = getHH()-laf.scroller.borderWidth.y;
}
createElements();
{
scroll = new ScrollBar(this);
ElementCollection::add(scroll);
updateScrollBarVisibility();
}
}
LabelsList::LabelsList(SlotType* slot):
laf(Game::getLookAndFeel().labelsList),
firstIndex(0),
selected(nullptr){
{
ElementCollection::setPosition(vec3(slot->x,slot->y,slot->z));
ElementCollection::setSize(vec2(slot->hw, slot->hh));
setName(slot->name);
}{
ListElement tst("!pTy", this);
averageHeight = tst.getHH();
}{
LabelsListSlot* lls = slot->choiceValue.labelsList;
for(TextSlot* iter:lls->elem){
values.push_back(iter->text);
}
}{
scrollerHW = 0.5f*laf.scroller.worldWidth*Game::getScreen()->getWidthDensity()/*-laf.scroller.borderWidth.x*/;
scrollerHH = getHH()-laf.scroller.borderWidth.y;
}
createElements();
{
scroll = new ScrollBar(this);
ElementCollection::add(scroll);
updateScrollBarVisibility();
}
}
void LabelsList::updateScrollBarVisibility(){
scroll->setVisible(isVisible());
}
void LabelsList::refreshCurrentSelection(ListElement* sel){
for(auto iter : elements){
iter->setSelection(false);
}
if(sel!=nullptr) {
sel->setSelection(true);
selectedValue = sel->getValue();
}else{
selectedValue="";
}
selected = sel;
}
std::string LabelsList::getValue(int elemNum){
return firstIndex+elemNum<values.size()?values[firstIndex+elemNum]:"";
}
void LabelsList::createElements(){
UserInterface* ui = Game::getUserInterface();
int elemsNum = static_cast<int>(getHH()/averageHeight);
vec3 curPos = getPosition();
curPos.x-=scrollerHW;
curPos.y+=getHH()-averageHeight-laf.padding.y*Game::getScreen()->getHeightDensityNoAspect();
curPos.z+=0.1;
for(int i=0; i<elemsNum;++i){
ListElement* el = new ListElement(getValue(i),this, curPos, vec2(getHW()-scrollerHW,averageHeight));
elements.push_back(el);
ElementCollection::add(el);
if(isManagedByUI()) {
el->add2UI(ui);
}
curPos.y-=averageHeight*2;
}
}
void LabelsList::updateFirstIndex(){
long intervalNum = values.size() - elements.size()+1;
assert(intervalNum>0);
float _2_ny = 1.0f-(scroll->getPosition().y - getPosition().y)/((getHH()-scroll->getHH()-laf.scroller.borderWidth.y));
unsigned newfirstIndex = static_cast<unsigned int>(_2_ny*intervalNum*0.5f);
if(newfirstIndex!=firstIndex){
firstIndex=newfirstIndex;
refreshElementsValues();
}
}
void LabelsList::deleteElements(){
if(isManagedByUI()) {
for(ListElement* el : elements){
Game::getUserInterface()->remove(el);
}
}
for(ListElement* el : elements){
ElementCollection::remove(el);
delete el;
}
elements.clear();
}
void LabelsList::add(const std::string& value){
values.push_back(value);
refreshElementsValues();
updateScrollBarVisibility();
}
void LabelsList::add(const std::vector<std::string>& batch){
values.insert(values.end(),batch.begin(),batch.end());
refreshElementsValues();
updateScrollBarVisibility();
}
void LabelsList::add(const std::set<std::string>& batch){
values.insert(values.end(),batch.begin(),batch.end());
refreshElementsValues();
updateScrollBarVisibility();
}
void LabelsList::clear(){
values.clear();
for(unsigned i=0;i<elements.size();++i){
elements[i]->setValue("");
elements[i]->setSelection(false);
}
updateScrollBarVisibility();
}
void LabelsList::refreshElementsValues(){
for(unsigned i=0;i<elements.size();++i){
elements[i]->setValue(getValue(i));
}
if(selectedValue.size()>0){
for(unsigned i=0;i<elements.size();++i){
elements[i]->setSelection(elements[i]->getValue()==selectedValue);
}
}
}
void LabelsList::setSize(const glm::vec2& size){
deleteElements();
ElementCollection::setSize(size);
createElements();
scroll->updatePosition();
}
bool LabelsList::executeScroll(bool up){
scroll->processDraggingAction(vec2(0,0.05*(up?1:-1)));
return true;
}
void LabelsList::draw(){
Game::getPrimitiveDrawer()->drawBorderedFilledRectangle(
getPosition(), getSize(), laf.borderWidth.x, laf.backgroundColor, laf.borderColor);
if(scroll->isVisible()){
Game::getPrimitiveDrawer()->drawBorderedFilledRectangle(
getPosition() + vec3(getHW() - scrollerHW, 0, 0),
vec2(scrollerHW, scrollerHH),
laf.scroller.borderWidth.x,
laf.scroller.backColor,
laf.scroller.borderColor);
}
}
std::string LabelsList::getValue() const {
return selectedValue;
}
|
d08fee66b77fff85c074b3aa23e28ad218546229
|
520365eb45cc298d0a20b44749482c3fe553d034
|
/src/utils/breadth.cpp
|
d512fd20b7b732d7fc292a354835fb58899f258f
|
[
"Artistic-2.0"
] |
permissive
|
marbl/MetaCompass
|
91e8a7f8028b1a719abf595c4389473a6bd0f5d8
|
2cdeb979ccb5264f0dbac868b4c884687424e3f5
|
refs/heads/master
| 2021-07-25T23:45:16.293277
| 2021-01-31T23:58:48
| 2021-01-31T23:58:48
| 31,922,199
| 35
| 10
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 29,815
|
cpp
|
breadth.cpp
|
#include <iostream>
#include "stdc++.h"
using namespace std;
using std::endl;
using std::cout;
using std::cerr;
using std::ios;
using std::ifstream;
using std::ofstream;
using std::istringstream;
#include <fstream>
#include <sstream>
#include <array>
#include <ctime>
#include <climits>
#include <cstdlib>
#include <algorithm>
#include <map>
#include <iterator>
#include <string>
#include <set>
//#include<bits/stdc++.h>
//TODO: check last element in all loops and couts
// An interval has start time and end time
struct Interval
{
int start, end;
};
string pathbin="";
string outprefix="";
typedef map<string,vector <string> > S2VS;//marker2cluster;
typedef multimap<string,Interval> S2Interval;//marker2interval;
typedef map<string,int> S2I;//marker2bases;marker2length;marker2numcog;depth2genome
typedef map<string,float> S2F;//marker2cov
typedef map<string,S2F> S2S2F;//marker2cov
typedef map<string, list<pair<string,float> > > S2LS2F;//genomecogcoverage;
typedef map<string,pair <float, float> > S2F2F;
typedef multimap<string,pair<string,vector <double> > > MS2VF;//genome2stats/pid-mismatches-evalue-score;
typedef map<string,vector <double> > S2VF;//genome2stats/pid-mismatches-evalue-score;
typedef map<string,double > S2D;//mean pid-mismatches-evalue-score;
typedef map<string,string > S2S;//genome2assembly
typedef multimap<string,string > MS2S;//genome2assembly
typedef multimap<pair<string,vector <double> > ,string > MVF2S;//genome2stats/pid-mismatches-evalue-score;
MVF2S invertMap(MS2VF &map)
{
MVF2S multimap;
for(MS2VF ::iterator it = map.begin(); it != map.end(); ++it){
multimap.insert(pair<pair<string, vector <double> >,string >(it->second, it->first));
}
return multimap;
}
void helpmsg() {
cerr << endl;
cerr << "Usage:" << endl;
cerr << " ./breath <covthreshold> <outprefix> <pathbin>" << endl;
cerr << endl;
//cerr << "Parameters:" << endl;
//<< "\t-h,--help\t\tShow this help message\n"
//<< "\t-c,--coverage COVERAGE\tSpecify the minimum breadth of coverage"
//<< "\t-o,--output-prefix OUTPUT\tSpecify the output directory"
// << std::endl;
cerr << "Contact:" << endl;
cerr << " Have problems? Contact Victoria Cepeda - vcepeda@umiacs.umd.edu" << endl;
cerr << endl;
}
void reverseStr(string& str)
{
int n = str.length();
// Swap character starting from two corners
for (int i = 0; i < n / 2; i++)
std::swap(str[i], str[n - i - 1]);
}
double mean(vector <double> v){
double mean = accumulate( v.begin(), v.end(), 0.0)/v.size();
return mean;
}
// Function used in sort
bool Intervalcomp(Interval a, Interval b)
{ return a.start > b.end; }
/* Compares two intervals according to their staring time.
This is needed for sorting the intervals using library
function sort(). See http://goo.gl/iGspV */
bool compareInterval(Interval i1, Interval i2)
{
return (i1.start < i2.start);
}
void read_clusters(S2VS &marker2cluster)
{
string inputfile=outprefix+ "/contigs_clusters";
ifstream file(inputfile);
if (!file.is_open()) {
cerr << "Could not open reference sequences file " << inputfile << endl;
exit(1);
}
string line,representative,prev_representative;
vector <string> clustervector;
while (getline(file, line))
{ // Process str
size_t found=line.find('>');
if (found!=string::npos){
representative = line.erase(0,1);
if ( !clustervector.empty()){
marker2cluster.insert(pair<string,vector <string> >(prev_representative, clustervector));
//cout<< "REPRESENTATIVE:\t"<<prev_representative << "\t"<<endl;
//for (vector<string>::const_iterator it=clustervector.begin(); it!=clustervector.end(); ++it)
//{cout <<"clustervector:"<<*it <<endl;}
clustervector.clear();
}
prev_representative=representative;
}
else{
clustervector.push_back(line);//add marker to cluster vector
}
}
//add last element
if ( ! clustervector.empty() ){
marker2cluster.insert(pair<string,vector <string> >(prev_representative, clustervector));
/*cout<< "REPRESENTATIVE:\t"<<prev_representative << "\t"<<endl;
for (vector<string>::const_iterator it=clustervector.begin(); it!=clustervector.end(); ++it)
{cout <<*it <<endl;}*/
clustervector.clear();
}
for (S2VS::const_iterator it=marker2cluster.begin(); it!=marker2cluster.end(); ++it) {
clustervector=it->second;
cout <<"marker2cluster:"<<endl;
cout <<">"<<it->first <<"\t" <<clustervector.size() <<endl;
for (vector<string>::const_iterator it2=clustervector.begin(); it2!=clustervector.end(); ++it2)
{cout <<*it2 <<endl;}
// for (unsigned i=0; i<clustervector.size(); ++i)
// {cout << clustervector[i] <<endl;}
}
}
void read_blast_file(S2Interval &marker2interval, S2VS &marker2cluster, MS2VF &genome2stats,set <string> &keys)
{
string inputfile=outprefix+ "/mc.blastn.all";
//cout << "BLAST FILE:" << inputfile <<endl;
ifstream file (inputfile);
if (!file.is_open()) {
cerr << "Could not open reference sequences file " << inputfile << endl;
exit(1);
}
size_t pos1 = 0, pos2 = 0, alglength, breadth_start, breadth_end, aux;
string marker,line,genome,assembly;
double pident,mismatch,evalue,score;
vector <double> statsvector;
//unordered
//set <string> keys;//set to store the unique keys
while (getline(file, line))
{
//////////////////
// Process blast line
pos1 = line.find("\t"); // 1 column read id, query
pos2 = line.find("\t", pos1+1); // 2 column marker id, subj
marker = line.substr(pos1+1, pos2-pos1-1);
//cout << "marker:"<< marker<< "\t";
pos1 = line.find("\t", pos2+1); // 3 pident
pident=stod(line.substr(pos2+1, pos1-pos2-1));
//cout << "pident:"<< pident<< "\t";
//VECTOR 1
statsvector.push_back(pident);
pos2 = line.find("\t", pos1+1); // 4 length
alglength= stoi(line.substr(pos1+1, pos2-pos1-1));
//cout << "alglength:"<< alglength<< "\t";
pos1 = line.find("\t", pos2+1); // 5 mismatch
mismatch=stod(line.substr(pos2+1, pos1-pos2-1));
//cout << "mismatch:"<< mismatch<< "\t";
//VECTOR 2
statsvector.push_back(mismatch);
pos2 = line.find("\t", pos1+1); // 6 gapopen
//cout << "gapoen:"<< line.substr(pos1+1, pos2-pos1-1)<< "\t";
pos1 = line.find("\t", pos2+1); // 7 qstart
//cout << "qstart:"<< line.substr(pos2+1, pos1-pos2-1)<< "\t";
pos1 = line.find("\t", pos1+1); // 8 qend
pos2 = line.find("\t", pos1+1); // 9 sstart start subj align
breadth_start = stoi(line.substr(pos1+1, pos2-pos1-1));
//cout << "breadth_start:"<< breadth_start<< "\t";
pos1 = line.find("\t", pos2+1); // 10 send end subj align
breadth_end = stoi(line.substr(pos2+1, pos1-pos2-1));
//cout << "breadth_end:"<< breadth_end<< "\t";
if (breadth_end < breadth_start){
aux=breadth_start;
breadth_start=breadth_end;
breadth_end=aux;
}
pos2 = line.find("\t", pos1+1); // 11 evalue
evalue=stod(line.substr(pos1+1, pos2-pos1-1));
//cout << "evalue:"<< evalue<< "\t";
//VECTOR 3
statsvector.push_back(evalue);
pos1 = line.find("\t", pos2+1); // 12 score
score=stod(line.substr(pos2+1, pos1-pos2-1));
//cout << "score:"<< score<< endl;
//VECTOR 4
statsvector.push_back(score);
//////////////////
//create interval
Interval coordinates;
coordinates.start=breadth_start;
coordinates.end=breadth_end;
marker2interval.insert(pair<string,Interval>(marker, coordinates));
keys.insert(marker);
//create genome stats
pos1 = marker.find("_");//NC
pos2 = marker.find("_", pos1+1);//[_0-9].[0-9]
genome = marker.substr(0, pos2);
pos1 = marker.find("_",pos2+1);//GCF
pos1 = marker.find("_", pos1+1);//[_0-9].[0-9]
assembly=marker.substr(pos2+1, pos1-pos2-1);
pair <string, vector <double> > assemblystats;
assemblystats = make_pair(assembly,statsvector);
genome2stats.insert(pair<string,pair <string, vector <double> > >(genome, assemblystats));
cout << "genome2stats:"<< marker << "\t"<<genome<< "\t"<<assemblystats.first<< "\t";
for (vector<double>::const_iterator it4=assemblystats.second.begin(); it4!=assemblystats.second.end(); ++it4){
cout <<*it4 <<"\t";
}
cout << endl;
//if representative of a cluster found in blast, add rest of members of cluster
S2VS::const_iterator it2 = marker2cluster.find(marker);
if(it2!=marker2cluster.end()){
vector<string> names = marker2cluster.at(marker);
cout << "representative genome2stats:"<< marker << "\t"<<genome<< "\t"<<assemblystats.first<<endl;
for (vector<string>::const_iterator it3=names.begin(); it3!=names.end(); ++it3){
//cout << *it3;
string name=it3->c_str();
cout << "name:"<< name << "\t";
marker2interval.insert(pair<string,Interval>(name, coordinates));
keys.insert(name);
//create genome stats
pos1 = name.find("_");//NC
pos2 = name.find("_", pos1+1);//[_0-9].[0-9]
genome = name.substr(0, pos2);
pos1 = name.find("_",pos2+1);//GCF
pos1 = name.find("_", pos1+1);//[_0-9].[0-9]
assembly=name.substr(pos2+1, pos1-pos2-1);
pair <string, vector <double> > assemblystats;
assemblystats = make_pair(assembly,statsvector);
genome2stats.insert(pair<string,pair <string, vector <double> > >(genome, assemblystats));
cout << "genome2stats2:"<< name << "\t"<< genome<< "\t"<<assemblystats.first<< "\t";
for (vector<double>::const_iterator it5=assemblystats.second.begin(); it5!=assemblystats.second.end(); ++it5){
cout <<*it5 <<"\t";
}
cout << endl;
}
cout << "END"<<endl;
}
statsvector.clear();
}
// cout << "END BLAST FILE:" << inputfile <<endl;
}
void process_marker_ln(S2I & marker2length){
string inputfile=pathbin+"/refseq/markers/markers.length";
ifstream file(inputfile);
if (!file.is_open()) {
cerr << "Could not open reference sequences file " << inputfile << endl;
exit(1);
}
size_t pos1 = 0, length;
string line,marker;
while (getline(file, line)){
pos1 = line.find("\t");
marker = line.substr(0, pos1);
length = stoi(line.substr(pos1+1, line.size()-pos1-1));
marker2length.insert(pair<string,int>(marker, length));
//cout << "process_marker_ln:\t" << marker <<"\t"<< length << endl;
}
}
void process_genome_marker_ln(S2I & genome_marker2length){
string inputfile=pathbin+"/refseq/markers/genome2markers.length";
ifstream file(inputfile);
if (!file.is_open()) {
cerr << "Could not open reference sequences file " << inputfile << endl;
exit(1);
}
size_t pos1 = 0, length;
string line,genome;
while (getline(file, line)){
pos1 = line.find("\t");
genome = line.substr(0, pos1);
length = stoi(line.substr(pos1+1, line.size()-pos1-1));
genome_marker2length.insert(pair<string,int>(genome, length));
//cout << "process_marker_ln:\t" << marker <<"\t"<< length << endl;
}
}
void process_assembly_marker_ln(S2I & assembly_marker2length){
string inputfile=pathbin+"/refseq/markers/assembly2markers.length";
ifstream file(inputfile);
if (!file.is_open()) {
cerr << "Could not open reference sequences file " << inputfile << endl;
exit(1);
}
size_t pos1 = 0, length;
string line,assembly;
while (getline(file, line)){
pos1 = line.find("\t");
assembly = line.substr(0, pos1);
length = stoi(line.substr(pos1+1, line.size()-pos1-1));
assembly_marker2length.insert(pair<string,int>(assembly, length));
//cout << "process_marker_ln:\t" << marker <<"\t"<< length << endl;
}
}
void process_marker_cog(S2I &marker2numcog){
string inputfile=pathbin+"/refseq/markers/markers.count";
ifstream file(inputfile);
if (!file.is_open()) {
cerr << "Could not open reference sequences file " << inputfile << endl;
exit(1);
}
size_t pos1 = 0, cogs;
string line,genome;
while (getline(file, line)){
pos1 = line.find("\t");
genome = line.substr(0, pos1);//
cogs = stoi(line.substr(pos1+1, line.size()-pos1-1));
marker2numcog.insert(pair<string,int>(genome, cogs));
//cout << "process_marker_cog:\t" << genome <<"\t"<< cogs << endl;
}
}
//https://www.geeksforgeeks.org/merging-intervals/
void mergeIntervals(Interval arr[], size_t n, int & index)
{
// Sort Intervals in decreasing order of
// start time
sort(arr, arr+n, Intervalcomp);
//cout << "\n Sorted Intervals are: ";
//for (int i = 0; i < n; i++)
// cout << "[" << arr[i].start << ", " << arr[i].end << "] ";
//int index = 0; // Stores index of last element
// in output array (modified arr[])
// Traverse all input Intervals
for (size_t i=0; i<n; i++)
{
// If this is not first Interval and overlaps
// with the previous one
if (index != 0 && arr[index-1].start <= arr[i].end)
{
while (index != 0 && arr[index-1].start <= arr[i].end)
{
// Merge previous and current Intervals
arr[index-1].end = max(arr[index-1].end, arr[i].end);
arr[index-1].start = min(arr[index-1].start, arr[i].start);
index--;
}
}
else // Doesn't overlap with previous, add to
// solution
arr[index] = arr[i];
index++;
}
// Now arr[0..index-1] stores the merged Intervals
}
//per marker store alignlength, intervale.//after storing post-processing interval in stack, it's faster
//also calculate here marker_totalcount and total marker algn
//outfile << marker + "\t" << alglength << "\t" << breadth_start << "\t" << breadth_end<< endl;
//
//create_interval_arrays(marker2interval,marker2intervals);
//taking too long
//key or marker
void create_interval_array(string key,S2Interval & marker2interval, size_t size,S2I & marker2bases){
Interval *array=new Interval[size];//size of map
//time_t nowtime;
size_t i=0;
int index1=0;
cout << "key:"<<key << "\t"<< endl;
S2Interval::iterator itr1=marker2interval.lower_bound(key);
S2Interval::iterator itr2=marker2interval.upper_bound(key);
while(itr1!=itr2){
if(itr1->first==key){
cout <<itr1->first <<"\t"<<itr1->second.start<<"\t"<<itr1->second.end<<endl;
array[i].start=itr1->second.start;
array[i].end=itr1->second.end;
i++;
}
itr1++;
}
//nowtime = time(NULL);
//cout << endl << "# mergeIntervals ... ";
mergeIntervals(array, size, index1);
//cout << "success!" << " (" << time(NULL) - nowtime << " seconds)" << endl;
int total_bases=0;
for (int i = 0; i < index1; i++){
total_bases+=array[i].end-array[i].start+1;
}
marker2bases.insert(pair<string,int>(key, total_bases));
cout << "bases! " << total_bases << endl;
}
void create_interval_arrays(S2Interval & marker2interval,S2I & marker2bases,set <string> &keys){
//string prev="none";
size_t size=0;
time_t nowtime;
//bounds:
//replace by set keys
for(set <string> ::iterator it = keys.begin(); it != keys.end(); ++it){
string key=*it;
size=marker2interval.count(key);
cout << "key:"<<key << "\tsize:"<<size<< endl;
//new dec 2019
nowtime = time(NULL);
cout << "# create_interval_array ... "<< key<<endl;
cout <<endl;
create_interval_array(key,marker2interval,size,marker2bases);
cout << "success!" << " (" << time(NULL) - nowtime << " seconds)" << endl;
cout <<endl;
}
}
void marker_breadth_cov(S2F & marker2cov,S2F & genome2cov, S2F2F & assembly2cov, S2S & genome2assembly, S2I & marker2bases, S2I & marker2lenght, S2I & genome_marker2length, S2I & assembly_marker2length, float covthreshold,string outprefix){
//calculate breadth of coverage per marker gene
pair <string,float> cogcoverage;
string genome,assembly, cog;
float coverage,coverage2_num,coverage2_den;//breadth of coverage
//typedef map<string,pair <float, float> > S2F2F
size_t pos1,pos2;
for(S2I ::iterator it = marker2bases.begin(); it != marker2bases.end(); ++it){
S2I::iterator it2 = marker2lenght.find(it->first);//only one per marker, not multimap
if(it2!=marker2lenght.end()){
//process each marker separately
pos1 = it->first.find("_");//NC
pos2 = it->first.find("_", pos1+1);//[_0-9].[0-9]
genome = it->first.substr(0, pos2);
pos1 = it->first.find("_",pos2+1);//GCF
pos1 = it->first.find("_", pos1+1);//[_0-9].[0-9]
//pos2 = it->first.find("_", pos2+1);//[_0-9].[0-9]
assembly=it->first.substr(pos2+1, pos1-pos2-1);
pos2 = it->first.find("_", pos1+1);//[_0-9].[0-9]
cog = it->first.substr(pos1+1, pos2-pos1-1);
coverage=(float)it->second/it2->second;//bases/length
coverage2_num=(float)it->second;//bases/length
coverage2_den=(float)it2->second;//bases/length
//end process each marker separately
//insert marker2cov
marker2cov.insert(pair<string,float>(it->first, coverage));
//DOOOOOOOOO only if marker coverage is more than this!!!1/3 default
if(coverage>=covthreshold){
//insert genome maps:genome2assembly
genome2assembly.insert(pair<string,string>(genome, assembly));//good <3
//no sirve de naaa
//cogcoverage = make_pair(cog,coverage);
//create maps:genome2cov
S2F::iterator it4 = genome2cov.find(genome+"\t"+assembly);
if(it4!=genome2cov.end()){
it4->second=it4->second + coverage2_num;
}
else{
genome2cov.insert(pair<string,float>(genome+"\t"+assembly, coverage2_num));
}
//end create maps:genome2cov
//create maps:assembly2cov
S2F2F::iterator it5 = assembly2cov.find(assembly);
if(it5!=assembly2cov.end()){
float num=(it5->second).first;
(it5->second).first=num + coverage2_num;
}
else{
pair <float,float> bases2length;
S2I::iterator itlen = assembly_marker2length.find(assembly);
if(itlen!=assembly_marker2length.end()){
float total_ln=itlen->second;
bases2length = make_pair(coverage2_num,total_ln);//coverage2_den);
//if (coverage2_num/total_ln>=0.0){//potentially useful
assembly2cov.insert(pair<string,pair<float,float> >(assembly, bases2length));
//}
}//endif
}//endelse
//end create maps:assembly2cov
}//DOOOOOOOOO
}//end if
}//end for
}//end void
int main(int argc, char *argv[])
{
if (argc < 4) {
helpmsg();
exit(1);
}
float covthreshold = atof(argv[1]);
outprefix = argv[2];
pathbin = argv[3];
cout << "PARAMETERS:\ncovthreshold: " << covthreshold << "\noutprefix: " << outprefix << "\npathbin: "<< pathbin <<endl;
S2VS marker2cluster;
time_t nowtime = time(NULL);
cerr << endl << "# Reading and process clusters file ... ";
read_clusters(marker2cluster);
cerr << "success!" << " (" << time(NULL) - nowtime << " seconds)" << endl;
//PROCESS BLAST FILE
S2Interval marker2interval;
MS2VF genome2stats;
set <string> keys;//set to store the unique keys
nowtime = time(NULL);
cerr << "# Read and process blast file ... ";
read_blast_file(marker2interval,marker2cluster,genome2stats,keys);
cerr << "success!" << " (" << time(NULL) - nowtime << " seconds)" << endl;
S2I marker2bases;
nowtime = time(NULL);
cerr << "# create_interval_arrays ... ";
create_interval_arrays(marker2interval,marker2bases,keys);
cerr << "success!" << " (" << time(NULL) - nowtime << " seconds)" << endl;
S2I marker2length;
S2I marker2numcog;
nowtime = time(NULL);
cerr << "# process_marker_ln ... ";
process_marker_ln(marker2length);
cerr << "success!" << " (" << time(NULL) - nowtime << " seconds)" << endl;
nowtime = time(NULL);
cerr << "# process_marker_cog ... ";
process_marker_cog(marker2numcog);
cerr << "success!" << " (" << time(NULL) - nowtime << " seconds)" << endl;
////////////////////////////////
S2I genome_marker2length;
S2I assembly_marker2length;
process_genome_marker_ln(genome_marker2length);
process_assembly_marker_ln(assembly_marker2length);
S2F marker2cov;
S2F genome2cov;
S2F2F assembly2cov;
S2LS2F genomecogcoverage;
S2S genome2assembly;
nowtime = time(NULL);
cerr << "# marker_breadth_cov ... ";
marker_breadth_cov(marker2cov,genome2cov,assembly2cov,genome2assembly,marker2bases,marker2length,genome_marker2length,assembly_marker2length,covthreshold,outprefix);
cerr << "success!" << " (" << time(NULL) - nowtime << " seconds)" << endl;
//////////////////////create intervalfile marker_intervals. File contains all marker coordinates found in blastn results
//write files
S2I depth,depth2assembly;
ofstream intervalfile (string(outprefix + "/marker_intervals").c_str());
//typedef multimap<string,Interval> S2Interval;//marker2interval;
string genome,assembly,prev_genome="none",prev_assembly="none";
size_t pos1,pos2,depth_count = 0,assembly_count=0;
if (intervalfile.is_open()){
for(S2Interval ::iterator it = marker2interval.begin(); it != marker2interval.end(); ++it){
intervalfile << it->first <<"\t"<< (it->second).start <<"\t"<< (it->second).end <<endl;
pos1 = (it->first).find("_");//NC
pos2 = (it->first).find("_", pos1+1);//[_0-9].[0-9]
genome = (it->first).substr(0, pos2);
pos1 = it->first.find("_",pos2+1);//GCF
pos1 = it->first.find("_", pos1+1);//[_0-9].[0-9]
assembly=it->first.substr(pos2+1, pos1-pos2-1);
if(genome.compare(prev_genome)!=0 && prev_genome.compare("none")!=0)
{
depth.insert(pair<string,int >(prev_genome, depth_count));
depth_count=0;
}
if(assembly.compare(prev_assembly)!=0 && prev_assembly.compare("none")!=0)
{
depth2assembly.insert(pair<string,int >(prev_assembly, assembly_count));
assembly_count=0;
}
prev_genome=genome;
prev_assembly=assembly;
assembly_count++;
depth_count++;
}
//add last element
depth.insert(pair<string,int >(prev_genome, depth_count));
depth2assembly.insert(pair<string,int >(prev_assembly, assembly_count));
intervalfile.close();
}
else cout << "Unable to open file" << outprefix << "/marker_intervals";
//////////////////////create breadth_marker_bases
string file=outprefix + "/marker_bases";
//ofstream myfile (string(outprefix + "/breadth_marker_bases").c_str());
ofstream myfile (file);
if (myfile.is_open()){
for(S2I ::iterator it = marker2bases.begin(); it != marker2bases.end(); ++it){
myfile << it->first <<"\t"<< it->second <<endl;
}
myfile.close();
}
else cout << "Unable to open file " << file <<endl;
//////////////////////create genomecogcoverage
ofstream myfile2 (string(outprefix + "/genome2numcogs").c_str());
S2I assembly2cog;
if (myfile2.is_open()){//marker2cov sorted by accession, not assembly!!!!!!!!probably need to iterate again for assemblies.
string prev_genome="none",prev_assembly="none",assembly_id,genome;
size_t pos1 = 0, pos2 = 0,i=0;
for(S2F ::iterator it = marker2cov.begin(); it != marker2cov.end(); ++it){
pos1 = it->first.find("_");//NC_
pos2 = it->first.find("_", pos1+1);//NC_[_0-9].[0-9]_
genome = it->first.substr(0, pos2);
pos1 = it->first.find("_",pos2+1);//NC_[_0-9].[0-9]_GCF_
pos1 = it->first.find("_", pos1+1);//NC_[_0-9].[0-9]_GCF_[_0-9].[0-9]_
assembly_id=it->first.substr(pos2+1, pos1-pos2-1);
if (prev_genome.compare(genome)!=0 && prev_genome.compare("none")!=0){
myfile2 << prev_genome <<"\t"<<prev_assembly <<"\t"<<i<< endl;
S2I::iterator it2 = assembly2cog.find(prev_assembly);
if(it2!=assembly2cog.end()){
it2->second+=i;
}
else{
assembly2cog.insert(pair<string,int>(prev_assembly, i));
}
i=0;
}
prev_genome=genome;
prev_assembly=assembly_id;
i++;
}
myfile2 << prev_genome <<"\t"<<prev_assembly <<"\t"<<i<< endl;
S2I::iterator it2 = assembly2cog.find(prev_assembly);
if(it2!=assembly2cog.end()){
it2->second+=i;
}
else{
assembly2cog.insert(pair<string,int>(prev_assembly, i));
}
myfile2.close();
}
else cout << "Unable to open file "<<outprefix <<"/genome2numcogs";
ofstream myfile3 (string(outprefix + "/assembly2numcogs").c_str());
if (myfile3.is_open()){//marker2cov sorted by accession, not assembly!!!!!!!!probably need to iterate again for assemblies.
for(S2I ::iterator it = assembly2cog.begin(); it != assembly2cog.end(); ++it){
myfile3 <<it->first<<"\t"<<it->second<< endl;
}
myfile3.close();
}
else cout << "Unable to open file "<<outprefix <<"/assembly2numcogs";
ofstream statsfile (string(outprefix + "/genome_stats").c_str());
//typedef multimap<string,Interval> S2Interval;//marker2interval;
S2D pident;
S2D mismatch;
S2D evalue;
S2D score;
vector <double> p,m,e,s;
prev_genome="";prev_assembly="";
if (statsfile.is_open()){
//multimap<string,vector <float> > MS2VF
for(MS2VF ::iterator it = genome2stats.begin(); it != genome2stats.end(); ++it){
//statsfile << it->first <<"\t"<< it->second.first <<"\t"<< (it->second.second)[0]<<"\t"<< (it->second.second)[1]<<"\t"<< (it->second.second)[2]<<"\t"<< (it->second.second)[3] <<endl;
if (prev_genome.compare(it->first)!=0 && prev_genome.compare("")!=0){
statsfile << prev_genome <<"\t"<< prev_assembly <<"\t"<< mean(p) <<"\t"<< mean(m)<<"\t"<< mean(e)<<"\t"<< mean(s)<<endl;
p.clear();m.clear();e.clear();s.clear();
}
p.push_back((it->second.second)[0]);
m.push_back((it->second.second)[1]);
e.push_back((it->second.second)[2]);
s.push_back((it->second.second)[3]);
prev_genome=it->first;
prev_assembly=it->second.first;
}
statsfile << prev_genome <<"\t"<< prev_assembly <<"\t"<< mean(p) <<"\t"<< mean(m)<<"\t"<< mean(e)<<"\t"<< mean(s)<<endl;
p.clear();m.clear();e.clear();s.clear();
statsfile.close();
}
else cout << "Unable to open file genome_stats";
// invert the map
MVF2S genome2stats2 = invertMap(genome2stats);
ofstream statsfile2 (string(outprefix + "/assembly_stats").c_str());
if (statsfile2.is_open()){
prev_assembly="";
p.clear();m.clear();e.clear();s.clear();
for(MVF2S ::iterator it = genome2stats2.begin(); it != genome2stats2.end(); ++it){
if (prev_assembly.compare(it->first.first)!=0 && prev_assembly.compare("")!=0){
statsfile2 << prev_assembly <<"\t"<< mean(p) <<"\t"<< mean(m)<<"\t"<< mean(e)<<"\t"<< mean(s)<<endl;
p.clear();m.clear();e.clear();s.clear();
}
p.push_back((it->first.second)[0]);
m.push_back((it->first.second)[1]);
e.push_back((it->first.second)[2]);
s.push_back((it->first.second)[3]);
//prev=it->second;
prev_assembly=it->first.first;
}
statsfile2 << prev_assembly <<"\t"<< mean(p) <<"\t"<< mean(m)<<"\t"<< mean(e)<<"\t"<< mean(s)<<endl;
p.clear();m.clear();e.clear();s.clear();
statsfile2.close();
}
else cout << "Unable to open file assembly_stats";
//////////////////////create depth_genome_coverage
ofstream depthfile (string(outprefix + "/depth_genome_coverage").c_str());
if (depthfile.is_open()){
for(S2I ::iterator it = depth.begin(); it != depth.end(); ++it){
depthfile << it->first <<"\t"<< it->second <<endl;
}
depthfile.close();
}
else cout << "Unable to open file" <<outprefix << "/depth_genome_coverage";
//////////////////////create depth_assembly_coverage
ofstream depthfile2 (string(outprefix + "/depth_assembly_coverage").c_str());
if (depthfile2.is_open()){
for(S2I ::iterator it = depth2assembly.begin(); it != depth2assembly.end(); ++it){
depthfile2 << it->first <<"\t"<< it->second <<endl;
}
depthfile2.close();
}
else cout << "Unable to open file" <<outprefix << "/depth_assembly_coverage";
//////////////////////create breadth_marker_coverage
ofstream myfile4 (string(outprefix + "/breadth_marker_coverage").c_str());
if (myfile4.is_open()){
for(S2F ::iterator it = marker2cov.begin(); it != marker2cov.end(); ++it){
myfile4 << it->first <<"\t"<< it->second <<endl;
}
myfile4.close();
}
else cout << "Unable to open file breadth_marker_coverage";
//////////////////////create breadth_marker_coverage
ofstream myfile6 (string(outprefix + "/breadth_genome_bases_cov").c_str());
if (myfile6.is_open()){
for(S2F ::iterator it = genome2cov.begin(); it != genome2cov.end(); ++it){
myfile6 << it->first<<"\t"<< it->second <<endl;
}
myfile6.close();
}
else cout << "Unable to open file breadth_genome_bases_cov";
/*for(S2F ::iterator it = genome2cov.begin(); it != genome2cov.end(); ++it){
float coverage2_num,coverage2_den;//breadth of coverage
size_t pos1;
pos1 = it->first.find("\t");
pos2 = it->first.find("\t", pos1+1);
assembly = it->first.substr(pos1+1, pos2-pos1-1);
coverage2_num=it->second;
S2F2F::iterator it2 = assembly2cov.find(assembly);
if(it2!=assembly2cov.end()){
float num=(it2->second).first;
(it2->second).first=num+coverage2_num;
}
else{
pair <float,float> bases2length;
S2I::iterator itlen = assembly_marker2length.find(assembly);
if(itlen!=assembly_marker2length.end()){
int total_ln=itlen->second;
bases2length = make_pair(coverage2_num,total_ln);//coverage2_den);
//if (coverage2_num/total_ln>=0.0){//potentially useful
assembly2cov.insert(pair<string,pair<float,float> >(assembly, bases2length));
cout << assembly << endl;
//}
}//endif
}//endelse
}//endfor
*/
ofstream file6 (string(outprefix + "/breadth_assembly_bases_cov").c_str());
if (file6.is_open()){
for(S2F2F ::iterator it = assembly2cov.begin(); it != assembly2cov.end(); ++it){
file6 << it->first<<"\t"<< (it->second).first <<"\t"<< (it->second).second<<"\t"<< (it->second).first/(it->second).second <<endl;
}
file6.close();
}
else cout << "Unable to open file breadth_assembly_bases_cov";
ofstream myfile5 (string(outprefix + "/mc.assembly.cov_cogs").c_str());
if (myfile5.is_open()){
for(S2F2F ::iterator it = assembly2cov.begin(); it != assembly2cov.end(); ++it){
if((it->second).first/(it->second).second >=0.3){
S2I::iterator it2 = assembly2cog.find(it->first);
if(it2!=assembly2cog.end()){
if (it2->second >=10){
myfile5 << it->first <<"\t"<< (it->second).first/(it->second).second<<"\t" <<it2->second<< endl;}
}
}
}
myfile5.close();
}
else cout << "Unable to open file "<<outprefix <<"/mc.assembly.ids";
return 0;
}
|
f99aaacd932b1ccc64d39285ed75f31e95352e55
|
555bd46b095e55a204feca15e390a06695fd2117
|
/include/lut_cover.h
|
ff26a5f11f86f33973ffa6bf5615aa064ed1f33d
|
[] |
no_license
|
lukasc-ch-archive/libmajesty
|
af354f1ea4646aedfea4f1f92ca02982baf5b4ff
|
4ab8290273e139be20b06c13113a8bad30df4c80
|
refs/heads/master
| 2023-01-03T02:22:44.389197
| 2020-10-31T11:30:10
| 2020-10-31T11:30:10
| null | 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 2,638
|
h
|
lut_cover.h
|
#ifndef LUT_COVER_H
#define LUT_COVER_H
#include <logic_network.h>
#include <cut.h>
#include <map>
#include <unordered_map>
#include <vector>
namespace majesty {
using bestmap = std::vector<cut*>;
using nintmap = std::vector<unsigned int>;
using cover = std::vector<unsigned int>;
class xmg;
cover build_cover(const xmg& xmg, bestmap& best);
cover build_cover(const logic_ntk& ntk, bestmap& best);
bestmap eval_matches_depth(const xmg&, const cutmap&, nintmap&);
bestmap eval_matches_area(const xmg&, const cutmap&);
bestmap eval_matches_area_timeout(const xmg&, const cutmap&, const funcmap&, const std::vector<cirkit::tt>&);
bestmap eval_matches_area_timeout(const logic_ntk&, const cutmap&, const funcmap&, const std::vector<cirkit::tt>&);
bestmap eval_matches_af_recover(const xmg&, const cutmap&, const reqmap&, const nintmap&);
static inline bool contains(const cover& cover, nodeid id) {
return cover.at(id) != 0;
}
reqmap compute_required_times(
const xmg&, const nintmap&, const nintmap&, const bestmap&);
void improve_cover_exact_area(const xmg&, const cutmap&, bestmap&, nintmap&);
void improve_cover_exact_area_timeout( const xmg&, const cutmap&, bestmap&, nintmap&, const funcmap&, const std::vector<cirkit::tt>&);
void improve_cover_exact_area( const xmg&, const cutmap&, bestmap&, nintmap&, nintmap&, const reqmap&);
void improve_cover_exact_area(const logic_ntk&, const cutmap&, bestmap&, nintmap&);
void improve_cover_exact_area_timeout(const logic_ntk&, const cutmap&, bestmap&, nintmap&, const funcmap&, const std::vector<cirkit::tt>&);
void it_exact_cover(const xmg&, cover&, const cutmap&, bestmap&);
void it_exact_cover_timeout(const xmg&, cover&, const cutmap&, bestmap&, const funcmap&, const std::vector<cirkit::tt>&);
void it_exact_cover(const xmg&, cover&, const cutmap&, bestmap&,
nintmap&, const reqmap&);
void it_exact_cover(const logic_ntk& m, cover& cover, const cutmap& cm, bestmap& best);
void it_exact_cover_timeout(const logic_ntk&, cover&, const cutmap&, bestmap&, const funcmap&, const std::vector<cirkit::tt>&);
unsigned int cover_depth(const xmg& m, const nintmap& atimes);
funcmap compute_functions(const xmg&, const bestmap&, const cutmap&);
funcmap compute_functions(const xmg&, const cover&, const bestmap&, const cutmap&);
funcmap compute_all_functions(const logic_ntk& ntk, const cutmap& cutmap);
funcmap compute_functions(const logic_ntk& ntk, const cover& cover, const bestmap& best, const cutmap& cutmap);
logic_ntk lut_map_area(const xmg&, const cut_params*);
logic_ntk lut_map_area(const logic_ntk&, const cut_params*);
}
#endif
|
c1a3fe1fffe2c80255eb25a98485749518d68a0c
|
75ab5af1b289544d8801ca800d5b0920839b6636
|
/include/mapper/prm.h
|
9a3822e4650efd2427a53a7dd0696f4ebe0a3376
|
[] |
no_license
|
marcelinomalmeidan/mapper
|
57520a99eb5ef077d7dd35b608840d767bd39220
|
b3cd84254eda82a1053df77795d92f217e99771b
|
refs/heads/master
| 2020-03-21T18:24:40.023504
| 2019-11-09T00:21:23
| 2019-11-09T00:21:23
| 138,889,904
| 2
| 2
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 1,682
|
h
|
prm.h
|
/* Copyright (c) 2017, United States Government, as represented by the
* Administrator of the National Aeronautics and Space Administration.
*
* All rights reserved.
*
* The Astrobee platform is licensed under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with the
* License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations
* under the License.
*/
#ifndef MAPPER_PRM_H_
#define MAPPER_PRM_H_
#include "mapper/graphs.h"
namespace octoclass {
// Probabilistic Roadmaps
class PRM {
public:
Graph prm_graph_;
double max_dist_;
pcl::PointCloud<pcl::PointXYZ>::Ptr cloud_ptr_ =
pcl::PointCloud<pcl::PointXYZ>::Ptr(new pcl::PointCloud<pcl::PointXYZ>);
pcl::KdTreeFLANN<pcl::PointXYZ> kdtree_;
// Constructor
explicit PRM(double max_dist);
// Methods
void AddNode(const Eigen::Vector3d &pos);
void AddEdge(const uint &index1,
const uint &index2,
const double &cost);
void SampleNodeBox(const double &box_lim,
Eigen::Vector3d *sample);
void SampleNodeBox(const Eigen::Vector3d &box_min,
const Eigen::Vector3d &box_max,
Eigen::Vector3d *sample);
void SetKdtree();
};
#endif // MAPPER_PRM_H_
} // octoclass
|
bc422fdc28d1ec8b6eb43828622d803236fe773c
|
b71a60805fa056e50555a1306ee0b98dafbe82cc
|
/src/pelican-mdsm/pipelines/SigprocMdsmPipeline.h
|
556f1ec3cc0374c8985c27eea810fc1b25d0b07d
|
[] |
no_license
|
lessju/MDSM
|
c1cbc32f1c829aedd01a48aa53e10b4204f7c24c
|
222f2fb5abde95c7f28a40683ff02b43d3dd90f9
|
refs/heads/master
| 2021-01-17T11:15:45.028474
| 2016-03-11T13:31:19
| 2016-03-11T13:31:19
| 687,644
| 5
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 853
|
h
|
SigprocMdsmPipeline.h
|
#ifndef SigprocMdsmPipeline_H
#define SigprocMdsmPipeline_H
#include "pelican/core/AbstractPipeline.h"
#include "pelican/data/DataBlob.h"
#include "SpectrumDataSet.h"
#include "DedispersedTimeSeries.h"
#include "DedispersedDataWriter.h"
#include "MdsmModule.h"
using namespace pelican;
using namespace pelican::lofar;
class SigprocMdsmPipeline : public AbstractPipeline
{
public:
SigprocMdsmPipeline();
~SigprocMdsmPipeline();
/// Initialises the pipeline.
void init();
/// Runs the pipeline.
void run(QHash<QString, DataBlob*>& remoteData);
private:
/// Module pointers
MdsmModule* mdsm;
/// Local data blobs
SpectrumDataSetStokes* stokes;
DedispersedTimeSeriesF32* dedispersedData;
unsigned _iteration;
};
#endif // SigprocMdsmPipeline_H
|
3568e00081ba5dd5833b6127aa5c2a6562e83724
|
a68195278267b091957927393435145f1bf8ed97
|
/Funciones forma 1.cpp
|
2a802c1aec9c4454e548378875024796ad54b50d
|
[] |
no_license
|
David-sqrtpi/Cpp
|
29548528c88dcd4139e40a87a976081383275676
|
750b3ee6988f006a01d4b1abb73dab74e9a1597f
|
refs/heads/master
| 2020-08-07T14:44:12.440238
| 2020-08-02T04:10:38
| 2020-08-02T04:10:38
| 213,493,005
| 0
| 0
| null | null | null | null |
ISO-8859-1
|
C++
| false
| false
| 461
|
cpp
|
Funciones forma 1.cpp
|
//Lee un número y halla su raiz cuadrada usando funciones.
#include <iostream>
#include <math.h>
using namespace std;
float raiz(float);
float a;
int main(){
cout<<"Digite un dato\n";
cin>>a;
if (a>=0.0)
{
cout<<"La raiz cuadrada de "<<a<<" es "<<raiz(a)<<endl;
}
else
{
cout<<"Es casi imposible hallar la raiz cuadrada de un numero negativo\n";
}
return 0;
}
float raiz(float a)
{
return sqrt(a);
}
|
44a6c03e82e941e49ef9f96dc1b6b423210ab2a0
|
10571cc8e30797b2bdad94817580e420b4a89742
|
/fon9/fmkt/SymbFuoClosing.hpp
|
236c9e4d7bcd60eafba60556a5f54a7cea430550
|
[
"Apache-2.0"
] |
permissive
|
fonwin/libfon9
|
3651cab44470ca353dd779280f0a1e550001af9b
|
ff682e272798a9a65d4b18852eb6522a715f48f2
|
refs/heads/master
| 2023-08-28T06:54:05.250118
| 2023-07-25T02:36:46
| 2023-07-25T02:36:46
| 115,598,127
| 30
| 12
|
Apache-2.0
| 2023-02-24T07:08:05
| 2017-12-28T07:36:02
|
C++
|
UTF-8
|
C++
| false
| false
| 961
|
hpp
|
SymbFuoClosing.hpp
|
// \file fon9/fmkt/SymbFuoClosing.hpp
//
// 期權商品收盤後相關資訊, 例如: 結算價;
//
// \author fonwinz@gmail.com
#ifndef __fon9_fmkt_SymbFuoClosing_hpp__
#define __fon9_fmkt_SymbFuoClosing_hpp__
#include "fon9/fmkt/Symb.hpp"
#include "fon9/fmkt/FmktTypes.hpp"
namespace fon9 { namespace fmkt {
struct SymbFuoClosing_Data {
/// 結算價
Pri PriSettlement_{Pri::Null()};
void Clear() {
this->PriSettlement_.AssignNull();
}
bool operator==(const SymbFuoClosing_Data& rhs) const {
return this->PriSettlement_ == rhs.PriSettlement_;
}
bool operator!=(const SymbFuoClosing_Data& rhs) const {
return !this->operator==(rhs);
}
};
/// \ingroup fmkt
/// 商品資料的擴充: 期權商品收盤後相關資訊.
fon9_API_TEMPLATE_CLASS(SymbFuoClosing, SimpleSymbData, SymbFuoClosing_Data);
fon9_API seed::Fields SymbFuoClosing_MakeFields();
} } // namespaces
#endif//__fon9_fmkt_SymbFuoClosing_hpp__
|
609b160ef48f29905edbf9ba3cebd1a92142ce39
|
b7f3edb5b7c62174bed808079c3b21fb9ea51d52
|
/chrome/browser/chromeos/crosapi/lacros_loader.cc
|
653681de04840f3aaa98417084a92a188cbf357a
|
[
"BSD-3-Clause"
] |
permissive
|
otcshare/chromium-src
|
26a7372773b53b236784c51677c566dc0ad839e4
|
64bee65c921db7e78e25d08f1e98da2668b57be5
|
refs/heads/webml
| 2023-03-21T03:20:15.377034
| 2020-11-16T01:40:14
| 2020-11-16T01:40:14
| 209,262,645
| 18
| 21
|
BSD-3-Clause
| 2023-03-23T06:20:07
| 2019-09-18T08:52:07
| null |
UTF-8
|
C++
| false
| false
| 3,739
|
cc
|
lacros_loader.cc
|
// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/chromeos/crosapi/lacros_loader.h"
#include <utility>
#include "base/bind.h"
#include "base/command_line.h"
#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/logging.h"
#include "base/task/task_traits.h"
#include "base/task/thread_pool.h"
#include "chrome/browser/chromeos/crosapi/lacros_util.h"
#include "chromeos/constants/chromeos_switches.h"
namespace {
constexpr char kLacrosComponentName[] = "lacros-fishfood";
// Returns whether lacros-fishfood component is already installed.
// If it is, delete the user directory, too, because it will be
// uninstalled.
bool CheckInstalledAndMaybeRemoveUserDirectory(
scoped_refptr<component_updater::CrOSComponentManager> manager) {
if (!manager->IsRegisteredMayBlock(kLacrosComponentName))
return false;
// Since we're already on a background thread, delete the user-data-dir
// associated with lacros.
// TODO(hidehiko): This approach has timing issue. Specifically, if Chrome
// shuts down during the directory remove, some partially-removed directory
// may be kept, and if the user flips the flag in the next time, that
// partially-removed directory could be used. Fix this.
base::DeletePathRecursively(lacros_util::GetUserDataDir());
return true;
}
} // namespace
LacrosLoader::LacrosLoader(
scoped_refptr<component_updater::CrOSComponentManager> manager)
: component_manager_(manager) {
DCHECK(component_manager_);
}
LacrosLoader::~LacrosLoader() = default;
void LacrosLoader::Load(LoadCompletionCallback callback) {
DCHECK(lacros_util::IsLacrosAllowed());
// TODO(crbug.com/1078607): Remove non-error logging from this class.
LOG(WARNING) << "Starting lacros component load.";
// If the user has specified a path for the lacros-chrome binary, use that
// rather than component manager.
base::FilePath lacros_chrome_path =
base::CommandLine::ForCurrentProcess()->GetSwitchValuePath(
chromeos::switches::kLacrosChromePath);
if (!lacros_chrome_path.empty()) {
OnLoadComplete(std::move(callback),
component_updater::CrOSComponentManager::Error::NONE,
lacros_chrome_path);
return;
}
component_manager_->Load(
kLacrosComponentName,
component_updater::CrOSComponentManager::MountPolicy::kMount,
component_updater::CrOSComponentManager::UpdatePolicy::kForce,
base::BindOnce(&LacrosLoader::OnLoadComplete, weak_factory_.GetWeakPtr(),
std::move(callback)));
}
void LacrosLoader::Unload() {
DCHECK(lacros_util::IsLacrosAllowed());
base::ThreadPool::PostTaskAndReplyWithResult(
FROM_HERE, {base::MayBlock()},
base::BindOnce(&CheckInstalledAndMaybeRemoveUserDirectory,
component_manager_),
base::BindOnce(&LacrosLoader::UnloadAfterCleanUp,
weak_factory_.GetWeakPtr()));
}
void LacrosLoader::OnLoadComplete(
LoadCompletionCallback callback,
component_updater::CrOSComponentManager::Error error,
const base::FilePath& path) {
bool success =
(error == component_updater::CrOSComponentManager::Error::NONE);
if (success) {
LOG(WARNING) << "Loaded lacros image at " << path.MaybeAsASCII();
} else {
LOG(WARNING) << "Error loading lacros component image: "
<< static_cast<int>(error);
}
std::move(callback).Run(success ? path : base::FilePath());
}
void LacrosLoader::UnloadAfterCleanUp(bool was_installed) {
if (was_installed)
component_manager_->Unload(kLacrosComponentName);
}
|
84cde0634e25913eb188ad8677babff48736d7a9
|
506a359c19f18616d5002361f9c470ff58afdb44
|
/high-level/scoutos/scout/libscout/src/test_behaviors/Scheduler.h
|
5e2bf283a654660b5fc66907c08cc7a0d136622e
|
[
"MIT",
"LicenseRef-scancode-warranty-disclaimer"
] |
permissive
|
CMU-Robotics-Club/Colony
|
d4df76363597075fdaef26d4c43b078fb8d0c8af
|
ccc8747ac670171930896201c5284ecd23514df2
|
refs/heads/master
| 2020-03-26T17:47:40.332115
| 2015-04-09T22:03:58
| 2015-04-09T22:03:58
| 24,465,817
| 0
| 1
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 853
|
h
|
Scheduler.h
|
#ifndef _SCHEDULER_
#define _SCHEDULER_
#include "../helper_classes/PQWrapper.h"
#include "../helper_classes/Order.h"
#include "../Behavior.h"
#define NUM_TASKS 5
#define WAITING_ROBOT 1
#define NEW_ROBOT 2
#define ORDERED_ROBOT 3
typedef struct{
std::string name;
ros::Publisher topic;
int sched_status;
} Robot;
class Scheduler : Behavior {
std::vector<Robot> robots;
std::queue<Robot> waitingRobots;
PQWrapper* unassignedOrders;
std::vector<Order> assignedOrders;
void create_orders();
void waiting_dance();
void msg_callback(const std_msgs::String::ConstPtr& msg);
public:
Scheduler(std::string scoutname, Sensors* sensors);
~Scheduler();
void get_task(int robot);
void task_complete(Order o);
void task_failed(Order o);
Order get_next_item();
void run();
ros::Subscriber robot_to_sched;
};
#endif
|
d1222cec1f56f5cfa6abedac4c42eb065c3010ee
|
0d1b5db4da112ca12f236b6ca33a30b50fd7c839
|
/OpenGLStudy/Engine/Graphics/Light/SpotLight/SpotLight.cpp
|
d7b843f64bf123a791058b74c9ead519a51d81de
|
[] |
no_license
|
BosonHBC/GraphicsEngine_OpenGL
|
fd8f86f764a17a74432f6b1f2823e5dd01d34067
|
a59c8564a3e9b17d986374b769f8bc50251d9353
|
refs/heads/master
| 2020-11-24T09:49:02.829849
| 2020-10-04T23:13:56
| 2020-10-04T23:13:56
| 228,088,171
| 6
| 1
| null | 2020-10-04T23:13:57
| 2019-12-14T20:59:47
|
C++
|
UTF-8
|
C++
| false
| false
| 2,463
|
cpp
|
SpotLight.cpp
|
#include "Graphics/Light/SpotLight/SpotLight.h"
#include <stdio.h>
#include "Graphics/Graphics.h"
#include "Graphics/UniformBuffer/UniformBufferFormats.h"
namespace Graphics {
cSpotLight::cSpotLight(Color i_color, const glm::vec3& i_position, const glm::vec3& i_direction, GLfloat i_edge, GLfloat i_radius):
cPointLight(i_color, i_position, i_radius)
{
m_edge = glm::clamp(i_edge, 1.f, 150.f);
m_procEdge = cosf(glm::radians(m_edge/2.f));
glm::quat rot(glm::quatLookAt(i_direction, cTransform::WorldUp));
Transform.SetTransform(i_position, rot, glm::vec3(1, 1, 1));
}
void cSpotLight::Illuminate()
{
auto& gLighting = Graphics::GetGlobalLightingData();
gLighting.spotLights[m_lightIndex].base.base.uniqueID = UniqueID;
gLighting.spotLights[m_lightIndex].base.base.color = LightColor;
gLighting.spotLights[m_lightIndex].base.base.enableShadow = m_enableShadow;
gLighting.spotLights[m_lightIndex].base.position = Transform.Position();
gLighting.spotLights[m_lightIndex].base.radius = Range;
gLighting.spotLights[m_lightIndex].direction = Transform.Forward();
gLighting.spotLights[m_lightIndex].edge = m_procEdge;
}
void cSpotLight::SetupLight(const GLuint& i_programID, GLuint i_lightIndex /*= 0*/)
{
cGenLight::SetupLight(i_programID, i_lightIndex);
char _charBuffer[64] = { '\0' };
snprintf(_charBuffer, sizeof(_charBuffer), "spotlightTransform[%d]", m_lightIndex);
m_lightTransformID = glGetUniformLocation(i_programID, _charBuffer);
snprintf(_charBuffer, sizeof(_charBuffer), "spotlightShadowMap[%d]", m_lightIndex);
m_lightShadowMapID = glGetUniformLocation(i_programID, _charBuffer);
}
void cSpotLight::UseShadowMap(GLuint i_textureUnit)
{
glUniform1i(m_lightShadowMapID, i_textureUnit);
}
void cSpotLight::CreateShadowMap(GLuint i_width, GLuint i_height)
{
cGenLight::CreateShadowMap(i_width, i_height);
float _aspect = static_cast<GLfloat>(i_width) / static_cast<GLfloat>(i_height);
m_lightPrjectionMatrix = glm::perspective(glm::radians(m_edge), _aspect, 1.f, Range *2.f);
}
glm::mat4 cSpotLight::GetViewMatrix() const
{
return glm::lookAt(Transform.Position(), Transform.Position() + Transform.Forward(), cTransform::WorldUp);
}
void cSpotLight::SetLightUniformTransform()
{
glm::mat4 lightTransform = GetProjectionmatrix() * GetViewMatrix();
glUniformMatrix4fv(m_lightTransformID, 1, GL_FALSE, glm::value_ptr(lightTransform));
assert(GL_NO_ERROR == glGetError());
}
}
|
36db518230eb318a0c0a6596fc1c6983ddbac906
|
db3033246bb9edc514d19e0c604e5cc7c41ff6e3
|
/week3/卞秋阳/week3/二分查找.cpp
|
ebeedfec54dc0e92a07a3a87248f904e747a8614
|
[] |
no_license
|
1525125249/NEUQ-ACM-Solution
|
2945a96659ccc5b5294a358564291c758feffce9
|
f651574880b6974b12e5dbc28f78d9bf4c1694b3
|
refs/heads/main
| 2023-08-27T17:56:56.052183
| 2021-11-07T05:14:30
| 2021-11-07T05:14:30
| 425,413,832
| 0
| 0
| null | 2021-11-07T04:40:57
| 2021-11-07T04:40:57
| null |
UTF-8
|
C++
| false
| false
| 314
|
cpp
|
二分查找.cpp
|
#include<bits/stdc++.h>
using namespace std;
const int maxn=1e5+10;
int main(){long long int a[maxn];
long long int n;cin>>n;
int m;cin>>m;
for(int i=1;i<=n;i++){
cin>>a[i];
}
int flag=0;
for(int i=1;i<=n;i++){
if(a[i]>=m){
flag=1;
cout<<i;break;
}
}
if(flag==0) cout<<n+1;
}
|
d9da76dfdf626efa17cc35703021cdbf77f56ae8
|
7d47d7aec2a7af8823972a559c12dcd81eacfbe5
|
/client/SampleClient.cpp
|
d27341a73272b5a4da58f3e21318ee567c0b4d49
|
[] |
no_license
|
luochen01/mapkeeper
|
6b46446bf62913865f1a6b5d9e1b6bbcbf841e19
|
5c0b246f4e3abc2efcd2edd5fb3efe79d9a795a2
|
refs/heads/master
| 2020-04-17T10:19:31.631475
| 2019-01-20T23:39:24
| 2019-01-20T23:39:24
| 166,497,005
| 0
| 0
| null | 2019-01-19T02:20:39
| 2019-01-19T02:20:39
| null |
UTF-8
|
C++
| false
| false
| 6,914
|
cpp
|
SampleClient.cpp
|
/**
* A sample client.
*/
#include <boost/lexical_cast.hpp>
#include <cassert>
#include "MapKeeper.h"
#include <protocol/TBinaryProtocol.h>
#include <transport/TServerSocket.h>
#include <transport/TSocket.h>
#include <transport/TBufferTransports.h>
using namespace ::apache::thrift;
using namespace ::apache::thrift::protocol;
using namespace ::apache::thrift::transport;
using boost::shared_ptr;
using namespace mapkeeper;
void testScan(mapkeeper::MapKeeperClient& client) {
mapkeeper::RecordListResponse scanResponse;
std::string mapName("scan_test");
assert(mapkeeper::ResponseCode::Success == client.addMap("scan_test"));
for (int i = 0; i < 10; i++) {
std::string key = "key" + boost::lexical_cast<std::string>(i);
std::string val = "val" + boost::lexical_cast<std::string>(i);
assert(mapkeeper::ResponseCode::Success == client.insert(mapName, key, val));
}
client.scan(scanResponse, mapName, ScanOrder::Ascending, "", true, "", true, 1000, 1000);
assert(scanResponse.responseCode == mapkeeper::ResponseCode::ScanEnded);
assert(scanResponse.records.size() == 10);
std::vector<mapkeeper::Record>::iterator itr = scanResponse.records.begin();
for (int i = 0; i < 10; i++) {
std::string key = "key" + boost::lexical_cast<std::string>(i);
std::string val = "val" + boost::lexical_cast<std::string>(i);
assert(key == itr->key);
assert(val == itr->value);
itr++;
}
assert(itr == scanResponse.records.end());
client.scan(scanResponse, mapName, ScanOrder::Ascending, "", false, "key5", true, 1000, 1000);
assert(scanResponse.responseCode == mapkeeper::ResponseCode::ScanEnded);
assert(scanResponse.records.size() == 6);
itr = scanResponse.records.begin();
for (int i = 0; i < 6; i++) {
std::string key = "key" + boost::lexical_cast<std::string>(i);
std::string val = "val" + boost::lexical_cast<std::string>(i);
assert(key == itr->key);
assert(val == itr->value);
itr++;
}
assert(itr == scanResponse.records.end());
client.scan(scanResponse, mapName, ScanOrder::Ascending, "key2", true, "key7", false, 1000, 1000);
assert(scanResponse.responseCode == mapkeeper::ResponseCode::ScanEnded);
assert(scanResponse.records.size() == 5);
itr = scanResponse.records.begin();
for (int i = 2; i < 7; i++) {
std::string key = "key" + boost::lexical_cast<std::string>(i);
std::string val = "val" + boost::lexical_cast<std::string>(i);
assert(key == itr->key);
assert(val == itr->value);
itr++;
}
assert(itr == scanResponse.records.end());
client.scan(scanResponse, mapName, ScanOrder::Descending, "key3", false, "", true, 1000, 1000);
assert(scanResponse.responseCode == mapkeeper::ResponseCode::ScanEnded);
assert(scanResponse.records.size() == 6);
itr = scanResponse.records.begin();
for (int i = 9; i > 3; i--) {
std::string key = "key" + boost::lexical_cast<std::string>(i);
std::string val = "val" + boost::lexical_cast<std::string>(i);
assert(key == itr->key);
assert(val == itr->value);
itr++;
}
assert(itr == scanResponse.records.end());
// test record limit
client.scan(scanResponse, mapName, ScanOrder::Ascending, "key4", true, "", true, 3, 1000);
assert(scanResponse.responseCode == mapkeeper::ResponseCode::Success);
assert(scanResponse.records.size() == 3);
itr = scanResponse.records.begin();
for (int i = 4; i < 7; i++) {
std::string key = "key" + boost::lexical_cast<std::string>(i);
std::string val = "val" + boost::lexical_cast<std::string>(i);
assert(key == itr->key);
assert(val == itr->value);
itr++;
}
assert(itr == scanResponse.records.end());
// test byte limit
client.scan(scanResponse, mapName, ScanOrder::Descending, "key4", true, "key9", false, 1000, 16);
assert(scanResponse.responseCode == mapkeeper::ResponseCode::Success);
assert(scanResponse.records.size() == 2);
itr = scanResponse.records.begin();
for (int i = 8; i > 6; i--) {
std::string key = "key" + boost::lexical_cast<std::string>(i);
std::string val = "val" + boost::lexical_cast<std::string>(i);
assert(key == itr->key);
assert(val == itr->value);
itr++;
}
assert(itr == scanResponse.records.end());
assert(mapkeeper::ResponseCode::Success == client.dropMap("scan_test"));
}
int main(int argc, char **argv) {
boost::shared_ptr<TSocket> socket(new TSocket("localhost", 9090));
boost::shared_ptr<TTransport> transport(new TFramedTransport(socket));
boost::shared_ptr<TProtocol> protocol(new TBinaryProtocol(transport));
mapkeeper::MapKeeperClient client(protocol);
mapkeeper::BinaryResponse getResponse;
// these methods can throw apache::thrift::TException.
transport->open();
// test ping
assert(mapkeeper::ResponseCode::Success == client.ping());
// test addMap
assert(mapkeeper::ResponseCode::Success == client.addMap("db1"));
assert(mapkeeper::ResponseCode::MapExists == client.addMap("db1"));
// test insert
assert(mapkeeper::ResponseCode::Success == client.insert("db1", "k1", "v1"));
assert(mapkeeper::ResponseCode::RecordExists == client.insert("db1", "k1", "v1"));
assert(mapkeeper::ResponseCode::MapNotFound == client.insert("db2", "k1", "v1"));
// test get
client.get(getResponse, "db1", "k1");
assert(getResponse.responseCode == mapkeeper::ResponseCode::Success);
assert(getResponse.value == "v1");
client.get(getResponse, "db2", "k1");
assert(getResponse.responseCode == mapkeeper::ResponseCode::MapNotFound);
client.get(getResponse, "db1", "k2");
assert(getResponse.responseCode == mapkeeper::ResponseCode::RecordNotFound);
// test update
assert(mapkeeper::ResponseCode::Success == client.update("db1", "k1", "v2"));
assert(mapkeeper::ResponseCode::MapNotFound == client.update("db2", "k1", "v1"));
assert(mapkeeper::ResponseCode::RecordNotFound == client.update("db1", "k2", "v2"));
client.get(getResponse, "db1", "k1");
assert(getResponse.responseCode == mapkeeper::ResponseCode::Success);
assert(getResponse.value == "v2");
// test scan
testScan(client);
// test remove
assert(mapkeeper::ResponseCode::Success == client.remove("db1", "k1"));
assert(mapkeeper::ResponseCode::RecordNotFound== client.remove("db1", "k1"));
assert(mapkeeper::ResponseCode::RecordNotFound== client.remove("db1", "k2"));
assert(mapkeeper::ResponseCode::MapNotFound == client.remove("db2", "k1"));
// test dropMap
assert(mapkeeper::ResponseCode::Success == client.dropMap("db1"));
assert(mapkeeper::ResponseCode::MapNotFound == client.dropMap("db1"));
transport->close();
return 0;
}
|
6c57ab84818f4c070c2fdf775350f36b762ad430
|
b5dbb842d058efd6bb493ea723193aa8da060b0f
|
/gate/AG/Src/UI/UIListener.cpp
|
0349a8c3a380352bf9f4be0defb82934371112c6
|
[] |
no_license
|
zngj/OpenTheDoor
|
7d737a36011aa812bd9e7a66cf58a304fa8077f7
|
ae911f9f6a55e558c18ce0cc388e127413f52028
|
refs/heads/master
| 2021-01-01T20:14:14.684936
| 2017-09-15T03:54:32
| 2017-09-15T03:54:32
| 98,795,015
| 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 3,716
|
cpp
|
UIListener.cpp
|
#include "UIListener.h"
#include <QApplication>
#include <QEvent>
#include <qevent.h>
std::mutex UIListener::mtx;
UIListener * UIListener::listner=nullptr;
UIListener::UIListener()
{
}
UIListener *UIListener::getInstance()
{
std::unique_lock<std::mutex> lock(mtx);
if(listner==nullptr)
{
listner=new UIListener();
}
return listner;
}
void UIListener::notifyCheckOK()
{
std::unique_lock<std::mutex> lock(mtx);
for (auto val : listMsgListener)
{
QWidget *widget=(QWidget*)val;
QApplication::postEvent(val,new QEvent((QEvent::Type)WM_CHECK_OK));
}
}
void UIListener::notifyCheckFail()
{
std::unique_lock<std::mutex> lock(mtx);
for (auto val : listMsgListener)
{
QWidget *widget=(QWidget*)val;
QApplication::postEvent(val,new QEvent((QEvent::Type)WM_CHECK_FAIL));
}
}
void UIListener::notifyOpenBoxBegin()
{
std::unique_lock<std::mutex> lock(mtx);
for (auto val : listMsgListener)
{
QWidget *widget=(QWidget*)val;
QApplication::postEvent(val,new QEvent((QEvent::Type)WM_BOX_OPEN_BEGIN));
}
}
void UIListener::notifyOpenBoxEnd()
{
std::unique_lock<std::mutex> lock(mtx);
for (auto val : listMsgListener)
{
QWidget *widget=(QWidget*)val;
QApplication::postEvent(val,new QEvent((QEvent::Type)WM_BOX_OPEN_END));
}
}
void UIListener::notifyChangeBoxBegin()
{
std::unique_lock<std::mutex> lock(mtx);
for (auto val : listMsgListener)
{
QWidget *widget=(QWidget*)val;
QApplication::postEvent(val,new QEvent((QEvent::Type)WM_BOX_CHANGE_BEGIN));
}
}
void UIListener::notifyChangeBoxEnd()
{
std::unique_lock<std::mutex> lock(mtx);
for (auto val : listMsgListener)
{
QWidget *widget=(QWidget*)val;
QApplication::postEvent(val,new QEvent((QEvent::Type)WM_BOX_CHANGE_END));
}
}
void UIListener::notifyBoxInfoBegin()
{
std::unique_lock<std::mutex> lock(mtx);
for (auto val : listMsgListener)
{
QWidget *widget=(QWidget*)val;
QApplication::postEvent(val,new QEvent((QEvent::Type)WM_BOX_GETINFO_BEGIN));
}
}
void UIListener::notifyBoxInfoEnd()
{
std::unique_lock<std::mutex> lock(mtx);
for (auto val : listMsgListener)
{
QWidget *widget=(QWidget*)val;
QApplication::postEvent(val,new QEvent((QEvent::Type)WM_BOX_GETINFO_END));
}
}
void UIListener::notifyParcelCreateBegin()
{
std::unique_lock<std::mutex> lock(mtx);
for (auto val : listMsgListener)
{
QWidget *widget=(QWidget*)val;
QApplication::postEvent(val,new QEvent((QEvent::Type)WM_CREATE_PARCEL_BEGIN));
}
}
void UIListener::notifyParcelCreateEnd()
{
std::unique_lock<std::mutex> lock(mtx);
for (auto val : listMsgListener)
{
QWidget *widget=(QWidget*)val;
QApplication::postEvent(val,new QEvent((QEvent::Type)WM_CREATE_PARCEL_END));
}
}
void UIListener::notifySyncBegin()
{
std::unique_lock<std::mutex> lock(mtx);
for (auto val : listMsgListener)
{
QWidget *widget=(QWidget*)val;
QApplication::postEvent(val,new QEvent((QEvent::Type)WM_SYNC_BEGIN));
}
}
void UIListener::notifySyncEnd()
{
std::unique_lock<std::mutex> lock(mtx);
for (auto val : listMsgListener)
{
QWidget *widget=(QWidget*)val;
QApplication::postEvent(val,new QEvent((QEvent::Type)WM_SYNC_END));
}
}
void UIListener::addListener(QWidget *w)
{
std::unique_lock<std::mutex> lock(mtx);
listMsgListener.clear();
listMsgListener.push_back(w);
}
void UIListener::removeListener(QWidget *w)
{
std::unique_lock<std::mutex> lock(mtx);
listMsgListener.remove(w);
}
|
832a13c3870c844b84d9edb29a84db55ec373259
|
0ca6eaa807aaa1c64a308ffac90b6e689933e0d3
|
/src/bm-int-tostring.cpp
|
9e66b2f23a5e0eb4a18bae5aadbd2a2718da4457
|
[] |
no_license
|
bibmaster/bitops-benchmark
|
141c060fdf90e0c8cb461d54e6b39b5974421fd8
|
09808c7e616d595982ea7b64a8f833d6d2c3833d
|
refs/heads/master
| 2020-07-16T06:43:49.123171
| 2019-09-01T22:54:09
| 2019-09-04T10:26:41
| 205,740,760
| 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 3,578
|
cpp
|
bm-int-tostring.cpp
|
#include <benchmark/benchmark.h>
#include <algorithm>
#include <array>
#include <iostream>
#include <random>
#include <string>
template<typename T>
constexpr unsigned to_chars_len(T x) noexcept {
unsigned n = 1;
for(;;) {
if(x < 10)
return n;
if(x < 100)
return n + 1;
if(x < 1000)
return n + 2;
if(x < 10000)
return n + 3;
x /= 10000u;
n += 4;
}
return n;
}
template<class T>
unsigned raw_format_100(char* buf, unsigned len, T i) noexcept {
static constexpr char digits[201] =
"0001020304050607080910111213141516171819"
"2021222324252627282930313233343536373839"
"4041424344454647484950515253545556575859"
"6061626364656667686970717273747576777879"
"8081828384858687888990919293949596979899";
unsigned pos = len - 1;
while(i >= 100) {
auto const num = (i % 100) * 2;
i /= 100;
buf[pos] = digits[num + 1];
buf[pos - 1] = digits[num];
pos -= 2;
}
if(i >= 10) {
auto const num = i * 2;
buf[pos] = digits[num + 1];
--pos;
buf[pos] = digits[num];
}
else
buf[pos] = '0' + i;
return pos;
}
template<typename T>
unsigned raw_format_10(char* buf, unsigned len, T i) noexcept {
unsigned pos = len - 1;
while(i >= 10) {
buf[pos] = '0' + (i % 10);
--pos;
i /= 10;
}
buf[pos] = '0' + char(i);
return pos;
}
inline std::string std_to_string(uint32_t i) {
auto len = to_chars_len(i);
std::string result(len, '\0');
raw_format_100(&result[0], len, i);
return result;
}
template<class T>
std::enable_if_t<std::is_unsigned_v<T>, std::string> to_string(T i) {
char buf[sizeof(T) * 3];
auto pos = raw_format_10(buf, sizeof(buf), i);
return {buf + pos, sizeof(buf) - pos};
}
template<class T>
std::enable_if_t<std::is_signed_v<T>, std::string> to_string(T i) {
char buf[sizeof(T) * 3 + 1];
const bool neg = i < 0;
using U = std::make_unsigned_t<T>;
const U u = neg ? (U)~i + 1u : i;
auto pos = raw_format_10(buf, sizeof(buf), u);
if(neg)
buf[--pos] = '-';
return {buf + pos, sizeof(buf) - pos};
}
struct to_string_100 {
std::string operator()(uint32_t i) {
return std_to_string(i);
}
};
struct to_string_10 {
std::string operator()(uint32_t i) {
return to_string(i);
}
};
template<class Function>
struct BmToString : benchmark::Fixture {
BmToString(std::string name) {
SetName(name.c_str());
std::random_device rd;
std::mt19937 gen(rd());
std::uniform_int_distribution<uint32_t> dis;
std::generate(
input.begin(), input.end(), [&gen, &dis] { return dis(gen); });
}
void BenchmarkCase(::benchmark::State& state) {
size_t i = 0;
for(auto _ : state)
benchmark::DoNotOptimize(fn(input[i++ % input.size()]));
}
Function fn;
constexpr static size_t input_size = 1024 * 64;
std::array<uint32_t, input_size> input;
};
void RegisterBenchmarks() {
::benchmark::internal::RegisterBenchmarkInternal(
new BmToString<to_string_100>("base100"));
::benchmark::internal::RegisterBenchmarkInternal(
new BmToString<to_string_10>("base10"));
}
int main(int argc, char* argv[]) {
RegisterBenchmarks();
::benchmark::Initialize(&argc, argv);
if(::benchmark::ReportUnrecognizedArguments(argc, argv))
return 1;
::benchmark::RunSpecifiedBenchmarks();
}
|
a44b72a131875052293576eda74f2e0122ae8a7e
|
6f0ceee714bccf2a89c34a06aabd3bcb781a2fa4
|
/src/nnvm/node_op_util.h
|
cba6fb8286af6f257d787566f4f8aee05749cccb
|
[
"Apache-2.0",
"MIT",
"Unlicense",
"BSL-1.0",
"NCSA",
"BSD-3-Clause",
"LicenseRef-scancode-generic-cla",
"BSD-2-Clause",
"OFL-1.0",
"BSD-2-Clause-Views",
"Zlib"
] |
permissive
|
yajiedesign/mxnet
|
5a495fd06dd1730c17d2d27d7e46c8a770847f17
|
8e5a16cf673db5aceb48d2cf7a0fc1abd0ee5e51
|
refs/heads/master
| 2021-03-30T22:37:18.603396
| 2020-10-23T06:40:17
| 2020-10-23T06:40:17
| 43,763,550
| 214
| 59
|
Apache-2.0
| 2020-06-01T23:31:15
| 2015-10-06T16:36:40
|
C++
|
UTF-8
|
C++
| false
| false
| 3,877
|
h
|
node_op_util.h
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
/*!
* Copyright (c) 2019 by Contributors
* \file node_op_util.h
* \brief abstraction for commonly used nnvm::Node operations.
*/
#ifndef MXNET_NNVM_NODE_OP_UTIL_H_
#define MXNET_NNVM_NODE_OP_UTIL_H_
#include <mxnet/base.h>
#include <string>
#include <unordered_map>
#include "../operator/elemwise_op_common.h"
namespace mxnet {
namespace util {
class NodeOpGen {
private:
const nnvm::ObjectPtr &dependent_node;
public:
explicit NodeOpGen(const nnvm::ObjectPtr &dependent_node) : dependent_node{dependent_node} {}
nnvm::NodeEntry mul(const nnvm::NodeEntry &lhs, const nnvm::NodeEntry &rhs) {
return nnvm::NodeEntry{mxnet::op::MakeNode("elemwise_mul",
dependent_node->attrs.name + "_mul",
{lhs, rhs}, nullptr, &dependent_node)};
}
nnvm::NodeEntry mul(const nnvm::NodeEntry &x, double scalar) {
const std::unordered_map<std::string, std::string> scalar_dict =
{{"scalar", std::to_string(scalar)}};
return nnvm::NodeEntry{mxnet::op::MakeNode("_mul_scalar",
dependent_node->attrs.name + "_mul_scalar",
{x}, &scalar_dict, &dependent_node)};
}
nnvm::NodeEntry mul(double scalar, const nnvm::NodeEntry &x) {
return NodeOpGen::mul(x, scalar);
}
nnvm::NodeEntry div(const nnvm::NodeEntry &lhs, const nnvm::NodeEntry &rhs) {
return nnvm::NodeEntry{mxnet::op::MakeNode("elemwise_div",
dependent_node->attrs.name + "_div",
{lhs, rhs}, nullptr, &dependent_node)};
}
nnvm::NodeEntry square(const nnvm::NodeEntry &x) {
return nnvm::NodeEntry{mxnet::op::MakeNode("square",
dependent_node->attrs.name + "_square",
{x}, nullptr, &dependent_node)};
}
nnvm::NodeEntry reciprocal(const nnvm::NodeEntry &x) {
return nnvm::NodeEntry{mxnet::op::MakeNode("reciprocal",
dependent_node->attrs.name + "_reciprocal",
{x}, nullptr, &dependent_node)};
}
nnvm::NodeEntry negative(const nnvm::NodeEntry &x) {
return nnvm::NodeEntry{mxnet::op::MakeNode("negative",
dependent_node->attrs.name + "_negative",
{x}, nullptr, &dependent_node)};
}
nnvm::NodeEntry ones_like(const nnvm::NodeEntry &x) {
return nnvm::NodeEntry{mxnet::op::MakeNode("ones_like",
dependent_node->attrs.name + "_oneslike",
{x}, nullptr, &dependent_node)};
}
};
} // namespace util
} // namespace mxnet
#endif // MXNET_NNVM_NODE_OP_UTIL_H_
|
26940c85596715e6de7b8beb6f77f71c9be10409
|
30bdd8ab897e056f0fb2f9937dcf2f608c1fd06a
|
/contest/1542574252.cpp
|
11a9f60f49a5942b54d3c488d60f980e6c245b7e
|
[] |
no_license
|
thegamer1907/Code_Analysis
|
0a2bb97a9fb5faf01d983c223d9715eb419b7519
|
48079e399321b585efc8a2c6a84c25e2e7a22a61
|
refs/heads/master
| 2020-05-27T01:20:55.921937
| 2019-11-20T11:15:11
| 2019-11-20T11:15:11
| 188,403,594
| 2
| 1
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 1,669
|
cpp
|
1542574252.cpp
|
#include <iostream>
#include <vector>
#include <algorithm>
#include <tuple>
#include <chrono>
using namespace std;
bool solve() {
int problemCount, teamCount;
cin >> problemCount >> teamCount;
vector<tuple<int, int>> problems;
problems.reserve(problemCount);
for(int i = 0 ; i < problemCount ; ++i) {
int bits = 0;
int knownCount = 0;
for(int j = 0 ; j < teamCount ; ++j) {
int bit;
cin >> bit;
knownCount += bit;
bits = bits << 1 | bit;
}
if(knownCount == 0) {
return true;
}
problems.push_back(make_tuple(bits, knownCount));
}
sort(problems.begin(), problems.end(), [](tuple<int, int> const& a, tuple<int, int> const& b) { return get<0>(a) < get<0>(b); });
problems.erase(unique(problems.begin(), problems.end()), problems.end());
for(int index = 0 ; index < problems.size() ; ++index) {
int bits = get<0>(problems[index]);
int knownCount = get<1>(problems[index]);
for(int compareIndex = index + 1 ; compareIndex < problems.size() ; ++compareIndex) {
int compareBits = get<0>(problems[compareIndex]);
int compareKnownCount = get<1>(problems[compareIndex]);
if((bits & compareBits) == 0) {
return true;
}
}
}
return false;
}
int main(int argc, char **argv) {
//auto started = std::chrono::high_resolution_clock::now();
if(solve()) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
//auto done = std::chrono::high_resolution_clock::now();
//std::cout << std::chrono::duration_cast<std::chrono::milliseconds>(done-started).count() << " ms";
return 0;
}
|
92aaf304988b67af899cc4563501a4cdb6716ff1
|
7a4f3fa9b6ca70ee461b30fa30b908316f41dd8b
|
/ioi_past_papers/2015/boxes_with_souvenirs.cpp
|
8ef5bb0053496071f4212efdf87aa7a3b405d603
|
[] |
no_license
|
rahularya50/ioi_prep
|
e622880dd3aa18a56d3f086fce56897cbdf695ef
|
a0ddf5ed2570a2fff6f2ffc03efe6105ad28ff52
|
refs/heads/master
| 2021-06-07T21:53:30.984562
| 2019-10-29T01:30:49
| 2019-10-29T01:30:49
| 135,590,243
| 1
| 1
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 1,321
|
cpp
|
boxes_with_souvenirs.cpp
|
#include <bits/stdc++.h>
using namespace std;
int main() {
ios::sync_with_stdio(false);
cin.tie(0);
long long N, K, L;
cin >> N >> K >> L;
vector<long long> pos(N);
for (auto& x : pos) {
cin >> x;
}
// cout << "dps built\n";
vector<long long> l_dp(N);
for (long long i = 0; i != N; ++i) {
long long curr = 2 * pos[i];
if (i >= K) {
curr += l_dp[i - K];
}
l_dp[i] = curr;
}
vector<long long> r_dp(N);
for (long long i = N - 1; i >= 0; --i) {
long long curr = 2 * (L - pos[i]);
if (i + K < N) {
curr += r_dp[i + K];
}
r_dp[i] = curr;
}
long long best = numeric_limits<long long>::max();
for (long long i = 0; i != N; ++i) {
long long s_i = i;
long long e_i = min(i + K - 1, N - 1);
long long curr = L;
if (s_i != 0) {
curr += l_dp[s_i - 1];
}
if (e_i != N - 1) {
curr += r_dp[e_i + 1];
}
best = min(best, curr);
}
for (int i = 0; i != N - 1; ++i) {
best = min(best, r_dp[i + 1] + l_dp[i]);
// cout << best << "\n";
}
// cout << best << "\n";
best = min(best, l_dp[N - 1]);
best = min(best, r_dp[0]);
cout << best << "\n";
}
|
b3cf370404efebe707cc32c2cf07575d4c107f82
|
6b40e9dccf2edc767c44df3acd9b626fcd586b4d
|
/NT/base/fs/rdr2/rdpdr/sys/drive.h
|
813992c817a662b3e7fdf0c854245160fe80ce3b
|
[] |
no_license
|
jjzhang166/WinNT5_src_20201004
|
712894fcf94fb82c49e5cd09d719da00740e0436
|
b2db264153b80fbb91ef5fc9f57b387e223dbfc2
|
refs/heads/Win2K3
| 2023-08-12T01:31:59.670176
| 2021-10-14T15:14:37
| 2021-10-14T15:14:37
| 586,134,273
| 1
| 0
| null | 2023-01-07T03:47:45
| 2023-01-07T03:47:44
| null |
UTF-8
|
C++
| false
| false
| 3,415
|
h
|
drive.h
|
/*++
Copyright (c) 1999-2000 Microsoft Corporation
Module Name :
drive.h
Author :
JoyC 11/1/1999
Abstract:
Drive Device object handles one redirected drive
Revision History:
--*/
#pragma once
class DrDrive : public DrDevice
{
private:
protected:
virtual BOOL IsDeviceNameValid();
public:
DrDrive(SmartPtr<DrSession> &Session, ULONG DeviceType,
ULONG DeviceId, PUCHAR PreferredDosName);
virtual NTSTATUS Initialize(PRDPDR_DEVICE_ANNOUNCE devAnnounceMsg, ULONG Length);
virtual BOOL ShouldCreateDevice();
virtual VOID Remove();
NTSTATUS CreateDrive(PRDPDR_DEVICE_ANNOUNCE devAnnounceMsg, PWCHAR DriveName);
NTSTATUS CreateDriveAnnounceEvent(PRDPDR_DEVICE_ANNOUNCE devAnnounceMsg,
PRDPDR_DRIVEDEVICE_SUB driveAnnounceEvent,
ULONG driveAnnounceEventSize,
PCWSTR driveName,
OPTIONAL ULONG *driveAnnounceEventReqSize);
//
// These are file system specific functions.
//
virtual NTSTATUS Locks(IN OUT PRX_CONTEXT RxContext);
virtual NTSTATUS QueryDirectory(IN OUT PRX_CONTEXT RxContext);
virtual NTSTATUS NotifyChangeDirectory(IN OUT PRX_CONTEXT RxContext);
virtual NTSTATUS QueryVolumeInfo(IN OUT PRX_CONTEXT RxContext);
virtual NTSTATUS SetVolumeInfo(IN OUT PRX_CONTEXT RxContext);
virtual NTSTATUS QueryFileInfo(IN OUT PRX_CONTEXT RxContext);
virtual NTSTATUS SetFileInfo(IN OUT PRX_CONTEXT RxContext);
virtual NTSTATUS QuerySdInfo(IN OUT PRX_CONTEXT RxContext);
virtual NTSTATUS SetSdInfo(IN OUT PRX_CONTEXT RxContext);
virtual NTSTATUS OnLocksCompletion(PRDPDR_IOCOMPLETION_PACKET CompletionPacket, ULONG cbPacket,
BOOL *DoDefaultRead, SmartPtr<DrExchange> Exchange);
virtual NTSTATUS OnDirectoryControlCompletion(PRDPDR_IOCOMPLETION_PACKET CompletionPacket, ULONG cbPacket,
BOOL *DoDefaultRead, SmartPtr<DrExchange> Exchange);
virtual NTSTATUS OnQueryDirectoryCompletion(PRDPDR_IOCOMPLETION_PACKET CompletionPacket, ULONG cbPacket,
BOOL *DoDefaultRead, SmartPtr<DrExchange> Exchange);
virtual NTSTATUS OnNotifyChangeDirectoryCompletion(PRDPDR_IOCOMPLETION_PACKET CompletionPacket, ULONG cbPacket,
BOOL *DoDefaultRead, SmartPtr<DrExchange> Exchange);
virtual NTSTATUS OnQueryVolumeInfoCompletion(PRDPDR_IOCOMPLETION_PACKET CompletionPacket, ULONG cbPacket,
BOOL *DoDefaultRead, SmartPtr<DrExchange> Exchange);
virtual NTSTATUS OnSetVolumeInfoCompletion(PRDPDR_IOCOMPLETION_PACKET CompletionPacket, ULONG cbPacket,
BOOL *DoDefaultRead, SmartPtr<DrExchange> Exchange);
virtual NTSTATUS OnQueryFileInfoCompletion(PRDPDR_IOCOMPLETION_PACKET CompletionPacket, ULONG cbPacket,
BOOL *DoDefaultRead, SmartPtr<DrExchange> Exchange);
virtual NTSTATUS OnSetFileInfoCompletion(PRDPDR_IOCOMPLETION_PACKET CompletionPacket, ULONG cbPacket,
BOOL *DoDefaultRead, SmartPtr<DrExchange> Exchange);
virtual NTSTATUS OnQuerySdInfoCompletion(PRDPDR_IOCOMPLETION_PACKET CompletionPacket, ULONG cbPacket,
BOOL *DoDefaultRead, SmartPtr<DrExchange> Exchange);
virtual NTSTATUS OnSetSdInfoCompletion(PRDPDR_IOCOMPLETION_PACKET CompletionPacket, ULONG cbPacket,
BOOL *DoDefaultRead, SmartPtr<DrExchange> Exchange);
};
|
fe95cf1ba9d2da7404d3897b8c86d04e4b34929e
|
ae8a712c2450c589a66247f543e44925e7aefaec
|
/tests/files.cpp
|
200dbc9af021820ea91b559fbf59e680be20a3e5
|
[
"MIT"
] |
permissive
|
omsgunjal2003/bash2cpp
|
bef837eef70d8657b68a50615618b79391d38c1b
|
c5c5c2dc4a07a524c9ba8292e30915805f6371f7
|
refs/heads/main
| 2023-08-28T01:25:41.077058
| 2021-07-16T20:34:38
| 2021-07-16T20:35:38
| null | 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 774
|
cpp
|
files.cpp
|
#include <string>
#include <iostream>
#include <filesystem>
#include <glob.h>
#include <vector>
#include <string>
std::vector<std::string> globVector(const std::string& pattern){
glob_t glob_result;
glob(pattern.c_str(),GLOB_TILDE,NULL,&glob_result);
std::vector<std::string> files;
for(unsigned int i=0;i<glob_result.gl_pathc;++i){
files.push_back(std::string(glob_result.gl_pathv[i]));
}
globfree(&glob_result);
return files;
}
int main()
{
std::string path = "tests";
//for (const auto & entry : std::filesystem::directory_iterator(path))
// std::cout << entry.path() << std::endl;
std::vector<std::string> files = globVector("tests/*.sh");
for (const auto & entry : files)
std::cout << entry << std::endl;
}
|
cb54ccccbd129ecdc85bca4c7f90fff969a0d783
|
8c094d141dc5d62db2872bd6453597362a25ce83
|
/src/PID.cpp
|
2dbe4bf4c67840f5b294a34e528777a94cc45ca8
|
[] |
no_license
|
kunwarmahen/CarND-PID-Control-Project
|
3ff94bcf264438fc8761f2375807f627998d0c02
|
f939bbaae8c280674832794520dd40e3eac43aed
|
refs/heads/master
| 2020-08-31T08:34:40.024857
| 2017-06-15T03:23:01
| 2017-06-15T03:23:01
| 94,394,947
| 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 1,573
|
cpp
|
PID.cpp
|
#include "PID.h"
#include <iostream>
using namespace std;
/*
* TODO: Complete the PID class.
*/
PID::PID() {}
PID::~PID() {}
void PID::Init(double Kp, double Ki, double Kd) {
this->Kp = Kp;
this->Ki = Ki;
this->Kd = Kd;
this->p_error = 0;
this->d_error = 0;
this->i_error = 0;
//this->Ks[0] = Kp;
//this->Ks[1] = Ki;
//this->Ks[2] = Kd;
}
void PID::SetThrottle(double throttle) {
this->throttle = throttle;
}
void PID::UpdateError(double cte) {
this->d_error = cte - this->p_error;
this->i_error += cte;
this->p_error = cte;
//steps += 1;
}
double PID::TotalError() {
return Kp * p_error + Kd * d_error + Ki * i_error;
}
void PID::Twiddle(double cte) {
const double tol_threshold = 0.2;
if (sumK(ds) > tol_threshold) {
if (startLoop) {
Ks[twiddle_index] += ds[twiddle_index];
startLoop = false;
Kp = Ks[0];
Ki = Ks[1];
Kd = Ks[2];
return;
}
double error = TotalError();
if (error < best_err) {
best_err = error;
ds[twiddle_index] *= 1.1;
} else {
if (!secondUpdate) {
Ks[twiddle_index] -= 2 * ds[twiddle_index];
Kp = Ks[0];
Ki = Ks[1];
Kd = Ks[2];
return;
} else {
Ks[twiddle_index] += ds[twiddle_index];
ds[twiddle_index] *= 0.9;
}
}
twiddle_index += 1;
if (twiddle_index == 3) {
twiddle_index = 0;
}
secondUpdate = false;
startLoop = true;
}
Kp = Ks[0];
Ki = Ks[1];
Kd = Ks[2];
}
double PID::sumK(double ds[]) {
double response = 0;
for (int i = 0; i < 3; i++) {
double number = ds[i];
response += number;
}
return response;
}
|
6cfb044fe7c8836b3bba8677a5d83e069aa0f7ac
|
05b72d3eb9bc9b836aea86045cef02f17b3de3ea
|
/src/graf/grafDrawer.cpp
|
5d5c334c47097be35346e0bd0b4017af88542360
|
[] |
no_license
|
jjzhang166/GA_Interactive
|
9b234c3611c041b9cc5e09a8e931678068af6b7a
|
c0fbb5f61d62727e56c70d0869c8af7bc9e9b010
|
refs/heads/master
| 2021-12-02T04:53:53.309527
| 2010-06-29T22:05:57
| 2010-06-29T22:05:57
| null | 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 8,478
|
cpp
|
grafDrawer.cpp
|
#include "grafDrawer.h"
grafDrawer::grafDrawer()
{
alpha = 1.f;
minLen = .005;
lineWidth = 2.0;
lineAlpha = .92;
lineScale = .05;
bSetupDrawer = false;
pctTransLine = .001;
flatTime = 0;
}
grafDrawer::~grafDrawer()
{
for( int i = 0; i < lines.size(); i++)
delete lines[i];
}
void grafDrawer::setup(grafTagMulti * myTag, float maxLen )
{
alpha = 1.f;
if( myTag->myStrokes.size() == 0 ) return;
if( lines.size() > 0 )
{
for( int i = 0; i < lines.size(); i++)
delete lines[i];
}
lines.clear();
for( int i = 0; i < myTag->myStrokes.size(); i++)
{
lines.push_back( new grafLineDrawer() );
}
for( int i = 0; i < myTag->myStrokes.size(); i++)
{
lines[i]->globalAlpha = lineAlpha;
lines[i]->lineScale = lineScale;
lines[i]->setup( myTag->myStrokes[i].pts, minLen, maxLen, .5f);
}
bSetupDrawer = false;
pctTransLine = .001;
}
void grafDrawer::setAlpha(float a)
{
lineAlpha = a;
for( int i = 0; i < lines.size(); i++)
{
lines[i]->globalAlpha = lineAlpha;
}
}
void grafDrawer::setLineScale(float val)
{
if( lineScale != val )
{
lineScale = val;
for( int i = 0; i < lines.size(); i++)
{
lines[i]->lineScale = val;
}
bSetupDrawer = true;
}
}
void grafDrawer::transition( float dt, float pct )
{
average(pct);
//alpha -= .35*dt;
}
void grafDrawer::transitionDeform( float dt, float pct, float * amps, int numAmps )
{
float pctMe = 1-pctTransLine;
float pctLn = pctTransLine;
for( int i = 0; i < lines.size(); i++)
{
for( int j = 0; j < lines[i]->pts_l.size(); j++)
{
int ps = 1+(j % (numAmps-1));
float bandH = pct*(amps[ps]);
lines[i]->pts_l[j].y = pctMe*lines[i]->pts_l[j].y+pctLn*(lines[i]->pts_lo[j].y+bandH);//.9*lines[i]->pts_l[j].y+.1*bandH;
lines[i]->pts_r[j].y = pctMe*lines[i]->pts_r[j].y+pctLn*(lines[i]->pts_ro[j].y+bandH);//.9*lines[i]->pts_r[j].y+.1*bandH;
lines[i]->pts_lout[j].y = pctMe*lines[i]->pts_lout[j].y+pctLn*(lines[i]->pts_lo[j].y+bandH);//.9*lines[i]->pts_l[j].y+.1*bandH;
lines[i]->pts_rout[j].y = pctMe*lines[i]->pts_rout[j].y+pctLn*(lines[i]->pts_ro[j].y+bandH);//.9*lines[i]->pts_r[j].y+.1*bandH;
}
}
//if( pctTransLine < .1 ) pctTransLine += .001;
}
void grafDrawer::transitionLineWidth( float dt, float avg )
{
float pctMe = 1-pctTransLine;
float pctLn = pctTransLine;
for( int i = 0; i < lines.size(); i++)
{
for( int j = 0; j < lines[i]->pts_l.size(); j++)
{
lines[i]->pts_l[j].x = pctMe*lines[i]->pts_l[j].x+pctLn*(lines[i]->pts_lo[j].x+avg*-lines[i]->vecs[j].x);
lines[i]->pts_l[j].y = pctMe*lines[i]->pts_l[j].y+pctLn*(lines[i]->pts_lo[j].y+avg*-lines[i]->vecs[j].y);
lines[i]->pts_r[j].x = pctMe*lines[i]->pts_r[j].x+pctLn*(lines[i]->pts_ro[j].x+avg*lines[i]->vecs[j].x);
lines[i]->pts_r[j].y = pctMe*lines[i]->pts_r[j].y+pctLn*(lines[i]->pts_ro[j].y+avg*lines[i]->vecs[j].y);
lines[i]->pts_lout[j].x = pctMe*lines[i]->pts_lout[j].x+pctLn*(lines[i]->pts_lo[j].x+avg*-lines[i]->vecs[j].x);
lines[i]->pts_lout[j].y = pctMe*lines[i]->pts_lout[j].y+pctLn*(lines[i]->pts_lo[j].y+avg*-lines[i]->vecs[j].y);
lines[i]->pts_rout[j].x = pctMe*lines[i]->pts_rout[j].x+pctLn*(lines[i]->pts_ro[j].x+avg*lines[i]->vecs[j].x);
lines[i]->pts_rout[j].y = pctMe*lines[i]->pts_rout[j].y+pctLn*(lines[i]->pts_ro[j].y+avg*lines[i]->vecs[j].y);
}
}
//if( pctTransLine < .1 ) pctTransLine += .001;
//alpha -= .35*dt;
}
void grafDrawer::transitionBounce( float dt, float avg )
{
float pctMe = 1-pctTransLine;
float pctLn = pctTransLine;
for( int i = 0; i < lines.size(); i++)
{
for( int j = 0; j < lines[i]->pts_l.size(); j++)
{
lines[i]->pts_l[j].y = pctMe*lines[i]->pts_l[j].y+pctLn*(lines[i]->pts_lo[j].y+avg);
lines[i]->pts_r[j].y = pctMe*lines[i]->pts_r[j].y+pctLn*(lines[i]->pts_ro[j].y+avg);
lines[i]->pts_lout[j].y = pctMe*lines[i]->pts_lout[j].y+pctLn*(lines[i]->pts_lo[j].y+avg);
lines[i]->pts_rout[j].y = pctMe*lines[i]->pts_rout[j].y+pctLn*(lines[i]->pts_ro[j].y+avg);
}
}
//if( pctTransLine < .1 ) pctTransLine += .001;
//alpha -= .35*dt;
}
void grafDrawer::transitionFlatten( float zDepth, float timeToDoIt )
{
if( flatTime == 0 )
flatTime = ofGetElapsedTimef();
float pct = 1 - ((ofGetElapsedTimef()-flatTime) / timeToDoIt);
for( int i = 0; i < lines.size(); i++)
{
for( int j = 0; j < lines[i]->pts_l.size(); j++)
{
lines[i]->pts_l[j].z = pct*lines[i]->pts_l[j].z + (1-pct)*zDepth;
lines[i]->pts_r[j].z = pct*lines[i]->pts_r[j].z + (1-pct)*zDepth;
lines[i]->pts_lout[j].z = pct*lines[i]->pts_lout[j].z + (1-pct)*zDepth;
lines[i]->pts_rout[j].z = pct*lines[i]->pts_rout[j].z + (1-pct)*zDepth;
}
}
}
void grafDrawer::resetTransitions()
{
pctTransLine =.001;
prelimTransTime = 0;
flatTime = 0;
}
void grafDrawer::average( float pct )
{
for( int i = 0; i < lines.size(); i++)
lines[i]->average(pct);
}
void grafDrawer::draw( int lastStroke, int lastPoint)
{
glEnable( GL_DEPTH_TEST);
for( int i = 0; i < lines.size(); i++)
{
if( i < lastStroke ) lines[i]->draw(-1,alpha);
else if( i == lastStroke ) lines[i]->draw(lastPoint,alpha);
//if( i < lastStroke ) lines[i]->drawOutline(-1,alpha,lineWidth);
//else if( i == lastStroke ) lines[i]->drawOutline(lastPoint,alpha,lineWidth);
}
glDisable( GL_DEPTH_TEST );
}
void grafDrawer::drawTimeLine(ofPoint center, float currentTime, float startTime, float z_const, ofTrueTypeFont * font, float scale )
{
ofSetColor(255,255,255,255);
float timeStart = startTime;
float printTime = currentTime;
currentTime = (1000 * currentTime )/ z_const;
float linePoints[6];
linePoints[0] = center.y;
linePoints[1] = center.x;
linePoints[2] = startTime;
linePoints[3] = center.y;
linePoints[4] = center.x;
linePoints[5] = currentTime;
glEnableClientState(GL_VERTEX_ARRAY);
glVertexPointer(3, GL_FLOAT, 0, &linePoints[0]);
glDrawArrays(GL_LINES, 0, 2);
float h = .010;
int count = 0;
for( float t = timeStart; t < currentTime; t += (300 / z_const))
{
if( count % 2 == 0) h = .020;
else h = .010;
linePoints[2] = t;
linePoints[3] = center.y+h;
linePoints[5] = t;
glVertexPointer(3, GL_FLOAT, 0, &linePoints[0]);
glDrawArrays(GL_LINES, 0, 2);
count++;
}
// h = .030;
glDisableClientState(GL_VERTEX_ARRAY);
glPushMatrix();
glTranslatef(center.y,center.x,currentTime);
glRotatef(90,0,0,1);
glScalef(.5 * (1.0/scale),.5 * (1.0/scale),0);
font->drawString( ofToString( printTime, 2 ) , 2,0);
glPopMatrix();
}
void grafDrawer::drawBoundingBox( ofPoint pmin, ofPoint pmax, ofPoint pcenter )
{
glColor4f(1,1,1,1);
// draw cube
float pos[18];
glEnableClientState(GL_VERTEX_ARRAY);
// front
pos[0] = pmin.x;
pos[1] = pmax.y;
pos[2] = pmin.z;
pos[3] = pmax.x;
pos[4] = pmax.y;
pos[5] = pmin.z;
pos[6] = pmax.x;
pos[7] = pmin.y;
pos[8] = pmin.z;
pos[9] = pmin.x;
pos[10] = pmin.y;
pos[11] = pmin.z;
glVertexPointer(3, GL_FLOAT, 0, pos);
glDrawArrays(GL_LINE_LOOP, 0, 4);
// back
pos[0] = pmin.x;
pos[1] = pmax.y;
pos[2] = pmax.z;
pos[3] = pmax.x;
pos[4] = pmax.y;
pos[5] = pmax.z;
pos[6] = pmax.x;
pos[7] = pmin.y;
pos[8] = pmax.z;
pos[9] = pmin.x;
pos[10] = pmin.y;
pos[11] = pmax.z;
glVertexPointer(3, GL_FLOAT, 0, pos);
glDrawArrays(GL_LINE_LOOP, 0, 4);
// top
pos[0] = pmin.x;
pos[1] = pmax.y;
pos[2] = pmin.z;
pos[3] = pmin.x;
pos[4] = pmax.y;
pos[5] = pmax.z;
pos[6] = pmax.x;
pos[7] = pmin.y;
pos[8] = pmin.z;
pos[9] = pmax.x;
pos[10] = pmin.y;
pos[11] = pmax.z;
glVertexPointer(3, GL_FLOAT, 0, pos);
glDrawArrays(GL_LINE_LOOP, 0, 4);
// bottom
pos[0] = pmin.x;
pos[1] = pmin.y;
pos[2] = pmin.z;
pos[3] = pmin.x;
pos[4] = pmin.y;
pos[5] = pmax.z;
pos[6] = pmax.x;
pos[7] = pmin.y;
pos[8] = pmax.z;
pos[9] = pmax.x;
pos[10] = pmin.y;
pos[11] = pmin.z;
pos[12] = pmin.x;
pos[13] = pmin.y;
pos[14] = pmin.z;
glVertexPointer(3, GL_FLOAT, 0, pos);
glDrawArrays(GL_LINE_LOOP, 0, 5);
// centered
/*pos[0] = pcenter.x-100;
pos[1] = pcenter.y;
pos[2] = pcenter.z;
pos[3] = pcenter.x+100;
pos[4] = pcenter.y;
pos[5] = pcenter.z;
pos[6] = pcenter.x;
pos[7] = pcenter.y-100;
pos[8] = pcenter.z;
pos[9] = pcenter.x;
pos[10] = pcenter.y+100;
pos[11] = pcenter.z;*/
//glVertexPointer(3, GL_FLOAT, 0, pos);
//glDrawArrays(GL_LINES, 0, 4);
glDisable(GL_VERTEX_ARRAY);
}
|
d6e63791dffb0df9e4a52177cc141cc8a08afc93
|
916e96efbb613b9d57e585d33f5a1e368f3de58a
|
/main.cpp
|
6d78bef87792bd291215902dbf03e04c519a5d4c
|
[
"BSD-3-Clause"
] |
permissive
|
Press-Play-On-Tape/PiCross_Pokitto
|
d5ea5b6c5588779055a392123f977b9f8c38dbba
|
8a08ac65d232c8457b2ee323be58c52f09757ced
|
refs/heads/master
| 2020-09-21T23:47:46.121615
| 2020-08-02T06:46:01
| 2020-08-02T06:46:01
| 224,976,000
| 1
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 714
|
cpp
|
main.cpp
|
#include "Pokitto.h"
#include "PokittoCookie.h"
#include "src/Game.h"
#include "src/entities/Puzzle.h"
#include "src/utils/GameCookie.h"
using PC = Pokitto::Core;
using PD = Pokitto::Display;
Game game;
GameCookie cookie;
int main() {
// Initialise pokitto ..
cookie.begin("PICROSS", sizeof(cookie), (char*)&cookie);
//Pokitto::Sound::playMusicStream("pc3.raw", 0);
PC::begin();
PD::loadRGBPalette(palettePico);
PD::invisiblecolor = 2;
PD::persistence = true;
game.setup(&cookie);
PD::setFont(font5x7);
while (PC::isRunning()) {
if (!PC::update()) continue;
PC::sound.updateStream();
game.loop();
}
return 0;
}
|
3ea7a96534a90d5e0469f1bdad39706ad401f6b3
|
945e7bf2e9aef413082e32616b0db1d77f5e4c7e
|
/renderer/src/renderer/camera.cpp
|
87a9ba1bd35401c0f7fbdfed42b8b2fe936efb8d
|
[] |
no_license
|
basarugur/bu-medialab
|
90495e391eda11cdaddfedac241c76f4c8ff243d
|
45eb9aebb375427f8e247878bc602eaa5aab8e87
|
refs/heads/master
| 2020-04-18T21:01:41.722022
| 2015-03-15T16:49:29
| 2015-03-15T16:49:29
| 32,266,742
| 1
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 1,485
|
cpp
|
camera.cpp
|
#include "camera.h"
namespace scene
{
//p eye point, d is up vector, t is target point
Camera::Camera(const space::Point3& p,const space::Vector3& d,const space::Point3& t) : m_position(p),m_dir(d),m_target(t)
{
space::Vector3 v(t.x()-p.x(),t.y()-p.y(),t.z()-p.z());
space::Vector3 u = d ^ v;
space::Vector3 w = v ^ u;
m_v = v.normalize();
m_u = u.normalize();
m_w = w.normalize();
m_transform.translate(p.x(),p.y(),p.z());
m_position = m_transform.apply(m_position);
}
float Perspective::generate_ray(const output::Sampler* s,Ray& r)
{
space::Point3 p1(0,0,-2);
space::Vector3 dir = s->view() - p1;
r = Ray(position(),apply_transform(dir),0,1e30);
return 0.f;
}
float Perspective::generate_rayr(const output::Sampler* s,Ray& r)
{
space::Point3 p1(0,0,-2);
space::Vector3 dir = s->viewr() - p1;
r = Ray(position(),apply_transform(dir),0,1e30);
return 0.f;
}
float Perspective::generate_rays(const output::Sampler* s,Ray* rays,space::Vector3* l,int size)
{
space::Point3 pix = s->view();
space::Point3 p1(0,0,-2);
double sw = s->screen()->width();
double sh = s->screen()->height();
double incx = s->width() / sw;
double incy = s->height() / sh;
for(int i=0;i<size;i++) {
space::Vector3 v(incx*l[i].x(),incy*l[i].y(),l[i].z());
space::Vector3 dir = (pix + v) - p1;
rays[i] = Ray(position(),apply_transform(dir),0,1e30);
}
return 0.f;
}
};
|
47227f6787a5aa451ac55a9eef8ca7ef85fd3bcf
|
39edb814c3464ace226d26ef6ccb8dcc3d6bb788
|
/Player.hpp
|
101a892fb4771f59212b4070f7fc24bc6a63257c
|
[] |
no_license
|
Serdior/Minecraft_Jumper
|
508b4a839750748e6a4ed8d01aa534c8ac2d606f
|
26630bcac9c905ea9bfd4e386310de6276e84191
|
refs/heads/master
| 2023-02-04T01:20:27.647587
| 2020-12-26T19:06:58
| 2020-12-26T19:06:58
| 296,396,462
| 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 691
|
hpp
|
Player.hpp
|
#ifndef PLAYER_H
#define PLAYER_H
#include<iostream>
#include<SFML/Graphics.hpp>
#include<SFML/Window.hpp>
#include<SFML/Audio.hpp>
#include<cmath>
class Player
{
private:
bool canJump = true;
sf::Texture tex;
void updateMove();
void jump();
public:
Player();
virtual ~Player();
float gravity = 12.0f;
sf::Vector2f vel = sf::Vector2f(0.0,0.0);
sf::FloatRect playerBounds;
sf::Sprite sprite;
bool onGround = false;
bool jumping = false;
bool isStart = true;
bool dead = false;
void updateWindowCollision(sf::RenderTarget* target);
void update(sf::RenderTarget* target);
void render(sf::RenderTarget* target);
};
#endif
|
d123dd2678f7e5767cb0325e862c909c423fe417
|
d61ff33e0291cf0edc44b3660db45adf0f06fbeb
|
/Game/Source/Game/PlayerChara.cpp
|
9837399bd4622dd2cb47c68f74188f4df04073fd
|
[] |
no_license
|
19cu0235-maliphonkenichi/19CUHukuokaGameA
|
814d4787472e70353bb4003aa02b9c852e0a0aea
|
44a9ae40596e86cb81a73f94fa658a9e14533f39
|
refs/heads/master
| 2023-01-04T02:03:09.454843
| 2020-10-23T02:57:45
| 2020-10-23T02:57:45
| null | 0
| 0
| null | null | null | null |
SHIFT_JIS
|
C++
| false
| false
| 15,205
|
cpp
|
PlayerChara.cpp
|
// インクルード
#include "PlayerChara.h"
#include "Engine.h"
#include "GameFramework/SpringArmComponent.h"
#include "Camera/CameraComponent.h"
#include "GameFramework/CharacterMovementComponent.h"
#include "Components/SkeletalMeshComponent.h"
#include "..\..\UE4Duino\Source\UE4Duino\Public\Serial.h"
#include <time.h>
// defineマクロ
#define ROTATOR_ARRAY_SIZE 1
#define JUMP_HEIGHT (m_jumpTime * m_jumpTime * (-m_gravity) / 2) + (m_jumpTime * m_jumpPower)
// コンストラクタ
APlayerChara::APlayerChara()
: m_pArduinoSerial(NULL)
, serialPort(4)
, isOpen(false)
, tempSpeed(0.f)
, bulletTimeCount(0.0f)
, bulletDuration(1.0f)
, bulletXOffset(10.0f)
, playerSpeed(10.f)
, m_gravity(700.f)
, m_jumpPower(1200.f)
, m_jumpTime(0.f)
, m_nowJumpHeight(0.f)
, m_prevJumpHeight(0.f)
, m_bCanJump(false)
, m_bJumping(false)
, tempRotate(0.f)
, m_bGuarding(false)
, m_bDashing(false)
, m_bTempDamageFrame(0.f)
, m_bCanDamage(true)
, m_bHaveGuardEnergy(true)
, m_bHaveDashEnergy(true)
, m_bDead(false)
, m_bIsGoal(false)
, m_bIsDamageOver(false)
, isStart(false)
, GoalTime(0.f)
, HP(100.f)
, CoinCount(0)
, CountShootEnemy(0)
, GuardEnergy(100.f)
, DashEnergy(100.f)
, guardBulletUIDownSpeed(10.f)
, Guard_UIDownSpeed(0.5f)
, Dash_UIDownSpeed(0.5f)
, DamageFrame(50.f)
, CoinScore(1000.f)
, EnemyScore(2000.f)
, PlayerScore(0.f)
, Fence_FilmDmg(10.f)
, selectPlay(0)
, tempRoll(0.f)
, tempPitch(0.f)
, tempYaw(0.f)
{
// 毎フレーム、このクラスのTick()を呼ぶかどうかを決めるフラグ。必要に応じて、パフォーマンス向上のために切ることもできる。
PrimaryActorTick.bCanEverTick = true;
// 回転量の保存用配列の初期化
prevRotator.Reset();
// デフォルトプレイヤーとして設定
AutoPossessPlayer = EAutoReceiveInput::Player0;
}
// ゲームスタート時、または生成時に呼ばれる処理
void APlayerChara::BeginPlay()
{
Super::BeginPlay();
m_bTempDamageFrame = DamageFrame;
tempSpeed = playerSpeed;
GetCapsuleComponent()->OnComponentBeginOverlap.AddDynamic(this, &APlayerChara::OnBeginOverlap);
GetCapsuleComponent()->OnComponentEndOverlap.AddDynamic(this, &APlayerChara::OverlapEnds);;
// PlayerCharaが持っているメッシュコンポーネントの相対位置を変更
USkeletalMeshComponent* pMeshComp = GetMesh();
if (pMeshComp != NULL)
{
// Z座標を下げる
pMeshComp->SetRelativeLocation(FVector(0.f, 0.f, -85.f));
}
UCharacterMovementComponent* pCharMoveComp = GetCharacterMovement();
if (pCharMoveComp != NULL)
{
// ジャンプ時にも水平方向への移動が聞くように(0〜1の間に設定することで移動する具合を調整)
pCharMoveComp->AirControl = 0.8f;
}
// シリアルポートを開ける
m_pArduinoSerial = USerial::OpenComPort(isOpen, serialPort, 115200);
if (isOpen == false)
{
UE_LOG(LogTemp, Error, TEXT("ASensorTest::BeginPlay(): COM Port:%d is failed open. Please check the connection and COM Port number."), serialPort);
return;
}
else
{
UE_LOG(LogTemp, Display, TEXT("ASensorTest::BeginPlay(): COM Port:%d is Successfully Open."), serialPort);
}
// 10回分のデータを入れる
int errorCount = 0;
for (int i = 0; i < ROTATOR_ARRAY_SIZE; ++i)
{
FRotator rotTemp;
rotTemp = SensorToRotator();
// センサーの値が読み取れていなければやり直し
if (rotTemp == FRotator::ZeroRotator)
{
UE_LOG(LogTemp, Warning, TEXT("ASensorTest::BeginPlay(): Failed Read."));
++errorCount;
if (errorCount >= 10)
{
UE_LOG(LogTemp, Error, TEXT("ASensorTest::BeginPlay(): Failed to read the sensor more than 10 times. Please check the connection."));
break;
}
}
else
{
UE_LOG(LogTemp, Verbose, TEXT("ASensorTest::BeginPlay(): SuccessFully Read."));
}
prevRotator.Add(rotTemp);
}
if (Player_HP_Widget_Class != nullptr)
{
Player_HP_Widget = CreateWidget(GetWorld(), Player_HP_Widget_Class);
Player_HP_Widget->AddToViewport();
}
/*if (Player_Guard_Widget_Class != nullptr)
{
Player_Guard_Widget = CreateWidget(GetWorld(), Player_Guard_Widget_Class);
Player_Guard_Widget->AddToViewport();
}
if (Player_Dash_Widget_Class != nullptr)
{
Player_Dash_Widget = CreateWidget(GetWorld(), Player_Dash_Widget_Class);
Player_Dash_Widget->AddToViewport();
}
if (Player_Dash_Widget_Class != nullptr)
{
Player_Score_Widget = CreateWidget(GetWorld(), Player_Score_Widget_Class);
Player_Score_Widget->AddToViewport();
}*/
}
// 毎フレームの更新処理
void APlayerChara::Tick(float DeltaTime)
{
Super::Tick(DeltaTime);
//GEngine->AddOnScreenDebugMessage(-1, 5.f, FColor::Red, FString::SanitizeFloat(DeltaTime));
if (!m_bDead && !m_bIsGoal && isStart)
{
GoalTime += DeltaTime;
// カメラ更新処理
UpdateSensor(DeltaTime);
// 移動処理
UpdateMove(DeltaTime);
// ジャンプ処理
UpdateJump(DeltaTime);
// ガード処理
UpdateGuard();
UpdateAccelerate();
Shooting(DeltaTime);
if (!m_bCanDamage)
{
DamageFrame -= (DeltaTime * 60);
if (DamageFrame <= 0.f)
{
//GEngine->AddOnScreenDebugMessage(-1, 5.f, FColor::Red, FString::SanitizeFloat(DamageFrame));
m_bCanDamage = true;
Player_Damage_Widget->RemoveFromViewport();
DamageFrame = m_bTempDamageFrame;
m_bIsDamageOver = true;
}
}
}
if (selectPlay == 1)
{
RestartGame();
}
DeadCount();
}
// センサーの更新処理
void APlayerChara::UpdateSensor(float _deltaTime)
{
tempRoll = 0.f;
tempPitch = 0.f;
tempYaw = 0.f;
// 加算
for (int i = 0; i < prevRotator.Num(); ++i)
{
tempRoll += prevRotator[i].Roll;
tempPitch += prevRotator[i].Pitch;
tempYaw += prevRotator[i].Yaw;
}
// 平均値を算出
tempRoll /= prevRotator.Num();
tempPitch /= prevRotator.Num();
tempYaw /= prevRotator.Num();
// guardEnergyが0になったら、横回転の角度を強制に0に戻る
if (!m_bHaveGuardEnergy)
{
if (tempRotate >= 85.f || tempRotate <= -85.f)
{
tempYaw = 0.f;
}
else if (tempRotate < 85.f && tempYaw < 0.f)
{
tempRotate += 2.f;
tempYaw += tempRotate;
}
else if (tempRotate > -85.f && tempYaw > 0.f)
{
tempRotate -= 2.f;
tempYaw += tempRotate;
}
}
// Actorに回転量を反映
if (m_bGuarding)
{
//GEngine->AddOnScreenDebugMessage(-1, 5.f, FColor::Red, FString::SanitizeFloat(tempRoll)); = tempPitch;
tempPitch = 0.f;
}
else if (m_bDashing)
{
tempYaw = 0.f;
}
FRotator rot(tempPitch, tempYaw, tempRoll);
float angle = 5.f;
if (FMath::Abs((rot - prevDiffRot).Roll) < angle && FMath::Abs((rot - prevDiffRot).Pitch) < angle && FMath::Abs((rot - prevDiffRot).Yaw) < angle)
{
rot = prevDiffRot;
}
SetActorRotation(rot);
// リストを更新
if (prevRotator.IsValidIndex(0) == true)
{
// インデックス番号0の要素を削除
prevRotator.RemoveAt(0);
FRotator rotTemp = SensorToRotator();
// センサーからの値が完全に0か判別
if (rotTemp == FRotator::ZeroRotator)
{
// 現在の平均値を代入
prevRotator.Add(rot);
}
else
{
// センサーからの値を代入
prevRotator.Add(rotTemp);
}
}
prevDiffRot = rot;
}
// 移動処理
void APlayerChara::UpdateMove(float _deltaTime)
{
FVector NewLocation = GetActorLocation();
FVector YRotation = GetActorForwardVector();
// 前に向くずっと移動する
if (m_bDashing)
{
NewLocation.X += playerSpeed * 1.15f;
}
else if (!m_bGuarding && !m_bDashing)
{
NewLocation.X += playerSpeed;
}
else if (m_bGuarding)
{
NewLocation.X += playerSpeed * 0.8f;
}
// キャラクターのY軸移動
{
YRotation.Y = 0.f;
NewLocation.Y += 0.2f * tempRoll;
SetActorLocation(NewLocation);
}
if (m_bIsDamageOver)
{
if (playerSpeed >= tempSpeed)
{
m_bIsDamageOver = false;
playerSpeed = tempSpeed;
}
else
{
playerSpeed += tempSpeed * 0.02f;
}
}
}
// ジャンプ処理
void APlayerChara::UpdateJump(float _deltaTime)
{
if (tempPitch > 45.f && !m_bJumping && m_bCanJump && !m_bGuarding)
{
m_bJumping = true;
m_posBeforeJump = GetActorLocation();
}
if (m_bJumping)
{
// ジャンプ量を計算
m_nowJumpHeight = JUMP_HEIGHT;
FVector nowPos = GetActorLocation();
m_jumpTime += _deltaTime;
if (m_nowJumpHeight < 0.0f)
{
m_jumpTime = 0.f;
m_bJumping = false;
SetActorLocation(FVector(nowPos.X, nowPos.Y, m_posBeforeJump.Z));
}
else
{
SetActorLocation(FVector(nowPos.X, nowPos.Y, m_posBeforeJump.Z + m_nowJumpHeight), true);
}
m_prevJumpHeight = m_nowJumpHeight;
}
}
// ガード処理
void APlayerChara::UpdateGuard()
{
if (GuardEnergy <= 0.f)
{
m_bGuarding = false;
m_bHaveGuardEnergy = false;
tempRotate = 0.f;
}
FRotator nowRot = GetActorRotation();
if (tempYaw < -30.f || tempYaw > 30.f)
{
m_bGuarding = true;
}
else
{
m_bGuarding = false;
}
if (m_bGuarding && m_bHaveGuardEnergy)
{
GuardEnergy -= 0.05f;
//GuardEnergy -= Guard_UIDownSpeed;
}
else
{
if (GuardEnergy <= 100.f)
{
GuardEnergy += Guard_UIDownSpeed;
}
else
{
m_bHaveGuardEnergy = true;
}
}
}
void APlayerChara::UpdateAccelerate()
{
FRotator nowRot = GetActorRotation();
if (tempPitch < -30.f && m_bHaveDashEnergy)
{
m_bDashing = true;
}
if (DashEnergy <= 0.f)
{
m_bDashing = false;
m_bHaveDashEnergy = false;
}
if (m_bDashing && m_bHaveDashEnergy)
{
DashEnergy -= Dash_UIDownSpeed;
}
else
{
if (DashEnergy <= 100.f)
{
DashEnergy += Dash_UIDownSpeed;
}
else
{
m_bHaveDashEnergy = true;
}
}
}
void APlayerChara::RestartGame()
{
FVector restartLocation = GetActorLocation();
SetActorLocation(FVector(restartLocation.X - 3000.f, -10.f, 30.f));
HP = 100.f;
m_bDead = false;
Player_Select_Widget->RemoveFromViewport();
selectPlay = 0;
}
//発射開始
void APlayerChara::Shooting(float DeltaTime)
{
bulletTimeCount += DeltaTime;
FVector currentVector = GetActorLocation();
if (bulletTimeCount >= bulletDuration) {
// 弾の作成:SpawnActor<AActor>(生成するクラス、始点座標、始点回転座標)
GetWorld()->SpawnActor<AActor>(bulletActor, currentVector + this->GetActorForwardVector() * bulletXOffset, FRotator().ZeroRotator);
bulletTimeCount = 0.0f;
//UE_LOG(LogTemp, Warning, TEXT("Enemy( %s ) is attacking. Using bullet type: %s"), *(this->GetName()), *(bulletActor->GetName()));
}
}
void APlayerChara::DeadCount()
{
if (HP <= 0)
{
if (!m_bDead)
{
m_bDead = true;
if (Player_Select_Widget_Class != nullptr)
{
Player_Select_Widget = CreateWidget(GetWorld(), Player_Select_Widget_Class);
Player_Select_Widget->AddToViewport();
}
GetMesh()->SetSimulatePhysics(true);
}
}
}
void APlayerChara::OnBeginOverlap(UPrimitiveComponent* HitComp, AActor* OtherActor, UPrimitiveComponent* OtherComp, int32 OtherBodyIndex, bool bFromSweep, const FHitResult& SweepResult)
{
if (OtherActor->ActorHasTag("JumpPad"))
{
m_bCanJump = true;
}
if (OtherActor->ActorHasTag("Fence_Film") && m_bCanDamage && !m_bDashing && !m_bGuarding)
{
if (Player_Damage_Widget_Class != nullptr)
{
Player_Damage_Widget = CreateWidget(GetWorld(), Player_Damage_Widget_Class);
Player_Damage_Widget->AddToViewport();
}
playerSpeed *= 0.5f;
m_bCanDamage = false;
HP -= Fence_FilmDmg;
}
if (OtherActor->ActorHasTag("EnemyBullet") && m_bCanDamage && !m_bDashing)
{
if (!m_bGuarding)
{
if (Player_Damage_Widget_Class != nullptr)
{
Player_Damage_Widget = CreateWidget(GetWorld(), Player_Damage_Widget_Class);
Player_Damage_Widget->AddToViewport();
}
playerSpeed *= 0.5f;
m_bCanDamage = false;
HP -= Fence_FilmDmg;
}
else
{
GuardEnergy -= guardBulletUIDownSpeed;
}
}
if (OtherActor->ActorHasTag("Coin"))
{
PlayerScore += CoinScore;
CoinCount += 1;
}
if (OtherActor->ActorHasTag("Goal"))
{
if (Player_Goal_Widget_Class != nullptr)
{
Player_Goal_Widget = CreateWidget(GetWorld(), Player_Goal_Widget_Class);
Player_Goal_Widget->AddToViewport();
}
if (Player_HP_Widget_Class != nullptr)
{
Player_HP_Widget->RemoveFromViewport();
}
if (Player_Guard_Widget_Class != nullptr)
{
Player_Guard_Widget->RemoveFromViewport();
}
if (Player_Dash_Widget_Class != nullptr)
{
Player_Dash_Widget->RemoveFromViewport();
}
if (Player_Dash_Widget_Class != nullptr)
{
Player_Score_Widget->RemoveFromViewport();
}
m_bIsGoal = true;
}
}
void APlayerChara::OverlapEnds(UPrimitiveComponent* OverlappedComponent, AActor* OtherActor, UPrimitiveComponent* OtherComp, int32 OtherBodyIndex)
{
if (OtherActor->ActorHasTag("JumpPad"))
{
m_bCanJump = false;
}
}
void APlayerChara::EndPlay(const EEndPlayReason::Type EndPlayReason)
{
Super::EndPlay(EndPlayReason);
if (m_pArduinoSerial != NULL)
{
m_pArduinoSerial->Close();
m_pArduinoSerial = NULL;
}
// 回転量の保存用配列の初期化
prevRotator.Reset();
}
FRotator APlayerChara::SensorToRotator()
{
bool isRead = false; // データを読み取れたか?
FString fStr; // 読み取りデータ格納用
int tryCnt = 0; // 読み取ろうとした回数
const int tryCntMax = 500; // 最大の読み取る回数
// シリアルのオブジェクトがあれば
if (m_pArduinoSerial != NULL)
{
// データの読み取り
// データが読み取れるか、最大読み取り回数になるまで繰り返す
do
{
m_pArduinoSerial->Println(FString(TEXT("s")));
fStr = m_pArduinoSerial->Readln(isRead);
++tryCnt;
} while (isRead == false && tryCnt < tryCntMax);
TArray<FString> splitTextArray;
splitTextArray.Reset();
UE_LOG(LogTemp, VeryVerbose, TEXT("ASensorTest::SensorToRotator(): Try Read Count: %d / %d"), tryCnt, tryCntMax);
// 読み取れなかったらZeroRotatorを返して終了
if (isRead == false)
{
UE_LOG(LogTemp, Warning, TEXT("ASensorTest::SensorToRotator(): No Data From Sensor. return ZeroRotator."));
return FRotator::ZeroRotator;
}
else
{
UE_LOG(LogTemp, Verbose, TEXT("ASensorTest::SensorToRotator(): Get Data From Sensor."));
}
// センサーデータをカンマ区切りでsplitTextArrayに入れる
fStr.ParseIntoArray(splitTextArray, TEXT(","));
// それぞれをint型に変換する
TArray<float> rotatorAxis;
rotatorAxis.Reset();
for (int i = 0; i < splitTextArray.Num(); ++i)
{
rotatorAxis.Add(FCString::Atof(*splitTextArray[i]));
}
// Roll(X), Pitch(Y), Yaw(Z)の要素(3個分)読み取れていなければZeroRotatorを返す
if (rotatorAxis.IsValidIndex(2) == false)
{
UE_LOG(LogTemp, Warning, TEXT("ASensorTest::SensorToRotator(): Failed Add TArray<float> elements. return ZeroRotator."));
return FRotator::ZeroRotator;
}
UE_LOG(LogTemp, Verbose, TEXT("ASensorTest::SensorToRotator(): Rotator Roll:%f Pitch:%f Yaw:%f"), rotatorAxis[0], rotatorAxis[1], rotatorAxis[2]);
// FRotator型の変数をfloat型を使用して初期化
FRotator rot(rotatorAxis[1], rotatorAxis[2], -rotatorAxis[0]);
return rot;
}
else
{
UE_LOG(LogTemp, Error, TEXT("ASensorTest::SensorToRotator(): ASensorTest::m_pArduinoSerial is NULL."));
return FRotator::ZeroRotator;
}
}
|
b3815c1ad81b1301ef2a562e01f9625f5c565a8f
|
1885ce333f6980ab6aad764b3f8caf42094d9f7d
|
/test/e2e/test_master/ObjectArxHeaders/dbloftedsurf.h
|
8df6a76cecf4e3106b069a1b2e39e71fec360ec4
|
[
"MIT"
] |
permissive
|
satya-das/cppparser
|
1dbccdeed4287c36c61edc30190c82de447e415b
|
f9a4cfac1a3af7286332056d7c661d86b6c35eb3
|
refs/heads/master
| 2023-07-06T00:55:23.382303
| 2022-10-03T19:40:05
| 2022-10-03T19:40:05
| 16,642,636
| 194
| 26
|
MIT
| 2023-06-26T13:44:32
| 2014-02-08T12:20:01
|
C++
|
UTF-8
|
C++
| false
| false
| 13,447
|
h
|
dbloftedsurf.h
|
//////////////////////////////////////////////////////////////////////////////
//
// Copyright 2018 Autodesk, Inc. All rights reserved.
//
// Use of this software is subject to the terms of the Autodesk license
// agreement provided at the time of installation or download, or which
// otherwise accompanies this software in either electronic or hard copy form.
//
//////////////////////////////////////////////////////////////////////////////
//
//
// DESCRIPTION:
//
// The AcDbLoftedSurface class is the interface class for representing
// ASM lofted surfaces.
#pragma once
#ifndef DBLOFTEDSURF_H
# define DBLOFTEDSURF_H
# include "dbsurf.h"
# include "db3dProfile.h"
# pragma pack(push, 8)
class AcDbLoftedSurface : public AcDbSurface
{
public:
/// <summary>
/// Default constructor.
/// </summary>
AcDbLoftedSurface();
/// <summary>
/// Destructor.
/// </summary>
virtual ~AcDbLoftedSurface();
ACDB_DECLARE_MEMBERS(AcDbLoftedSurface);
/// <summary>
/// Creates a lofted surface from the given curves using the specified options.
/// The curves must be either all open or all closed. If the curves are all closed,
/// then this function will accept a point entity as the first and/or last list entry.
/// Each curve in the guideCurves list must intersect each of the cross-section curves,
/// so the guide curves form a net-like structure with the cross-section curves.
/// Both the cross-section curves and the guide curves will lie on the resulting surface.
/// If any guide curves are passed in this list, then pPathCurve should be null.
/// If pPathCurve is non-null, then the resulting surface will follow the shape of this
/// curve as much as possible. This curve does not need to intersect the cross-section
/// curves and does not even need to be near the cross sections.
/// If this parameter is non-null, then guideCurves should be an empty list.
/// </summary>
/// <param name="crossSectionCurves">
/// Input array of curve entities to be used as cross sections for the lofting operation.
/// </param>
/// <param name="guideCurves">
/// Input optional array of guide curves.
/// </param>
/// <param name="pPathCurve">
/// Input optional path curve.
/// </param>
/// <param name="loftOptions">
/// Input loft options.
/// </param>
/// <returns>
/// eOk if successful.
/// </returns>
virtual Acad::ErrorStatus createLoftedSurface(AcArray<AcDbEntity*>& crossSectionCurves, AcArray<AcDbEntity*>& guideCurves, AcDbEntity* pPathCurve, AcDbLoftOptions& loftOptions);
/// <summary>
/// Return the number of cross sections for the surface.
/// </summary>
/// <returns>
/// Number of cross sections.
/// </returns>
int numCrossSections() const;
/// <summary>
/// Returns the cross section entity at zero-based index. If the cross section
/// is for an edge or set of edges then the edge curve will be returned.
/// The caller should not delete this pointer.
/// </summary>
/// <param name="idx">
/// Input index of cross section.
/// </param>
/// <returns>
/// Cross section entity. The caller should not delete this pointer.
/// </returns>
AcDbEntity* getCrossSection(int idx) const;
/// <summary>
/// Return the number of guides for the surface.
/// </summary>
/// <returns>
/// Number of guides.
/// </returns>
int numGuideCurves() const;
/// <summary>
/// Returns the guide curve at zero-based index. If the guide
/// is for an edge or set of edges then the edge curve will be returned.
/// The caller should not delete this pointer.
/// </summary>
/// <param name="idx">
/// Input index of guide curve.
/// </param>
/// <returns>
/// Pointer to guide curve. The caller should not delete this pointer.
/// </returns>
AcDbEntity* getGuideCurve(int idx) const;
/// <summary>
/// Returns the path curve of the surface, or null if no path profile was
/// used to create the surface. If the path is for an edge or set of edges
/// then the edge curve will be returned.
/// The caller should not delete this pointer.
/// </summary>
/// <returns>
/// Pointer to path entity. The caller should not delete this pointer.
/// </returns>
AcDbEntity* getPathEntity() const;
/// <summary>
/// Gets the loft options used to create this surface.
/// </summary>
/// <param name="loftOptions">
/// Output loft options.
/// </param>
void getLoftOptions(AcDbLoftOptions& loftOptions) const;
/// <summary>
/// Returns the cross section profile at zero-based index. The returned
/// object contains the cross section entity and edge data if the profile is
/// for an edge or set of edges, and also contains the continuity and
/// takeoff vector magnitude if idx references the first or last profile.
/// The caller is responsible for deleting the returned pointer.
/// </summary>
/// <param name="idx">
/// Input index of cross section.
/// </param>
/// <returns>
/// Cross section profile. The caller is responsible for deleting the returned pointer.
/// </returns>
ACDB_PORT AcDbLoftProfile* crossSection(int idx) const;
/// <summary>
/// Returns list of cross section profiles that were used to create the surface.
/// The returned objects contain the cross section entity and edge data if the
/// profile is for an edge or set of edges, and also contains the continuity and
/// takeoff vector magnitude for the first and last profiles.
/// The caller is responsible for deleting all pointers in the output list.
/// </summary>
/// <param name="crossSections">
/// Output list of cross section profiles.
/// </param>
/// <returns>
/// Cross section profile. The caller is responsible for deleting the returned pointer.
/// </returns>
ACDB_PORT void getCrossSections(AcArray<AcDbLoftProfile*>& crossSections) const;
/// <summary>
/// Returns the guide profile at zero-based index. The returned
/// object contains the guide entity and edge data if the profile is
/// for an edge or set of edges. The caller is responsible for deleting the
/// returned pointer.
/// </summary>
/// <param name="idx">
/// Input index of guide.
/// </param>
/// <returns>
/// Guide profile. The caller is responsible for deleting the returned pointer.
/// </returns>
ACDB_PORT AcDbLoftProfile* guide(int idx) const;
/// <summary>
/// Returns list of guide profiles that were used to create the surface.
/// The returned objects contain the guide entity and edge data if the
/// profile is for an edge or set of edges. The caller is responsible for
/// deleting all pointers in the output list.
/// </summary>
/// <param name="guides">
/// Output list of guide profiles.
/// </param>
/// <returns>
/// Guide profile. The caller is responsible for deleting the returned pointer.
/// </returns>
ACDB_PORT void getGuides(AcArray<AcDbLoftProfile*>& guides) const;
/// <summary>
/// Returns the path profile that was used to create the surface, or null if
/// no path was used. The returned object contains the guide entity and edge data
/// if the profile is for an edge or set of edges. The caller is responsible for
/// deleting the returned pointer.
/// </summary>
/// <returns>
/// Path profile, or null if no path was used to create the surface.
/// The caller is responsible for deleting the returned pointer.
/// </returns>
ACDB_PORT AcDbLoftProfile* path() const;
/// <summary>
/// Returns the continuity at the first profile.
/// </summary>
/// <param name="isCrossSection">
/// Input parameter - if true then continuity at first cross section will be
/// returned, otherwise continuity at first guide will be returned.
/// </param>
/// <returns>
/// 0, 1, or 2 which corresponds to G0, G1, or G2.
/// </returns>
ACDB_PORT int startContinuity(bool isCrossSection = true) const;
/// <summary>
/// Returns the continuity at the last profile.
/// </summary>
/// <param name="isCrossSection">
/// Input parameter - if true then continuity at last cross section will be
/// returned, otherwise continuity at last guide will be returned.
/// </param>
/// <returns>
/// 0, 1, or 2 which corresponds to G0, G1, or G2.
/// </returns>
ACDB_PORT int endContinuity(bool isCrossSection = true) const;
/// <summary>
/// Returns the magnitude of the surface takeoff vector at the
/// first profile.
/// </summary>
/// <param name="isCrossSection">
/// Input parameter - if true then magnitude at first cross section will be
/// returned, otherwise magnitude at first guide will be returned.
/// </param>
/// <returns>
/// Magnitude of the surface takeoff vector at the first profile.
/// </returns>
ACDB_PORT double startMagnitude(bool isCrossSection = true) const;
/// <summary>
/// Returns the magnitude of the surface takeoff vector at the
/// last profile.
/// </summary>
/// <param name="isCrossSection">
/// Input parameter - if true then magnitude at last cross section will be
/// returned, otherwise magnitude at last guide will be returned.
/// </param>
/// <returns>
/// Magnitude of the surface takeoff vector at the first profile.
/// </returns>
ACDB_PORT double endMagnitude(bool isCrossSection = true) const;
/// <summary>
/// Sets the continuity at the first profile and recreates the surface.
/// </summary>
/// <param name="val">
/// Input new continuity (must be 0, 1, or 2).
/// </param>
/// <param name="isCrossSection">
/// Input parameter - if true then continuity at first cross section will be
/// set, otherwise continuity at first guide will be set.
/// </param>
/// <returns>
/// eOk if successful.
/// </returns>
ACDB_PORT Acad::ErrorStatus setStartContinuity(int val, bool isCrossSection = true);
/// <summary>
/// Sets the continuity at the last profile and recreates the surface.
/// </summary>
/// <param name="val">
/// Input new continuity (must be 0, 1, or 2).
/// </param>
/// <param name="isCrossSection">
/// Input parameter - if true then continuity at last cross section will be
/// set, otherwise continuity at last guide will be set.
/// </param>
/// <returns>
/// eOk if successful.
/// </returns>
ACDB_PORT Acad::ErrorStatus setEndContinuity(int val, bool isCrossSection = true);
/// <summary>
/// Sets the magnitude of the surface takeoff vector at the
/// first profile and recreates the surface.
/// </summary>
/// <param name="val">
/// Input new magnitude (must be non-negative).
/// </param>
/// <param name="isCrossSection">
/// Input parameter - if true then magnitude at first cross section will be
/// set, otherwise magnitude at first guide will be set.
/// </param>
/// <returns>
/// eOk if successful.
/// </returns>
ACDB_PORT Acad::ErrorStatus setStartMagnitude(double val, bool isCrossSection = true);
/// <summary>
/// Sets the magnitude of the surface takeoff vector at the
/// last profile and recreates the surface.
/// </summary>
/// <param name="val">
/// Input new magnitude (must be non-negative).
/// </param>
/// <param name="isCrossSection">
/// Input parameter - if true then magnitude at last cross section will be
/// set, otherwise magnitude at last guide will be set.
/// </param>
/// <returns>
/// eOk if successful.
/// </returns>
ACDB_PORT Acad::ErrorStatus setEndMagnitude(double val, bool isCrossSection = true);
/// <summary>
/// Sets new loft options and recreates the surface.
/// </summary>
/// <param name="guides">
/// Input new loft options.
/// </param>
/// <returns>
/// eOk if successful.
/// </returns>
ACDB_PORT Acad::ErrorStatus setLoftOptions(const AcDbLoftOptions& loftOptions);
/// <summary> This enum represents the type of lofted surface. </summary>
enum LoftSurfaceType {
/// <summary> Created from createLoftedSurface(). </summary>
kLoftSurf,
/// <summary> Created from createBlendSurface(). </summary>
kLoftBlendSurf,
/// <summary> Created from createNetworkSurface(). </summary>
kLoftNetworkSurf
};
/// <summary>
/// Returns the type of lofted surface.
/// </summary>
/// <returns>
/// Loft surface type: ordinary loft, blend, or network.
/// </returns>
ACDB_PORT AcDbLoftedSurface::LoftSurfaceType loftSurfaceType() const;
// AcDbObject methods
Acad::ErrorStatus dwgInFields(AcDbDwgFiler* filer) override;
Acad::ErrorStatus dwgOutFields(AcDbDwgFiler* filer) const override;
Acad::ErrorStatus dxfInFields(AcDbDxfFiler* filer) override;
Acad::ErrorStatus dxfOutFields(AcDbDxfFiler* filer) const override;
virtual bool isDependent() const;
protected:
Acad::ErrorStatus subGetClassID(CLSID* pClsid) const override;
};
# pragma pack(pop)
#endif
|
66de46fb91bb5307c08fe6a2d5a352246c3bd78c
|
06fee45a8cd9f5391bb89e0dcbd81a374ea3593b
|
/Libraries/NtlLib/Shared/PathEngine-5.07/code/libs/TestBed_Application/interface/iControlInterface.h
|
cba861d04a034c59e674044625ea3ccba3dba2ac
|
[] |
no_license
|
ivanlamega/dragon-ball-online-tw-server
|
3afde0aae0c8a15370559670e58ec509fa680147
|
31e432f208d725cb4c71d91d0292b4056819d075
|
refs/heads/master
| 2022-03-03T14:57:27.590250
| 2022-02-16T17:49:51
| 2022-02-16T17:49:51
| 208,133,340
| 33
| 37
| null | 2019-10-15T10:33:29
| 2019-09-12T19:44:55
|
Perl 6
|
UTF-8
|
C++
| false
| false
| 1,738
|
h
|
iControlInterface.h
|
//**********************************************************************
//
// Copyright (c) 2002
// PathEngine
// Lyon, France
//
// All Rights Reserved
//
//**********************************************************************
class controlinterface
{
public:
virtual long __stdcall getversion(long min, long max) = 0;
virtual long __stdcall getmousex() = 0;
virtual long __stdcall getmousey() = 0;
virtual long __stdcall getlmbdown() = 0;
virtual long __stdcall getmmbdown() = 0;
virtual long __stdcall getrmbdown() = 0;
virtual long __stdcall getismousevalid() = 0;
virtual void __stdcall reserved_mouse0() = 0;
virtual void __stdcall reserved_mouse1() = 0;
virtual void __stdcall reserved_mouse2() = 0;
virtual void __stdcall reserved_mouse3() = 0;
virtual void __stdcall reserved_mouse4() = 0;
virtual void __stdcall reserved_mouse5() = 0;
virtual void __stdcall reserved_mouse6() = 0;
virtual void __stdcall reserved_mouse7() = 0;
virtual void __stdcall reserved_mouse8() = 0;
virtual void __stdcall reserved_mouse9() = 0;
virtual long __stdcall getkeystate(const char *keystring) = 0;
virtual char* __stdcall getkeymessage() = 0;
virtual void __stdcall reserved_kbd0() = 0;
virtual void __stdcall reserved_kbd1() = 0;
virtual void __stdcall reserved_kbd2() = 0;
virtual void __stdcall reserved_kbd3() = 0;
virtual void __stdcall reserved_kbd4() = 0;
virtual void __stdcall reserved_kbd5() = 0;
virtual void __stdcall reserved_kbd6() = 0;
virtual void __stdcall reserved_kbd7() = 0;
virtual void __stdcall reserved_kbd8() = 0;
virtual void __stdcall reserved_kbd9() = 0;
// extra calls in version 2 interface
virtual long __stdcall getMouseDX() = 0;
virtual long __stdcall getMouseDY() = 0;
};
|
2519432375f77576e8721f7a64ea3e26835280c9
|
5368f9bbc1376095643d775db1474b965ec71e3d
|
/windows/misc/6_Lambda-Expressions/610_higher_order_functions_0/src/610_higher_order_functions_0.h
|
aec966c4d5f37a4a61a4e92aed35a81599757aaa
|
[] |
no_license
|
JoshuaHolloway/modern_Cpp
|
aba46e162b12c5c4b2b2f148409449512d780001
|
a2d3b38021d0310e4357f54346f00eb0e5588c2e
|
refs/heads/master
| 2021-10-28T04:43:33.879538
| 2019-04-22T05:47:39
| 2019-04-22T05:47:39
| 168,855,909
| 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 519
|
h
|
610_higher_order_functions_0.h
|
#pragma once
#include <cmath>
//---------------------------------------------------------
double fin_diff(double f(double), double x, double h)
{
return (f(x + h) - f(x)) / h;
}
//---------------------------------------------------------
double sin_plus_cos(double x)
{
return sin(x) + cos(x);
}
//---------------------------------------------------------
template <typename T, T N>
void f(T(&arr)[N][N])
{
for (auto& x : reinterpret_cast<T(&)[sizeof(arr) / sizeof(**arr)]>(arr))
cout << x << " ";
cout << "\n";
}
|
ee916e9601aed244269efce1f52936504a581b1b
|
d47e7d52d97c40049cb7775664c278006b1446ed
|
/mystring.h
|
89b221bf519671407a76f0ee0f0fa0c2493b56bb
|
[] |
no_license
|
syedfaisalkarim/C---library-for-standard-algorithms
|
7a989b30c219bf663c852a695e6b9c229029a859
|
fe91757ffa8a2ddaa6375512a5d0a73a5c57ae1b
|
refs/heads/master
| 2021-01-20T09:41:45.026106
| 2012-07-18T12:07:58
| 2012-07-18T12:07:58
| 3,290,492
| 1
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 6,060
|
h
|
mystring.h
|
#include<iostream>
#include<string>
#include<cstdio>
#include<vector>
#include<map>
#include "numberthoery.h"
using namespace std;
/*string matching algo - O(n*m)
* converts strings into numerical representation
* since it can be very big numbers are stored mod of some prime chosen
* if the main string and substring match numerically at point i then the expansion of the strings are compared to determine the match
*/
int rabin_karp_matcher(string main_str,string sub,int alpha_size,long long int mod)
{
int main_str_size=main_str.size(),sub_size=sub.size(),count=0;
long long int h=modular_exponentiation(alpha_size,sub_size-1,mod);
long long int sub_num_representation=0,main_str_num_representation=0;
/* h - the coefficient of the most significant character in the substring
* sub_num_representation - stores numerical representation of substring
* main_str_num_representation - stores numerical representation of main string
*/
//initializes sub_num_representation and main_str_num_representation
for(int i=0;i<sub_size;i++)
{
sub_num_representation=(alpha_size*sub_num_representation+(sub[i]-'a'))%mod;
main_str_num_representation=(alpha_size*main_str_num_representation+(main_str[i]-'a'))%mod;
}
//iterate through main string checking if equal to substring numerically
for(int main_str_idx=0;main_str_idx<=main_str_size-sub_size;main_str_idx++)
{
//if numerically equal then actual strings are matched to determine class
if(sub_num_representation==main_str_num_representation)
{
bool possible_match=1;
for(int k=0,l=main_str_idx;k<sub_size;k++,l++)
{
if(sub[k]!=main_str[l])
{
possible_match=0;
}
}
if(possible_match)
{
count++;
printf("\npattern occurs with shift:- %d\n",main_str_idx);
}
}
if(main_str_idx<main_str_size-sub_size)
{
main_str_num_representation=(alpha_size*(main_str_num_representation-(main_str[main_str_idx]-'a')*h)
+ (main_str[main_str_idx+sub_size]-'a'))%mod;
}
}
return count;
}
/*creates the automata for the given substring - O(n*alpha_size)
* here transitions are made in the automata such that delta(q,a) = length of largest prefix
*/
map<pair<char,int>,int > compute_transition_function(string sub,vector<char> alphabet)
{
map<pair<char,int>,int > automata;
int sub_size=sub.size();
pair<char,int> temp;
for(int q=0;q<=sub_size;q++)
{
for(int i=0;i<alphabet.size();i++)
{
int k=min(sub_size+1,q+2);
while(1)
{
bool flag=1;
for(int f=0,g=0;f<k;f++,g++)
{
if(sub[f]!=sub[g] && g<q)
flag=0;
else if(sub[f]!=alphabet[i])
flag=0;
}
if(flag)
break;
k--;
}
temp.first=alphabet[i];
temp.second=q;
automata[temp]=k;
}
}
return automata;
}
/*string matching algorithm - O(n*alpha_size + n)
* computes the automata for the substring in O(n*alpha_size)
* then checks if substring satisfying the automata exists in main string
*/
int finite_automaton_matcher(string main_str,string sub,vector<char> alphabet)
{
int main_str_size=main_str.size(),sub_size=sub.size(),curr_idx,count=0;
//automata representing the substring
map<pair<char,int>,int > delta=compute_transition_function(sub,alphabet);
for(int i=0;i<main_str_size;i++)
{
pair<char,int> temp;
temp.first=main_str[i];
temp.second=curr_idx;
curr_idx=delta[temp];
//transition from prev state to current state based on the character and curr position in substring automata
if(curr_idx==sub_size)
{
printf("\npattern occurs with shift :-%d",i-m+1);
count++;
}
}
return count;
}
vector<int> compute_prefix_function(string param)
{
int param_size=param.size(),k=0;
vector<int> pre(param_size,0);
pre[0]=0;
for(int q=1;q<param_size;q++)
{
while(k>0 && param[k]!=param[q])
k=pre[k];
if(param[k]==param[q])
k++;
pre[q]=k;
}
return pre;
}
int kmp_matcher(string main_str,string sub)
{
int main_str_size=main_str.size(),sub_size=sub.size(),curr_idx=0,count=0;
vector<int> pre=compute_prefix_function(sub);
for(int i=0;i<main_str_size;i++)
{
while(curr_idx>0 && sub[curr_idx]!=main_str[i])
curr_idx=pre[curr_idx-1];
if(sub[curr_idx]==main_str[i])
curr_idx++;
if(curr_idx==sub_size-1)
{
printf("\npattern occurs with shift :- %d",i-sub_size+2);
count++;
curr_idx=pre[curr_idx-1];
}
}
return count;
}
int lcs(string left_opr,string right_opr)
{
int n=left_opr.size(),m=right_opr.size();
vector<vector<int> > intermediate_cost(n+1);
for(int i=0;i<=n;i++)
{
intermediate_cost[i].resize(m+1);
intermediate_cost[i][0]=i;
}
for(int j=0;j<=m;j++)
{
intermediate_cost[0][j]=j;
}
for(int i=1;i<=n;i++)
{
for(int j=1;j<=m;j++)
{
if(left_opr[i-1]==right_opr[j-1])
intermediate_cost[i][j]=intermediate_cost[i-1][j-1]+1;
else
{
if(intermediate_cost[i-1][j]>intermediate_cost[i][j-1])
intermediate_cost[i][j]=intermediate_cost[i-1][j];
else
intermediate_cost[i][j]=intermediate_cost[i][j-1];
}
}
}
return intermediate_cost[n][m];
}
int string_compare(string left_opr,string right_opr)
{
int n=left_opr.size(),m=right_opr.size();
int cost[3]
vector<vector<int> > intermediate_cost(n+1);
for(int i=0;i<=n;i++)
{
intermediate_cost[i].resize(m+1);
intermediate_cost[i][0]=i;
}
for(int j=0;j<=m;j++)
{
intermediate_cost[0][j]=j;
}
for(int i=1;i<=n;i++)
{
for(int j=1;j<=m;j++)
{
if(left_opr[i-1]==right_opr[j-1])
cost[0]=intermediate_cost[i-1][j-1];
else
cost[0]=intermediate_cost[i-1][j-1]+1;
cost[1]=intermediate_cost[i][j-1]+1;
cost[2]=intermediate_cost[i-1][j]+1;
intermediate_cost[i][j]=cost[0];
for(int k=1;k<3;k++)
{
if(cost[k]<intermediate_cost[i][j])
intermediate_cost[i][j]=cost[k];
}
}
}
return intermediate_cost[n][m];
}
|
d1518fbe01d7312c169037a58aa6d7e792104e6c
|
217dc5e7628ffa689134c9001085d272aca5d22d
|
/Labs/Lab_05/Answers/prob04/main.cpp
|
570ffae4791f6bfe625ad561f4bd02f50eb0a6df
|
[
"MIT"
] |
permissive
|
markjcasas/CPSC121
|
167c59cbc654f622eace478d362a555a2a1a0121
|
5fa87edbc7d9a8d278aea182c34342402454a444
|
refs/heads/master
| 2021-06-14T01:12:31.011610
| 2019-12-22T04:30:18
| 2019-12-22T04:30:18
| 254,465,752
| 0
| 0
| null | 2020-04-09T19:55:42
| 2020-04-09T19:55:41
| null |
UTF-8
|
C++
| false
| false
| 760
|
cpp
|
main.cpp
|
#include <fstream>
#include <iomanip>
#include <iostream>
#include <string>
int main() {
std::string file;
std::cout << "Please provide the file name for your donation file: ";
std::cin >> file;
std::ifstream infile;
infile.open(file);
if (infile.is_open()) {
int number;
infile >> number;
infile.seekg(1, infile.beg);
float line;
float sum = 0;
for (int i = 1; i <= number; i++) {
std::cout << "Donation " << i << ": $";
infile >> line;
std::cout.setf(std::ios::fixed);
std::cout.precision(2);
std::cout << line << '\n';
sum += line;
}
infile.close();
std::cout << "Total donation: $" << sum << '\n';
} else {
std::cout << "Invalid donation file!\n";
}
return 0;
}
|
5afeb577b798c145a6d7d2ce6f776b053dde1c02
|
8f01996e67341cc88afe7e946e930407c795450e
|
/PTA/团体程序设计天梯赛-练习集/L1-054 福到了 (15分).cpp
|
5eec0ddb7b43aea8283ca0033e64dceb90cb2a93
|
[] |
no_license
|
LonglongSang/Life_of_XDU
|
1e37aba8062d6d481ac77423a6ce14c45e661ef8
|
3714136eb78c226a79762b479f5215f6a4d7fcd7
|
refs/heads/master
| 2023-05-15T10:29:22.856539
| 2021-06-15T12:55:01
| 2021-06-15T12:55:01
| 297,281,419
| 2
| 1
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 803
|
cpp
|
L1-054 福到了 (15分).cpp
|
#include <stdio.h>
#include <iostream>
#include <stdlib.h>
using namespace std;
int n;
#define N 1000
char g[N][N],v;
/*
$ 9
@ @@@@@
@@@ @@@
@ @ @
@@@ @@@
@@@ @@@@@
@@@ @ @ @
@@@ @@@@@
@ @ @ @
@ @@@@@
*/
int main(){
scanf("%c %d",&v,&n);
getchar();
for(int i=0;i<n;i++){
scanf("%[ @]",g[i]);
getchar();
}
bool same=true;
for(int i=0;i<n;i++){
for(int j=i+1;j<n;j++){
if(g[i][j]!=g[n-1-i][n-1-j]){
same=false;
break;
}
}
}
if(same) printf("bu yong dao le\n");
for(int i=0;i<n;i++){
for(int j=0;j<n;j++){
if(g[n-1-i][n-1-j]=='@') putchar(v);
else putchar(g[n-1-i][n-1-j]);
}
putchar('\n');
}
return 0;
}
|
e9b8d8d832bbe84fcef042392d81b28f9a20365d
|
2bdad1e49e7f301a4f10d19f7ed29c1b4169fb8d
|
/baekjoon/baekjoon/파티.cpp
|
b863ef43fd0bf1e2b41df82e549eab61e13265e0
|
[] |
no_license
|
leleluv1122/Algorithm
|
6589c640233b759176dec212a7ed7fbb52b283dd
|
39327686e568c5d0369dfde61ec90f51b6241638
|
refs/heads/master
| 2023-03-13T23:25:11.643458
| 2021-03-08T13:13:17
| 2021-03-08T13:13:17
| 238,405,577
| 1
| 2
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 831
|
cpp
|
파티.cpp
|
//#include <iostream>
//#include <algorithm>
//using namespace std;
//const int MAX = 1000 + 1;
//int road[MAX][MAX];
//int N, M, X;
//
//void floyd() {
// for (int i = 1; i <= N; i++) {
// for (int j = 1; j <= N; j++) {
// if (road[j][i] == 0)
// continue;
// for (int k = 1; k <= N; k++) {
// if (road[i][k] == 0 || j == k)
// continue;
// if (road[j][k] == 0 || road[j][k] > road[j][i] + road[i][k]) {
// road[j][k] = road[j][i] + road[i][k];
// }
// }
// }
// }
//}
//
//int main() {
// cin >> N >> M >> X;
//
// for (int i = 0; i < M; i++) {
// int start, end, time;
// cin >> start >> end >> time;
// road[start][end] = time;
// }
//
// floyd();
// int longtime = 0;;
// for (int i = 1; i <= N; i++) {
// longtime = max(longtime, road[i][X] + road[X][i]);
// }
// cout << longtime << "\n";
//}
|
5bf49310d129985042b1870358a7703ac1b6fa63
|
a0520d6a3da7e4b51f7422908c60f6c99efcad08
|
/Exercicios Slide/ArvoreBinaria/FilaEncad.h
|
d067f73d551da7e0c4196d7f68bca7be003be706
|
[] |
no_license
|
thiago9864/estrutura_de_dados1
|
daf4da84b03bf46fcad684b0d33713d10c395a07
|
2ecf781c6ccde57f9d8106720c1ffc9c06ad24d5
|
refs/heads/master
| 2020-03-29T14:51:29.515037
| 2018-09-23T23:53:45
| 2018-09-23T23:53:45
| 150,035,307
| 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 548
|
h
|
FilaEncad.h
|
#ifndef FILAENCAD_H_INCLUDED
#define FILAENCAD_H_INCLUDED
#include "NoFila.h"
#include "No.h"
using namespace std;
class FilaEncad
{
private:
NoFila *ini;
NoFila *fim; /// ponteiros para os No's extremos
public:
FilaEncad();
~FilaEncad();
No* getInicio(); /// retorna valor do primeiro No
void enfileira(No* val); /// insere No no fim
No* desenfileira(); /// elimina No do comeco
bool vazia(); /// verifica se fila esta vazia
};
#endif // FILAENCAD_H_INCLUDED
|
bf6f5b4be7b3ea4f7acc9c06cba305cb01b3fc97
|
e8dfe25712c8d50dd7c6bb7f583a6dcc3cc3851a
|
/ftpform.h
|
8f499f6bdfce01be62c36bcc159dc80fcd56d03d
|
[] |
no_license
|
Nan0527/SharedFileTerminal
|
fb3d0ae4512f9d19ff7335eb4c1818a66cf5db93
|
b12d5978de4c4bfc413662a8a3cbce6ff35876a2
|
refs/heads/master
| 2020-03-18T14:03:22.578588
| 2018-05-25T08:53:09
| 2018-05-25T08:53:09
| 134,821,970
| 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 659
|
h
|
ftpform.h
|
#ifndef FTPFORM_H
#define FTPFORM_H
#include <QWidget>
#include "ftpmanager.h"
namespace Ui {
class ftpForm;
}
class ftpForm : public QWidget
{
Q_OBJECT
public:
explicit ftpForm(QWidget *parent = 0);
~ftpForm();
private:
Ui::ftpForm *ui;
private slots:
void S_updateProgess(int);
void S_updateProgess2(int);
void on_downloadBn_clicked();
void on_uploadBn_clicked();
void on_downloadBn_2_clicked();
void on_abort_clicked();
void on_abort_2_clicked();
void on_abort_3_clicked();
void on_downloadBn_3_clicked();
private:
FtpManager *manager;
FtpManager *manager2;
};
#endif // FTPFORM_H
|
027696c6309e8efbba09bb0ec66954651686d8db
|
b37c75b4e587211cd463176ee46e5b4268e96683
|
/FindPeakElement.cpp
|
86f5dd642a0722799b16ffe2103eb7d98d99de69
|
[] |
no_license
|
tangziyi001/LeetCode
|
0171044b472658f1bb4ff36cf939522d43ae24ae
|
a51640a282f60696d2627283684b563af6d584bc
|
refs/heads/master
| 2021-06-12T19:53:18.100244
| 2017-04-05T00:09:42
| 2017-04-05T00:09:42
| null | 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 655
|
cpp
|
FindPeakElement.cpp
|
// Divide and Conquer (Binary Search)
class Solution {
public:
int sz;
vector<int> all;
int peak(int l, int r){
cout << l << " " << r << endl;
if(l == sz-1 || (all[l] >= all[r] && l + 1 >= r))
return l;
else if(all[l] < all[r] && l+1>=r)
return r;
int i = (l+r)/2;
if(all[i] > all[i+1])
return peak(l,i);
else
return peak(i+1,r);
}
int findPeakElement(vector<int>& nums) {
all = nums;
sz = nums.size();
if(sz == 1)
return 0;
int re = peak(0,sz-1);
return re;
}
};
|
091da89e60b026ca29450b9b09433f3771a1ba90
|
03dfd5703a3f41674387fa74cb41c1dfbcac7dc4
|
/src/csapex/src/msg/output.cpp
|
5945c6d774009dbd8b9d87495f54876509966a9b
|
[] |
no_license
|
deliangye/csapex
|
e89b8c1709c203aa8c45cd3ffa039f02b79694a3
|
0a0f1cac1627468c961faa10a66a84511369fb1a
|
refs/heads/master
| 2021-06-26T20:42:51.094638
| 2017-08-14T05:06:01
| 2017-08-14T05:06:01
| null | 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 4,387
|
cpp
|
output.cpp
|
/// HEADER
#include <csapex/msg/output.h>
/// COMPONENT
#include <csapex/msg/input.h>
#include <csapex/model/connection.h>
#include <csapex/profiling/timer.h>
#include <csapex/utility/assert.h>
#include <csapex/msg/token_traits.h>
#include <csapex/utility/debug.h>
/// SYSTEM
#include <iostream>
using namespace csapex;
Output::Output(const UUID& uuid, ConnectableOwnerWeakPtr owner)
: Connectable(uuid, owner), transition_(nullptr),
state_(State::IDLE)
{
}
Output::~Output()
{
}
void Output::setOutputTransition(OutputTransition *ot)
{
transition_ = ot;
}
void Output::removeOutputTransition()
{
transition_ = nullptr;
}
void Output::removeConnection(Connector *other_side)
{
Connectable::removeConnection(other_side);
if(connections_.empty()) {
setState(State::IDLE);
}
}
void Output::notifyMessageProcessed()
{
//TRACE std::cout << getUUID() << " notified" << std::endl;
setState(State::IDLE);
message_processed(shared_from_this());
}
void Output::notifyMessageProcessed(Connection* connection)
{
for(auto connection : connections_) {
if(connection->getState() != Connection::State::DONE) {
return;
}
}
//TRACE std::cout << getUUID() << " is processed" << std::endl;
notifyMessageProcessed();
}
void Output::activate()
{
setState(State::ACTIVE);
}
void Output::setState(State s)
{
if(state_ == s) {
return;
}
if(s == State::IDLE) {
//TRACE std::cout << "output " << getUUID() << " is now idle" << std::endl;
} else {
//TRACE std::cout << "output " << getUUID() << " is now active" << std::endl;
}
state_ = s;
}
Output::State Output::getState() const
{
return state_;
}
void Output::reset()
{
Connectable::reset();
clearBuffer();
setSequenceNumber(0);
setState(State::IDLE);
}
std::vector<ConnectionPtr> Output::getConnections() const
{
return connections_;
}
void Output::removeAllConnectionsNotUndoable()
{
std::unique_lock<std::recursive_mutex> lock(sync_mutex);
for(std::vector<ConnectionPtr>::iterator i = connections_.begin(); i != connections_.end();) {
(*i)->to()->removeConnection(this);
i = connections_.erase(i);
}
disconnected(shared_from_this());
}
void Output::disable()
{
Connectable::disable();
}
bool Output::isConnectionPossible(Connector *other_side)
{
if(!other_side->canInput()) {
std::cerr << "cannot connect " << getUUID() << " to " << other_side->getUUID() << ", other side can't input" << std::endl;
return false;
}
if(!other_side->canConnectTo(this, false)) {
std::cerr << "cannot connect " << getUUID() << " to " << other_side->getUUID() << ", not compatible" << std::endl;
return false;
}
return true;
}
bool Output::targetsCanBeMovedTo(Connector* other_side) const
{
std::unique_lock<std::recursive_mutex> lock(sync_mutex);
for(ConnectionPtr connection : connections_) {
if(!connection->to()->canConnectTo(other_side, true)/* || !canConnectTo(*it)*/) {
return false;
}
}
return true;
}
bool Output::isConnected() const
{
return !connections_.empty();
}
void Output::connectionMovePreview(ConnectorPtr other_side)
{
std::unique_lock<std::recursive_mutex> lock(sync_mutex);
for(ConnectionPtr connection : connections_) {
connectionInProgress(connection->to(), other_side);
}
}
void Output::validateConnections()
{
for(ConnectionPtr connection : connections_) {
connection->to()->validateConnections();
}
}
bool Output::canReceiveToken() const
{
for(const ConnectionPtr& connection : connections_) {
if(connection->getState() != Connection::State::NOT_INITIALIZED) {
return false;
}
}
return true;
}
bool Output::canSendMessages() const
{
for(const ConnectionPtr& connection : connections_) {
if(connection->getState() == Connection::State::NOT_INITIALIZED) {
return false;
}
}
return true;
}
void Output::publish()
{
apex_assert_hard(isEnabled());
auto msg = getToken();
apex_assert_hard(msg);
std::unique_lock<std::recursive_mutex> lock(sync_mutex);
for(auto connection : connections_) {
if(connection->isEnabled()) {
connection->setToken(msg);
}
}
}
|
4ff1ee8117635b741ec8fc7e86d290b93e92219d
|
fd320551dc41cde5d5a361141876d7f003f97faf
|
/normal-core/include/normal/core/type/Integer32Type.h
|
57bdefda79887629c38591e4e3f26dd1435a0f56
|
[] |
no_license
|
ergouy/FlexPushdownDB
|
e157daa8788f73d66cb6f3f8cc4b825b8e455fad
|
218705d5195db39bf3eb9457d69fa7759824dec7
|
refs/heads/master
| 2023-08-11T12:38:01.227056
| 2021-07-20T17:23:58
| 2021-07-20T17:23:58
| null | 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 639
|
h
|
Integer32Type.h
|
//
// Created by matt on 15/4/20.
//
#ifndef NORMAL_NORMAL_CORE_INCLUDE_NORMAL_CORE_TYPE_INTEGER32TYPE_H
#define NORMAL_NORMAL_CORE_INCLUDE_NORMAL_CORE_TYPE_INTEGER32TYPE_H
#include <arrow/api.h>
#include <normal/core/type/Type.h>
namespace normal::core::type {
class Integer32Type: public Type {
private:
public:
explicit Integer32Type() : Type("Int32") {}
std::string asGandivaTypeString() override {
return "INT";
}
std::shared_ptr<arrow::DataType> asArrowType() override {
return arrow::int32();
}
};
std::shared_ptr<Type> integer32Type();
}
#endif //NORMAL_NORMAL_CORE_INCLUDE_NORMAL_CORE_TYPE_INTEGER32TYPE_H
|
5bb537446e886dff40201fcdf8aca8fa90c915fe
|
18e19e272b767b78a1ab973013ef72a34036c7ce
|
/examples/fftSimple/src/ofApp.cpp
|
d4ac3a29745f3f4f33fb40c779f9e0e064a2c8df
|
[] |
no_license
|
wolfm2/openframeworks
|
857f80dc9434cad97c6799d7069afa4e27459660
|
dcf6a630847079061ae6d47b7b363a2c85d35d14
|
refs/heads/master
| 2020-04-14T13:52:55.073511
| 2020-03-11T21:43:24
| 2020-03-11T21:43:24
| 163,881,220
| 5
| 4
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 2,108
|
cpp
|
ofApp.cpp
|
#include "ofApp.h"
//--------------------------------------------------------------
void ofApp::setup(){
song.load("song.mp3");
while (! song.isLoaded()); // spin wheels till loaded
song.play();
nBandsToGet = 360; // up to 512
}
float *val;
//--------------------------------------------------------------
void ofApp::update(){
ofBackground(0,82,165);
// update the sound playing system:
// ofSoundUpdate();
val = ofSoundGetSpectrum(nBandsToGet); // get array of floats (1 for each band)
}
//--------------------------------------------------------------
void ofApp::draw(){
// draw the fft resutls:
ofSetColor(0,197,144,255);
for (int i = 0;i < nBandsToGet; i++){
// (we use negative height here, because we want to flip them
// because the top corner is 0,0)
ofDrawRectangle(100+i*2,ofGetHeight()-100,2,(-1 * val[i]) * 8000);
}
}
//--------------------------------------------------------------
void ofApp::keyPressed (int key){
}
//--------------------------------------------------------------
void ofApp::keyReleased(int key){
}
//--------------------------------------------------------------
void ofApp::mouseMoved(int x, int y ){
}
//--------------------------------------------------------------
void ofApp::mouseDragged(int x, int y, int button){
}
//--------------------------------------------------------------
void ofApp::mousePressed(int x, int y, int button){
}
//--------------------------------------------------------------
void ofApp::mouseReleased(int x, int y, int button){
}
//--------------------------------------------------------------
void ofApp::mouseEntered(int x, int y){
}
//--------------------------------------------------------------
void ofApp::mouseExited(int x, int y){
}
//--------------------------------------------------------------
void ofApp::windowResized(int w, int h){
}
//--------------------------------------------------------------
void ofApp::gotMessage(ofMessage msg){
}
//--------------------------------------------------------------
void ofApp::dragEvent(ofDragInfo dragInfo){
}
|
713236a8035604911a27c0ab7cdb92bd4cb36add
|
bb78da367a92893a5f74fb0a629c089fb28b8474
|
/includes/.svn/text-base/HealthBar.h.svn-base
|
db7a6db3d599922d9f439ffc490a471f2284ad6e
|
[] |
no_license
|
pixelgriffin/DroneCraft
|
208958289c5daf46fdb987b60201887b60711591
|
4a2ffc0d0054348a8013ffa92ed73d1e65a7ec3a
|
refs/heads/master
| 2021-01-21T13:33:48.918353
| 2016-05-10T19:08:38
| 2016-05-10T19:08:38
| 49,755,016
| 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 2,188
|
HealthBar.h.svn-base
|
/*
* File: HealthBar.h
* Author: chris
*
* Created on April 29, 2013, 10:34 AM
*/
#ifndef HEALTHBAR_H
#define HEALTHBAR_H
#include "Rect.h"
/*! Health bar displays a bar above selected entities, showing how much damage the
* entity has taken. The health bar is composed of two rectangle, a green rectangle for the health
* remaining, and a red bar for the health depleted. These two rectangles are connected
* to form a single rectangle. An object of this class may contain multiple healthbars,
* one for each time the Draw() function is called. */
class HealthBar
{
public:
/*!
* Constructs an object for displaying a set of health bars
* @param mObj A pointer to an object containing all the vertices of all health bars to draw.
* @param percent the default percent at which the health bar shoul be "filled"
* @param startOnLeft switch that determines if the health bar fills from the right or left
*/
HealthBar(Ogre::ManualObject* mObj, float percent, bool startOnLeft);
HealthBar(const HealthBar& orig);
virtual ~HealthBar();
Rect* fullBar; /*! A green rectangle that represents the "full" part of the bar. */
Rect* emptyBar; /*! A red rectangle connected to the green rectangle, representing the "empty" part of the bar */
float percent; /*! Percent of the bar that should be shown as full. */
bool startOnLeft; /* Switch for if the bar "fills/empties" from left-to-right, or right-to-left. */
/*!
* Adds a new HealthBar to be drawn at the given position. The proportion of the red/green
* bars is determined by percent.
* @see Hide
* @see ClearVirtices
* @param pos The position at which to draw the health bar.
*/
void Draw(Ogre::Vector3 pos);
/*!
* Makes the health bar objects invisible, without actually destroying the vertices used to draw the rectangles.
* @see Draw
* @see ClearVirtices
*/
void Hide()
{
fullBar->Hide();
emptyBar->Hide();
};
/*!
* Deletes all health bars drawn in an object.
* @see Hide
* @see Draw
*/
void ClearVertices();
private:
};
#endif /* HEALTHBAR_H */
|
|
663f9890951b4f41771c22bcf15976738f8da238
|
eec861c6aa3daaba960e78f4b88bca7ab7c6b9eb
|
/Cards/Cards.h
|
271bcd80f6906b78e789e46fe484f3ac31f2736b
|
[] |
no_license
|
GenevievePlanteBrisebois/comp-345-project
|
c644e550b8a4e6f7c6cfef4b5f5f6cccca65fe05
|
d0136918122589eaf7ae0d3f7fa826b6f4e8c599
|
refs/heads/master
| 2020-04-14T22:21:03.712640
| 2018-11-28T20:15:35
| 2018-11-28T20:15:35
| 164,158,845
| 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 716
|
h
|
Cards.h
|
//Written by Genevieve Plante-Brisebois 40003112 for COMP 345 fall 2018
#pragma once
#include <iostream>
using namespace std;
class Cards
{
public:
Cards();
//if the status is false the card is not being used by a player if the status is true the card is being used by a player
Cards(string name, int cost, string card_type, string effect, bool status, string nameP);
~Cards();
string getName();
string getEffect();
string getCardType();
int getCost();
bool getStatus();
string getPlayerName();
void setPlayerName(string name);
void setName(string name);
void setEffect(string effect);
void setCost(int cost);
void setCardType(string cardType);
void setStatus(bool stat);
string toString();
};
|
90788deae4022fbfe745b3696c79fb8501f694c9
|
123243c4f40580fcf318adbce633032a5c11c8c5
|
/Source/Bomberman/Public/System/BombManager.h
|
f61e488971e3c1dc4a017b7720a60800699ee86c
|
[] |
no_license
|
TeeNik/Bomberman
|
c9abd1ade551bac9f32cbf368eb184a870f91d39
|
f4deaea52dafede42e5287ccceeebb7596dd0d82
|
refs/heads/master
| 2020-06-08T23:27:12.740335
| 2019-06-30T21:03:29
| 2019-06-30T21:03:29
| 193,326,071
| 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 577
|
h
|
BombManager.h
|
#pragma once
#include "CoreMinimal.h"
#include "Components/SceneComponent.h"
#include "BombManager.generated.h"
class AFloor;
//BombManager spawns and explodes bombs
UCLASS( ClassGroup=(Custom), meta=(BlueprintSpawnableComponent) )
class BOMBERMAN_API UBombManager : public USceneComponent
{
GENERATED_BODY()
public:
UBombManager();
void SetBomb(AFloor* floor);
protected:
virtual void BeginPlay() override;
private:
UFUNCTION()
void ExplodeBomb(int row, int col, AActor* bomb);
void DestroyObstacle();
bool ProduceExplosionOnFloor(AFloor* floor);
};
|
b0043ac090b84e2c9889d9138467a264e6e6861a
|
23378c451e396684f712fc9f9e2a65a53a61a8a8
|
/Others/2359.Find-Closest-Node-to-Given-Two-Nodes/2359.Find-Closest-Node-to-Given-Two-Nodes.cpp
|
7acab1c41a63d7d4b962df6224bc8aa56b65ba08
|
[] |
no_license
|
wisdompeak/LeetCode
|
25676a8bf606c0511dd9844d4e61388235de82f4
|
f3d38bbe9e40ceb0ab9780a4cb0dec938eae578e
|
refs/heads/master
| 2023-09-01T18:45:36.056015
| 2023-08-28T08:01:22
| 2023-08-28T08:01:22
| 83,542,585
| 5,153
| 1,209
| null | 2023-07-22T18:15:25
| 2017-03-01T10:30:52
|
C++
|
UTF-8
|
C++
| false
| false
| 1,156
|
cpp
|
2359.Find-Closest-Node-to-Given-Two-Nodes.cpp
|
class Solution {
public:
vector<int>getDist(vector<int>& edges, int node)
{
int n = edges.size();
vector<int>dist(n, -1);
int i = node;
dist[i] = 0;
while (edges[i]!=-1 && dist[edges[i]]==-1)
{
int j = edges[i];
dist[j] = dist[i] + 1;
i = j;
}
return dist;
}
int closestMeetingNode(vector<int>& edges, int node1, int node2)
{
int n = edges.size();
vector<int>dist1 = getDist(edges, node1);
vector<int>dist2 = getDist(edges, node2);
int ret = INT_MAX;
int ans = -1;
for (int i=0; i<n; i++)
{
if (dist1[i]!=-1 && dist2[i]!=-1)
{
if (max(dist1[i], dist2[i])<ret)
{
ret = max(dist1[i], dist2[i]);
ans = i;
}
else if (max(dist1[i], dist2[i]) == ret)
ans = min(ans, i);
}
}
if (ret!=INT_MAX)
return ans;
else
return -1;
}
};
|
19afdb073b96ea2102608e3566a0fc8010b89e00
|
39a22a7789232d28cfb622a079102df0c7127477
|
/CatProjCpp02/src/include/alg/1.1/ring/ring_ring_base_impl.hpp
|
43268d35fbc729b5fbde7912bf4b4b560f393b23
|
[] |
no_license
|
gmuel/basic_algebra
|
b0c80f9a860b15f326c164c4b8e3309b6688479b
|
6ee96891c6a432cc79a37e714e7cd2f7683241ff
|
refs/heads/master
| 2023-03-11T05:18:31.941945
| 2021-06-28T04:59:21
| 2021-06-28T04:59:21
| 117,348,728
| 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 1,390
|
hpp
|
ring_ring_base_impl.hpp
|
/*
* ring_ring_base_impl.hpp
*
* Created on: 01.12.2019
* Author: lmmac
*/
#ifndef INCLUDE_ALG_1_1_RING_RING_RING_BASE_IMPL_HPP_
#define INCLUDE_ALG_1_1_RING_RING_RING_BASE_IMPL_HPP_
#include "ring_ring_base.hpp"
#include "../group/group_group_base_impl.hpp"
namespace alg {
template<unsigned int N >
struct cyc_rng_obj : public cyclic_wrp<N > {
typedef cyclic_wrp<N > _base;
cyc_rng_obj(int i = 0):_base(0){}
cyc_rng_obj(const _base& o):_base(o){}
cyc_rng_obj& operator=(int i){_base::operator=(i);return *this;}
cyc_rng_obj& operator=(explicit const _base& o){_base::operator=(o);return *this;}
};
template<unsigned int N >
struct cyc_rng_mul : public binary< cyclic_wrp<N >, cyc_rng_mul<N > > {
cyclic_wrp<N > operator()(const cyclic_wrp<N >& c1, const cyclic_wrp<N >& c2) const {
return cyclic_wrp<N >((*c1)*(*c2));
}
};
/*
template<unsigned int N >
const cyc_rng_mul<N >& binary<cyclic_wrp<N >, cyc_rng_mul<N > >::OPERATION = cyc_rng_mul<N >();
*/
template<unsigned int N >
struct cyc_unit : public unit<cyclic_wrp<N > > {
typedef unit<cyclic_wrp<N > > _base;
template<typename U >
const cyclic_wrp<N >& operator()(const U& u) const {static cyclic_wrp<N > one(1);return one;}
friend struct unit<cyclic<N > >;
private:
cyc_unit():_base(){}
cyc_unit(const cyc_unit<N >& o);
};
} /*alg*/
#endif /* INCLUDE_ALG_1_1_RING_RING_RING_BASE_IMPL_HPP_ */
|
b26d925f36cf66872c1f73522e1252a5444fbca9
|
b74dea911cf644ab1b6a6c8c448708ee09e6581f
|
/SDK/platform/stm32f4/interface/i2c.cpp
|
bb047290ffa5147fa84e0cbc799874e156449d60
|
[
"Unlicense"
] |
permissive
|
ghsecuritylab/CppSDK
|
bbde19f9d85975dd12c366bba4874e96cd614202
|
50da768a887241d4e670b3ef73c041b21645620e
|
refs/heads/master
| 2021-02-28T14:02:58.205901
| 2018-08-23T15:08:15
| 2018-08-23T15:08:15
| 245,703,236
| 0
| 0
|
NOASSERTION
| 2020-03-07T20:47:45
| 2020-03-07T20:47:44
| null |
UTF-8
|
C++
| false
| false
| 17,055
|
cpp
|
i2c.cpp
|
/*
* twi_interface.c
*
* Created: 2/8/2013 5:00:27 PM
* Iulian Gheorghiu <morgoth.creator@gmail.com>
*/
/*#####################################################*/
#include "include/stm32f4xx.h"
#include "driver/stm32f4xx_hal.h"
#include "driver/stm32f4xx_hal_i2c.h"
#include "driver/stm32f4xx_hal_i2c_ex.h"
#include "driver/stm32f4xx_hal_rcc.h"
#include <interface/i2c.h>
#include "api/init.h"
#include <api/i2c.h>
#define TIMING_CLEAR_MASK ((uint32_t)0xF0FFFFFFU) /*!< I2C TIMING clear register Mask */
#define I2C_TIMEOUT_ADDR ((uint32_t)10000U) /*!< 10 s */
#define I2C_TIMEOUT_BUSY ((uint32_t)25U) /*!< 25 ms */
#define I2C_TIMEOUT_DIR ((uint32_t)25U) /*!< 25 ms */
#define I2C_TIMEOUT_RXNE ((uint32_t)25U) /*!< 25 ms */
#define I2C_TIMEOUT_STOPF ((uint32_t)25U) /*!< 25 ms */
#define I2C_TIMEOUT_TC ((uint32_t)25U) /*!< 25 ms */
#define I2C_TIMEOUT_TCR ((uint32_t)25U) /*!< 25 ms */
#define I2C_TIMEOUT_TXIS ((uint32_t)25U) /*!< 25 ms */
#define I2C_TIMEOUT_FLAG ((uint32_t)25U) /*!< 25 ms */
#define MAX_NBYTE_SIZE 255U
#define SlaveAddr_SHIFT 7U
#define SlaveAddr_MSK 0x06U
#define USE_I2C_TX_DMA
/* I2C TIMING Register define when I2C clock source is APB1 (SYSCLK/4) */
/* I2C TIMING is calculated in case of the I2C Clock source is the APB1CLK = 50 MHz */
/* This example use TIMING to 0x40912732 to reach 100 kHz speed (Rise time = 700 ns, Fall time = 100 ns) */
#define I2C_TIMING 0x40912732
//#####################################################
#if (USE_DRIVER_SEMAPHORE == true)
volatile bool twi_semaphore[TWI_INTERFACE_COUNT];
#endif
extern GPIO_TypeDef *GET_GPIO_PORT_BASE_ADDR[];
I2C_TypeDef *sEE_I2C[4] =
{
#ifdef I2C1
I2C1,
#endif
#ifdef I2C2
I2C2,
#endif
#ifdef I2C3
I2C3,
#endif
#ifdef I2C4
I2C4,
#endif
#ifdef I2C5
I2C5,
#endif
#ifdef I2C6
I2C6
#endif
};
/**
* @brief Start critical section: these callbacks should be typically used
* to disable interrupts when entering a critical section of I2C communication
* You may use default callbacks provided into this driver by uncommenting the
* define USE_DEFAULT_CRITICAL_CALLBACK.
* Or you can comment that line and implement these callbacks into your
* application.
* @param None.
* @retval None.
*/
void sEE_EnterCriticalSection_UserCallback(void)
{
__disable_irq();
}
/**
* @brief Start and End of critical section: these callbacks should be typically used
* to re-enable interrupts when exiting a critical section of I2C communication
* You may use default callbacks provided into this driver by uncommenting the
* define USE_DEFAULT_CRITICAL_CALLBACK.
* Or you can comment that line and implement these callbacks into your
* application.
* @param None.
* @retval None.
*/
void sEE_ExitCriticalSection_UserCallback(void)
{
__enable_irq();
}
/**
* @brief Enables or disables the specified I2C software reset.
* @note When software reset is enabled, the I2C IOs are released (this can
* be useful to recover from bus errors).
* @param I2Cx: where x can be 1, 2 or 3 to select the I2C peripheral.
* @param NewState: new state of the I2C software reset.
* This parameter can be: ENABLE or DISABLE.
* @retval None
*/
void TWI_SendStop(I2C_HandleTypeDef *hi2c)
{
}
//#####################################################
//#include "int/int_twi.h"
/**
* @brief Reads a block of data from the EEPROM.
* @param pBuffer : pointer to the buffer that receives the data read from
* the EEPROM.
* @param ReadAddr : EEPROM's internal address to start reading from.
* @param NumByteToRead : pointer to the variable holding number of bytes to
* be read from the EEPROM.
*
* @note The variable pointed by NumByteToRead is reset to 0 when all the
* data are read from the EEPROM. Application should monitor this
* variable in order know when the transfer is complete.
*
* @note When number of data to be read is higher than 1, this function just
* configures the communication and enable the DMA channel to transfer data.
* Meanwhile, the user application may perform other tasks.
* When number of data to be read is 1, then the DMA is not used. The byte
* is read in polling mode.
*
* @retval sEE_OK (0) if operation is correctly performed, else return value
* different from sEE_OK (0) or the timeout user callback.
*/
/*unsigned long TWI_MasterWriteRead(new_twi* TwiStruct, unsigned int TransmitBytes, unsigned int _Size)
{
I2C_HandleTypeDef *hi2c = (I2C_HandleTypeDef *)TwiStruct->udata;
}*/
//#####################################################
/**
* @brief Initializes peripherals used by the I2C EEPROM driver.
* @param None
* @retval None
*/
GI::Dev::I2c::I2c(ioSettings *cfg)
{
memset(this, 0, sizeof(*this));
if(cfg->info.ioType != ioSettings::info_s::ioType_I2C)
return;
if(strncmp(cfg->info.name, (char *)"i2c-", sizeof("i2c-") - 1))
{
err = SYS_ERR_INVALID_PATH;
return;
}
unsigned int dev_nr = 0;
if(sscanf(cfg->info.name + (sizeof("i2c-") - 1), "%u", &dev_nr) != 1)
{
err = SYS_ERR_INVALID_PATH;
return;
}
if(dev_nr >= TWI_INTERFACE_COUNT)
{
err = SYS_ERR_INVALID_PATH;
return;
}
I2C_HandleTypeDef *I2cHandle = (I2C_HandleTypeDef *) calloc(1, sizeof(I2C_HandleTypeDef));
if (!I2cHandle)
return;
//I2C_InitTypeDef I2C_InitStructure;
udata = (void *) I2cHandle;
I2cHandle->Instance = sEE_I2C[dev_nr];
unitNr = dev_nr;
this->cfg = cfg;
CfgI2c *int_cfg = (CfgI2c *)cfg->cfg;
GPIO_InitTypeDef GPIO_InitStructure;
switch (dev_nr)
{
#ifdef __HAL_RCC_I2C1_CLK_ENABLE
case 0:
__HAL_RCC_I2C1_CLK_ENABLE()
;
break;
#endif
#ifdef __HAL_RCC_I2C2_CLK_ENABLE
case 1:
__HAL_RCC_I2C2_CLK_ENABLE()
;
break;
#endif
#ifdef __HAL_RCC_I2C3_CLK_ENABLE
case 2:
__HAL_RCC_I2C3_CLK_ENABLE()
;
break;
#endif
#ifdef __HAL_RCC_I2C4_CLK_ENABLE
case 3:
__HAL_RCC_I2C4_CLK_ENABLE()
;
break;
#endif
#ifdef __HAL_RCC_I2C5_CLK_ENABLE
case 4:
__HAL_RCC_I2C5_CLK_ENABLE();
break;
#endif
#ifdef __HAL_RCC_I2C6_CLK_ENABLE
case 5:
__HAL_RCC_I2C6_CLK_ENABLE();
break;
#endif
}
/*!< GPIO configuration */
/*!< Configure sEE_I2C pins: SCL */
GPIO_InitStructure.Speed = GPIO_SPEED_FREQ_MEDIUM;
GPIO_InitStructure.Alternate = GPIO_AF4_I2C1;
GPIO_InitStructure.Mode = GPIO_MODE_AF_OD;
GPIO_InitStructure.Pull = GPIO_PULLUP;
GPIO_InitStructure.Pin = 1 << (int_cfg->scl % 32);
HAL_GPIO_Init(GET_GPIO_PORT_BASE_ADDR[int_cfg->scl >> 5],
&GPIO_InitStructure);
GPIO_InitStructure.Pin = 1 << (int_cfg->sda % 32);
HAL_GPIO_Init(GET_GPIO_PORT_BASE_ADDR[int_cfg->sda >> 5],
&GPIO_InitStructure);
/*##-1- Configure the I2C peripheral #######################################*/
I2cHandle->Init.AddressingMode = I2C_ADDRESSINGMODE_7BIT;
I2cHandle->Init.ClockSpeed = 100000.;
I2cHandle->Init.DualAddressMode = I2C_DUALADDRESS_DISABLE;
I2cHandle->Init.DutyCycle = I2C_DUTYCYCLE_2;
I2cHandle->Init.GeneralCallMode = I2C_GENERALCALL_DISABLE;
I2cHandle->Init.NoStretchMode = I2C_NOSTRETCH_DISABLE;
//I2cHandle->Init.OwnAddress1 = TwiStruct->MasterSlaveAddr;
//I2cHandle.Init.OwnAddress2 = 0xFF;
if (HAL_I2C_Init(I2cHandle) != HAL_OK)
{
/* Initialization Error */
return;
}
return;
}
/*#####################################################*/
GI::Dev::I2c::~I2c()
{
I2C_HandleTypeDef *I2cHandle = (I2C_HandleTypeDef *) udata;
switch ((unsigned int) I2cHandle->Instance)
{
#ifdef __HAL_RCC_I2C1_CLK_DISABLE
case I2C1_BASE:
__HAL_RCC_I2C1_CLK_DISABLE();
break;
#endif
#ifdef __HAL_RCC_I2C2_CLK_DISABLE
case I2C2_BASE:
__HAL_RCC_I2C2_CLK_DISABLE();
break;
#endif
#ifdef __HAL_RCC_I2C3_CLK_DISABLE
case I2C3_BASE:
__HAL_RCC_I2C3_CLK_DISABLE();
break;
#endif
#ifdef __HAL_RCC_I2C4_CLK_DISABLE
case I2C4_BASE:
__HAL_RCC_I2C4_CLK_DISABLE();
break;
#endif
#ifdef __HAL_RCC_I2C5_CLK_DISABLE
case I2C5_BASE:
__HAL_RCC_I2C5_CLK_DISABLE();
break;
#endif
#ifdef __HAL_RCC_I2C6_CLK_DISABLE
case I2C6_BASE:
__HAL_RCC_I2C6_CLK_DISABLE();
break;
#endif
}
CfgI2c *int_cfg = (CfgI2c *)cfg->cfg;
HAL_GPIO_DeInit(GET_GPIO_PORT_BASE_ADDR[int_cfg->scl >> 5],
(1 << (int_cfg->scl % 32)));
HAL_GPIO_DeInit(GET_GPIO_PORT_BASE_ADDR[int_cfg->sda >> 5],
(1 << (int_cfg->sda % 32)));
if (udata)
free(udata);
}
/*#####################################################*/
/*#####################################################*/
#define Timeout 10
#define I2C_TIMEOUT_BUSY_FLAG ((uint32_t)10000) /* 10 s */
SysErr GI::Dev::I2c::WR(unsigned char addr, unsigned char *buff_send,
unsigned int TransmitBytes, unsigned char *buff_receive,
unsigned int ReceiveBytes)
{
//unsigned long sEETimeout;
/* Set the pointer to the Number of data to be read. This pointer will be used
by the DMA Transfer Completer interrupt Handler in order to reset the
variable to 0. User should check on this variable in order to know if the
DMA transfer has been complete or not. */
//I2C_TypeDef *I2Cx = sEE_I2C[property.unitNr];
I2C_HandleTypeDef *hi2c = ((I2C_HandleTypeDef *) udata);
/* If bus is freeze we will reset the unit and restore the settings. */
/* Wait until BUSY flag is reset */
if (I2C_WaitOnFlagUntilTimeout(hi2c, I2C_FLAG_BUSY, SET, I2C_TIMEOUT_BUSY_FLAG) != HAL_OK)
{
I2C_TypeDef* I2Cx = hi2c->Instance;
/* Check the parameters */
assert_param(IS_I2C_ALL_PERIPH(I2Cx));
assert_param(IS_FUNCTIONAL_STATE(NewState));
I2C_TypeDef I2CxBack;
I2CxBack.CR1 = I2Cx->CR1;
I2CxBack.CR2 = I2Cx->CR2;
I2CxBack.OAR1 = I2Cx->OAR1;
I2CxBack.OAR2 = I2Cx->OAR2;
I2CxBack.CCR = I2Cx->CCR;
I2CxBack.TRISE = I2Cx->TRISE;
/* Enable the selected I2C peripheral */
__HAL_I2C_DISABLE(hi2c);
/* Enable the selected I2C peripheral */
__HAL_I2C_ENABLE(hi2c);
I2Cx->TRISE = I2CxBack.TRISE;
I2Cx->CCR = I2CxBack.CCR;
I2Cx->OAR2 = I2CxBack.OAR2;
I2Cx->OAR1 = I2CxBack.OAR1;
I2Cx->CR2 = I2CxBack.CR2;
I2Cx->CR1 = I2CxBack.CR1;
return SYS_ERR_BUSY;
}
/*!< While the bus is busy */
unsigned int cnt = 0;
/* Disable Pos */
hi2c->Instance->CR1 &= ~I2C_CR1_POS;
hi2c->State = HAL_I2C_STATE_MEM_BUSY_RX;
hi2c->ErrorCode = HAL_I2C_ERROR_NONE;
if (!noSendWriteOnRead)
{
/* Enable Acknowledge */
hi2c->Instance->CR1 |= I2C_CR1_ACK;
/* Generate Start */
hi2c->Instance->CR1 |= I2C_CR1_START;
/* Wait until SB flag is set */
if (I2C_WaitOnFlagUntilTimeout(hi2c, I2C_FLAG_SB, RESET, Timeout)
!= HAL_OK)
{
__HAL_UNLOCK(hi2c);
return SYS_ERR_TIMEOUT;
}
/* Send slave address */
hi2c->Instance->DR = I2C_7BIT_ADD_WRITE(addr);
/* Wait until ADDR flag is set */
if (I2C_WaitOnMasterAddressFlagUntilTimeout(hi2c, I2C_FLAG_ADDR,
Timeout) != HAL_OK)
{
if (hi2c->ErrorCode == HAL_I2C_ERROR_AF)
{
__HAL_UNLOCK(hi2c);
return SYS_ERR_TIMEOUT;
}
else
{
__HAL_UNLOCK(hi2c);
return SYS_ERR_TIMEOUT;
}
}
/* Clear ADDR flag */
__HAL_I2C_CLEAR_ADDRFLAG(hi2c);
/* Wait until TXE flag is set */
if (I2C_WaitOnFlagUntilTimeout(hi2c, I2C_FLAG_TXE, RESET, Timeout)
!= HAL_OK)
{
__HAL_UNLOCK(hi2c);
return SYS_ERR_TIMEOUT;
}
for (; cnt < TransmitBytes; cnt++)
{
/* Send MSB of Memory Address */
hi2c->Instance->DR = buff_send[cnt];
/* Wait until TXE flag is set */
if (I2C_WaitOnFlagUntilTimeout(hi2c, I2C_FLAG_TXE, RESET, Timeout)
!= HAL_OK)
{
__HAL_UNLOCK(hi2c);
return SYS_ERR_TIMEOUT;
}
}
}
if (!ReceiveBytes)
{
/* Generate Stop */
hi2c->Instance->CR1 |= I2C_CR1_STOP;
hi2c->State = HAL_I2C_STATE_READY;
/* Process Unlocked */
__HAL_UNLOCK(hi2c);
}
else
{
/* Generate Restart */
hi2c->Instance->CR1 |= I2C_CR1_START;
/* Wait until SB flag is set */
if (I2C_WaitOnFlagUntilTimeout(hi2c, I2C_FLAG_SB, RESET, Timeout)
!= HAL_OK)
{
__HAL_UNLOCK(hi2c);
return SYS_ERR_TIMEOUT;
}
/* Send slave address */
hi2c->Instance->DR = I2C_7BIT_ADD_READ(addr);
/* Wait until ADDR flag is set */
if (I2C_WaitOnMasterAddressFlagUntilTimeout(hi2c, I2C_FLAG_ADDR,
Timeout) != HAL_OK)
{
__HAL_UNLOCK(hi2c);
return SYS_ERR_TIMEOUT;
}
unsigned long data_cnt = 0;
if (ReceiveBytes == 1)
{
/* Disable Acknowledge */
hi2c->Instance->CR1 &= ~I2C_CR1_ACK;
/* Clear ADDR flag */
__HAL_I2C_CLEAR_ADDRFLAG(hi2c);
/* Generate Stop */
hi2c->Instance->CR1 |= I2C_CR1_STOP;
}
else if (ReceiveBytes == 2)
{
/* Disable Acknowledge */
hi2c->Instance->CR1 &= ~I2C_CR1_ACK;
/* Enable Pos */
hi2c->Instance->CR1 |= I2C_CR1_POS;
/* Clear ADDR flag */
__HAL_I2C_CLEAR_ADDRFLAG(hi2c);
}
else
{
/* Enable Acknowledge */
hi2c->Instance->CR1 |= I2C_CR1_ACK;
/* Clear ADDR flag */
__HAL_I2C_CLEAR_ADDRFLAG(hi2c);
}
while (ReceiveBytes > 0)
{
if (ReceiveBytes <= 3)
{
/* One byte */
if (ReceiveBytes == 1)
{
/* Wait until RXNE flag is set */
if (I2C_WaitOnFlagUntilTimeout(hi2c, I2C_FLAG_RXNE, RESET,
Timeout) != HAL_OK)
{
__HAL_UNLOCK(hi2c);
return SYS_ERR_TIMEOUT;
}
/* Read data from DR */
buff_receive[data_cnt++] = hi2c->Instance->DR;
ReceiveBytes--;
}
/* Two bytes */
else if (ReceiveBytes == 2)
{
/* Wait until BTF flag is set */
if (I2C_WaitOnFlagUntilTimeout(hi2c, I2C_FLAG_BTF, RESET,
Timeout) != HAL_OK)
{
__HAL_UNLOCK(hi2c);
return SYS_ERR_TIMEOUT;
}
/* Generate Stop */
hi2c->Instance->CR1 |= I2C_CR1_STOP;
/* Read data from DR */
buff_receive[data_cnt++] = hi2c->Instance->DR;
ReceiveBytes--;
/* Read data from DR */
buff_receive[data_cnt++] = hi2c->Instance->DR;
ReceiveBytes--;
}
/* 3 Last bytes */
else
{
/* Wait until BTF flag is set */
if (I2C_WaitOnFlagUntilTimeout(hi2c, I2C_FLAG_BTF, RESET,
Timeout) != HAL_OK)
{
__HAL_UNLOCK(hi2c);
return SYS_ERR_TIMEOUT;
}
/* Disable Acknowledge */
hi2c->Instance->CR1 &= ~I2C_CR1_ACK;
/* Read data from DR */
buff_receive[data_cnt++] = hi2c->Instance->DR;
ReceiveBytes--;
/* Wait until BTF flag is set */
if (I2C_WaitOnFlagUntilTimeout(hi2c, I2C_FLAG_BTF, RESET,
Timeout) != HAL_OK)
{
__HAL_UNLOCK(hi2c);
return SYS_ERR_TIMEOUT;
}
/* Generate Stop */
hi2c->Instance->CR1 |= I2C_CR1_STOP;
/* Read data from DR */
buff_receive[data_cnt++] = hi2c->Instance->DR;
ReceiveBytes--;
/* Read data from DR */
buff_receive[data_cnt++] = hi2c->Instance->DR;
ReceiveBytes--;
}
}
else
{
/* Wait until RXNE flag is set */
if (I2C_WaitOnFlagUntilTimeout(hi2c, I2C_FLAG_RXNE, RESET,
Timeout) != HAL_OK)
{
__HAL_UNLOCK(hi2c);
return SYS_ERR_TIMEOUT;
}
/* Read data from DR */
buff_receive[data_cnt++] = hi2c->Instance->DR;
ReceiveBytes--;
if (__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_BTF) == SET)
{
/* Read data from DR */
buff_receive[data_cnt++] = hi2c->Instance->DR;
ReceiveBytes--;
}
}
}
}
/* Process Unlocked */
hi2c->State = HAL_I2C_STATE_READY;
/* Process Unlocked */
__HAL_UNLOCK(hi2c);
return SYS_ERR_OK;
}
/*#####################################################*/
SysErr GI::Dev::I2c::writeRead(unsigned char addr, unsigned char *buffSend,
unsigned int lenSend, unsigned char *buffReceive,
unsigned int lenReceive)
{
if (!this)
return SYS_ERR_INVALID_HANDLER;
#if (USE_DRIVER_SEMAPHORE == true)
while (twi_semaphore[unitNr]);
twi_semaphore[unitNr] = true;
#endif
SysErr result = WR(addr << 1, buffSend, lenSend, buffReceive, lenReceive);
#if (USE_DRIVER_SEMAPHORE == true)
twi_semaphore[unitNr] = false;
#endif
if (result == SYS_ERR_OK)
return SYS_ERR_OK;
else
return SYS_ERR_NAK;
}
/*#####################################################*/
int GI::Dev::I2c::readBytes(unsigned char addr, unsigned char *buff, unsigned int len)
{
if (!this)
return SYS_ERR_INVALID_HANDLER;
#if (USE_DRIVER_SEMAPHORE == true)
while (twi_semaphore[unitNr])
;
twi_semaphore[unitNr] = true;
#endif
SysErr result = WR(addr << 1, NULL, 0, buff, len);
#if (USE_DRIVER_SEMAPHORE == true)
twi_semaphore[unitNr] = false;
#endif
if (result == SYS_ERR_OK)
return len;
else
return SYS_ERR_NAK;
}
/*#####################################################*/
int GI::Dev::I2c::writeBytes(unsigned char addr, unsigned char *buff, unsigned int len)
{
if (!this)
return SYS_ERR_INVALID_HANDLER;
#if (USE_DRIVER_SEMAPHORE == true)
while (twi_semaphore[unitNr])
;
twi_semaphore[unitNr] = true;
#endif
SysErr result = WR(addr << 1, buff, len, NULL, 0);
#if (USE_DRIVER_SEMAPHORE == true)
twi_semaphore[unitNr] = false;
#endif
if (result == SYS_ERR_OK)
return len;
else
return SYS_ERR_NAK;
}
/*#####################################################*/
|
71820a97ea447402e0f457a575f941fdb4fae27b
|
8427ad30d55d0d0a21621da3772781613d5758af
|
/coding_interviews/problem8.cpp
|
f0ee70a9018665f91d1d7d98a334730475aa09e3
|
[] |
no_license
|
wuwentao1998/Data-Structures-and-Algorithms
|
75811e781f40616241568445cfc9f71aa86d8e51
|
8f175e17c075fc661e2db3981b4dafe1ad055489
|
refs/heads/master
| 2020-04-14T15:36:13.891897
| 2019-04-06T04:13:18
| 2019-04-06T04:13:18
| 163,931,940
| 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 751
|
cpp
|
problem8.cpp
|
// 二叉树的后继节点
struct Node
{
int val;
Node* left;
Node* right;
Node* parent;
};
Node* leftNode(Node* root)
{
while (root->left != nullptr)
root = root->left;
return root;
}
Node* nextNode(Node* curNode)
{
if (curNode == nullptr)
return nullptr;
if (curNode->right != nullptr)
return leftNode(curNode->right);
if (curNode->parent == nullptr)
return nullptr;
Node* parent = curNode->parent;
if (curNode == parent->left)
return parent;
do
{
curNode = parent;
parent = curNode->parent;
} while (parent != nullptr && curNode == parent->left);
if (parent == nullptr)
return nullptr;
return parent;
}
|
88d45dec6a09850d439fd54440849af0beb00577
|
e06f54e0ff0ceafc74e987deee3665e4abf61372
|
/mf.cpp
|
c0352276e2aea7f0d7a0d91db431330185042f9f
|
[] |
no_license
|
ronmackley/DynProc
|
c843fce15dedb8641529dbd1c4ca89816ae138cd
|
f2c7f9b7f1f345c1eca8054a772683ef84ece3b3
|
refs/heads/main
| 2023-02-06T13:45:10.291663
| 2020-12-26T16:48:03
| 2020-12-26T16:48:03
| 324,507,972
| 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 109
|
cpp
|
mf.cpp
|
#include <iostream>
extern "C"
{
void myFunc() { std::cout << "Hello, world!" << std::endl; return; }
}
|
d44fb117090ddf164b626fdd84c330098b1c6141
|
5633a274b08b22b934cc060ad1c7435c6cd30533
|
/Project/SlimeCore/Object2DManager.cpp
|
48c886b763c97ce8acece72341a696e1a5179069
|
[] |
no_license
|
AlexMollard/SlimeCore
|
dbed59bf4daf50e975e2c3590dd38d6224aae0dd
|
08a871794222c08ab060774c92fcf84d0fad73dd
|
refs/heads/master
| 2022-11-10T19:07:17.921987
| 2020-06-16T04:19:44
| 2020-06-16T04:19:44
| 237,891,813
| 0
| 0
| null | 2020-03-12T11:52:25
| 2020-02-03T05:28:20
|
C++
|
UTF-8
|
C++
| false
| false
| 6,586
|
cpp
|
Object2DManager.cpp
|
#include "Object2DManager.h"
Object2DManager::Object2DManager(TextureManager* textureManager)
{
texManager = textureManager;
TwoDShader = new Shader("TwoDShader", "..\\Shaders\\2DVertex.shader", "..\\Shaders\\2DFragment.shader");
defaultWhite = texManager->Get(0, TEXTURETYPE::Albedo);
defaultCircleTexture = texManager->Create("CircleSprite", "..\\Images\\Sprites\\circle.png", TEXTURETYPE::Albedo);
}
Object2DManager::~Object2DManager()
{
delete TwoDShader;
TwoDShader = nullptr;
for (int i = 0; i < objects.size(); i++)
{
delete objects[i];
objects[i] = nullptr;
}
}
void Object2DManager::Draw()
{
TwoDShader->Use();
TwoDShader->setMat4("OrthoMatrix", orthoMatrix);
for (int i = 0; i < objects.size(); i++)
{
TwoDShader->setMat4("Model", objects[i]->model);
TwoDShader->setVec3("color", objects[i]->color);
TwoDShader->setVec3("position", objects[i]->GetPos());
//Texture Binding
if (objects[i]->tex != nullptr && currentTexture != objects[i]->tex)
{
currentTexture = objects[i]->tex;
TwoDShader->setInt("Texture", 0);
glActiveTexture(GL_TEXTURE0);
objects[i]->tex->Bind();
objects[i]->Draw();
continue;
}
objects[i]->Draw();
}
}
void Object2DManager::Update(float deltaTime)
{
for (int i = 0; i < objects.size(); i++)
{
//objects[i]->Update(deltaTime);
objects[i]->UpdatePos();
}
}
std::vector<GameObject2D*> Object2DManager::GetAllObjects()
{
return objects;
}
GameObject2D* Object2DManager::CreateBox(glm::vec3 Position, float width, float height)
{
objects.push_back(new GameObject2D());
GameObject2D* currentObject = objects.back();
currentObject->tex = defaultWhite;
currentObject->size = glm::vec2(width, height);
glm::vec3 topLeft = glm::vec3(-1.0f * width, 1.0f * height, 0.0f);
glm::vec3 bottomLeft = glm::vec3(1.0f * width, 1.0f * height, 0.0f);
glm::vec3 topRight = glm::vec3(-1.0f * width, -1.0f * height, 0.0f);
glm::vec3 bottomRight = glm::vec3(1.0f * width, -1.0f * height, 0.0f);
SetUpSpriteMesh(currentObject, topLeft, bottomLeft, topRight, bottomRight);
currentObject->SetPos(Position);
//Setting bounding box
glm::vec3 bLeft;
glm::vec3 tRight;
bLeft = glm::vec3(-width / 2, -height / 2, 0);
tRight = glm::vec3(width * 0.5f, height * 0.5f, 0);
currentObject->SetBoundingBox(bLeft, tRight);
return currentObject;
}
GameObject2D* Object2DManager::CreateLine(glm::vec3 startPosition, glm::vec3 endPosition, float width)
{
objects.push_back(new GameObject2D());
GameObject2D* currentObject = objects.back();
currentObject->tex = defaultWhite;
currentObject->size = glm::vec2(width, width);
glm::vec3 topLeft = glm::vec3(startPosition.x, startPosition.y - (width / 2), startPosition.z);
glm::vec3 bottomLeft = glm::vec3(startPosition.x, startPosition.y + (width / 2), startPosition.z);
glm::vec3 topRight = glm::vec3(endPosition.x, endPosition.y - (width / 2), endPosition.z);
glm::vec3 bottomRight = glm::vec3(endPosition.x, endPosition.y + (width / 2), endPosition.z);
SetUpSpriteMesh(currentObject, topLeft, bottomLeft, topRight, bottomRight);
return currentObject;
}
GameObject2D* Object2DManager::CreateCircle(glm::vec3 Position, float Diameter)
{
objects.push_back(new GameObject2D());
GameObject2D* currentObject = objects.back();
currentObject->tex = defaultCircleTexture;
currentObject->size = glm::vec2(Diameter, Diameter);
glm::vec3 topLeft = glm::vec3(-1.0f * Diameter, 1.0f * Diameter, 0.0f);
glm::vec3 bottomLeft = glm::vec3(1.0f * Diameter, 1.0f * Diameter, 0.0f);
glm::vec3 topRight = glm::vec3(-1.0f * Diameter, -1.0f * Diameter, 0.0f);
glm::vec3 bottomRight = glm::vec3(1.0f * Diameter, -1.0f * Diameter, 0.0f);
SetUpSpriteMesh(currentObject, topLeft, bottomLeft, topRight, bottomRight);
currentObject->SetPos(Position);
return currentObject;
}
void Object2DManager::SetUpSpriteMesh(GameObject2D* currentObject, glm::vec3 topLeft, glm::vec3 bottomLeft, glm::vec3 topRight, glm::vec3 bottomRight)
{
currentObject->twoMesh.vertices.push_back(topLeft); // Back-Left 0
currentObject->twoMesh.vertices.push_back(bottomLeft); // Back-Right 1
currentObject->twoMesh.vertices.push_back(topRight); // Front-Left 2
currentObject->twoMesh.vertices.push_back(bottomRight); //Front-Right 3
unsigned int planeIndices[] =
{
0, 2, 1, // first triangle
1, 2, 3 // second triangle
};
currentObject->twoMesh.uvs.push_back(glm::vec2(0, 1));
currentObject->twoMesh.uvs.push_back(glm::vec2(1, 1));
currentObject->twoMesh.uvs.push_back(glm::vec2(0, 0));
currentObject->twoMesh.uvs.push_back(glm::vec2(1, 0));
int length = sizeof(planeIndices) / sizeof(unsigned int);
currentObject->twoMesh.indices = std::vector<unsigned int>(planeIndices, planeIndices + length);
CreateMesh(currentObject);
}
void Object2DManager::CreateMesh(GameObject2D* currentObject)
{
std::vector<float> newvertices;
for (int i = 0; i < currentObject->twoMesh.vertices.size(); i++)
{
// Postitions
newvertices.push_back(currentObject->twoMesh.vertices[i].x);
newvertices.push_back(currentObject->twoMesh.vertices[i].y);
newvertices.push_back(currentObject->twoMesh.vertices[i].z);
// UVS
if (currentObject->twoMesh.uvs.size() < 1)
{
newvertices.push_back(0.5);
newvertices.push_back(0.5);
}
else
{
newvertices.push_back(currentObject->twoMesh.uvs[i].x);
newvertices.push_back(currentObject->twoMesh.uvs[i].y);
}
}
// generate buffers
glGenBuffers(1, ¤tObject->vbo);
glGenBuffers(1, ¤tObject->ibo);
glGenVertexArrays(1, ¤tObject->vao);
// bind vertex array aka a mesh wrapper
glBindVertexArray(currentObject->vao);
// Fill vertex Buffer
glBindBuffer(GL_ARRAY_BUFFER, currentObject->vbo);
glBufferData(GL_ARRAY_BUFFER, newvertices.size() * sizeof(float), newvertices.data(), GL_STATIC_DRAW);
glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, currentObject->ibo);
glBufferData(GL_ELEMENT_ARRAY_BUFFER, currentObject->twoMesh.indices.size() * sizeof(unsigned int), currentObject->twoMesh.indices.data(), GL_STATIC_DRAW);
// Enable first element as position
glVertexAttribPointer(0, 3, GL_FLOAT, GL_FALSE, 5 * sizeof(float), (void*)0);
glEnableVertexAttribArray(0);
// Enable third element as UVS
glVertexAttribPointer(1, 2, GL_FLOAT, GL_FALSE, 5 * sizeof(float), (void*)(3 * sizeof(float)));
glEnableVertexAttribArray(1);
// Unbind buffer
glBindVertexArray(0);
glBindBuffer(GL_ARRAY_BUFFER, 0);
}
|
5800d33a0b50b6548888beaa96db92d04013cabf
|
385cfbb27ee3bcc219ec2ac60fa22c2aa92ed8a0
|
/Tools/WindowViewPort/CreateFunction.cpp
|
2dbf511240c2d7dd17a97c41d89a90eb7919acf2
|
[
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] |
permissive
|
palestar/medusa
|
edbddf368979be774e99f74124b9c3bc7bebb2a8
|
7f8dc717425b5cac2315e304982993354f7cb27e
|
refs/heads/develop
| 2023-05-09T19:12:42.957288
| 2023-05-05T12:43:35
| 2023-05-05T12:43:35
| 59,434,337
| 35
| 18
|
MIT
| 2018-01-21T01:34:01
| 2016-05-22T21:05:17
|
C++
|
UTF-8
|
C++
| false
| false
| 1,472
|
cpp
|
CreateFunction.cpp
|
// CreateFunction.cpp : implementation file
//
#include "stdafx.h"
#include "stdafx.h"
#include "CreateFunction.h"
/////////////////////////////////////////////////////////////////////////////
// CCreateFunction dialog
CCreateFunction::CCreateFunction(CWnd* pParent /*=NULL*/)
: CDialog(CCreateFunction::IDD, pParent)
{
//{{AFX_DATA_INIT(CCreateFunction)
m_FunctionName = _T("");
m_Prototype = _T("");
//}}AFX_DATA_INIT
}
void CCreateFunction::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CCreateFunction)
DDX_Text(pDX, IDC_EDIT1, m_FunctionName);
DDX_Text(pDX, IDC_PROTOTYPE, m_Prototype);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CCreateFunction, CDialog)
//{{AFX_MSG_MAP(CCreateFunction)
ON_EN_CHANGE(IDC_EDIT1, OnUpdatePrototype)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CCreateFunction message handlers
BOOL CCreateFunction::OnInitDialog()
{
CDialog::OnInitDialog();
UpdateData( false );
OnUpdatePrototype();
return TRUE; // return TRUE unless you set the focus to a control
// EXCEPTION: OCX Property Pages should return FALSE
}
void CCreateFunction::OnUpdatePrototype()
{
// get data from dialog
UpdateData( true );
m_Prototype = m_Template;
m_Prototype.Replace( _T("$$function$$"), m_FunctionName );
// put data to dialog
UpdateData( false );
}
void CCreateFunction::OnOK()
{
CDialog::OnOK();
}
|
e8754d3ccf5c03343c4bdd440aaa57c3319abcfa
|
3449f43166b86b2c7500f19a94903590ae7c57ac
|
/WinStrings.h
|
b70e946e5481af688e692d70920dc37aa70eafe0
|
[] |
no_license
|
jambolo/WinStrings
|
4c3eb20d6fb78ed357e9ff759c65589ac155c0f9
|
0a56a6eca517a4c9e79dd55b0c6f0db5e31a457d
|
refs/heads/master
| 2021-01-13T03:11:51.254988
| 2019-07-05T20:10:34
| 2019-07-05T20:10:34
| 77,413,628
| 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 1,594
|
h
|
WinStrings.h
|
#if !defined( WINSTRINGS_H_INCLUDED )
#define WINSTRINGS_H_INCLUDED
#pragma once
/****************************************************************************
WinStrings.h
Copyright 2000, John J. Bolton
----------------------------------------------------------------------
$Header: //depot/WinStrings/WinStrings.h#2 $
$NoKeywords: $
****************************************************************************/
#ifndef __AFXWIN_H__
#error include 'stdafx.h' before including this file for PCH
#endif
/********************************************************************************************************************/
/* */
/* */
/********************************************************************************************************************/
class CWinStringsApp : public CWinApp
{
public:
CWinStringsApp();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL( CWinStringsApp )
public:
virtual BOOL InitInstance();
//}}AFX_VIRTUAL
// Implementation
//{{AFX_MSG( CWinStringsApp )
afx_msg void OnAppAbout();
// NOTE - the ClassWizard will add and remove member functions here.
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined( WINSTRINGS_H_INCLUDED )
|
ca46bd1f638a0406580f8e8cfe6adf19f1169cd9
|
e48c7e938aea5c012122db3baf0d83365f0facd6
|
/1718/Feburary/newbarn.cpp
|
38e7f19bacb5abc2f25c269cbfa6b346626e8fef
|
[] |
no_license
|
neeyanthkvk/USACO
|
b5912f46c251f3763fcbcb33c43bac5e5674e7b1
|
82a152661bc602eee22ab8f2a9cb2a72156e1893
|
refs/heads/master
| 2020-04-16T11:06:43.225088
| 2019-01-13T15:55:22
| 2019-01-13T15:55:22
| 115,893,423
| 1
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 1,559
|
cpp
|
newbarn.cpp
|
#include <bits/stdc++.h>
#include <ext/pb_ds/tree_policy.hpp>
#include <ext/pb_ds/assoc_container.hpp>
using namespace std;
using namespace __gnu_pbds;
typedef long long ll;
typedef vector<int> vi;
typedef pair<int, int> pii;
template <class T> using Tree = tree<T, null_type, less<T>, rb_tree_tag, tree_order_statistics_node_update>;
vi graph[100000];
const int MOD = 1000000007;
int currBarns = 0;
int d[100000];
int query(int start) {
memset(d,-1,sizeof(int) * currBarns);
queue<int> q;
int ans = 0;
d[start] = 0;
q.push(start);
while(q.size() != 0) {
int currIndex = q.front();
int dis = d[currIndex];
q.pop();
ans = ans>dis?ans:dis;
vi children = graph[currIndex];
for(int i = 0; i < children.size(); i++) {
int child = children[i];
if(d[child] != -1) continue;
q.push(child);
d[child] = dis + 1;
}
}
return ans;
}
int main() {
freopen("newbarn.in","r",stdin);
freopen("newbarn.out","w",stdout);
int N;
scanf("%d", &N);
for(int i = 0; i < N; i++) {
char c;
int a;
cin >> c >> a;
if(c == 'B') {
if(a != -1) {
a -= 1;
graph[a].push_back(currBarns);
graph[currBarns].push_back(a);
}
currBarns++;
}
else {
int ans = query(a-1);
cout << ans << "\n";
}
}
return 0;
}
// read!read!read!read!read!read!read!
// ll vs. int!
|
63b8a70c913867806f9657f59f439af2c41d61fa
|
85b690ce5b5952b6d886946e0bae43b975004a11
|
/Application/Input/openfoam-org/processor3/0.45/phi
|
8c21fff01cc51836f3907676cb33bf8b71686a13
|
[] |
no_license
|
pace-gt/PACE-ProvBench
|
c89820cf160c0577e05447d553a70b0e90d54d45
|
4c55dda0e9edb4a381712a50656855732af3e51a
|
refs/heads/master
| 2023-03-12T06:56:30.228126
| 2021-02-25T22:49:07
| 2021-02-25T22:49:07
| 257,307,245
| 1
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 50,143
|
phi
|
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 5.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class surfaceScalarField;
location "0.45";
object phi;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 3 -1 0 0 0 0];
internalField nonuniform List<scalar>
3782
(
-5.6032e-05
8.20676e-05
-6.04533e-05
7.69064e-05
-6.46462e-05
7.13639e-05
-6.8584e-05
6.54329e-05
-7.22423e-05
5.91201e-05
-7.56097e-05
5.24566e-05
-7.8686e-05
4.54888e-05
-8.14786e-05
3.82704e-05
-8.39962e-05
3.08527e-05
-8.62417e-05
2.32763e-05
-8.82044e-05
1.5566e-05
-8.98517e-05
7.73047e-06
-9.11219e-05
-2.31044e-07
-9.19223e-05
-8.30565e-06
-9.21429e-05
-1.64377e-05
-9.16784e-05
-2.45183e-05
-9.04516e-05
-3.23851e-05
-8.84291e-05
-3.9843e-05
-8.5627e-05
-4.66916e-05
-8.21139e-05
-5.27411e-05
-7.80094e-05
-5.78265e-05
-7.34757e-05
-6.18288e-05
-6.86967e-05
-6.47001e-05
-6.38516e-05
-6.6474e-05
-5.90944e-05
-6.72493e-05
-5.45414e-05
-6.71635e-05
-5.02683e-05
-6.63652e-05
-4.63142e-05
-6.49912e-05
-4.26896e-05
-6.31525e-05
-3.93864e-05
-6.09297e-05
-3.63862e-05
-5.83768e-05
-3.3667e-05
-5.55286e-05
-3.12075e-05
-5.24089e-05
-2.89887e-05
-4.90376e-05
-2.69935e-05
-4.5435e-05
-2.52047e-05
-4.16224e-05
-2.36019e-05
-3.76164e-05
-2.21586e-05
-3.34175e-05
-2.08419e-05
-2.89889e-05
-1.96203e-05
-2.42232e-05
-1.84915e-05
-1.88953e-05
-1.7543e-05
-1.2621e-05
-4.88317e-06
8.62857e-05
-4.98489e-05
9.02941e-05
-4.60127e-05
9.39918e-05
-4.1387e-05
-3.60412e-05
9.72962e-05
8.09404e-05
-5.38829e-05
8.47437e-05
-4.98159e-05
8.82178e-05
-4.48612e-05
-3.90968e-05
9.12735e-05
7.51789e-05
-5.76979e-05
7.87474e-05
-5.33844e-05
8.19687e-05
-4.80825e-05
-4.18778e-05
8.47497e-05
6.90022e-05
-6.12672e-05
7.23191e-05
-5.67013e-05
7.52788e-05
-5.10422e-05
-4.43832e-05
7.77842e-05
6.24333e-05
-6.45805e-05
6.55015e-05
-5.97695e-05
6.82163e-05
-5.37571e-05
-4.6643e-05
7.04761e-05
5.55188e-05
-6.76426e-05
5.83613e-05
-6.26121e-05
6.08743e-05
-5.627e-05
-4.87199e-05
6.29512e-05
4.83186e-05
-7.04724e-05
5.09766e-05
-6.52702e-05
5.33539e-05
-5.86473e-05
-5.07058e-05
5.53399e-05
4.08953e-05
-7.30973e-05
4.34215e-05
-6.77963e-05
4.57453e-05
-6.09711e-05
-5.27142e-05
4.77537e-05
3.33014e-05
-7.55461e-05
3.57501e-05
-7.0245e-05
3.81063e-05
-6.33272e-05
-5.48671e-05
4.02592e-05
2.55688e-05
-7.78385e-05
2.79831e-05
-7.26593e-05
3.04443e-05
-6.57885e-05
-5.72726e-05
3.28498e-05
1.77041e-05
-7.99766e-05
2.01045e-05
-7.50596e-05
2.27174e-05
-6.84014e-05
-6.00096e-05
2.54543e-05
9.6878e-06
-8.1934e-05
1.20598e-05
-7.74316e-05
1.48324e-05
-7.1174e-05
-6.31203e-05
1.79432e-05
1.47824e-06
-8.36433e-05
3.75325e-06
-7.97066e-05
6.62781e-06
-7.40485e-05
-6.6575e-05
1.00825e-05
-6.95938e-06
-8.49895e-05
-4.92004e-06
-8.1746e-05
-2.0975e-06
-7.68711e-05
-7.02174e-05
1.54494e-06
-1.5605e-05
-8.58222e-05
-1.40012e-05
-8.33497e-05
-1.14796e-05
-7.93928e-05
-7.37586e-05
-7.9384e-06
-2.4355e-05
-8.59856e-05
-2.341e-05
-8.42946e-05
-2.14901e-05
-8.13127e-05
-7.68158e-05
-1.84328e-05
-3.30186e-05
-8.53521e-05
-3.29293e-05
-8.43839e-05
-3.18921e-05
-8.23499e-05
-7.90153e-05
-2.96926e-05
-4.13503e-05
-8.38449e-05
-4.2255e-05
-8.34791e-05
-4.23189e-05
-8.22861e-05
-8.00439e-05
-4.12903e-05
-4.90901e-05
-8.14464e-05
-5.10579e-05
-8.15113e-05
-5.2369e-05
-8.0975e-05
-7.96467e-05
-5.27661e-05
-5.59822e-05
-7.82053e-05
-5.89979e-05
-7.84956e-05
-6.16024e-05
-7.83705e-05
-7.76748e-05
-6.35743e-05
-6.17906e-05
-7.42412e-05
-6.57372e-05
-7.4549e-05
-6.95379e-05
-7.45698e-05
-7.41754e-05
-7.30373e-05
-6.6333e-05
-6.9737e-05
-7.0995e-05
-6.9887e-05
-7.57411e-05
-6.98237e-05
-6.94358e-05
-8.04807e-05
-6.95259e-05
-6.49112e-05
-7.46292e-05
-6.47837e-05
-7.99757e-05
-6.44773e-05
-6.38923e-05
-8.55192e-05
-7.14046e-05
-5.99807e-05
-7.66734e-05
-5.95149e-05
-8.22677e-05
-5.88829e-05
-5.79949e-05
-8.81651e-05
-7.20987e-05
-5.51312e-05
-7.72971e-05
-5.43166e-05
-8.2841e-05
-5.33391e-05
-5.21194e-05
-8.87164e-05
-7.1793e-05
-5.05016e-05
-7.67468e-05
-4.93628e-05
-8.20233e-05
-4.80625e-05
-4.65331e-05
-8.76097e-05
-7.06858e-05
-4.61811e-05
-7.52855e-05
-4.47631e-05
-8.01615e-05
-4.31866e-05
-4.13956e-05
-8.5299e-05
-6.89586e-05
-4.22137e-05
-7.3152e-05
-4.05697e-05
-7.75654e-05
-3.87732e-05
-3.67784e-05
-8.21826e-05
-6.67573e-05
-3.86089e-05
-7.05349e-05
-3.67922e-05
-7.4477e-05
-3.48311e-05
-3.26889e-05
-7.85665e-05
-6.41851e-05
-3.53535e-05
-6.75657e-05
-3.34116e-05
-7.10618e-05
-3.1335e-05
-2.90948e-05
-7.46559e-05
-6.13077e-05
-3.24226e-05
-6.43246e-05
-3.03948e-05
-6.74169e-05
-2.82427e-05
-2.5944e-05
-7.05677e-05
-5.81637e-05
-2.97875e-05
-6.08544e-05
-2.77041e-05
-6.35897e-05
-2.55073e-05
-2.31797e-05
-6.6354e-05
-5.47756e-05
-2.74209e-05
-5.71752e-05
-2.53045e-05
-5.95973e-05
-2.30853e-05
-2.07493e-05
-6.20277e-05
-5.11598e-05
-2.52987e-05
-5.32985e-05
-2.31658e-05
-5.54441e-05
-2.09397e-05
-1.86092e-05
-5.75843e-05
-4.73332e-05
-2.34006e-05
-4.92359e-05
-2.1263e-05
-5.11346e-05
-1.9041e-05
-1.67249e-05
-5.30188e-05
-4.33156e-05
-2.17073e-05
-4.50041e-05
-1.95746e-05
-4.668e-05
-1.7365e-05
-1.50702e-05
-4.83348e-05
-3.91261e-05
-2.01977e-05
-4.0623e-05
-1.80777e-05
-4.20994e-05
-1.58887e-05
-1.36219e-05
-4.35476e-05
-3.47719e-05
-1.88432e-05
-3.61071e-05
-1.67426e-05
-3.74131e-05
-1.45826e-05
-1.23539e-05
-3.86812e-05
-3.02267e-05
-1.76054e-05
-3.14439e-05
-1.55254e-05
-3.2625e-05
-1.34016e-05
-1.12246e-05
-3.37544e-05
-2.539e-05
-1.64387e-05
-2.65507e-05
-1.43647e-05
-2.76804e-05
-1.22719e-05
-1.01579e-05
-2.8747e-05
-2.00194e-05
-1.53145e-05
-2.11873e-05
-1.31968e-05
-2.23712e-05
-1.1088e-05
-9.0113e-06
-2.35178e-05
-1.36425e-05
-1.4293e-05
-1.48033e-05
-1.2036e-05
-1.61103e-05
-9.78105e-06
-7.58627e-06
-1.75353e-05
-5.49141e-06
-6.28385e-06
-7.33343e-06
-8.73393e-06
0.000100437
-3.3213e-05
0.000102927
-2.51253e-05
0.00010473
-1.65933e-05
0.000105852
-7.89968e-06
0.000106329
6.57277e-07
0.000106222
8.76668e-06
0.000105622
1.61048e-05
0.000104642
2.23789e-05
0.000103411
2.73715e-05
0.000102057
3.09754e-05
0.000100688
3.32063e-05
9.93807e-05
3.41956e-05
9.81654e-05
3.41664e-05
9.70349e-05
3.33934e-05
9.59607e-05
3.21519e-05
9.49034e-05
3.06705e-05
9.39226e-05
2.90916e-05
9.29547e-05
2.75205e-05
9.2098e-05
2.59882e-05
9.15514e-05
2.37496e-05
9.03456e-05
2.70476e-05
8.945e-05
2.91478e-05
8.86925e-05
3.06023e-05
8.80209e-05
3.21745e-05
8.73671e-05
3.37346e-05
8.66587e-05
3.5327e-05
8.58336e-05
3.70991e-05
8.45587e-05
3.99677e-05
8.00856e-05
4.90007e-05
6.30907e-05
0.000102948
5.0047e-05
0.000162221
3.91395e-05
0.000211667
3.18287e-05
0.000241948
2.69704e-05
0.000252734
2.29313e-05
0.000253378
1.88818e-05
0.000251752
1.45717e-05
0.00025165
9.95911e-06
0.000254538
5.04523e-06
0.000261061
0.000269081
9.4105e-05
-3.60445e-05
9.62578e-05
-2.72781e-05
9.77105e-05
-1.80459e-05
9.84888e-05
-8.67795e-06
9.86531e-05
4.92977e-07
9.82866e-05
9.13316e-06
9.74985e-05
1.68929e-05
9.64257e-05
2.34517e-05
9.52207e-05
2.85764e-05
9.40295e-05
3.21666e-05
9.29702e-05
3.42656e-05
9.21165e-05
3.50493e-05
9.14827e-05
3.48001e-05
9.10144e-05
3.38617e-05
9.06107e-05
3.25556e-05
9.01833e-05
3.1098e-05
8.97236e-05
2.95513e-05
8.93356e-05
2.79084e-05
8.90758e-05
2.6248e-05
8.80192e-05
2.48062e-05
8.69089e-05
2.81579e-05
8.62148e-05
2.98419e-05
8.56105e-05
3.12066e-05
8.50672e-05
3.27178e-05
8.45113e-05
3.42905e-05
8.38736e-05
3.59647e-05
8.30429e-05
3.79298e-05
8.15248e-05
4.14858e-05
7.1398e-05
5.91275e-05
5.32321e-05
0.000121114
3.92027e-05
0.00017625
2.89005e-05
0.000221969
2.29481e-05
0.0002479
1.95514e-05
0.000256131
1.68875e-05
0.000256042
1.41188e-05
0.000254521
1.10137e-05
0.000254755
7.5619e-06
0.00025799
3.80968e-06
0.000264813
0.00027289
8.72472e-05
-3.85419e-05
8.90415e-05
-2.90725e-05
9.01254e-05
-1.91299e-05
9.05507e-05
-9.10318e-06
9.04022e-05
6.41414e-07
8.97805e-05
9.75491e-06
8.88096e-05
1.78638e-05
8.765e-05
2.46112e-05
8.6483e-05
2.97434e-05
8.54769e-05
3.31727e-05
8.47618e-05
3.49807e-05
8.44118e-05
3.53993e-05
8.44249e-05
3.4787e-05
8.46954e-05
3.35911e-05
8.50345e-05
3.22165e-05
8.52615e-05
3.0871e-05
8.53467e-05
2.94662e-05
8.54141e-05
2.7841e-05
8.57144e-05
2.59478e-05
8.40064e-05
2.65142e-05
8.31488e-05
2.90155e-05
8.26875e-05
3.03032e-05
8.22696e-05
3.16244e-05
8.18709e-05
3.31166e-05
8.14213e-05
3.47401e-05
8.0858e-05
3.6528e-05
7.98917e-05
3.88961e-05
7.71952e-05
4.41823e-05
5.92615e-05
7.70611e-05
4.19992e-05
0.000138377
2.77663e-05
0.000190483
1.8613e-05
0.000231123
1.42162e-05
0.000252297
1.22849e-05
0.000258062
1.09489e-05
0.000257378
9.41405e-06
0.000256056
7.48146e-06
0.000256688
5.16974e-06
0.000260302
2.56522e-06
0.000267418
0.000275456
7.99545e-05
-4.07122e-05
8.1403e-05
-3.0521e-05
8.21366e-05
-1.98634e-05
8.2239e-05
-9.2056e-06
8.18184e-05
1.06198e-06
8.09822e-05
1.05911e-05
7.98601e-05
1.89859e-05
7.86346e-05
2.58368e-05
7.7524e-05
3.0854e-05
7.67188e-05
3.39779e-05
7.63601e-05
3.53394e-05
7.65283e-05
3.52311e-05
7.72226e-05
3.40928e-05
7.82946e-05
3.25191e-05
7.94101e-05
3.1101e-05
8.02524e-05
3.00287e-05
8.07822e-05
2.89363e-05
8.0883e-05
2.77401e-05
8.09377e-05
2.58931e-05
7.95354e-05
2.79165e-05
7.91668e-05
2.93841e-05
7.89457e-05
3.05243e-05
7.87212e-05
3.18489e-05
7.8469e-05
3.33688e-05
7.81404e-05
3.50688e-05
7.7651e-05
3.70173e-05
7.63889e-05
4.01582e-05
6.76261e-05
5.29452e-05
4.51656e-05
9.95216e-05
2.86993e-05
0.000154843
1.57748e-05
0.000203408
8.36984e-06
0.000238528
5.70062e-06
0.000254967
5.24012e-06
0.000258522
5.18711e-06
0.000257431
4.83764e-06
0.000256405
4.0388e-06
0.000257486
2.83566e-06
0.000261505
1.3265e-06
0.000268927
0.000276782
7.23657e-05
-4.26018e-05
7.35234e-05
-3.16787e-05
7.39665e-05
-2.03065e-05
7.38208e-05
-9.05985e-06
7.32302e-05
1.65254e-06
7.22666e-05
1.15547e-05
7.10418e-05
2.02108e-05
6.97842e-05
2.70943e-05
6.87629e-05
3.18753e-05
6.81816e-05
3.45592e-05
6.81731e-05
3.53478e-05
6.88103e-05
3.45939e-05
7.01196e-05
3.27834e-05
7.19455e-05
3.06932e-05
7.38378e-05
2.92087e-05
7.50647e-05
2.88018e-05
7.61589e-05
2.78422e-05
7.66508e-05
2.72482e-05
7.55086e-05
2.70353e-05
7.50943e-05
2.83309e-05
7.50954e-05
2.93829e-05
7.50871e-05
3.05326e-05
7.50334e-05
3.19027e-05
7.4925e-05
3.34771e-05
7.47419e-05
3.52519e-05
7.42114e-05
3.75478e-05
7.12524e-05
4.31172e-05
5.28945e-05
7.13031e-05
3.10185e-05
0.000121398
1.47936e-05
0.000171068
3.54274e-06
0.000214659
-1.77322e-06
0.000243843
-2.54671e-06
0.00025574
-1.52412e-06
0.0002575
-3.31389e-07
0.000256239
4.55041e-07
0.000255619
7.42757e-07
0.000257199
6.11358e-07
0.000261636
1.02339e-07
0.000269436
0.000276884
6.4651e-05
-4.43017e-05
6.56249e-05
-3.26526e-05
6.58774e-05
-2.0559e-05
6.56175e-05
-8.80004e-06
6.50026e-05
2.26751e-06
6.40117e-05
1.25455e-05
6.27601e-05
2.14624e-05
6.15499e-05
2.83045e-05
6.07113e-05
3.2714e-05
6.04383e-05
3.48322e-05
6.08113e-05
3.49749e-05
6.18294e-05
3.35759e-05
6.34825e-05
3.11303e-05
6.57293e-05
2.84463e-05
6.81135e-05
2.68245e-05
6.89743e-05
2.79409e-05
6.98818e-05
2.69347e-05
7.08001e-05
2.63299e-05
7.06336e-05
2.72019e-05
7.08357e-05
2.81287e-05
7.10661e-05
2.91526e-05
7.12232e-05
3.03755e-05
7.13145e-05
3.18114e-05
7.13747e-05
3.34168e-05
7.1347e-05
3.52797e-05
7.0127e-05
3.87677e-05
5.75557e-05
5.56886e-05
3.47157e-05
9.41431e-05
1.56117e-05
0.000140502
6.18925e-07
0.00018606
-8.74838e-06
0.000224026
-1.16166e-05
0.000246712
-1.04018e-05
0.000254525
-7.91734e-06
0.000255015
-5.5339e-06
0.000253855
-3.676e-06
0.000253761
-2.36611e-06
0.000255889
-1.50928e-06
0.000260779
-1.24644e-06
0.000269173
0.000275638
5.69793e-05
-4.59411e-05
5.79198e-05
-3.3593e-05
5.815e-05
-2.07891e-05
5.79613e-05
-8.61135e-06
5.74569e-05
2.77191e-06
5.65297e-05
1.34727e-05
5.53611e-05
2.2631e-05
5.43853e-05
2.92802e-05
5.3959e-05
3.31403e-05
5.42661e-05
3.4525e-05
5.52737e-05
3.39672e-05
5.66986e-05
3.2151e-05
5.84603e-05
2.93687e-05
6.02665e-05
2.664e-05
6.16788e-05
2.54123e-05
6.43299e-05
2.52898e-05
6.57696e-05
2.5495e-05
6.60253e-05
2.60742e-05
6.64386e-05
2.67885e-05
6.68722e-05
2.76951e-05
6.72269e-05
2.87979e-05
6.74996e-05
3.01028e-05
6.77437e-05
3.15673e-05
6.80015e-05
3.3159e-05
6.77639e-05
3.55173e-05
5.96509e-05
4.68807e-05
3.95283e-05
7.58111e-05
1.79472e-05
0.000115724
-3.50362e-07
0.000158799
-1.39991e-05
0.000199709
-2.07694e-05
0.000230796
-2.0845e-05
0.000246787
-1.76691e-05
0.000251349
-1.38153e-05
0.000251162
-1.03362e-05
0.000250376
-7.49459e-06
0.000250919
-5.24553e-06
0.00025364
-3.48842e-06
0.000259022
-2.50182e-06
0.000268187
0.000273136
4.94937e-05
-4.76811e-05
5.05793e-05
-3.46786e-05
5.10128e-05
-2.12226e-05
5.10779e-05
-8.67652e-06
5.08512e-05
2.99864e-06
5.0173e-05
1.41509e-05
4.92917e-05
2.35123e-05
4.87751e-05
2.97967e-05
4.90861e-05
3.28294e-05
5.04662e-05
3.3145e-05
5.28398e-05
3.15936e-05
5.52724e-05
2.97184e-05
5.75875e-05
2.70536e-05
6.00904e-05
2.41371e-05
6.08596e-05
2.46431e-05
6.132e-05
2.48294e-05
6.17636e-05
2.50513e-05
6.23174e-05
2.55204e-05
6.28552e-05
2.62507e-05
6.33259e-05
2.72244e-05
6.37321e-05
2.83916e-05
6.41382e-05
2.96968e-05
6.46197e-05
3.10858e-05
6.47204e-05
3.30584e-05
5.75422e-05
4.26955e-05
4.04667e-05
6.39562e-05
1.91624e-05
9.71154e-05
-9.04553e-07
0.000135791
-1.77954e-05
0.00017569
-2.88839e-05
0.000210798
-3.18869e-05
0.000233799
-2.90672e-05
0.000243968
-2.41198e-05
0.000246402
-1.90765e-05
0.000246118
-1.46452e-05
0.000245945
-1.09397e-05
0.000247214
-7.85919e-06
0.000250559
-5.30966e-06
0.000256473
-3.61813e-06
0.000266495
0.000269518
4.22833e-05
-4.97052e-05
4.37433e-05
-3.61386e-05
4.46338e-05
-2.21131e-05
4.51791e-05
-9.22186e-06
4.54787e-05
2.69909e-06
4.53221e-05
1.43074e-05
4.49375e-05
2.38969e-05
4.50759e-05
2.96584e-05
4.64128e-05
3.14925e-05
4.9347e-05
3.02107e-05
5.36325e-05
2.73081e-05
5.72965e-05
2.60544e-05
5.93289e-05
2.50212e-05
5.83526e-05
2.51134e-05
5.81877e-05
2.4808e-05
5.84685e-05
2.45486e-05
5.8897e-05
2.46229e-05
5.93751e-05
2.50423e-05
5.98367e-05
2.57891e-05
6.02761e-05
2.6785e-05
6.07897e-05
2.7878e-05
6.15293e-05
2.89571e-05
6.19091e-05
3.0706e-05
5.42312e-05
4.07363e-05
3.70025e-05
5.99243e-05
1.5023e-05
8.59356e-05
-5.41543e-06
0.000117554
-2.35001e-05
0.000153876
-3.70522e-05
0.000189242
-4.29053e-05
0.000216651
-4.1359e-05
0.000232253
-3.59354e-05
0.000238544
-2.956e-05
0.000240026
-2.3577e-05
0.000240135
-1.83783e-05
0.000240746
-1.39569e-05
0.000242792
-1.0172e-05
0.000246774
-6.94205e-06
0.000253243
-4.56868e-06
0.000264122
0.000264949
3.53269e-05
-5.21823e-05
3.74049e-05
-3.82166e-05
3.89952e-05
-2.37034e-05
4.03002e-05
-1.05269e-05
4.1418e-05
1.58127e-06
4.20954e-05
1.363e-05
4.2454e-05
2.35384e-05
4.35404e-05
2.8572e-05
4.64928e-05
2.854e-05
5.16456e-05
2.5058e-05
5.59099e-05
2.30438e-05
5.77621e-05
2.42022e-05
5.66957e-05
2.60876e-05
5.60916e-05
2.57175e-05
5.60509e-05
2.48487e-05
5.62506e-05
2.43489e-05
5.65631e-05
2.43103e-05
5.69409e-05
2.46645e-05
5.73642e-05
2.53658e-05
5.79054e-05
2.62439e-05
5.87845e-05
2.69989e-05
5.90242e-05
2.87174e-05
5.00233e-05
3.97069e-05
3.30042e-05
5.77553e-05
1.15799e-05
8.13486e-05
-1.07968e-05
0.000108312
-3.08299e-05
0.000137587
-4.58418e-05
0.000168888
-5.35829e-05
0.000196983
-5.35533e-05
0.000216621
-4.83737e-05
0.000227073
-4.11497e-05
0.00023132
-3.38367e-05
0.000232713
-2.72218e-05
0.00023352
-2.14731e-05
0.000234997
-1.65037e-05
0.000237823
-1.21542e-05
0.000242425
-8.3581e-06
0.000249447
-5.34702e-06
0.000261111
0.000259602
2.85154e-05
-5.52434e-05
3.1405e-05
-4.11062e-05
3.39258e-05
-2.62242e-05
3.62347e-05
-1.28359e-05
3.85198e-05
-7.03829e-07
4.04336e-05
1.17163e-05
4.19434e-05
2.20284e-05
4.47876e-05
2.57279e-05
5.07898e-05
2.25378e-05
5.58431e-05
2.00047e-05
5.64851e-05
2.24018e-05
5.55199e-05
2.51674e-05
5.48897e-05
2.67177e-05
5.41287e-05
2.64785e-05
5.40493e-05
2.49281e-05
5.43062e-05
2.4092e-05
5.4637e-05
2.39795e-05
5.50809e-05
2.42207e-05
5.57373e-05
2.47093e-05
5.65814e-05
2.53997e-05
5.5644e-05
2.79363e-05
4.48337e-05
3.95277e-05
2.67406e-05
5.78001e-05
6.10163e-06
7.83943e-05
-1.51184e-05
0.000102569
-3.51771e-05
0.000128371
-5.16814e-05
0.000154091
-6.1623e-05
0.000178829
-6.387e-05
0.00019923
-5.99256e-05
0.000212677
-5.27188e-05
0.000219867
-4.46264e-05
0.000223228
-3.68987e-05
0.000224986
-2.99768e-05
0.000226598
-2.39044e-05
0.000228925
-1.8561e-05
0.000232479
-1.37902e-05
0.000237654
-9.54204e-06
0.000245198
-5.95769e-06
0.000257526
0.000253645
2.16875e-05
-5.89877e-05
2.55309e-05
-4.49495e-05
2.91984e-05
-2.98917e-05
3.26605e-05
-1.6298e-05
3.64486e-05
-4.49191e-06
4.01199e-05
8.04496e-06
4.31712e-05
1.89772e-05
4.85017e-05
2.03974e-05
5.3856e-05
1.71835e-05
5.42483e-05
1.96124e-05
5.37856e-05
2.28645e-05
5.36139e-05
2.53391e-05
5.33313e-05
2.70003e-05
5.22629e-05
2.7547e-05
5.14978e-05
2.56932e-05
5.2281e-05
2.33088e-05
5.31152e-05
2.31453e-05
5.39602e-05
2.33757e-05
5.47982e-05
2.38713e-05
5.2844e-05
2.73539e-05
3.98232e-05
4.09571e-05
1.98274e-05
5.95235e-05
-4.71993e-07
7.80995e-05
-2.11385e-05
9.90607e-05
-4.01183e-05
0.000121548
-5.57249e-05
0.000143978
-6.65194e-05
0.000164886
-7.08828e-05
0.000183193
-6.89739e-05
0.000197321
-6.28328e-05
0.000206536
-5.4831e-05
0.000211865
-4.65798e-05
0.000214976
-3.88514e-05
0.000217257
-3.18947e-05
0.000219642
-2.56985e-05
0.000222729
-2.01408e-05
0.000226922
-1.50836e-05
0.000232597
-1.04923e-05
0.000240607
-6.41328e-06
0.000253447
0.000247231
1.45277e-05
-6.34329e-05
1.93853e-05
-4.98072e-05
2.43456e-05
-3.4852e-05
2.90516e-05
-2.1004e-05
3.43794e-05
-9.81976e-06
4.03804e-05
2.04389e-06
4.57776e-05
1.358e-05
5.08735e-05
1.53016e-05
5.10813e-05
1.69757e-05
5.09255e-05
1.97682e-05
5.1145e-05
2.2645e-05
5.11998e-05
2.52844e-05
5.07138e-05
2.74863e-05
4.94422e-05
2.88186e-05
4.7431e-05
2.77043e-05
5.01059e-05
2.06339e-05
5.20513e-05
2.11998e-05
5.24302e-05
2.29969e-05
4.57403e-05
3.05611e-05
3.07948e-05
4.22995e-05
1.10288e-05
6.07231e-05
-8.36733e-06
7.89196e-05
-2.77824e-05
9.75145e-05
-4.55039e-05
0.000116782
-5.99973e-05
0.000136042
-7.01384e-05
0.000154119
-7.52407e-05
0.000169988
-7.50776e-05
0.00018303
-7.05498e-05
0.000192793
-6.34384e-05
0.000199424
-5.53772e-05
0.000203804
-4.73756e-05
0.000206975
-3.99018e-05
0.000209784
-3.30959e-05
0.000212836
-2.69266e-05
0.000216559
-2.12853e-05
0.00022128
-1.60579e-05
0.00022737
-1.12212e-05
0.00023577
-6.7323e-06
0.000248958
0.000240499
6.53442e-06
-6.84224e-05
1.23154e-05
-5.55882e-05
1.85415e-05
-4.10781e-05
2.43392e-05
-2.68017e-05
3.01544e-05
-1.56349e-05
3.72828e-05
-5.08451e-06
4.43628e-05
6.49998e-06
4.6647e-05
1.30174e-05
4.72677e-05
1.6355e-05
4.76638e-05
1.93721e-05
4.79335e-05
2.23752e-05
4.78349e-05
2.53831e-05
4.70008e-05
2.83203e-05
4.47041e-05
3.11154e-05
3.87072e-05
3.37012e-05
3.19127e-05
2.74284e-05
3.18692e-05
2.12434e-05
2.52626e-05
2.96035e-05
1.27349e-05
4.30889e-05
-3.49895e-06
5.85333e-05
-1.97077e-05
7.69318e-05
-3.60782e-05
9.52902e-05
-5.14012e-05
0.000112837
-6.42229e-05
0.000129604
-7.33997e-05
0.000145218
-7.83197e-05
0.000159039
-7.89637e-05
0.000170632
-7.5828e-05
0.000179894
-6.99616e-05
0.000186927
-6.26494e-05
0.000192112
-5.49136e-05
0.000196068
-4.73612e-05
0.000199422
-4.02727e-05
0.000202695
-3.37258e-05
0.000206289
-2.76839e-05
0.000210517
-2.20559e-05
0.000215653
-1.67513e-05
0.000222065
-1.17524e-05
0.000230771
-6.93772e-06
0.000244144
0.000233561
-2.75035e-06
-7.36105e-05
3.63178e-06
-6.19704e-05
1.08158e-05
-4.82622e-05
1.76654e-05
-3.36513e-05
2.35579e-05
-2.15274e-05
3.039e-05
-1.19166e-05
3.85371e-05
-1.64706e-06
4.15774e-05
9.97718e-06
4.2945e-05
1.49873e-05
4.35881e-05
1.8729e-05
4.3823e-05
2.21404e-05
4.35716e-05
2.56344e-05
4.26805e-05
2.92114e-05
4.09251e-05
3.28708e-05
3.81315e-05
3.64947e-05
2.79824e-05
3.75775e-05
1.62228e-05
3.30029e-05
2.59212e-06
4.32342e-05
-1.25289e-05
5.82099e-05
-2.87342e-05
7.47387e-05
-4.37947e-05
9.19923e-05
-5.71116e-05
0.000108607
-6.81354e-05
0.000123861
-7.61349e-05
0.000137604
-8.05936e-05
0.000149677
-8.14806e-05
0.000159926
-7.92087e-05
0.00016836
-7.44785e-05
0.000175164
-6.81567e-05
0.000180605
-6.10746e-05
0.00018503
-5.38407e-05
0.000188834
-4.68137e-05
0.000192395
-4.01614e-05
0.000196043
-3.39255e-05
0.000200053
-2.80704e-05
0.000204662
-2.25222e-05
0.000210104
-1.72098e-05
0.000216752
-1.21162e-05
0.000225678
-7.05378e-06
0.000239081
0.000226507
-1.35653e-05
-7.8478e-05
-7.15837e-06
-6.83772e-05
6.02577e-07
-5.60231e-05
8.66342e-06
-4.17122e-05
1.51822e-05
-2.80463e-05
2.14334e-05
-1.81678e-05
2.93012e-05
-9.51488e-06
3.55223e-05
3.75606e-06
3.74034e-05
1.31063e-05
3.83253e-05
1.78071e-05
3.85998e-05
2.18658e-05
3.83411e-05
2.58932e-05
3.75454e-05
3.00071e-05
3.6185e-05
3.42312e-05
3.40595e-05
3.86202e-05
2.79631e-05
4.36739e-05
9.09466e-06
5.18714e-05
-1.10687e-05
6.33976e-05
-2.97321e-05
7.68733e-05
-4.61996e-05
9.12061e-05
-5.98282e-05
0.000105621
-7.03768e-05
0.000119156
-7.77596e-05
0.000131244
-8.19059e-05
0.00014175
-8.29348e-05
0.000150706
-8.12374e-05
0.000158228
-7.73909e-05
0.000164514
-7.20324e-05
0.000169805
-6.57741e-05
0.000174347
-5.91258e-05
0.000178382
-5.24457e-05
0.000182154
-4.59475e-05
0.000185897
-3.97324e-05
0.000189828
-3.38212e-05
0.000194142
-2.81817e-05
0.000199023
-2.2754e-05
0.000204677
-1.74821e-05
0.000211481
-1.23458e-05
0.000220541
-7.1032e-06
0.000233839
0.000219404
-2.56697e-05
-8.25009e-05
-1.98821e-05
-7.41648e-05
-1.23841e-05
-6.35212e-05
-3.2847e-06
-5.08116e-05
5.50315e-06
-3.68341e-05
1.23881e-05
-2.50528e-05
1.90413e-05
-1.6168e-05
2.75749e-05
-4.77764e-06
3.0539e-05
1.01423e-05
3.17685e-05
1.65775e-05
3.21622e-05
2.14721e-05
3.20486e-05
2.60069e-05
3.15325e-05
3.05231e-05
3.0533e-05
3.52307e-05
2.84172e-05
4.0736e-05
2.00635e-05
5.20276e-05
-1.52994e-06
7.34649e-05
-2.36883e-05
8.5556e-05
-4.29273e-05
9.61123e-05
-5.83862e-05
0.000106665
-6.99092e-05
0.000117144
-7.7676e-05
0.000126922
-8.20283e-05
0.000135596
-8.33822e-05
0.000143104
-8.22314e-05
0.000149555
-7.91275e-05
0.000155124
-7.46168e-05
0.000160003
-6.91852e-05
0.000164373
-6.32361e-05
0.000168398
-5.70804e-05
0.000172226
-5.09333e-05
0.000176007
-4.49256e-05
0.000179889
-3.91185e-05
0.000184021
-3.35206e-05
0.000188544
-2.81028e-05
0.000193605
-2.2816e-05
0.00019939
-1.76149e-05
0.000206279
-1.24731e-05
0.0002154
-7.10513e-06
0.000228471
0.000212299
-3.85724e-05
-8.52189e-05
-3.39362e-05
-7.8801e-05
-2.72237e-05
-7.02337e-05
-1.84351e-05
-5.96002e-05
-7.86768e-06
-4.74015e-05
1.97826e-06
-3.48988e-05
9.7628e-06
-2.39525e-05
1.73082e-05
-1.23231e-05
2.24615e-05
4.98899e-06
2.38147e-05
1.52243e-05
2.4503e-05
2.07838e-05
2.46718e-05
2.58381e-05
2.46674e-05
3.05275e-05
2.42636e-05
3.56345e-05
1.94487e-05
4.55509e-05
3.15431e-06
6.83219e-05
-1.82902e-05
9.49095e-05
-3.86432e-05
0.000105909
-5.53691e-05
0.000112838
-6.79464e-05
0.000119242
-7.64575e-05
0.000125655
-8.13262e-05
0.000131791
-8.31492e-05
0.000137419
-8.25472e-05
0.000142502
-8.01006e-05
0.000147109
-7.63212e-05
0.000151345
-7.1634e-05
0.000155316
-6.63759e-05
0.000159115
-6.08064e-05
0.000162828
-5.51183e-05
0.000166538
-4.9445e-05
0.000170334
-4.38678e-05
0.000174312
-3.84234e-05
0.000178576
-3.31117e-05
0.000183232
-2.7906e-05
0.000188399
-2.2765e-05
0.000194249
-1.76499e-05
0.000201164
-1.25267e-05
0.000210276
-7.07377e-06
0.000223018
0.000205225
-5.18064e-05
-8.61786e-05
-4.89983e-05
-8.16091e-05
-4.4015e-05
-7.52169e-05
-3.66413e-05
-6.6974e-05
-2.69957e-05
-5.70471e-05
-1.61266e-05
-4.57679e-05
-7.30954e-06
-3.27696e-05
-6.55856e-07
-1.89768e-05
9.10808e-06
-4.77496e-06
1.46949e-05
9.63749e-06
1.59754e-05
1.95034e-05
1.66787e-05
2.51348e-05
1.67559e-05
3.04502e-05
1.53405e-05
3.70499e-05
3.1513e-06
5.77401e-05
-2.07075e-05
9.21807e-05
-4.04567e-05
0.000114659
-5.62183e-05
0.000121671
-6.81299e-05
0.00012475
-7.63599e-05
0.000127472
-8.12053e-05
0.0001305
-8.31789e-05
0.000133765
-8.28822e-05
0.000137123
-8.08784e-05
0.000140498
-7.76404e-05
0.000143871
-7.35432e-05
0.000147248
-6.88742e-05
0.000150647
-6.38506e-05
0.000154092
-5.86353e-05
0.000157613
-5.33484e-05
0.000161251
-4.80728e-05
0.000165058
-4.28579e-05
0.000169097
-3.77232e-05
0.000173441
-3.26621e-05
0.000178171
-2.76489e-05
0.000183386
-2.2647e-05
0.000189247
-1.76214e-05
0.000196139
-1.2529e-05
0.000205184
-7.0179e-06
0.000217507
0.000198207
-6.4731e-05
-8.50219e-05
-6.44183e-05
-8.19218e-05
-6.22683e-05
-7.73669e-05
-5.799e-05
-7.12522e-05
-5.15819e-05
-6.34552e-05
-4.37452e-05
-5.36046e-05
-3.57316e-05
-4.07832e-05
-2.74949e-05
-2.72135e-05
-1.71068e-05
-1.51631e-05
-2.54669e-06
-4.92263e-06
6.73802e-06
1.02187e-05
8.10846e-06
2.37644e-05
1.27146e-06
3.72872e-05
-1.63064e-05
5.46278e-05
-4.04873e-05
8.1921e-05
-5.84776e-05
0.000110171
-6.86452e-05
0.000124826
-7.59676e-05
0.000128993
-8.11307e-05
0.000129913
-8.41298e-05
0.000130471
-8.51031e-05
0.000131474
-8.43652e-05
0.000133027
-8.22886e-05
0.000135046
-7.9217e-05
0.000137426
-7.54313e-05
0.000140085
-7.11495e-05
0.000142966
-6.65372e-05
0.000146034
-6.17198e-05
0.000149274
-5.67929e-05
0.000152686
-5.1827e-05
0.000156285
-4.68703e-05
0.000160101
-4.19493e-05
0.000164176
-3.707e-05
0.000168562
-3.22201e-05
0.000173321
-2.73736e-05
0.000178539
-2.24964e-05
0.00018437
-1.7555e-05
0.000191197
-1.24958e-05
0.000200125
-6.94121e-06
0.000211952
0.000191266
-7.63763e-05
-8.16829e-05
-7.88518e-05
-7.94462e-05
-8.02062e-05
-7.60125e-05
-8.02494e-05
-7.12091e-05
-7.89136e-05
-6.4791e-05
-7.61496e-05
-5.63685e-05
-7.15189e-05
-4.54139e-05
-6.56448e-05
-3.30875e-05
-6.01354e-05
-2.06724e-05
-5.67096e-05
-8.34845e-06
-5.36962e-05
7.20524e-06
-5.63968e-05
2.6465e-05
-6.63628e-05
4.72532e-05
-8.06256e-05
6.88905e-05
-9.18309e-05
9.31264e-05
-9.55409e-05
0.000113881
-9.51868e-05
0.000124472
-9.40434e-05
0.00012785
-9.26264e-05
0.000128496
-9.07632e-05
0.000128608
-8.83246e-05
0.000129035
-8.53105e-05
0.000130013
-8.17976e-05
0.000131533
-7.78869e-05
0.000133516
-7.36753e-05
0.000135873
-6.92465e-05
0.000138537
-6.46702e-05
0.000141458
-6.00034e-05
0.000144608
-5.52919e-05
0.000147974
-5.057e-05
0.000151563
-4.58596e-05
0.000155391
-4.11692e-05
0.000159486
-3.64937e-05
0.000163887
-3.18155e-05
0.000168643
-2.71072e-05
0.000173831
-2.23357e-05
0.000179598
-1.74669e-05
0.000186329
-1.2436e-05
0.000195094
-6.84329e-06
0.000206359
0.000184423
-8.56424e-05
-7.65212e-05
-9.05174e-05
-7.45713e-05
-9.49616e-05
-7.15683e-05
-9.88541e-05
-6.73165e-05
-0.000102088
-6.15566e-05
-0.000104488
-5.39692e-05
-0.000105527
-4.43748e-05
-0.000105479
-3.3135e-05
-0.000105608
-2.05444e-05
-0.000107639
-6.31666e-06
-0.000111118
1.06837e-05
-0.000115401
3.07479e-05
-0.000120407
5.22593e-05
-0.000125245
7.3729e-05
-0.000125678
9.35589e-05
-0.000120538
0.000108741
-0.000113391
0.000117326
-0.000106632
0.00012109
-0.000100717
0.000122581
-9.54662e-05
0.000123358
-9.0619e-05
0.000124188
-8.59772e-05
0.000125371
-8.14207e-05
0.000126977
-7.68863e-05
0.000128981
-7.23459e-05
0.000131333
-6.77918e-05
0.000133983
-6.32277e-05
0.000136894
-5.8662e-05
0.000140042
-5.41045e-05
0.000143417
-4.95622e-05
0.000147021
-4.50367e-05
0.000150865
-4.05222e-05
0.000154971
-3.60044e-05
0.000159369
-3.14609e-05
0.0001641
-2.68624e-05
0.000169233
-2.21757e-05
0.000174912
-1.73646e-05
0.000181518
-1.23519e-05
0.000190081
-6.721e-06
0.000200728
0.000177702
-9.18767e-05
-7.01638e-05
-9.8328e-05
-6.812e-05
-0.000104785
-6.51114e-05
-0.000111151
-6.09503e-05
-0.000117301
-5.54064e-05
-0.000123036
-4.82344e-05
-0.000128124
-3.92868e-05
-0.00013267
-2.85891e-05
-0.00013708
-1.61339e-05
-0.000141703
-1.69447e-06
-0.000146001
1.49824e-05
-0.000148879
3.36251e-05
-0.000149573
5.2954e-05
-0.000147288
7.14435e-05
-0.000141228
8.74991e-05
-0.00013211
9.96224e-05
-0.000122184
0.0001074
-0.000112988
0.000111894
-0.000104943
0.000114536
-9.79578e-05
0.000116373
-9.17899e-05
0.00011802
-8.6201e-05
0.000119782
-8.10048e-05
0.00012178
-7.60705e-05
0.000124047
-7.13109e-05
0.000126573
-6.66704e-05
0.000129343
-6.21142e-05
0.000132338
-5.76206e-05
0.000135548
-5.31747e-05
0.000138971
-4.87644e-05
0.00014261
-4.43763e-05
0.000146477
-3.99937e-05
0.000150589
-3.55951e-05
0.00015497
-3.11539e-05
0.000159658
-2.66391e-05
0.000164718
-2.20166e-05
0.000170289
-1.72474e-05
0.000176748
-1.22407e-05
0.000185075
-6.57004e-06
0.000195058
0.000171132
-9.50696e-05
-6.32593e-05
-0.000102254
-6.09358e-05
-0.000109645
-5.77203e-05
-0.000117147
-5.34486e-05
-0.000124621
-4.79318e-05
-0.000131878
-4.09781e-05
-0.000138715
-3.24492e-05
-0.00014502
-2.22844e-05
-0.000150707
-1.04463e-05
-0.000155505
3.10269e-06
-0.000158773
1.82512e-05
-0.00015964
3.44922e-05
-0.000157534
5.08478e-05
-0.000152256
6.61655e-05
-0.000144139
7.93823e-05
-0.000134267
8.97503e-05
-0.000124071
9.72042e-05
-0.000114531
0.000102354
-0.00010601
0.000106015
-9.8506e-05
0.000108868
-9.18598e-05
0.000111374
-8.58804e-05
0.000113803
-8.03971e-05
0.000116297
-7.52755e-05
0.000118925
-7.04157e-05
0.000121714
-6.57463e-05
0.000124673
-6.12157e-05
0.000127807
-5.67865e-05
0.000131119
-5.24298e-05
0.000134614
-4.8121e-05
0.000138302
-4.3837e-05
0.000142193
-3.95535e-05
0.000146305
-3.5244e-05
0.000150661
-3.08789e-05
0.000155293
-2.6426e-05
0.000160265
-2.18501e-05
0.000165713
-1.71084e-05
0.000172007
-1.20962e-05
0.000180062
-6.38649e-06
0.000189348
0.000164745
-9.56371e-05
-5.63386e-05
-0.000102883
-5.36902e-05
-0.000110376
-5.02271e-05
-0.000118008
-4.58168e-05
-0.000125625
-4.0314e-05
-0.000133028
-3.3576e-05
-0.00013998
-2.54966e-05
-0.000146239
-1.60255e-05
-0.000151516
-5.16892e-06
-0.000155408
6.99411e-06
-0.000157371
2.0214e-05
-0.000156881
3.40028e-05
-0.000153684
4.76503e-05
-0.000147902
6.03835e-05
-0.000140062
7.15425e-05
-0.000131044
8.07326e-05
-0.000121787
8.79473e-05
-0.000112954
9.35199e-05
-0.000104854
9.79157e-05
-9.75503e-05
0.000101565
-9.09703e-05
0.000104794
-8.49936e-05
0.000107826
-7.94957e-05
0.000110799
-7.43681e-05
0.000113797
-6.95227e-05
0.000116868
-6.48907e-05
0.000120041
-6.04182e-05
0.000123335
-5.60626e-05
0.000126764
-5.17889e-05
0.000130341
-4.75663e-05
0.000134079
-4.33663e-05
0.000137993
-3.91602e-05
0.000142099
-3.49189e-05
0.000146419
-3.06111e-05
0.000150986
-2.62039e-05
0.000155858
-2.16615e-05
0.000161171
-1.69365e-05
0.000167282
-1.19107e-05
0.000175036
-6.16817e-06
0.000183606
0.000158577
-9.41808e-05
-4.97675e-05
-0.000101043
-4.68282e-05
-0.00010811
-4.31598e-05
-0.000115264
-3.86632e-05
-0.000122343
-3.32347e-05
-0.000129142
-2.67774e-05
-0.000135415
-1.92233e-05
-0.000140888
-1.05524e-05
-0.00014524
-8.17376e-07
-0.000148122
9.87611e-06
-0.000149156
2.12481e-05
-0.000148067
3.29144e-05
-0.000144796
4.43793e-05
-0.000139552
5.51392e-05
-0.000132794
6.47846e-05
-0.000125146
7.30845e-05
-0.000117227
8.00289e-05
-0.0001095
8.57921e-05
-0.000102221
9.06369e-05
-9.54859e-05
9.48297e-05
-8.92874e-05
9.85954e-05
-8.35669e-05
0.000102105
-7.82485e-05
0.000105481
-7.32568e-05
0.000108806
-6.85246e-05
0.000112136
-6.39947e-05
0.000115511
-5.96189e-05
0.000118959
-5.53562e-05
0.000122501
-5.11711e-05
0.000126156
-4.70312e-05
0.000129939
-4.29062e-05
0.000133868
-3.87662e-05
0.000137959
-3.45811e-05
0.000142234
-3.03195e-05
0.000146724
-2.59489e-05
0.000151487
-2.14326e-05
0.000156655
-1.6719e-05
0.000162568
-1.16772e-05
0.000169995
-5.91562e-06
0.000177844
0.000152662
-9.13095e-05
-4.37569e-05
-9.75439e-05
-4.05939e-05
-0.000103913
-3.6791e-05
-0.000110296
-3.22797e-05
-0.000116539
-2.69922e-05
-0.000122447
-2.08695e-05
-0.000127793
-1.38766e-05
-0.000132327
-6.01915e-06
-0.000135786
2.64239e-06
-0.000137888
1.1978e-05
-0.000138408
2.17675e-05
-0.00013721
3.1717e-05
-0.000134319
4.14877e-05
-0.00012993
5.07506e-05
-0.00012439
5.92445e-05
-0.000118125
6.68192e-05
-0.000111549
7.34527e-05
-0.000104987
7.923e-05
-9.86464e-05
8.42968e-05
-9.26321e-05
8.88154e-05
-8.69736e-05
9.29369e-05
-8.16562e-05
9.67878e-05
-7.66427e-05
0.000100467
-7.18879e-05
0.000104051
-6.73458e-05
0.000107594
-6.29735e-05
0.000111139
-5.87319e-05
0.000114717
-5.45853e-05
0.000118354
-5.05012e-05
0.000122071
-4.64489e-05
0.000125887
-4.23991e-05
0.000129818
-3.83226e-05
0.000133883
-3.41901e-05
0.000138102
-2.99717e-05
0.000142506
-2.56355e-05
0.000147151
-2.11449e-05
0.000152164
-1.64438e-05
0.000157867
-1.13911e-05
0.000164942
-5.63253e-06
0.000172085
0.000147029
-8.75432e-05
-3.83963e-05
-9.30544e-05
-3.50827e-05
-9.86299e-05
-3.12155e-05
-0.000104158
-2.67514e-05
-0.000109499
-2.16509e-05
-0.000114486
-1.58831e-05
-0.000118926
-9.4364e-06
-0.000122614
-2.33088e-06
-0.000125345
5.37285e-06
-0.000126925
1.35584e-05
-0.000127214
2.20561e-05
-0.00012615
3.06529e-05
-0.000123779
3.91171e-05
-0.000120259
4.72303e-05
-0.000115833
5.48185e-05
-0.00011079
6.17763e-05
-0.000105411
6.80738e-05
-9.99274e-05
7.37465e-05
-9.4503e-05
7.88724e-05
-8.92366e-05
8.3549e-05
-8.41754e-05
8.78757e-05
-7.93308e-05
9.19432e-05
-7.46923e-05
9.5829e-05
-7.02374e-05
9.95961e-05
-6.59384e-05
0.000103295
-6.17657e-05
0.000106966
-5.76898e-05
0.000110641
-5.36819e-05
0.000114346
-4.97144e-05
0.000118104
-4.576e-05
0.000121933
-4.17921e-05
0.00012585
-3.77838e-05
0.000129875
-3.37082e-05
0.000134026
-2.95372e-05
0.000138335
-2.52407e-05
0.000142854
-2.07821e-05
0.000147705
-1.61015e-05
0.000153186
-1.10513e-05
0.000159892
-5.32546e-06
0.00016636
0.000141704
-8.3272e-05
-3.36908e-05
-8.80625e-05
-3.02922e-05
-9.28595e-05
-2.64185e-05
-9.75655e-05
-2.20454e-05
-0.000102062
-1.7154e-05
-0.000106213
-1.17328e-05
-0.000109864
-5.78499e-06
-0.000112859
6.63805e-07
-0.000115043
7.55743e-06
-0.000116287
1.48023e-05
-0.000116501
2.22703e-05
-0.000115658
2.98097e-05
-0.000113802
3.72609e-05
-0.000111047
4.44751e-05
-0.000107561
5.13324e-05
-0.000103539
5.77542e-05
-9.91729e-05
6.37082e-05
-9.46299e-05
6.92035e-05
-9.00368e-05
7.42792e-05
-8.54805e-05
7.89927e-05
-8.10129e-05
8.34081e-05
-7.66587e-05
8.75891e-05
-7.24236e-05
9.15938e-05
-6.83007e-05
9.54733e-05
-6.42758e-05
9.92703e-05
-6.03305e-05
0.000103021
-5.6444e-05
0.000106755
-5.25944e-05
0.000110497
-4.87595e-05
0.000114269
-4.49163e-05
0.000118089
-4.10418e-05
0.000121976
-3.71125e-05
0.000125945
-3.31042e-05
0.000130018
-2.89915e-05
0.000134222
-2.47463e-05
0.000138609
-2.03324e-05
0.000143292
-1.5687e-05
0.000148541
-1.06604e-05
0.000154865
-5.00286e-06
0.000160702
0.000136701
-7.87523e-05
-2.95944e-05
-8.28811e-05
-2.61634e-05
-8.69739e-05
-2.23257e-05
-9.09491e-05
-1.80702e-05
-9.47112e-05
-1.33919e-05
-9.8152e-05
-8.29194e-06
-0.000101155
-2.78191e-06
-0.000103603
3.11161e-06
-0.000105385
9.33936e-06
-0.000106411
1.5828e-05
-0.000106622
2.24822e-05
-0.000106006
2.91937e-05
-0.000104597
3.58512e-05
-0.000102472
4.23507e-05
-9.97466e-05
4.86067e-05
-9.65515e-05
5.4559e-05
-9.30197e-05
6.01764e-05
-8.92708e-05
6.54546e-05
-8.54026e-05
7.04111e-05
-8.1488e-05
7.50781e-05
-7.75765e-05
7.94966e-05
-7.36977e-05
8.37102e-05
-6.98657e-05
8.77619e-05
-6.60836e-05
9.16911e-05
-6.23463e-05
9.5533e-05
-5.86439e-05
9.93184e-05
-5.49627e-05
0.000103074
-5.12872e-05
0.000106821
-4.76e-05
0.000110582
-4.38829e-05
0.000114372
-4.01167e-05
0.000118209
-3.62813e-05
0.00012211
-3.23558e-05
0.000126092
-2.83177e-05
0.000130184
-2.41407e-05
0.000134432
-1.97896e-05
0.00013894
-1.51999e-05
0.000143951
-1.02245e-05
0.00014989
-4.6737e-06
0.000155151
0.000132027
-7.41255e-05
-2.60366e-05
-7.76769e-05
-2.26121e-05
-8.11641e-05
-1.88384e-05
-8.45208e-05
-1.47135e-05
-8.76716e-05
-1.02411e-05
-9.05338e-05
-5.42976e-06
-9.30202e-05
-2.95467e-07
-9.50447e-05
5.13606e-06
-9.65279e-05
1.08226e-05
-9.74065e-05
1.67066e-05
-9.76414e-05
2.27171e-05
-9.72237e-05
2.8776e-05
-9.61765e-05
3.48039e-05
-9.45524e-05
4.07267e-05
-9.24272e-05
4.64815e-05
-8.98899e-05
5.20217e-05
-8.70324e-05
5.73189e-05
-8.39408e-05
6.23631e-05
-8.06894e-05
6.71597e-05
-7.73373e-05
7.1726e-05
-7.3928e-05
7.60874e-05
-7.04913e-05
8.02735e-05
-6.70448e-05
8.43154e-05
-6.35968e-05
8.8243e-05
-6.01482e-05
9.20845e-05
-5.6695e-05
9.58652e-05
-5.32291e-05
9.96077e-05
-4.974e-05
0.000103332
-4.62147e-05
0.000107057
-4.26393e-05
0.000110797
-3.89981e-05
0.000114568
-3.52747e-05
0.000118386
-3.14511e-05
0.000122269
-2.75075e-05
0.00012624
-2.34197e-05
0.000130344
-1.91534e-05
0.000134674
-1.4644e-05
0.000139442
-9.75182e-06
0.000144998
-4.34614e-06
0.000149746
0.000127681
-6.94489e-05
-2.29417e-05
-7.25112e-05
-1.95498e-05
-7.54932e-05
-1.58565e-05
-7.83416e-05
-1.18651e-05
-8.09979e-05
-7.58482e-06
-8.33993e-05
-3.02836e-06
-8.54815e-05
1.7868e-06
-8.7181e-05
6.83553e-06
-8.84408e-05
1.20824e-05
-8.92156e-05
1.74814e-05
-8.94777e-05
2.29791e-05
-8.92196e-05
2.8518e-05
-8.84558e-05
3.40401e-05
-8.72203e-05
3.94912e-05
-8.55629e-05
4.48241e-05
-8.35437e-05
5.00024e-05
-8.12264e-05
5.50016e-05
-7.86728e-05
5.98095e-05
-7.59386e-05
6.44255e-05
-7.30705e-05
6.88578e-05
-7.01052e-05
7.31221e-05
-6.70698e-05
7.72381e-05
-6.39823e-05
8.12279e-05
-6.08532e-05
8.5114e-05
-5.76872e-05
8.89184e-05
-5.44838e-05
9.26618e-05
-5.1239e-05
9.6363e-05
-4.79461e-05
0.000100039
-4.4596e-05
0.000103706
-4.11781e-05
0.000107379
-3.768e-05
0.00011107
-3.40883e-05
0.000114795
-3.03878e-05
0.000118568
-2.65609e-05
0.000122413
-2.25855e-05
0.000126369
-1.84284e-05
0.000130517
-1.40268e-05
0.00013504
-9.25159e-06
0.000140222
-4.02657e-06
0.00014452
0.000123654
-6.47288e-05
-2.02406e-05
-6.73818e-05
-1.68968e-05
-6.99476e-05
-1.32906e-05
-7.23839e-05
-9.42877e-06
-7.46453e-05
-5.32336e-06
-7.66844e-05
-9.89273e-07
-7.8453e-05
3.55537e-06
-7.99042e-05
8.28674e-06
-8.09961e-05
1.31743e-05
-8.16957e-05
1.81811e-05
-8.19823e-05
2.32657e-05
-8.1849e-05
2.83847e-05
-8.13037e-05
3.34948e-05
-8.03678e-05
3.85553e-05
-7.90738e-05
4.35302e-05
-7.74621e-05
4.83907e-05
-7.55768e-05
5.31163e-05
-7.34621e-05
5.76948e-05
-7.11593e-05
6.21227e-05
-6.87047e-05
6.64032e-05
-6.61281e-05
7.05455e-05
-6.34527e-05
7.45628e-05
-6.06955e-05
7.84706e-05
-5.78673e-05
8.22859e-05
-5.49744e-05
8.60255e-05
-5.20186e-05
8.9706e-05
-4.89988e-05
9.33431e-05
-4.59107e-05
9.69513e-05
-4.27483e-05
0.000100544
-3.95036e-05
0.000104134
-3.61671e-05
0.000107734
-3.27274e-05
0.000111355
-2.91718e-05
0.000115013
-2.54847e-05
0.000118726
-2.16456e-05
0.00012253
-1.76231e-05
0.000126494
-1.33576e-05
0.000130775
-8.7328e-06
0.000135598
-3.7193e-06
0.000139507
0.000119935
-5.99488e-05
-1.78761e-05
-6.22577e-05
-1.45879e-05
-6.44797e-05
-1.10687e-05
-6.65813e-05
-7.32721e-06
-6.85273e-05
-3.37736e-06
-7.02814e-05
7.64859e-07
-7.18069e-05
5.08083e-06
-7.30683e-05
9.54816e-06
-7.4034e-05
1.41401e-05
-7.46792e-05
1.88262e-05
-7.49873e-05
2.35738e-05
-7.49518e-05
2.83493e-05
-7.45762e-05
3.31192e-05
-7.38733e-05
3.78524e-05
-7.28642e-05
4.25211e-05
-7.15758e-05
4.71023e-05
-7.00386e-05
5.1579e-05
-6.82841e-05
5.59403e-05
-6.63427e-05
6.01813e-05
-6.42421e-05
6.43026e-05
-6.20061e-05
6.83095e-05
-5.96538e-05
7.22105e-05
-5.72001e-05
7.60169e-05
-5.46553e-05
7.97411e-05
-5.2026e-05
8.33962e-05
-4.93153e-05
8.69953e-05
-4.65234e-05
9.05512e-05
-4.36482e-05
9.40761e-05
-4.06856e-05
9.75814e-05
-3.76294e-05
0.000101078
-3.44722e-05
0.000104576
-3.12045e-05
0.000108087
-2.78152e-05
0.000111623
-2.42905e-05
0.000115201
-2.06115e-05
0.000118851
-1.67487e-05
0.000122632
-1.26467e-05
0.000126673
-8.20338e-06
0.000131154
-3.42667e-06
0.00013473
0.000116508
-5.50905e-05
-1.58045e-05
-5.71049e-05
-1.25735e-05
-5.90375e-05
-9.13602e-06
-6.08627e-05
-5.50204e-06
-6.25532e-05
-1.68688e-06
-6.40806e-05
2.2923e-06
-6.54161e-05
6.41632e-06
-6.65318e-05
1.06639e-05
-6.74029e-05
1.50112e-05
-6.80096e-05
1.94329e-05
-6.83382e-05
2.39024e-05
-6.8382e-05
2.8393e-05
-6.81414e-05
3.28786e-05
-6.76237e-05
3.73348e-05
-6.68423e-05
4.17397e-05
-6.58151e-05
4.60751e-05
-6.4563e-05
5.0327e-05
-6.31085e-05
5.44858e-05
-6.14739e-05
5.85467e-05
-5.968e-05
6.25087e-05
-5.77453e-05
6.63748e-05
-5.56854e-05
7.01506e-05
-5.35127e-05
7.38442e-05
-5.12364e-05
7.74647e-05
-4.88627e-05
8.10224e-05
-4.6395e-05
8.45276e-05
-4.38344e-05
8.79906e-05
-4.11798e-05
9.14215e-05
-3.84283e-05
9.48299e-05
-3.55751e-05
9.82249e-05
-3.2614e-05
0.000101615
-2.9537e-05
0.00010501
-2.63343e-05
0.000108421
-2.29932e-05
0.00011186
-1.94966e-05
0.000115354
-1.5817e-05
0.000118952
-1.19043e-05
0.00012276
-7.66993e-06
0.00012692
-3.14957e-06
0.00013021
0.000113359
-5.01458e-05
-1.39934e-05
-5.1901e-05
-1.08184e-05
-5.3583e-05
-7.454e-06
-5.51735e-05
-3.91152e-06
-5.66519e-05
-2.08524e-07
-5.79953e-05
3.63575e-06
-5.91801e-05
7.60106e-06
-6.01829e-05
1.16668e-05
-6.09833e-05
1.58116e-05
-6.15643e-05
2.00138e-05
-6.19136e-05
2.42518e-05
-6.20244e-05
2.85038e-05
-6.18951e-05
3.27493e-05
-6.15292e-05
3.69688e-05
-6.09348e-05
4.11453e-05
-6.01238e-05
4.52641e-05
-5.91107e-05
4.93138e-05
-5.79113e-05
5.32864e-05
-5.65419e-05
5.71773e-05
-5.50181e-05
6.09849e-05
-5.33542e-05
6.47108e-05
-5.15624e-05
6.83589e-05
-4.96529e-05
7.19346e-05
-4.76333e-05
7.54451e-05
-4.5509e-05
7.88982e-05
-4.32834e-05
8.2302e-05
-4.09575e-05
8.56648e-05
-3.85309e-05
8.89948e-05
-3.6001e-05
9.23e-05
-3.3364e-05
9.55879e-05
-3.06144e-05
9.88658e-05
-2.77452e-05
0.000102141
-2.47473e-05
0.000105423
-2.16094e-05
0.000108722
-1.83155e-05
0.00011206
-1.48407e-05
0.000115477
-1.11401e-05
0.000119059
-7.13785e-06
0.000122918
-2.88807e-06
0.00012596
0.000110471
-4.51228e-05
-1.24183e-05
-4.66432e-05
-9.29795e-06
-4.81008e-05
-5.9964e-06
-4.94858e-05
-2.52649e-06
-5.07836e-05
1.08922e-06
-5.19748e-05
4.82697e-06
-5.30383e-05
8.66461e-06
-5.39534e-05
1.25818e-05
-5.47012e-05
1.65594e-05
-5.52664e-05
2.0579e-05
-5.56374e-05
2.46228e-05
-5.58069e-05
2.86734e-05
-5.5772e-05
3.27144e-05
-5.55337e-05
3.67306e-05
-5.5097e-05
4.07085e-05
-5.44693e-05
4.46365e-05
-5.36609e-05
4.85053e-05
-5.26828e-05
5.23084e-05
-5.15471e-05
5.60415e-05
-5.02653e-05
5.97031e-05
-4.88483e-05
6.32938e-05
-4.73055e-05
6.68161e-05
-4.56449e-05
7.0274e-05
-4.38727e-05
7.36729e-05
-4.19932e-05
7.70187e-05
-4.00092e-05
8.03179e-05
-3.79213e-05
8.3577e-05
-3.57291e-05
8.68026e-05
-3.34303e-05
9.00012e-05
-3.10212e-05
9.31788e-05
-2.84967e-05
9.63413e-05
-2.58503e-05
9.94948e-05
-2.30737e-05
0.000102646
-2.01563e-05
0.000105805
-1.70833e-05
0.000108987
-1.38322e-05
0.000112226
-1.03631e-05
0.00011559
-6.61161e-06
0.000119166
-2.64199e-06
0.000121991
0.000107829
-4.00444e-05
-1.10551e-05
-4.13488e-05
-7.99356e-06
-4.26004e-05
-4.7448e-06
-4.38022e-05
-1.32469e-06
-4.49451e-05
2.23212e-06
-4.60109e-05
5.89278e-06
-4.69781e-05
9.63187e-06
-4.78259e-05
1.34296e-05
-4.85357e-05
1.72693e-05
-4.90926e-05
2.11359e-05
-4.94854e-05
2.50155e-05
-4.97065e-05
2.88945e-05
-4.97523e-05
3.27602e-05
-4.96226e-05
3.66009e-05
-4.932e-05
4.04059e-05
-4.88497e-05
4.41661e-05
-4.82185e-05
4.78742e-05
-4.74347e-05
5.15246e-05
-4.6507e-05
5.51138e-05
-4.5444e-05
5.86401e-05
-4.42538e-05
6.21036e-05
-4.29437e-05
6.55059e-05
-4.15196e-05
6.885e-05
-3.99863e-05
7.21396e-05
-3.8347e-05
7.53794e-05
-3.66033e-05
7.85742e-05
-3.47558e-05
8.17294e-05
-3.28031e-05
8.485e-05
-3.07431e-05
8.79411e-05
-2.85718e-05
9.10075e-05
-2.62842e-05
9.40538e-05
-2.3874e-05
9.70846e-05
-2.13332e-05
0.000100105
-1.86515e-05
0.000103123
-1.58154e-05
0.000106151
-1.28042e-05
0.000109215
-9.58278e-06
0.000112369
-6.09616e-06
0.000115679
-2.41214e-06
0.000118307
0.000105417
-3.49405e-05
-9.86889e-06
-3.60496e-05
-6.88451e-06
-3.71127e-05
-3.68165e-06
-3.81559e-05
-2.81495e-07
-3.91743e-05
3.25051e-06
-4.01454e-05
6.86385e-06
-4.10431e-05
1.05296e-05
-4.18439e-05
1.42303e-05
-4.25285e-05
1.79539e-05
-4.30822e-05
2.16897e-05
-4.34945e-05
2.54278e-05
-4.37585e-05
2.91585e-05
-4.38708e-05
3.28725e-05
-4.38307e-05
3.65608e-05
-4.364e-05
4.02152e-05
-4.33024e-05
4.38285e-05
-4.2823e-05
4.73949e-05
-4.2208e-05
5.09096e-05
-4.14639e-05
5.43697e-05
-4.05972e-05
5.77733e-05
-3.96138e-05
6.11203e-05
-3.85194e-05
6.44115e-05
-3.73181e-05
6.76487e-05
-3.60134e-05
7.08349e-05
-3.46073e-05
7.39733e-05
-3.31006e-05
7.70676e-05
-3.1493e-05
8.01217e-05
-2.97826e-05
8.31397e-05
-2.79667e-05
8.61251e-05
-2.6041e-05
8.90818e-05
-2.40002e-05
9.2013e-05
-2.18377e-05
9.49221e-05
-1.95454e-05
9.7813e-05
-1.71132e-05
0.000100691
-1.45277e-05
0.000103566
-1.17699e-05
0.000106457
-8.80832e-06
0.000109408
-5.5959e-06
0.000112467
-2.2002e-06
0.000114911
0.000103216
-2.98263e-05
-8.78964e-06
-3.07773e-05
-5.93347e-06
-3.16814e-05
-2.77757e-06
-3.26125e-05
6.49664e-07
-3.35601e-05
4.19809e-06
-3.44853e-05
7.78898e-06
-3.53509e-05
1.13952e-05
-3.61295e-05
1.50089e-05
-3.68017e-05
1.86261e-05
-3.73547e-05
2.22427e-05
-3.77803e-05
2.58534e-05
-3.8074e-05
2.94522e-05
-3.82339e-05
3.30324e-05
-3.82602e-05
3.65871e-05
-3.81552e-05
4.01101e-05
-3.79221e-05
4.35955e-05
-3.75654e-05
4.70381e-05
-3.70899e-05
5.04342e-05
-3.65009e-05
5.37807e-05
-3.58034e-05
5.70758e-05
-3.5002e-05
6.03189e-05
-3.41009e-05
6.35103e-05
-3.3103e-05
6.66509e-05
-3.20107e-05
6.97426e-05
-3.08251e-05
7.27877e-05
-2.95462e-05
7.57887e-05
-2.81728e-05
7.87483e-05
-2.67025e-05
8.16694e-05
-2.51318e-05
8.45545e-05
-2.3456e-05
8.7406e-05
-2.16691e-05
9.02261e-05
-1.97639e-05
9.30169e-05
-1.77317e-05
9.57807e-05
-1.55617e-05
9.85209e-05
-1.32403e-05
0.000101244
-1.07488e-05
0.000103966
-8.05803e-06
0.000106717
-5.12607e-06
0.000109535
-2.01543e-06
0.0001118
0.000101201
-2.46515e-05
-7.65599e-06
-2.55207e-05
-5.06424e-06
-2.63375e-05
-1.96076e-06
-2.7273e-05
1.58511e-06
-2.82655e-05
5.19061e-06
-2.92345e-05
8.75803e-06
-3.01282e-05
1.22889e-05
-3.0919e-05
1.57997e-05
-3.15935e-05
1.93005e-05
-3.21453e-05
2.27946e-05
-3.25728e-05
2.62808e-05
-3.28761e-05
2.97556e-05
-3.30574e-05
3.32136e-05
-3.31193e-05
3.66491e-05
-3.30656e-05
4.00564e-05
-3.29003e-05
4.34302e-05
-3.2628e-05
4.67658e-05
-3.22533e-05
5.00595e-05
-3.17807e-05
5.33081e-05
-3.12146e-05
5.65097e-05
-3.05587e-05
5.96631e-05
-2.98164e-05
6.27679e-05
-2.89901e-05
6.58246e-05
-2.80813e-05
6.88338e-05
-2.70906e-05
7.1797e-05
-2.60176e-05
7.47157e-05
-2.48608e-05
7.75914e-05
-2.36172e-05
8.04258e-05
-2.2283e-05
8.32202e-05
-2.08528e-05
8.59758e-05
-1.932e-05
8.86933e-05
-1.76764e-05
9.13733e-05
-1.59118e-05
9.40161e-05
-1.40138e-05
9.6623e-05
-1.19668e-05
9.91973e-05
-9.75002e-06
0.000101749
-7.3344e-06
0.000104301
-4.68379e-06
0.000106884
-1.86266e-06
0.000108979
9.93383e-05
-1.90832e-05
-6.10814e-06
-2.00555e-05
-4.09188e-06
-2.10543e-05
-9.62026e-07
-2.23126e-05
2.84346e-06
-2.35949e-05
6.47289e-06
-2.47618e-05
9.92497e-06
-2.57723e-05
1.32994e-05
-2.66215e-05
1.6649e-05
-2.7316e-05
1.99949e-05
-2.78654e-05
2.3344e-05
-2.82799e-05
2.66953e-05
-2.85685e-05
3.00441e-05
-2.8739e-05
3.33841e-05
-2.87985e-05
3.67086e-05
-2.87532e-05
4.00111e-05
-2.8609e-05
4.3286e-05
-2.83712e-05
4.65281e-05
-2.80449e-05
4.97331e-05
-2.76347e-05
5.28979e-05
-2.71448e-05
5.60198e-05
-2.6579e-05
5.90973e-05
-2.59404e-05
6.21293e-05
-2.52313e-05
6.51155e-05
-2.44535e-05
6.8056e-05
-2.36078e-05
7.09513e-05
-2.2694e-05
7.38019e-05
-2.17111e-05
7.66085e-05
-2.06569e-05
7.93716e-05
-1.95279e-05
8.20912e-05
-1.83193e-05
8.47673e-05
-1.70249e-05
8.73989e-05
-1.56362e-05
8.99846e-05
-1.41427e-05
9.25226e-05
-1.25302e-05
9.50104e-05
-1.07796e-05
9.74467e-05
-8.86365e-06
9.98329e-05
-6.74168e-06
0.000102179
-4.36104e-06
0.000104504
-1.77679e-06
0.000106395
9.75615e-05
-1.08655e-05
-1.3421e-05
-1.6004e-05
-1.84073e-05
-2.03151e-05
-2.18251e-05
-2.30194e-05
-2.39553e-05
-2.46771e-05
-2.52192e-05
-2.56067e-05
-2.58587e-05
-2.59893e-05
-2.60098e-05
-2.59293e-05
-2.57554e-05
-2.54946e-05
-2.51527e-05
-2.47347e-05
-2.42451e-05
-2.3688e-05
-2.30668e-05
-2.23842e-05
-2.16427e-05
-2.08437e-05
-1.99883e-05
-1.90766e-05
-1.81081e-05
-1.70815e-05
-1.59943e-05
-1.48431e-05
-1.36229e-05
-1.2327e-05
-1.09455e-05
-9.46384e-06
-7.85938e-06
-6.09385e-06
-4.10922e-06
-1.91741e-06
)
;
boundaryField
{
leftWall
{
type calculated;
value nonuniform 0();
}
rightWall
{
type calculated;
value uniform 0;
}
lowerWall
{
type calculated;
value nonuniform 0();
}
atmosphere
{
type calculated;
value nonuniform List<scalar>
45
(
-1.70391e-05
-1.36847e-05
-1.12435e-05
-8.73148e-06
-6.18578e-06
-3.9766e-06
-1.53639e-06
1.621e-06
5.24681e-06
8.38064e-06
1.14349e-05
1.44938e-05
1.75848e-05
2.07168e-05
2.38861e-05
2.70829e-05
3.02961e-05
3.35147e-05
3.67291e-05
3.99306e-05
4.31121e-05
4.62673e-05
4.93912e-05
5.24799e-05
5.55303e-05
5.85402e-05
6.1508e-05
6.44329e-05
6.73144e-05
7.01523e-05
7.29465e-05
7.56968e-05
7.84031e-05
8.10646e-05
8.36801e-05
8.62477e-05
8.87645e-05
9.12266e-05
9.36289e-05
9.59651e-05
9.82284e-05
0.000100414
0.000102519
0.000104203
9.56441e-05
)
;
}
defaultFaces
{
type empty;
value nonuniform 0();
}
procBoundary3to1
{
type processor;
value nonuniform List<scalar>
45
(
5.14339e-05
4.56309e-05
4.20043e-05
3.76892e-05
3.27368e-05
3.00724e-05
2.26356e-05
1.47895e-05
6.77777e-06
-1.1339e-06
-8.6602e-06
-1.55045e-05
-2.13987e-05
-2.61406e-05
-2.96213e-05
-3.18377e-05
-3.28879e-05
-3.2951e-05
-3.22629e-05
-3.10777e-05
-2.96133e-05
-2.81108e-05
-2.65525e-05
-2.51316e-05
-2.32029e-05
-2.58418e-05
-2.82522e-05
-2.98448e-05
-3.15029e-05
-3.30808e-05
-3.46186e-05
-3.6274e-05
-3.86927e-05
-4.45277e-05
-8.59534e-05
-0.000149177
-0.00020076
-0.000234637
-0.000247876
-0.000249339
-0.000247702
-0.00024734
-0.000249926
-0.000256147
-0.000264035
)
;
}
procBoundary3to2
{
type processor;
value nonuniform List<scalar>
43
(
-7.74692e-05
-7.24851e-05
-6.7171e-05
-6.1495e-05
-5.54619e-05
-4.90892e-05
-4.24124e-05
-3.54778e-05
-2.83352e-05
-2.10307e-05
-1.36033e-05
-6.0832e-06
1.50116e-06
9.1061e-06
1.66584e-05
2.40538e-05
3.11583e-05
3.78205e-05
4.38897e-05
4.9228e-05
5.3722e-05
5.72951e-05
5.99211e-05
6.16289e-05
6.24921e-05
6.26105e-05
6.20921e-05
6.10371e-05
5.9528e-05
5.76265e-05
5.53766e-05
5.28095e-05
4.99495e-05
4.68188e-05
4.34398e-05
3.98336e-05
3.60136e-05
3.19742e-05
2.76721e-05
2.30016e-05
1.77665e-05
1.16724e-05
4.37927e-06
)
;
}
}
// ************************************************************************* //
|
|
b82e73cbedb5ab552023a638e48e204bec3988ba
|
46a270c50ca6d41d92c085aad2d8f8dfa3dc55df
|
/client/Classes/Scene/FmMainScene.h
|
a424dd715e484057d08cbd0bb963c76405b0a4fa
|
[] |
no_license
|
PenpenLi/YXLDGameServer
|
74e4eb05215373121029beefb9712f94b0488aea
|
6f6e709271a0f47aa8d55226fed436308aae2365
|
refs/heads/master
| 2022-10-20T15:49:13.793932
| 2020-07-15T07:50:00
| 2020-07-15T07:50:00
| 279,802,517
| 0
| 0
| null | 2020-07-15T07:49:15
| 2020-07-15T07:49:14
| null |
GB18030
|
C++
| false
| false
| 1,416
|
h
|
FmMainScene.h
|
/********************************************************************
created: 2012-12-05
author: pelog
summary: 主场景:GameCanvas
层次:
1.地图层
2.UI层
*********************************************************************/
#pragma once
#include "FmConfig.h"
#include "cocos2d.h"
#include "cocos-ext.h"
#include "Enum/FmCommonEnum.h"
#include "FmEntity.h"
NS_FM_BEGIN
USING_NS_CC;
USING_NS_CC_EXT;
using namespace gui;
class MainScene : public CCScene, public CCKeypadDelegate
{
public:
virtual ~MainScene();
// Here's a difference. Method 'init' in cocos2d-x returns bool, instead of returning 'id' in cocos2d-iphone
SINGLETON_MODE(MainScene);
MainScene();
virtual void keyBackClicked();
virtual void keyMenuClicked();
// 主循环
void MainLoop( uint delta );
const CCSize& GetDesignSize(){return m_DesignSize;};
const float GetScale(){return m_minScale;}
void SwitchState( int newState );
Entity* GetEntity(){return m_entity;}
int GetState(){return m_state;}
void AddChild(Widget* widget, int zOrder, int tag, bool isNeedTouch);
float m_minScale;
float m_maxScale;
//CCComAudio* m_audio;
private:
CCSize m_DesignSize;
int m_state;
Entity* m_entity;
};
static Entity* GetGlobalEntity(){return MainScene::GetInstance().GetEntity();}
static CCComAudio* GetAudioMgr(){
return ((CCComAudio*)MainScene::GetInstance().getComponent("CCComAudio"));
}
NS_FM_END
|
2a159c82d5c3532cf660f7dbb2d9b23b841e6a37
|
8d9a20f513a99119f50a4b69618d72fb141d55ad
|
/Lab6/quicksort.cpp
|
7518d068f3bc509851029de5e87edc692f049f07
|
[] |
no_license
|
Angelussz/Analisis-y-diseno-de-Algoritmos
|
5bc1417997a3b9318316df6375043f9c9d5337ae
|
d8cc246aed635621ab0c0110e7bed14efa5d0560
|
refs/heads/master
| 2022-11-18T07:24:57.572512
| 2020-07-20T05:18:17
| 2020-07-20T05:18:17
| 260,252,479
| 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 1,857
|
cpp
|
quicksort.cpp
|
//ANGELO ALDO PEREZ RODRIGUEZ
//Referencia : https://www.geeksforgeeks.org/quick-sort/
#include <iostream>
#include<stdlib.h>
#include <fstream>
using namespace std;
//int contador=0;
void Aleatorio(unsigned long& n,unsigned long* arreglo){
for (int i =0;i<n;i++){
int num = 1+(rand()%n);
arreglo[i] = num;
}
}
void print(unsigned long& n, unsigned long* arreglo){
for(int i=0;i<n;i++){
cout<<arreglo[i]<<" ";
}
cout<<endl;
}
void swap(unsigned long* a, unsigned long* b)
{
int t = *a;
*a = *b;
*b = t;
}
int partition (unsigned long* arr, int low, int high,unsigned long& comp)
{
int pivot = arr[high];
int i = (low - 1);
for (int j = low; j <= high - 1; j++)
{
if (arr[j] < pivot)
{
i++;
swap(&arr[i], &arr[j]);
comp++;
}
}
swap(&arr[i + 1], &arr[high]);
comp++;
return (i + 1);
}
void quickSort(unsigned long* arr, int low, int high,unsigned long& comp)
{
if (low < high)
{
int pi = partition(arr, low, high,comp);
quickSort(arr, low, pi - 1,comp);
quickSort(arr, pi + 1, high,comp);
}
}
int main(){
srand(time(nullptr));
unsigned long n;
unsigned long *arreglo = nullptr;
ofstream datosquick;
datosquick.open("lectura2.txt");
cout<<"Que tamanio de arreglo quieres"<<endl;
cin>>n;
arreglo = new unsigned long[n];
for (int i = 0; i < 200; i++)
{
//contador = 0;
unsigned long comp= 0;
Aleatorio(n,arreglo);
quickSort(arreglo,0,n-1,comp);
//print(n,arreglo);
datosquick<<comp<<endl;
}
//quicksort(arreglo,0,n-1);
datosquick.close();
delete[] arreglo;
return 0;
}
|
626877fccf2937da29e9422e60f35ac820bcd249
|
cb142e98b043e7088f0fe009f5159928877acf1b
|
/EEPROM/eeprom_get/eeprom_get.ino
|
00002fe85b2428b48202881ecc85db0c197c188a
|
[] |
no_license
|
wetnt/Arduino_public
|
ef30502b4a30e099a09e2617fd58fd3a9801cf13
|
4cc331e2f43dda0df8f78d9cfe924da130ca5df3
|
refs/heads/master
| 2021-01-23T09:38:43.302783
| 2019-09-12T00:29:43
| 2019-09-12T00:29:43
| 33,909,041
| 2
| 2
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 856
|
ino
|
eeprom_get.ino
|
#include <EEPROM.h>
int address = 0;
void setup() {
Serial.begin( 115200 );
while (!Serial) {
;
}
test_save();
test_read();
}
struct MyObject {
float field1;
byte field2;
char name[10];
};
void test_save() {
int ad;
MyObject c1 = {3.14f, 100, "Work_a!"};
MyObject c2 = {3.15f, 200, "Work_b!"};
ad = address; EEPROM.put( ad, c1 );
ad = sizeof(c1); EEPROM.put( ad, c2 );
}
void test_read() {
MyObject c1, c2; int ad;
ad = address; EEPROM.get( ad, c1 );
ad = sizeof(c1); EEPROM.get( ad, c2 );
Serial.println( "Read custom object from EEPROM: " );
Serial.println( c1.field1 );
Serial.println( c1.field2 );
Serial.println( c1.name );
Serial.println( "Read custom object from EEPROM: " );
Serial.println( c2.field1 );
Serial.println( c2.field2 );
Serial.println( c2.name );
}
void loop() {
}
|
0af44342f6ef63d22d8839c331d613805aa877c3
|
177a619d09dc04cfa1ad11700fe5c10683555702
|
/17-4count.cpp
|
0efef6383f25cab24726ab2dd7bf3a60ad1a3a9d
|
[] |
no_license
|
Hanaydn/LearningCpp
|
4b1ddaea300c169c1c00eaca397d0c58d3bb382a
|
62f852c2d68fb195708f2bb0d0f1e948aadfde11
|
refs/heads/master
| 2020-03-22T05:02:05.307573
| 2018-07-27T03:59:17
| 2018-07-27T03:59:17
| 139,537,481
| 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 661
|
cpp
|
17-4count.cpp
|
#include<iostream>
#include<fstream>
#include<cstdlib>
using namespace std;
int main(int argc_, char* argv_[]){
if(argc_ == 1){
cerr << "Usage: " << argv_[0] << " filename[s]\n";
exit(EXIT_FAILURE);
}
ifstream fin;
long count;
long total = 0;
char ch;
for(int file = 1; file < argc_; file++){
fin.open(argv_[file]);
if(!fin.is_open()){
cerr << "Could not open " << argv_[file] << endl;
fin.clear();
continue;
}
count = 0;
while(fin.get(ch)){
count++;
}
cout << count << " characters in " << argv_[file] << endl;
total += count;
fin.clear();
fin.close();
}
cout << total << " characters in all files\n";
return 0;
}
|
9cecacc2c68756f05dde0de6b3736c8b9cc7b42e
|
7c034629bcf6fb5d41ae6b1f73bd39490f7e9bce
|
/iterate/test/iterate_test.cc
|
badc1b00bc02f29098658a98743f0537cb807f2c
|
[] |
no_license
|
mattlangford/iterate
|
fb5381fed20c9c7f4af3e0df1520c584e66aeb43
|
e031b17666465d7af4ef083c24d120908013ab48
|
refs/heads/master
| 2023-03-09T03:51:01.788609
| 2021-02-21T21:59:19
| 2021-02-21T21:59:19
| 333,234,270
| 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 3,643
|
cc
|
iterate_test.cc
|
#include "iterate.hh"
#include <gtest/gtest.h>
#include <vector>
namespace {
struct TestType {
size_t i;
~TestType() { i = -1; } // reset if this gets deconstructed
};
struct TestType2 {
size_t j;
~TestType2() { j = -1; } // reset if this gets deconstructed
};
struct CopyMoveCounter {
std::shared_ptr<size_t> copies = std::make_shared<size_t>(0);
std::shared_ptr<size_t> moves = std::make_shared<size_t>(0);
CopyMoveCounter() = default;
CopyMoveCounter(const CopyMoveCounter& rhs) : copies(rhs.copies), moves(rhs.moves) { (*copies)++; }
CopyMoveCounter(CopyMoveCounter&& rhs) : copies(rhs.copies), moves(rhs.moves) { (*moves)++; }
CopyMoveCounter& operator=(const CopyMoveCounter& rhs) {
copies = rhs.copies;
moves = rhs.moves;
(*copies)++;
return *this;
}
CopyMoveCounter& operator=(CopyMoveCounter&& rhs) {
copies = rhs.copies;
moves = rhs.moves;
(*moves)++;
return *this;
}
};
template <typename T>
constexpr bool kIsConstRef = std::is_const_v<std::remove_reference_t<T>>;
std::vector<TestType> test_type_vector() { return {{0}, {1}, {2}}; }
std::vector<TestType2> test_type2_vector() { return {{100}, {101}, {102}}; }
} // namespace
TEST(Iterate, enumerate_zip) {
auto input1 = test_type_vector();
auto input2 = test_type2_vector();
for (auto [i, test_types] : it::enumerate(it::zip(input1, input2))) {
auto& [test_type, test_type2] = test_types;
EXPECT_FALSE(kIsConstRef<decltype(test_type)>);
EXPECT_FALSE(kIsConstRef<decltype(test_type2)>);
EXPECT_EQ(test_type.i + 100, test_type2.j);
EXPECT_EQ(test_type.i, i);
}
}
TEST(Iterate, zip_enumerate) {
const auto input = test_type_vector();
for (auto [e_1, e_2] : it::zip(it::enumerate(input), it::enumerate(input))) {
auto& [i1, test_type1] = e_1;
auto& [i2, test_type2] = e_2;
EXPECT_EQ(i1, i2);
EXPECT_EQ(test_type1.i, test_type2.i);
}
}
TEST(Iterate, zip_reverse) {
const auto input = test_type_vector();
auto r_input = input;
std::reverse(r_input.begin(), r_input.end());
// Since we just reversed, this should put things back in order
for (auto [t1, i_t2] : it::zip(it::reverse(r_input), it::enumerate(input))) {
const auto& [i, t2] = i_t2;
EXPECT_EQ(i, t1.i);
EXPECT_EQ(t1.i, t2.i);
}
}
TEST(Iterate, too_much) {
const auto input = test_type_vector();
auto r_input = input;
std::reverse(r_input.begin(), r_input.end());
for (auto [e_1, e_2] :
it::zip(it::enumerate(it::reverse(r_input)), it::enumerate(it::zip(input, it::enumerate(input))))) {
const auto& [i1, in1] = e_1;
const auto& [i2, in2] = e_2;
EXPECT_EQ(i1, i2);
const auto& [in3, i_in4] = in2;
const auto& [i3, in5] = i_in4;
EXPECT_EQ(i3, i2);
EXPECT_EQ(in1.i, in5.i);
}
}
TEST(Iterate, copy_move) {
std::vector<CopyMoveCounter> traced;
traced.emplace_back();
EXPECT_EQ(*traced.front().copies, 0);
EXPECT_EQ(*traced.front().moves, 0);
for (auto res : it::zip(it::reverse(traced), it::enumerate(traced))) {
(void)res;
}
EXPECT_EQ(*traced.front().copies, 0);
EXPECT_EQ(*traced.front().moves, 0);
for (auto res : it::enumerate_copy(traced)) {
(void)res;
}
EXPECT_EQ(*traced.front().copies, 1);
EXPECT_EQ(*traced.front().moves, 0);
for (auto res : it::zip_copy(traced, traced)) {
(void)res;
}
EXPECT_EQ(*traced.front().copies, 3);
EXPECT_EQ(*traced.front().moves, 0);
}
|
328f31fa7c2afa7b6153dd17ced7e6209dd714fa
|
c8976d2fce071ae62ed24d7ebfd034a41869774d
|
/11450.cpp
|
b606a5c65d13af046be05027b23da69ad5e1b281
|
[] |
no_license
|
juanpa097/UVa
|
26f0d128ecf80283666b22373c5f941d66b62c59
|
4d3b096a5f8c31d768c9dbd0e725b6c93e280c23
|
refs/heads/master
| 2020-05-22T04:12:05.988913
| 2017-04-06T00:18:40
| 2017-04-06T00:18:40
| 65,876,758
| 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 828
|
cpp
|
11450.cpp
|
#include "bits/stdc++.h"
using namespace std;
int TC,M,C;
int price[25][25];
int memo[210][25];
int score (int money, int g) {
if (money < 0) return (1 << 31);
if (g == C) return M - money;
int ans = -1;
if (memo[money][g] != -1) return memo[money][g];
for (int model = 1; model <= price[g][0]; ++model) {
ans = max(score(money - price[g][model], g + 1), ans);
}
memo[money][g] = ans;
return ans;
}
int main(int argc, char const *argv[]) {
scanf("%d", &TC);
while (TC--) {
scanf("%d%d", &M, &C);
for (int i = 0; i < C; ++i) {
scanf("%d",&price[i][0]);
for (int j = 1; j <= price[i][0]; ++j)
scanf("%d",&price[i][j]);
}
memset(memo, -1 ,sizeof memo);
int ans = score(M,0);
if (ans < 0) printf("no solution\n");
else printf("%d\n",ans);
}
return 0;
}
|
29dcd67e52fd2a4dfe4d5cde195ae9bce8171593
|
9dece1b5100b23eb159a34a0031a4ec5c24038f3
|
/src/popup-01/widget.h
|
04b60e63ccab73a85c52b98f56cff25e7db819c3
|
[] |
no_license
|
zogvm/qt5-widgets-examples
|
f84b39568fc4c158152004124aa61a9eddc786b8
|
83379e4547ead261bfc270d13e69b63aa3f10d5e
|
refs/heads/master
| 2023-03-16T17:11:48.819608
| 2018-10-08T08:32:54
| 2018-10-08T08:32:54
| null | 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 464
|
h
|
widget.h
|
#ifndef WIDGET_H
#define WIDGET_H
#include <QWidget>
#include <QVector>
#include <QIcon>
class QToolButton;
class QTimer;
class Widget : public QWidget
{
Q_OBJECT
public:
Widget(QWidget *parent = 0);
~Widget();
private:
QToolButton* createSidebarButton(const QString& iconPath, const QString& title);
private:
QToolButton* button1_;
QVector<QIcon> icons_;
QVector<QIcon> selected_icons_;
QTimer* timer_;
};
#endif // WIDGET_H
|
ad657aa9affdbea762b6a6c22d625f1c64fc90e7
|
81f04b08896556f13284c003b2f921c008c111f6
|
/SRC/controller/create_cmd_factory.cpp
|
58288571f2fa779fbbc6a6677a6170d279ea9b2a
|
[] |
no_license
|
hochlerer/dna-analyzer-design
|
890c8f1602a92264cc1205b553dbf9e47a66d462
|
0e3358519ca92bd8a584837ea3200ca643d21ece
|
refs/heads/master
| 2023-01-01T15:41:13.337796
| 2020-09-24T20:25:07
| 2020-09-24T20:25:07
| null | 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 1,998
|
cpp
|
create_cmd_factory.cpp
|
//
// Created by y on 7/5/20.
//
#include <stdexcept>
#include "create_cmd_factory.h"
#include "creation_command.h"
#include "parser.h"
#include "enter_cmd.h"
#include "new_cmd.h"
#include "load_cmd.h"
#include "dup_cmd.h"
#include "save_cmd.h"
#include "len_cmd.h"
#include "del_cmd.h"
#include "rename_cmd.h"
#include "find_cmd.h"
#include "count_cmd.h"
#include "findall_cmd.h"
ICMD *CreateCmdFactory::create(const Parser& p) {
try {
s_commands.at(p.getCmdName())->createCMD(p);
return s_commands.at(p.getCmdName());
}
catch (std::out_of_range &e) {
throw std::invalid_argument("COMMAND NOT FOUND");
}
}
std::map<std::string, ICMD*> CreateCmdFactory::s_commands;
void CreateCmdFactory::init() {
s_commands.insert(std::pair<std::string, ICMD*> ("", new EnterCmd));
s_commands.insert(std::pair<std::string, ICMD*> ("new", new NewCmd));
s_commands.insert(std::pair<std::string, ICMD*> ("load", new LoadCmd));
s_commands.insert(std::pair<std::string, ICMD*> ("dup", new DupCmd));
s_commands.insert(std::pair<std::string, ICMD*> ("save", new SaveCmd));
s_commands.insert(std::pair<std::string, ICMD*> ("len", new LenCmd));
s_commands.insert(std::pair<std::string, ICMD*> ("del", new DelCmd));
s_commands.insert(std::pair<std::string, ICMD*> ("rename", new RenameCmd));
s_commands.insert(std::pair<std::string, ICMD*> ("find", new FindCmd));
s_commands.insert(std::pair<std::string, ICMD*> ("count", new CountCmd));
s_commands.insert(std::pair<std::string, ICMD*> ("findall", new FindallCmd));
}
void CreateCmdFactory::release() {
delete s_commands.at("");
delete s_commands.at("new");
delete s_commands.at("load");
delete s_commands.at("dup");
delete s_commands.at("save");
delete s_commands.at("len");
delete s_commands.at("del");
delete s_commands.at("rename");
delete s_commands.at("find");
delete s_commands.at("count");
delete s_commands.at("findall");
}
|
7e2fc59646db996886c2560cb71c230b15f0d24a
|
e68b1ba7dfe83e077d52cca8cedc86f10e97b5c2
|
/css3/lab4/main.cpp
|
8e520cc0a61881f7350532fd04cee3aed9020581
|
[] |
no_license
|
Giocerna5/Files
|
5e3cc70efa610ea1c9f577ce976419f3004d775e
|
ad3f7078aa4bb48ed8bce1b2396f3f7b8a36cc7d
|
refs/heads/master
| 2020-03-27T13:54:18.388486
| 2018-09-06T22:26:29
| 2018-09-06T22:26:29
| 146,633,725
| 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 1,075
|
cpp
|
main.cpp
|
#include <iostream>
#include <algorithm>
#include <string>
using namespace std;
string bin(int num);
string exponent(string x);
int main()
{
string b, exp, sig;
int sign, num;
cout << "Enter an integer value: ";
cin >> num;
if(num <= -256 || num >= 256)
cout << "Sorry, " << num << " is too large to be stored in our system";
else
{
if(num > 0)
sign = 0;
else
sign = 1;
b = bin(num);
exp = exponent(b);
sig = b;
while(sig.size() != 8)
sig += '0';
cout << "Here is how " << num << " is stored as floating-point in memory: "
<< "\n------------------------"
<< "\n| " << sign << " | " << exp << " | " << sig
<< "\n----------------------- ";
}
return 0;
}
string bin(int num)
{
string word, temp;
int x = num;
if(num < 0)
x *= -1;
while(x != 0)
{
word += to_string(x%2);
x /= 2;
}
reverse(word.begin(), word.end());
if(num < 0)
word[0] = '1';
return word;
}
string exponent(string x)
{
int num;
string temp;
num = x.size();
num +=15;
temp = bin(num);
return temp;
}
|
15c7b420a37066b761ec98b56739f180cc62bf3f
|
28b7895e9f9c38ac8c5d77d2a5a2b044a3249e52
|
/firmware/ESP8266/BasicIODevice/HomeLine.h
|
33505c9791f28390f135ecdf2367081aa916f5d9
|
[] |
no_license
|
schlenkibus/AW101_WtFoo
|
0558620f2e82d0398579085d867a7861987d6d56
|
3dd5599c6796d45d516e1fded925e16d8e329f96
|
refs/heads/master
| 2020-07-13T06:40:39.139263
| 2019-12-22T14:42:43
| 2019-12-22T14:42:43
| 205,020,200
| 2
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 1,418
|
h
|
HomeLine.h
|
#pragma once
#include <ESP8266WiFi.h>
#include <WebSocketsClient.h>
#include <ESP8266WiFiMulti.h>
class HomeLine
{
private:
String m_hello;
bool m_connected = false;
public:
template <typename tHelloCB>
HomeLine(const tHelloCB& cb)
: m_hello {}
{
webSocketClient.begin("101.101.101.101", 18700, "/welcome/");
webSocketClient.onEvent([this] (WStype_t type, uint8_t* payload, size_t length) { webSocketEvent(type, payload, length); });
webSocketClient.setReconnectInterval(5000);
m_hello = cb();
}
bool isConnected() {
return m_connected;
}
void webSocketEvent(WStype_t type, uint8_t* payload, size_t length)
{
switch(type)
{
case WStype_DISCONNECTED:
Serial.printf("Disconnected!\n");
m_connected = false;
break;
case WStype_CONNECTED:
{
Serial.printf("Connected to url: %s\n", payload);
webSocketClient.sendTXT(m_hello);
m_connected = true;
Serial.println(m_hello);
}
break;
case WStype_TEXT:
Serial.printf("Got text: %s\n", payload);
webSocketClient.sendTXT("PONG");
break;
}
}
template <typename T> void sendMessage(T message)
{
webSocketClient.sendTXT(message);
Serial.print("Send: ");
Serial.println(message);
}
void loop()
{
webSocketClient.loop();
}
private:
WebSocketsClient webSocketClient;
};
|
dcc2d56fe857522d4c99c0bab65ce8b1c4a6ffde
|
2f5b170243b84977f8316f1627842133f6d72c33
|
/src/store/thread5_1.cpp
|
94b41f79d748e2e4983dbf245a8c9128b3067a9c
|
[] |
no_license
|
RamazanDemirci/cppConcurrency
|
e3f1cd1a8f78ee7e040abb923b8afb67062c6c2d
|
622abc164a8c049f1cad8c9ed6b1d62bbbcb3e2e
|
refs/heads/master
| 2023-03-01T13:40:43.046021
| 2021-02-02T16:50:24
| 2021-02-02T16:50:24
| 312,345,299
| 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 1,480
|
cpp
|
thread5_1.cpp
|
#include <iostream>
#include <thread>
#include <string>
#include <mutex>
#include <fstream>
using namespace std;
//#1 : Lazy Initialization(Initialization Upon First Use Idiom)
/*#2 : Why use another unique lock?
- file open only once. but print process many times.
and we dont wanna use the same locker for difference purpose.
#3 : this is thread safe but we lock and unlokc mutext every print operation.
this wasting the computer cycles. and we dont wanna spend computing performance to waste
*/
class LogFile
{
std::mutex _mu;
std::mutex _mu_open;
ofstream _f;
public:
LogFile()
{
} // Need destructor to close file
void shared_print(string id, int value)
{
{ /*#3*/
std::unique_lock<mutex> locker2(_mu_open); /*#2*/
if (!_f.is_open())
{ /*#1*/
_f.open("log.txt");
}
}
std::unique_lock<mutex> locker(_mu, std::defer_lock);
cout << "From " << id << ": " << value << endl;
}
};
void function_1(LogFile &log)
{
for (int i = 0; i > -100; i--)
{
log.shared_print(string("t1: "), i);
}
}
int main()
{
std::cout << "Hello Easy C++ project!" << std::endl;
LogFile log;
std::thread t1(function_1, std::ref(log));
for (int i = 0; i < 100; i++)
{
log.shared_print2(string("From main: "), i);
}
t1.join();
return 0;
}
|
c09d76a1aa5008b7c5b6a6a5aa2366b5c6252a61
|
7add91d858beb3c515948b8d48fd5283e6ffc49e
|
/Parte 1 - Fundamentos de Programación/9. Punteros (apuntadores)/Seccion 9.11.1.cpp
|
2dd95311a5a051d6c296d0856e9308b8cb4ffc42
|
[] |
no_license
|
kardantel/Ejemplos-Programacion-en-Cpp-Algoritmos-estructuras-de-datos-y-objetos-2-Edicion-LJA
|
68bb16569d6a91688628b1a0cb1861c1ae7ddddb
|
b8f429eb8361b775a89e08b6a951079d7ad3f310
|
refs/heads/master
| 2022-07-05T10:31:27.923143
| 2020-05-11T18:38:08
| 2020-05-11T18:38:08
| 263,113,527
| 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 1,473
|
cpp
|
Seccion 9.11.1.cpp
|
//
// main.cpp
// Sección 9.11.1 // Página 359 - Libro digital
//
// Programa que tiene una función 'funcsuma' que tiene dos argumentos: n, el número de términos de la suma, y f, la función utilizada. Así pues, la función 'funcsuma' se va a llamar dos veces, y va a calcular la suma de:
// inversos(k) = 1.0 / k (k = 1, 2, 3, 4, 5)
// cuadrados(k) = k^2 (k = 1, 2, 3)
//
// Created by Aerodron Colombia on 14/11/19.
// Copyright © 2019 Carlos Daniel Pimentel Díaz. All rights reserved.
//
#include <iostream>
using namespace std;
double inversos(int k); // Se declara la función 'inversos' con argumento de paso por valor.
double cuadrados(int k); // Se declara la función 'cuandrado' con argumento de paso por valor.
double funcsuma(int n, double (*f) (int k)); // Se declara la función 'funcsuma' con 2 argumentos: una variable 'n' tipo entero y la declaración de un puntero 'f' a una función (en este caso dos funciones: 'inversos' y 'cuadrado').
int main() {
cout << "Suma de cinco inversos: " << funcsuma(5, inversos) << endl;
cout << "Suma de tres cuadrados: " << funcsuma(3, cuadrados) << endl;
return 0;
}
double funcsuma(int n, double (*f) (int k)) { // El puntero 'f' es el puntero a las funciones 'inversos' y 'cuadrado'.
double s = 0;
for (int i = 1; i <= n; i++)
s += f(i);
return s;
}
double inversos(int k) {
return 1.0 / k;
}
double cuadrados(int k) {
return (double)k * k;
}
|
4103ebb8577160d6d45d8c08dcfb7549e88217a5
|
0696a91b447ada7f384356acc1895283941f1ab7
|
/hdu代码/hdu3743 归并排序.cpp
|
b21a8aea020e20f1b3e982dffbd9dd19fdd6f099
|
[] |
no_license
|
sunhaotian0122/ACM
|
2b28226c3b4648be71386910ceeb130af97161eb
|
f24e9db6c1dffe1fe459f04ec6e03a4bb66424a1
|
refs/heads/master
| 2021-01-19T23:24:28.785529
| 2017-11-12T11:02:35
| 2017-11-12T11:02:35
| 88,972,559
| 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 1,211
|
cpp
|
hdu3743 归并排序.cpp
|
#include <cstdio>
#include <cmath>
#include <ctype.h>
#include <iostream>
#include <algorithm>
#include <cstring>
#include <cstdlib>
#include <typeinfo>
#include <vector>
#include <iomanip>
#include <map>
#include <queue>
#include <set>
#include <stack>
using namespace std;
long long ans,sz[1000005],tmp[1000005];
void MERGE(int left,int mid,int right)
{
int i=left,j=mid+1,cnt=0;
while(i<=mid&&j<=right)
{
if(sz[i]<=sz[j])
{
tmp[cnt++]=sz[i];
i++;
}
else
{
tmp[cnt++]=sz[j];
j++;
ans+=mid-i+1;
}
}
while(i<=mid)
{
tmp[cnt++]=sz[i++];
}
while(j<=right)
{
tmp[cnt++]=sz[j++];
}
cnt=0;
for(int k=left;k<=right;k++) sz[k]=tmp[cnt++];
}
void merge_sort(int left,int right)
{
if(left<right)
{
int mid=(left+right)/2;
merge_sort(left,mid);
merge_sort(mid+1,right);
MERGE(left,mid,right);
}
}
int main()
{
int n;
while(scanf("%d",&n)!=EOF)
{
for(int i=0;i<n;i++) scanf("%d",&sz[i]);
ans=0;
merge_sort(0,n-1);
printf("%lld\n",ans);
}
return 0;
}
|
7c545907e21c620f5c549bd4b8a9c5fd87ce6e40
|
ae40906e19a9f09ff3f78cbc82e1e874c17aee09
|
/Test/GacUISrc/TestCppCodegen/Source/Demo.cpp
|
9dfe5f12a77b7ce71a46ec61e24d65d0f908b91f
|
[] |
no_license
|
zjhken/GacUI
|
8ea45ed0a9dd66e4badaf5d1249bf0ab7cd1b257
|
51b01d8382e0912dc7f442b27492d1d9bf95504e
|
refs/heads/master
| 2021-01-19T13:36:09.779179
| 2017-08-19T22:25:22
| 2017-08-19T22:25:22
| null | 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 1,675,726
|
cpp
|
Demo.cpp
|
/***********************************************************************
!!!!!! DO NOT MODIFY !!!!!!
Source: Host.sln
This file is generated by Workflow compiler
https://github.com/vczh-libraries
***********************************************************************/
#include "DemoIncludes.h"
#if defined( _MSC_VER)
#pragma warning(push)
#pragma warning(disable:4250)
#elif defined(__GNUC__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wparentheses-equality"
#elif defined(__clang__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wparentheses-equality"
#endif
#define GLOBAL_SYMBOL ::vl_workflow_global::Demo::
#define GLOBAL_NAME ::vl_workflow_global::Demo::Instance().
#define GLOBAL_OBJ &::vl_workflow_global::Demo::Instance()
#define USERIMPL(...)
/***********************************************************************
Global Variables
***********************************************************************/
BEGIN_GLOBAL_STORAGE_CLASS(vl_workflow_global_Demo)
vl_workflow_global::Demo instance;
INITIALIZE_GLOBAL_STORAGE_CLASS
FINALIZE_GLOBAL_STORAGE_CLASS
END_GLOBAL_STORAGE_CLASS(vl_workflow_global_Demo)
namespace vl_workflow_global
{
/***********************************************************************
Global Functions
***********************************************************************/
void Demo::LoadListView(::vl::presentation::controls::GuiInstanceRootObject* root, const ::vl::Func<void(::vl::Ptr<::vl::presentation::controls::list::ListViewItem>)>& callback)
{
{
auto item = ::vl::Ptr<::vl::presentation::controls::list::ListViewItem>(new ::vl::presentation::controls::list::ListViewItem());
::vl::__vwsn::This(item.Obj())->SetText(::vl::WString(L"Task", false));
::vl::__vwsn::This(item.Obj())->SetLargeImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(root)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"LargeImages/Task", false), true).Obj())));
::vl::__vwsn::This(item.Obj())->SetSmallImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(root)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"SmallImages/Task", false), true).Obj())));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"005", false)));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"16x16", false)));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"005_Task_16x16_72.png", false)));
callback(item);
}
{
auto item = ::vl::Ptr<::vl::presentation::controls::list::ListViewItem>(new ::vl::presentation::controls::list::ListViewItem());
::vl::__vwsn::This(item.Obj())->SetText(::vl::WString(L"Reminder", false));
::vl::__vwsn::This(item.Obj())->SetLargeImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(root)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"LargeImages/Reminder", false), true).Obj())));
::vl::__vwsn::This(item.Obj())->SetSmallImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(root)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"SmallImages/Reminder", false), true).Obj())));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"008", false)));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"16x16", false)));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"008_Reminder_16x16_72.png", false)));
callback(item);
}
{
auto item = ::vl::Ptr<::vl::presentation::controls::list::ListViewItem>(new ::vl::presentation::controls::list::ListViewItem());
::vl::__vwsn::This(item.Obj())->SetText(::vl::WString(L"Tip", false));
::vl::__vwsn::This(item.Obj())->SetLargeImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(root)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"LargeImages/Tip", false), true).Obj())));
::vl::__vwsn::This(item.Obj())->SetSmallImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(root)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"SmallImages/Tip", false), true).Obj())));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"023", false)));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"16x16", false)));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"023_Tip_16x16_72.png", false)));
callback(item);
}
{
auto item = ::vl::Ptr<::vl::presentation::controls::list::ListViewItem>(new ::vl::presentation::controls::list::ListViewItem());
::vl::__vwsn::This(item.Obj())->SetText(::vl::WString(L"ArrowCurve_Blue_Left", false));
::vl::__vwsn::This(item.Obj())->SetLargeImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(root)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"LargeImages/ArrowCurve_Blue_Left", false), true).Obj())));
::vl::__vwsn::This(item.Obj())->SetSmallImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(root)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"SmallImages/ArrowCurve_Blue_Left", false), true).Obj())));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"112", false)));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"16x16", false)));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"112_ArrowCurve_Blue_Left_16x16_72.png", false)));
callback(item);
}
{
auto item = ::vl::Ptr<::vl::presentation::controls::list::ListViewItem>(new ::vl::presentation::controls::list::ListViewItem());
::vl::__vwsn::This(item.Obj())->SetText(::vl::WString(L"ArrowCurve_Blue_Right", false));
::vl::__vwsn::This(item.Obj())->SetLargeImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(root)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"LargeImages/ArrowCurve_Blue_Right", false), true).Obj())));
::vl::__vwsn::This(item.Obj())->SetSmallImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(root)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"SmallImages/ArrowCurve_Blue_Right", false), true).Obj())));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"112", false)));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"16x16", false)));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"112_ArrowCurve_Blue_Right_16x16_72.png", false)));
callback(item);
}
{
auto item = ::vl::Ptr<::vl::presentation::controls::list::ListViewItem>(new ::vl::presentation::controls::list::ListViewItem());
::vl::__vwsn::This(item.Obj())->SetText(::vl::WString(L"DownArrowLong_Blue", false));
::vl::__vwsn::This(item.Obj())->SetLargeImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(root)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"LargeImages/DownArrowLong_Blue", false), true).Obj())));
::vl::__vwsn::This(item.Obj())->SetSmallImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(root)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"SmallImages/DownArrowLong_Blue", false), true).Obj())));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"112", false)));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"16x16", false)));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"112_DownArrowLong_Blue_16x16_72.png", false)));
callback(item);
}
{
auto item = ::vl::Ptr<::vl::presentation::controls::list::ListViewItem>(new ::vl::presentation::controls::list::ListViewItem());
::vl::__vwsn::This(item.Obj())->SetText(::vl::WString(L"DownArrowLong_Green", false));
::vl::__vwsn::This(item.Obj())->SetLargeImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(root)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"LargeImages/DownArrowLong_Green", false), true).Obj())));
::vl::__vwsn::This(item.Obj())->SetSmallImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(root)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"SmallImages/DownArrowLong_Green", false), true).Obj())));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"112", false)));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"16x16", false)));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"112_DownArrowLong_Green_16x16_72.png", false)));
callback(item);
}
{
auto item = ::vl::Ptr<::vl::presentation::controls::list::ListViewItem>(new ::vl::presentation::controls::list::ListViewItem());
::vl::__vwsn::This(item.Obj())->SetText(::vl::WString(L"DownArrowLong_Grey", false));
::vl::__vwsn::This(item.Obj())->SetLargeImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(root)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"LargeImages/DownArrowLong_Grey", false), true).Obj())));
::vl::__vwsn::This(item.Obj())->SetSmallImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(root)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"SmallImages/DownArrowLong_Grey", false), true).Obj())));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"112", false)));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"16x16", false)));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"112_DownArrowLong_Grey_16x16_72.png", false)));
callback(item);
}
{
auto item = ::vl::Ptr<::vl::presentation::controls::list::ListViewItem>(new ::vl::presentation::controls::list::ListViewItem());
::vl::__vwsn::This(item.Obj())->SetText(::vl::WString(L"DownArrowLong_Orange", false));
::vl::__vwsn::This(item.Obj())->SetLargeImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(root)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"LargeImages/DownArrowLong_Orange", false), true).Obj())));
::vl::__vwsn::This(item.Obj())->SetSmallImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(root)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"SmallImages/DownArrowLong_Orange", false), true).Obj())));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"112", false)));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"16x16", false)));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"112_DownArrowLong_Orange_16x16_72.png", false)));
callback(item);
}
{
auto item = ::vl::Ptr<::vl::presentation::controls::list::ListViewItem>(new ::vl::presentation::controls::list::ListViewItem());
::vl::__vwsn::This(item.Obj())->SetText(::vl::WString(L"LeftArrowLong_Blue", false));
::vl::__vwsn::This(item.Obj())->SetLargeImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(root)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"LargeImages/LeftArrowLong_Blue", false), true).Obj())));
::vl::__vwsn::This(item.Obj())->SetSmallImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(root)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"SmallImages/LeftArrowLong_Blue", false), true).Obj())));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"112", false)));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"16x16", false)));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"112_LeftArrowLong_Blue_16x16_72.png", false)));
callback(item);
}
{
auto item = ::vl::Ptr<::vl::presentation::controls::list::ListViewItem>(new ::vl::presentation::controls::list::ListViewItem());
::vl::__vwsn::This(item.Obj())->SetText(::vl::WString(L"LeftArrowLong_Green", false));
::vl::__vwsn::This(item.Obj())->SetLargeImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(root)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"LargeImages/LeftArrowLong_Green", false), true).Obj())));
::vl::__vwsn::This(item.Obj())->SetSmallImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(root)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"SmallImages/LeftArrowLong_Green", false), true).Obj())));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"112", false)));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"16x16", false)));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"112_LeftArrowLong_Green_16x16_72.png", false)));
callback(item);
}
{
auto item = ::vl::Ptr<::vl::presentation::controls::list::ListViewItem>(new ::vl::presentation::controls::list::ListViewItem());
::vl::__vwsn::This(item.Obj())->SetText(::vl::WString(L"LeftArrowLong_Grey", false));
::vl::__vwsn::This(item.Obj())->SetLargeImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(root)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"LargeImages/LeftArrowLong_Grey", false), true).Obj())));
::vl::__vwsn::This(item.Obj())->SetSmallImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(root)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"SmallImages/LeftArrowLong_Grey", false), true).Obj())));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"112", false)));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"16x16", false)));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"112_LeftArrowLong_Grey_16x16_72.png", false)));
callback(item);
}
{
auto item = ::vl::Ptr<::vl::presentation::controls::list::ListViewItem>(new ::vl::presentation::controls::list::ListViewItem());
::vl::__vwsn::This(item.Obj())->SetText(::vl::WString(L"LeftArrowLong_Orange", false));
::vl::__vwsn::This(item.Obj())->SetLargeImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(root)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"LargeImages/LeftArrowLong_Orange", false), true).Obj())));
::vl::__vwsn::This(item.Obj())->SetSmallImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(root)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"SmallImages/LeftArrowLong_Orange", false), true).Obj())));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"112", false)));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"16x16", false)));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"112_LeftArrowLong_Orange_16x16_72.png", false)));
callback(item);
}
{
auto item = ::vl::Ptr<::vl::presentation::controls::list::ListViewItem>(new ::vl::presentation::controls::list::ListViewItem());
::vl::__vwsn::This(item.Obj())->SetText(::vl::WString(L"Minus_Blue", false));
::vl::__vwsn::This(item.Obj())->SetLargeImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(root)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"LargeImages/Minus_Blue", false), true).Obj())));
::vl::__vwsn::This(item.Obj())->SetSmallImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(root)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"SmallImages/Minus_Blue", false), true).Obj())));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"112", false)));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"16x16", false)));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"112_Minus_Blue_16x16_72.png", false)));
callback(item);
}
{
auto item = ::vl::Ptr<::vl::presentation::controls::list::ListViewItem>(new ::vl::presentation::controls::list::ListViewItem());
::vl::__vwsn::This(item.Obj())->SetText(::vl::WString(L"Minus_Green", false));
::vl::__vwsn::This(item.Obj())->SetLargeImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(root)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"LargeImages/Minus_Green", false), true).Obj())));
::vl::__vwsn::This(item.Obj())->SetSmallImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(root)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"SmallImages/Minus_Green", false), true).Obj())));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"112", false)));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"16x16", false)));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"112_Minus_Green_16x16_72.png", false)));
callback(item);
}
{
auto item = ::vl::Ptr<::vl::presentation::controls::list::ListViewItem>(new ::vl::presentation::controls::list::ListViewItem());
::vl::__vwsn::This(item.Obj())->SetText(::vl::WString(L"Minus_Grey", false));
::vl::__vwsn::This(item.Obj())->SetLargeImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(root)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"LargeImages/Minus_Grey", false), true).Obj())));
::vl::__vwsn::This(item.Obj())->SetSmallImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(root)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"SmallImages/Minus_Grey", false), true).Obj())));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"112", false)));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"16x16", false)));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"112_Minus_Grey_16x16_72.png", false)));
callback(item);
}
{
auto item = ::vl::Ptr<::vl::presentation::controls::list::ListViewItem>(new ::vl::presentation::controls::list::ListViewItem());
::vl::__vwsn::This(item.Obj())->SetText(::vl::WString(L"Minus_Orange", false));
::vl::__vwsn::This(item.Obj())->SetLargeImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(root)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"LargeImages/Minus_Orange", false), true).Obj())));
::vl::__vwsn::This(item.Obj())->SetSmallImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(root)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"SmallImages/Minus_Orange", false), true).Obj())));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"112", false)));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"16x16", false)));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"112_Minus_Orange_16x16_72.png", false)));
callback(item);
}
{
auto item = ::vl::Ptr<::vl::presentation::controls::list::ListViewItem>(new ::vl::presentation::controls::list::ListViewItem());
::vl::__vwsn::This(item.Obj())->SetText(::vl::WString(L"Plus_Blue", false));
::vl::__vwsn::This(item.Obj())->SetLargeImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(root)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"LargeImages/Plus_Blue", false), true).Obj())));
::vl::__vwsn::This(item.Obj())->SetSmallImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(root)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"SmallImages/Plus_Blue", false), true).Obj())));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"112", false)));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"16x16", false)));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"112_Plus_Blue_16x16_72.png", false)));
callback(item);
}
{
auto item = ::vl::Ptr<::vl::presentation::controls::list::ListViewItem>(new ::vl::presentation::controls::list::ListViewItem());
::vl::__vwsn::This(item.Obj())->SetText(::vl::WString(L"Plus_Green", false));
::vl::__vwsn::This(item.Obj())->SetLargeImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(root)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"LargeImages/Plus_Green", false), true).Obj())));
::vl::__vwsn::This(item.Obj())->SetSmallImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(root)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"SmallImages/Plus_Green", false), true).Obj())));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"112", false)));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"16x16", false)));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"112_Plus_Green_16x16_72.png", false)));
callback(item);
}
{
auto item = ::vl::Ptr<::vl::presentation::controls::list::ListViewItem>(new ::vl::presentation::controls::list::ListViewItem());
::vl::__vwsn::This(item.Obj())->SetText(::vl::WString(L"Plus_Grey", false));
::vl::__vwsn::This(item.Obj())->SetLargeImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(root)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"LargeImages/Plus_Grey", false), true).Obj())));
::vl::__vwsn::This(item.Obj())->SetSmallImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(root)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"SmallImages/Plus_Grey", false), true).Obj())));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"112", false)));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"16x16", false)));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"112_Plus_Grey_16x16_72.png", false)));
callback(item);
}
{
auto item = ::vl::Ptr<::vl::presentation::controls::list::ListViewItem>(new ::vl::presentation::controls::list::ListViewItem());
::vl::__vwsn::This(item.Obj())->SetText(::vl::WString(L"Plus_Orange", false));
::vl::__vwsn::This(item.Obj())->SetLargeImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(root)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"LargeImages/Plus_Orange", false), true).Obj())));
::vl::__vwsn::This(item.Obj())->SetSmallImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(root)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"SmallImages/Plus_Orange", false), true).Obj())));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"112", false)));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"16x16", false)));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"112_Plus_Orange_16x16_72.png", false)));
callback(item);
}
{
auto item = ::vl::Ptr<::vl::presentation::controls::list::ListViewItem>(new ::vl::presentation::controls::list::ListViewItem());
::vl::__vwsn::This(item.Obj())->SetText(::vl::WString(L"RightArrowLong_Blue", false));
::vl::__vwsn::This(item.Obj())->SetLargeImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(root)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"LargeImages/RightArrowLong_Blue", false), true).Obj())));
::vl::__vwsn::This(item.Obj())->SetSmallImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(root)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"SmallImages/RightArrowLong_Blue", false), true).Obj())));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"112", false)));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"16x16", false)));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"112_RightArrowLong_Blue_16x16_72.png", false)));
callback(item);
}
{
auto item = ::vl::Ptr<::vl::presentation::controls::list::ListViewItem>(new ::vl::presentation::controls::list::ListViewItem());
::vl::__vwsn::This(item.Obj())->SetText(::vl::WString(L"RightArrowLong_Green", false));
::vl::__vwsn::This(item.Obj())->SetLargeImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(root)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"LargeImages/RightArrowLong_Green", false), true).Obj())));
::vl::__vwsn::This(item.Obj())->SetSmallImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(root)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"SmallImages/RightArrowLong_Green", false), true).Obj())));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"112", false)));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"16x16", false)));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"112_RightArrowLong_Green_16x16_72.png", false)));
callback(item);
}
{
auto item = ::vl::Ptr<::vl::presentation::controls::list::ListViewItem>(new ::vl::presentation::controls::list::ListViewItem());
::vl::__vwsn::This(item.Obj())->SetText(::vl::WString(L"RightArrowLong_Grey", false));
::vl::__vwsn::This(item.Obj())->SetLargeImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(root)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"LargeImages/RightArrowLong_Grey", false), true).Obj())));
::vl::__vwsn::This(item.Obj())->SetSmallImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(root)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"SmallImages/RightArrowLong_Grey", false), true).Obj())));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"112", false)));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"16x16", false)));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"112_RightArrowLong_Grey_16x16_72.png", false)));
callback(item);
}
{
auto item = ::vl::Ptr<::vl::presentation::controls::list::ListViewItem>(new ::vl::presentation::controls::list::ListViewItem());
::vl::__vwsn::This(item.Obj())->SetText(::vl::WString(L"RightArrowLong_Orange", false));
::vl::__vwsn::This(item.Obj())->SetLargeImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(root)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"LargeImages/RightArrowLong_Orange", false), true).Obj())));
::vl::__vwsn::This(item.Obj())->SetSmallImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(root)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"SmallImages/RightArrowLong_Orange", false), true).Obj())));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"112", false)));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"16x16", false)));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"112_RightArrowLong_Orange_16x16_72.png", false)));
callback(item);
}
{
auto item = ::vl::Ptr<::vl::presentation::controls::list::ListViewItem>(new ::vl::presentation::controls::list::ListViewItem());
::vl::__vwsn::This(item.Obj())->SetText(::vl::WString(L"UpArrowLong_Blue", false));
::vl::__vwsn::This(item.Obj())->SetLargeImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(root)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"LargeImages/UpArrowLong_Blue", false), true).Obj())));
::vl::__vwsn::This(item.Obj())->SetSmallImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(root)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"SmallImages/UpArrowLong_Blue", false), true).Obj())));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"112", false)));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"16x16", false)));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"112_UpArrowLong_Blue_16x16_72.png", false)));
callback(item);
}
{
auto item = ::vl::Ptr<::vl::presentation::controls::list::ListViewItem>(new ::vl::presentation::controls::list::ListViewItem());
::vl::__vwsn::This(item.Obj())->SetText(::vl::WString(L"UpArrowLong_Green", false));
::vl::__vwsn::This(item.Obj())->SetLargeImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(root)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"LargeImages/UpArrowLong_Green", false), true).Obj())));
::vl::__vwsn::This(item.Obj())->SetSmallImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(root)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"SmallImages/UpArrowLong_Green", false), true).Obj())));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"112", false)));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"16x16", false)));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"112_UpArrowLong_Green_16x16_72.png", false)));
callback(item);
}
{
auto item = ::vl::Ptr<::vl::presentation::controls::list::ListViewItem>(new ::vl::presentation::controls::list::ListViewItem());
::vl::__vwsn::This(item.Obj())->SetText(::vl::WString(L"UpArrowLong_Grey", false));
::vl::__vwsn::This(item.Obj())->SetLargeImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(root)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"LargeImages/UpArrowLong_Grey", false), true).Obj())));
::vl::__vwsn::This(item.Obj())->SetSmallImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(root)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"SmallImages/UpArrowLong_Grey", false), true).Obj())));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"112", false)));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"16x16", false)));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"112_UpArrowLong_Grey_16x16_72.png", false)));
callback(item);
}
{
auto item = ::vl::Ptr<::vl::presentation::controls::list::ListViewItem>(new ::vl::presentation::controls::list::ListViewItem());
::vl::__vwsn::This(item.Obj())->SetText(::vl::WString(L"UpArrowLong_Orange", false));
::vl::__vwsn::This(item.Obj())->SetLargeImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(root)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"LargeImages/UpArrowLong_Orange", false), true).Obj())));
::vl::__vwsn::This(item.Obj())->SetSmallImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(root)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"SmallImages/UpArrowLong_Orange", false), true).Obj())));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"112", false)));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"16x16", false)));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(item.Obj())->GetSubItems()).Obj())->Add(::vl::__vwsn::Box(::vl::WString(L"112_UpArrowLong_Orange_16x16_72.png", false)));
callback(item);
}
}
::vl::WString Demo::ToString(::demo::MyCategory value)
{
{
auto __vwsn_switch_0 = value;
if ((__vwsn_switch_0 == ::demo::MyCategory::Black))
{
return ::vl::WString(L"Black", false);
}
else if ((__vwsn_switch_0 == ::demo::MyCategory::Red))
{
return ::vl::WString(L"Red", false);
}
else if ((__vwsn_switch_0 == ::demo::MyCategory::Lime))
{
return ::vl::WString(L"Lime", false);
}
else if ((__vwsn_switch_0 == ::demo::MyCategory::Blue))
{
return ::vl::WString(L"Blue", false);
}
else if ((__vwsn_switch_0 == ::demo::MyCategory::White))
{
return ::vl::WString(L"White", false);
}
}
return ::vl::WString(L"", false);
}
::vl::presentation::Color Demo::ToColor(::demo::MyCategory value)
{
{
auto __vwsn_switch_1 = value;
if ((__vwsn_switch_1 == ::demo::MyCategory::Red))
{
return ::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#FF0000", false));
}
else if ((__vwsn_switch_1 == ::demo::MyCategory::Lime))
{
return ::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#00FF00", false));
}
else if ((__vwsn_switch_1 == ::demo::MyCategory::Blue))
{
return ::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#0000FF", false));
}
else if ((__vwsn_switch_1 == ::demo::MyCategory::White))
{
return ::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#FFFFFF", false));
}
}
return ::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#000000", false));
}
::vl::WString Demo::ToString(::demo::MyGender value)
{
{
auto __vwsn_switch_2 = value;
if ((__vwsn_switch_2 == ::demo::MyGender::Male))
{
return ::vl::WString(L"Male", false);
}
else if ((__vwsn_switch_2 == ::demo::MyGender::Female))
{
return ::vl::WString(L"Female", false);
}
}
return ::vl::WString(L"", false);
}
::vl::WString Demo::ToString(::vl::DateTime value)
{
return (((((::vl::WString(L"", false) + ::vl::__vwsn::ToString(value.month)) + ::vl::WString(L"/", false)) + ::vl::__vwsn::ToString(value.day)) + ::vl::WString(L"/", false)) + ::vl::__vwsn::ToString(value.year));
}
::vl::presentation::FontProperties Demo::ChangeFontSize(::vl::presentation::FontProperties oldFont, ::vl::vint32_t deltaSize)
{
return [&](){ ::vl::presentation::FontProperties __vwsn_temp__; __vwsn_temp__.fontFamily = oldFont.fontFamily; __vwsn_temp__.size = (oldFont.size + deltaSize); __vwsn_temp__.antialias = true; return __vwsn_temp__; }();
}
Demo& Demo::Instance()
{
return Getvl_workflow_global_Demo().instance;
}
/***********************************************************************
Closures
***********************************************************************/
//-------------------------------------------------------------------
__vwsnf100_Demo_demo_TextListTabPageConstructor___vwsn_initialize_instance__::__vwsnf100_Demo_demo_TextListTabPageConstructor___vwsn_initialize_instance__(::demo::TextListTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf100_Demo_demo_TextListTabPageConstructor___vwsn_initialize_instance__::operator()(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs* arguments) const
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(__vwsnthis_0->textList)->GetItems()).Obj())->Clear();
::vl::__vwsn::This(::vl::__vwsn::This(__vwsnthis_0->self)->itemsToBind.Obj())->Clear();
}
//-------------------------------------------------------------------
__vwsnf101_Demo_demo_TreeViewTabPageConstructor___vwsn_initialize_instance__::__vwsnf101_Demo_demo_TreeViewTabPageConstructor___vwsn_initialize_instance__(::demo::TreeViewTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::Ptr<::vl::reflection::description::IValueEnumerable> __vwsnf101_Demo_demo_TreeViewTabPageConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_item_) const
{
auto nodeToBind = ::vl::__vwsn::Unbox<::vl::Ptr<::vl::presentation::controls::tree::MemoryNodeProvider>>(__vwsn_item_);
return ::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueEnumerable>(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(nodeToBind.Obj())->Children()));
}
//-------------------------------------------------------------------
__vwsnf102_Demo_demo_TreeViewTabPageConstructor___vwsn_initialize_instance__::__vwsnf102_Demo_demo_TreeViewTabPageConstructor___vwsn_initialize_instance__(::demo::TreeViewTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::Ptr<::vl::presentation::GuiImageData> __vwsnf102_Demo_demo_TreeViewTabPageConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_item_) const
{
auto nodeToBind = ::vl::__vwsn::Unbox<::vl::Ptr<::vl::presentation::controls::tree::MemoryNodeProvider>>(__vwsn_item_);
return ::vl::__vwsn::This(::vl::__vwsn::SharedPtrCast<::vl::presentation::controls::tree::TreeViewItem>(::vl::__vwsn::This(nodeToBind.Obj())->GetData().Obj()).Obj())->image;
}
//-------------------------------------------------------------------
__vwsnf103_Demo_demo_TreeViewTabPageConstructor___vwsn_initialize_instance__::__vwsnf103_Demo_demo_TreeViewTabPageConstructor___vwsn_initialize_instance__(::demo::TreeViewTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::WString __vwsnf103_Demo_demo_TreeViewTabPageConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_item_) const
{
auto nodeToBind = ::vl::__vwsn::Unbox<::vl::Ptr<::vl::presentation::controls::tree::MemoryNodeProvider>>(__vwsn_item_);
return ::vl::__vwsn::This(::vl::__vwsn::SharedPtrCast<::vl::presentation::controls::tree::TreeViewItem>(::vl::__vwsn::This(nodeToBind.Obj())->GetData().Obj()).Obj())->text;
}
//-------------------------------------------------------------------
__vwsnf104_Demo_darkskin_BottomScrollButtonTemplateConstructor___vwsn_initialize_instance__::__vwsnf104_Demo_darkskin_BottomScrollButtonTemplateConstructor___vwsn_initialize_instance__(::darkskin::BottomScrollButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf104_Demo_darkskin_BottomScrollButtonTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_2.Obj())->GetBorderColor();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::Color>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_2.Obj())->SetBorderColor(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf105_Demo_darkskin_BottomScrollButtonTemplateConstructor___vwsn_initialize_instance__::__vwsnf105_Demo_darkskin_BottomScrollButtonTemplateConstructor___vwsn_initialize_instance__(::darkskin::BottomScrollButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf105_Demo_darkskin_BottomScrollButtonTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_2.Obj())->GetBackgroundColor();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::Color>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_2.Obj())->SetBackgroundColor(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf106_Demo_darkskin_ButtonTemplateConstructor___vwsn_initialize_instance__::__vwsnf106_Demo_darkskin_ButtonTemplateConstructor___vwsn_initialize_instance__(::darkskin::ButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf106_Demo_darkskin_ButtonTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_0.Obj())->GetColor();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::Color>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_0.Obj())->SetColor(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf107_Demo_darkskin_ButtonTemplateConstructor___vwsn_initialize_instance__::__vwsnf107_Demo_darkskin_ButtonTemplateConstructor___vwsn_initialize_instance__(::darkskin::ButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf107_Demo_darkskin_ButtonTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_2.Obj())->GetColor();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::Color>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_2.Obj())->SetColor(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf108_Demo_darkskin_ButtonTemplateConstructor___vwsn_initialize_instance__::__vwsnf108_Demo_darkskin_ButtonTemplateConstructor___vwsn_initialize_instance__(::darkskin::ButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf108_Demo_darkskin_ButtonTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_4.Obj())->GetText();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::WString>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_4.Obj())->SetText(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf109_Demo_darkskin_ButtonTemplateConstructor___vwsn_initialize_instance__::__vwsnf109_Demo_darkskin_ButtonTemplateConstructor___vwsn_initialize_instance__(::darkskin::ButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf109_Demo_darkskin_ButtonTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_4.Obj())->GetColor();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::Color>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_4.Obj())->SetColor(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf10_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__::__vwsnf10_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__(::demo::DataGridTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiGridEditorTemplate* __vwsnf10_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiGridEditorTemplate*>(new ::demo::GenderEditor());
}
}
//-------------------------------------------------------------------
__vwsnf110_Demo_darkskin_ButtonTemplateConstructor___vwsn_initialize_instance__::__vwsnf110_Demo_darkskin_ButtonTemplateConstructor___vwsn_initialize_instance__(::darkskin::ButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf110_Demo_darkskin_ButtonTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_4.Obj())->GetFont();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::FontProperties>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_4.Obj())->SetFont(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf111_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance__::__vwsnf111_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance__(::darkskin::CheckBoxTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf111_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_3.Obj())->GetColor();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::Color>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_3.Obj())->SetColor(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf112_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance__::__vwsnf112_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance__(::darkskin::CheckBoxTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf112_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_5.Obj())->GetColor();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::Color>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_5.Obj())->SetColor(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf113_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance__::__vwsnf113_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance__(::darkskin::CheckBoxTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf113_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_7.Obj())->GetColor();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::Color>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_7.Obj())->SetColor(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf114_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance__::__vwsnf114_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance__(::darkskin::CheckBoxTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf114_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_6)->GetVisible();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<bool>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_6)->SetVisible(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf115_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance__::__vwsnf115_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance__(::darkskin::CheckBoxTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf115_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_10.Obj())->GetText();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::WString>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_10.Obj())->SetText(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf116_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance__::__vwsnf116_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance__(::darkskin::CheckBoxTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf116_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_10.Obj())->GetColor();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::Color>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_10.Obj())->SetColor(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf117_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance__::__vwsnf117_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance__(::darkskin::CheckBoxTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf117_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_10.Obj())->GetFont();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::FontProperties>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_10.Obj())->SetFont(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf118_Demo_darkskin_CheckItemBackgroundTemplateConstructor___vwsn_initialize_instance__::__vwsnf118_Demo_darkskin_CheckItemBackgroundTemplateConstructor___vwsn_initialize_instance__(::darkskin::CheckItemBackgroundTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf118_Demo_darkskin_CheckItemBackgroundTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_0.Obj())->GetColor();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::Color>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_0.Obj())->SetColor(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf119_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance__::__vwsnf119_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance__(::darkskin::ComboBoxTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiDatePickerTemplate* __vwsnf119_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiDatePickerTemplate*>(new ::darkskin::DatePickerTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf11_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__::__vwsnf11_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__(::demo::DataGridTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::reflection::description::Value __vwsnf11_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_item_, const ::vl::reflection::description::Value& __vwsn_value_, bool __vwsn_update_) const
{
auto itemToBind = ::vl::__vwsn::Unbox<::vl::Ptr<::demo::MyDataItem>>(__vwsn_item_);
if (__vwsn_update_)
{
::vl::__vwsn::This(itemToBind.Obj())->SetGender(::vl::__vwsn::Unbox<::demo::MyGender>(__vwsn_value_));
return ::vl::reflection::description::Value();
}
else
{
return ::vl::__vwsn::Box(::vl::__vwsn::This(itemToBind.Obj())->GetGender());
}
}
//-------------------------------------------------------------------
__vwsnf120_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance__::__vwsnf120_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance__(::darkskin::ComboBoxTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiMenuTemplate* __vwsnf120_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiMenuTemplate*>(new ::darkskin::ToolstripMenuTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf121_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance__::__vwsnf121_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance__(::darkskin::ComboBoxTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf121_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_0.Obj())->GetColor();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::Color>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_0.Obj())->SetColor(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf122_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance__::__vwsnf122_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance__(::darkskin::ComboBoxTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf122_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_4.Obj())->GetText();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::WString>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_4.Obj())->SetText(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf123_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance__::__vwsnf123_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance__(::darkskin::ComboBoxTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf123_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_4.Obj())->GetColor();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::Color>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_4.Obj())->SetColor(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf124_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance__::__vwsnf124_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance__(::darkskin::ComboBoxTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf124_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_4.Obj())->GetFont();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::FontProperties>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_4.Obj())->SetFont(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf125_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance__::__vwsnf125_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance__(::darkskin::ComboBoxTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf125_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_6.Obj())->GetColor();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::Color>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_6.Obj())->SetColor(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf126_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance__::__vwsnf126_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance__(::darkskin::ComboBoxTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf126_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_8.Obj())->GetBorderColor();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::Color>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_8.Obj())->SetBorderColor(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf127_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance__::__vwsnf127_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance__(::darkskin::ComboBoxTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf127_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_8.Obj())->GetBackgroundColor();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::Color>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_8.Obj())->SetBackgroundColor(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf128_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__::__vwsnf128_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__(::darkskin::ThemeConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiScrollTemplate* __vwsnf128_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiScrollTemplate*>(new ::darkskin::ProgressBarTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf129_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__::__vwsnf129_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__(::darkskin::ThemeConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiScrollTemplate* __vwsnf129_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiScrollTemplate*>(new ::darkskin::VTrackerTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf12_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__::__vwsnf12_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__(::demo::DataGridTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::WString __vwsnf12_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_item_) const
{
auto itemToBind = ::vl::__vwsn::Unbox<::vl::Ptr<::demo::MyDataItem>>(__vwsn_item_);
return GLOBAL_NAME ToString(::vl::__vwsn::This(itemToBind.Obj())->GetGender());
}
//-------------------------------------------------------------------
__vwsnf130_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__::__vwsnf130_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__(::darkskin::ThemeConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiScrollTemplate* __vwsnf130_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiScrollTemplate*>(new ::darkskin::HTrackerTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf131_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__::__vwsnf131_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__(::darkskin::ThemeConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiScrollTemplate* __vwsnf131_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiScrollTemplate*>(new ::darkskin::VScrollTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf132_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__::__vwsnf132_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__(::darkskin::ThemeConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiScrollTemplate* __vwsnf132_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiScrollTemplate*>(new ::darkskin::HScrollTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf133_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__::__vwsnf133_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__(::darkskin::ThemeConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiDatePickerTemplate* __vwsnf133_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiDatePickerTemplate*>(new ::darkskin::DatePickerTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf134_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__::__vwsnf134_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__(::darkskin::ThemeConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiSelectableButtonTemplate* __vwsnf134_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiSelectableButtonTemplate*>(new ::darkskin::RadioButtonTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf135_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__::__vwsnf135_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__(::darkskin::ThemeConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiSelectableButtonTemplate* __vwsnf135_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiSelectableButtonTemplate*>(new ::darkskin::CheckBoxTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf136_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__::__vwsnf136_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__(::darkskin::ThemeConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiButtonTemplate* __vwsnf136_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiButtonTemplate*>(new ::darkskin::ButtonTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf137_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__::__vwsnf137_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__(::darkskin::ThemeConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiControlTemplate* __vwsnf137_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiControlTemplate*>(new ::darkskin::ToolstripSplitterTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf138_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__::__vwsnf138_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__(::darkskin::ThemeConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiToolstripButtonTemplate* __vwsnf138_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiToolstripButtonTemplate*>(new ::darkskin::ToolstripSplitButtonTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf139_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__::__vwsnf139_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__(::darkskin::ThemeConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiToolstripButtonTemplate* __vwsnf139_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiToolstripButtonTemplate*>(new ::darkskin::ToolstripDropdownButtonTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf13_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__::__vwsnf13_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__(::demo::DataGridTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiGridVisualizerTemplate* __vwsnf13_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiGridVisualizerTemplate*>(new ::vl::presentation::controls::list::CellBorderVisualizerTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf140_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__::__vwsnf140_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__(::darkskin::ThemeConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiToolstripButtonTemplate* __vwsnf140_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiToolstripButtonTemplate*>(new ::darkskin::ToolstripButtonTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf141_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__::__vwsnf141_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__(::darkskin::ThemeConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiControlTemplate* __vwsnf141_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiControlTemplate*>(new ::darkskin::ToolstripTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf142_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__::__vwsnf142_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__(::darkskin::ThemeConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiToolstripButtonTemplate* __vwsnf142_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiToolstripButtonTemplate*>(new ::darkskin::MenuItemButtonTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf143_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__::__vwsnf143_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__(::darkskin::ThemeConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiToolstripButtonTemplate* __vwsnf143_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiToolstripButtonTemplate*>(new ::darkskin::MenuBarButtonTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf144_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__::__vwsnf144_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__(::darkskin::ThemeConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiControlTemplate* __vwsnf144_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiControlTemplate*>(new ::darkskin::MenuSplitterTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf145_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__::__vwsnf145_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__(::darkskin::ThemeConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiControlTemplate* __vwsnf145_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiControlTemplate*>(new ::darkskin::ToolstripTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf146_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__::__vwsnf146_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__(::darkskin::ThemeConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiMenuTemplate* __vwsnf146_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiMenuTemplate*>(new ::darkskin::ToolstripMenuTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf147_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__::__vwsnf147_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__(::darkskin::ThemeConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiSinglelineTextBoxTemplate* __vwsnf147_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiSinglelineTextBoxTemplate*>(new ::darkskin::SinglelineTextBoxTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf148_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__::__vwsnf148_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__(::darkskin::ThemeConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiMultilineTextBoxTemplate* __vwsnf148_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiMultilineTextBoxTemplate*>(new ::darkskin::MultilineTextBoxTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf149_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__::__vwsnf149_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__(::darkskin::ThemeConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiTabTemplate* __vwsnf149_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiTabTemplate*>(new ::darkskin::TabTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf14_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__::__vwsnf14_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__(::demo::DataGridTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiGridVisualizerTemplate* __vwsnf14_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiGridVisualizerTemplate*>(new ::demo::CategoryVisualizer());
}
}
//-------------------------------------------------------------------
__vwsnf150_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__::__vwsnf150_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__(::darkskin::ThemeConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiControlTemplate* __vwsnf150_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiControlTemplate*>(new ::darkskin::GroupBoxTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf151_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__::__vwsnf151_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__(::darkskin::ThemeConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiScrollViewTemplate* __vwsnf151_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiScrollViewTemplate*>(new ::darkskin::ScrollViewTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf152_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__::__vwsnf152_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__(::darkskin::ThemeConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiLabelTemplate* __vwsnf152_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiLabelTemplate*>(new ::darkskin::ShortcutKeyTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf153_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__::__vwsnf153_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__(::darkskin::ThemeConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiLabelTemplate* __vwsnf153_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiLabelTemplate*>(new ::darkskin::LabelTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf154_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__::__vwsnf154_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__(::darkskin::ThemeConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiWindowTemplate* __vwsnf154_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiWindowTemplate*>(new ::darkskin::TooltipTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf155_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__::__vwsnf155_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__(::darkskin::ThemeConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiControlTemplate* __vwsnf155_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiControlTemplate*>(new ::darkskin::CustomControlTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf156_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__::__vwsnf156_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__(::darkskin::ThemeConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiWindowTemplate* __vwsnf156_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiWindowTemplate*>(new ::darkskin::WindowTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf157_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__::__vwsnf157_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__(::darkskin::ThemeConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiComboBoxTemplate* __vwsnf157_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiComboBoxTemplate*>(new ::darkskin::ComboBoxTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf158_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__::__vwsnf158_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__(::darkskin::ThemeConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiDocumentLabelTemplate* __vwsnf158_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiDocumentLabelTemplate*>(new ::darkskin::DocumentLabelTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf159_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__::__vwsnf159_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__(::darkskin::ThemeConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiDocumentViewerTemplate* __vwsnf159_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiDocumentViewerTemplate*>(new ::darkskin::DocumentViewerTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf160_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__::__vwsnf160_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__(::darkskin::ThemeConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiDocumentLabelTemplate* __vwsnf160_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiDocumentLabelTemplate*>(new ::darkskin::DocumentTextBoxTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf161_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__::__vwsnf161_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__(::darkskin::ThemeConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiTreeViewTemplate* __vwsnf161_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiTreeViewTemplate*>(new ::darkskin::TreeViewTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf162_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__::__vwsnf162_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__(::darkskin::ThemeConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiListViewTemplate* __vwsnf162_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiListViewTemplate*>(new ::darkskin::ListViewTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf163_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__::__vwsnf163_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__(::darkskin::ThemeConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiTextListTemplate* __vwsnf163_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiTextListTemplate*>(new ::darkskin::TextListTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf164_Demo_darkskin_DatePickerTemplateConstructor___vwsn_initialize_instance__::__vwsnf164_Demo_darkskin_DatePickerTemplateConstructor___vwsn_initialize_instance__(::darkskin::DatePickerTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiComboBoxTemplate* __vwsnf164_Demo_darkskin_DatePickerTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiComboBoxTemplate*>(new ::darkskin::ComboBoxTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf165_Demo_darkskin_DatePickerTemplateConstructor___vwsn_initialize_instance__::__vwsnf165_Demo_darkskin_DatePickerTemplateConstructor___vwsn_initialize_instance__(::darkskin::DatePickerTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiTextListTemplate* __vwsnf165_Demo_darkskin_DatePickerTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiTextListTemplate*>(new ::darkskin::TextListTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf166_Demo_darkskin_DatePickerTemplateConstructor___vwsn_initialize_instance__::__vwsnf166_Demo_darkskin_DatePickerTemplateConstructor___vwsn_initialize_instance__(::darkskin::DatePickerTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiSelectableButtonTemplate* __vwsnf166_Demo_darkskin_DatePickerTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiSelectableButtonTemplate*>(new ::darkskin::ItemBackgroundTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf167_Demo_darkskin_DocumentViewerTemplateConstructor___vwsn_initialize_instance__::__vwsnf167_Demo_darkskin_DocumentViewerTemplateConstructor___vwsn_initialize_instance__(::darkskin::DocumentViewerTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiScrollTemplate* __vwsnf167_Demo_darkskin_DocumentViewerTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiScrollTemplate*>(new ::darkskin::VScrollTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf168_Demo_darkskin_DocumentViewerTemplateConstructor___vwsn_initialize_instance__::__vwsnf168_Demo_darkskin_DocumentViewerTemplateConstructor___vwsn_initialize_instance__(::darkskin::DocumentViewerTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiScrollTemplate* __vwsnf168_Demo_darkskin_DocumentViewerTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiScrollTemplate*>(new ::darkskin::HScrollTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf169_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance__::__vwsnf169_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance__(::darkskin::ExpandingDecoratorTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf169_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_3.Obj())->GetBorderColor();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::Color>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_3.Obj())->SetBorderColor(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf16_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__::__vwsnf16_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__(::demo::DataGridTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiGridEditorTemplate* __vwsnf16_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiGridEditorTemplate*>(new ::demo::CategoryEditor());
}
}
//-------------------------------------------------------------------
__vwsnf170_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance__::__vwsnf170_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance__(::darkskin::ExpandingDecoratorTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf170_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_3.Obj())->GetBackgroundColor();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::Color>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_3.Obj())->SetBackgroundColor(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf171_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance__::__vwsnf171_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance__(::darkskin::ExpandingDecoratorTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf171_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_2)->GetVisible();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<bool>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_2)->SetVisible(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf172_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance__::__vwsnf172_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance__(::darkskin::ExpandingDecoratorTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf172_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_5.Obj())->GetBorderColor();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::Color>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_5.Obj())->SetBorderColor(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf173_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance__::__vwsnf173_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance__(::darkskin::ExpandingDecoratorTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf173_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_5.Obj())->GetBackgroundColor();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::Color>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_5.Obj())->SetBackgroundColor(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf174_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance__::__vwsnf174_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance__(::darkskin::ExpandingDecoratorTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf174_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_4)->GetVisible();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<bool>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_4)->SetVisible(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf175_Demo_darkskin_GroupBoxTemplateConstructor___vwsn_initialize_instance__::__vwsnf175_Demo_darkskin_GroupBoxTemplateConstructor___vwsn_initialize_instance__(::darkskin::GroupBoxTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf175_Demo_darkskin_GroupBoxTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_1)->GetAlignmentToParent();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::Margin>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_1)->SetAlignmentToParent(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf176_Demo_darkskin_GroupBoxTemplateConstructor___vwsn_initialize_instance__::__vwsnf176_Demo_darkskin_GroupBoxTemplateConstructor___vwsn_initialize_instance__(::darkskin::GroupBoxTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf176_Demo_darkskin_GroupBoxTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_5.Obj())->GetText();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::WString>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_5.Obj())->SetText(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf177_Demo_darkskin_GroupBoxTemplateConstructor___vwsn_initialize_instance__::__vwsnf177_Demo_darkskin_GroupBoxTemplateConstructor___vwsn_initialize_instance__(::darkskin::GroupBoxTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf177_Demo_darkskin_GroupBoxTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_5.Obj())->GetFont();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::FontProperties>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_5.Obj())->SetFont(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf178_Demo_darkskin_HScrollHandleTemplateConstructor___vwsn_initialize_instance__::__vwsnf178_Demo_darkskin_HScrollHandleTemplateConstructor___vwsn_initialize_instance__(::darkskin::HScrollHandleTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf178_Demo_darkskin_HScrollHandleTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_1.Obj())->GetColor();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::Color>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_1.Obj())->SetColor(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf179_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance__::__vwsnf179_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance__(::darkskin::HScrollTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiButtonTemplate* __vwsnf179_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiButtonTemplate*>(new ::darkskin::LeftScrollButtonTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf17_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__::__vwsnf17_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__(::demo::DataGridTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::reflection::description::Value __vwsnf17_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_item_, const ::vl::reflection::description::Value& __vwsn_value_, bool __vwsn_update_) const
{
auto itemToBind = ::vl::__vwsn::Unbox<::vl::Ptr<::demo::MyDataItem>>(__vwsn_item_);
if (__vwsn_update_)
{
::vl::__vwsn::This(itemToBind.Obj())->SetCategory(::vl::__vwsn::Unbox<::demo::MyCategory>(__vwsn_value_));
return ::vl::reflection::description::Value();
}
else
{
return ::vl::__vwsn::Box(::vl::__vwsn::This(itemToBind.Obj())->GetCategory());
}
}
//-------------------------------------------------------------------
__vwsnf180_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance__::__vwsnf180_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance__(::darkskin::HScrollTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiButtonTemplate* __vwsnf180_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiButtonTemplate*>(new ::darkskin::RightScrollButtonTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf181_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance__::__vwsnf181_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance__(::darkskin::HScrollTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiButtonTemplate* __vwsnf181_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiButtonTemplate*>(new ::darkskin::HScrollHandleTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf182_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance__::__vwsnf182_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance__(::darkskin::HScrollTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf182_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance__::operator()(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs* arguments) const
{
::vl::__vwsn::This(::vl::__vwsn::This(__vwsnthis_0->self)->GetCommands())->SmallDecrease();
}
//-------------------------------------------------------------------
__vwsnf183_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance__::__vwsnf183_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance__(::darkskin::HScrollTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf183_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance__::operator()(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs* arguments) const
{
::vl::__vwsn::This(::vl::__vwsn::This(__vwsnthis_0->self)->GetCommands())->SmallIncrease();
}
//-------------------------------------------------------------------
__vwsnf184_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance__::__vwsnf184_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance__(::darkskin::HScrollTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf184_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_7)->GetAlignmentToParent();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::Margin>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_7)->SetAlignmentToParent(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf185_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance__::__vwsnf185_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance__(::darkskin::HScrollTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf185_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance__::operator()(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiMouseEventArgs* arguments) const
{
if (::vl::__vwsn::This(::vl::__vwsn::This(__vwsnthis_0->handleContainer)->GetRelatedControl())->GetVisuallyEnabled())
{
::vl::__vwsn::This(::vl::__vwsn::This(__vwsnthis_0->self)->GetCommands())->BigDecrease();
}
}
//-------------------------------------------------------------------
__vwsnf186_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance__::__vwsnf186_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance__(::darkskin::HScrollTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf186_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_8)->GetAlignmentToParent();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::Margin>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_8)->SetAlignmentToParent(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf187_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance__::__vwsnf187_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance__(::darkskin::HScrollTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf187_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance__::operator()(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiMouseEventArgs* arguments) const
{
if (::vl::__vwsn::This(::vl::__vwsn::This(__vwsnthis_0->handleContainer)->GetRelatedControl())->GetVisuallyEnabled())
{
::vl::__vwsn::This(::vl::__vwsn::This(__vwsnthis_0->self)->GetCommands())->BigIncrease();
}
}
//-------------------------------------------------------------------
__vwsnf188_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance__::__vwsnf188_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance__(::darkskin::HScrollTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf188_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->handle)->GetWidthPageSize();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<double>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->handle)->SetWidthPageSize(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf189_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance__::__vwsnf189_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance__(::darkskin::HScrollTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf189_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->handle)->GetWidthRatio();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<double>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->handle)->SetWidthRatio(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf18_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__::__vwsnf18_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__(::demo::DataGridTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::WString __vwsnf18_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_item_) const
{
auto itemToBind = ::vl::__vwsn::Unbox<::vl::Ptr<::demo::MyDataItem>>(__vwsn_item_);
return GLOBAL_NAME ToString(::vl::__vwsn::This(itemToBind.Obj())->GetCategory());
}
//-------------------------------------------------------------------
__vwsnf190_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance__::__vwsnf190_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance__(::darkskin::HScrollTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf190_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance__::operator()(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiMouseEventArgs* arguments) const
{
if (::vl::__vwsn::This(__vwsnthis_0->self)->GetVisuallyEnabled())
{
(::vl::__vwsn::This(__vwsnthis_0->self)->draggingHandle = true);
(::vl::__vwsn::This(__vwsnthis_0->self)->draggingStartLocation = [&](){ ::vl::presentation::Point __vwsn_temp__; __vwsn_temp__.x = ::vl::__vwsn::This(arguments)->x; __vwsn_temp__.y = ::vl::__vwsn::This(arguments)->y; return __vwsn_temp__; }());
}
}
//-------------------------------------------------------------------
__vwsnf191_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance__::__vwsnf191_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance__(::darkskin::HScrollTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf191_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance__::operator()(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiMouseEventArgs* arguments) const
{
(::vl::__vwsn::This(__vwsnthis_0->self)->draggingHandle = false);
}
//-------------------------------------------------------------------
__vwsnf192_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance__::__vwsnf192_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance__(::darkskin::HScrollTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf192_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance__::operator()(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiMouseEventArgs* arguments) const
{
if (::vl::__vwsn::This(__vwsnthis_0->self)->draggingHandle)
{
auto bounds = ::vl::__vwsn::This(::vl::__vwsn::This(__vwsnthis_0->handle)->GetParent())->GetBounds();
auto totalPixels = (bounds.x2 - bounds.x1);
auto currentOffset = ::vl::__vwsn::This(__vwsnthis_0->handle)->GetBounds().x1;
auto newOffset = (currentOffset + (::vl::__vwsn::This(arguments)->x - ::vl::__vwsn::This(__vwsnthis_0->self)->draggingStartLocation.x));
::ScrollTemplateScript::SetScroll(totalPixels, newOffset, static_cast<::vl::presentation::templates::GuiScrollTemplate*>(__vwsnthis_0->self));
}
}
//-------------------------------------------------------------------
__vwsnf193_Demo_darkskin_HTrackerTemplateConstructor___vwsn_initialize_instance__::__vwsnf193_Demo_darkskin_HTrackerTemplateConstructor___vwsn_initialize_instance__(::darkskin::HTrackerTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiButtonTemplate* __vwsnf193_Demo_darkskin_HTrackerTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiButtonTemplate*>(new ::darkskin::ButtonTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf194_Demo_darkskin_HTrackerTemplateConstructor___vwsn_initialize_instance__::__vwsnf194_Demo_darkskin_HTrackerTemplateConstructor___vwsn_initialize_instance__(::darkskin::HTrackerTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf194_Demo_darkskin_HTrackerTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->handle)->GetAlignmentToParent();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::Margin>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->handle)->SetAlignmentToParent(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf195_Demo_darkskin_HTrackerTemplateConstructor___vwsn_initialize_instance__::__vwsnf195_Demo_darkskin_HTrackerTemplateConstructor___vwsn_initialize_instance__(::darkskin::HTrackerTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf195_Demo_darkskin_HTrackerTemplateConstructor___vwsn_initialize_instance__::operator()(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiMouseEventArgs* arguments) const
{
if (::vl::__vwsn::This(__vwsnthis_0->self)->GetVisuallyEnabled())
{
(::vl::__vwsn::This(__vwsnthis_0->self)->draggingHandle = true);
(::vl::__vwsn::This(__vwsnthis_0->self)->draggingStartLocation = [&](){ ::vl::presentation::Point __vwsn_temp__; __vwsn_temp__.x = ::vl::__vwsn::This(arguments)->x; __vwsn_temp__.y = ::vl::__vwsn::This(arguments)->y; return __vwsn_temp__; }());
}
}
//-------------------------------------------------------------------
__vwsnf196_Demo_darkskin_HTrackerTemplateConstructor___vwsn_initialize_instance__::__vwsnf196_Demo_darkskin_HTrackerTemplateConstructor___vwsn_initialize_instance__(::darkskin::HTrackerTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf196_Demo_darkskin_HTrackerTemplateConstructor___vwsn_initialize_instance__::operator()(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiMouseEventArgs* arguments) const
{
(::vl::__vwsn::This(__vwsnthis_0->self)->draggingHandle = false);
}
//-------------------------------------------------------------------
__vwsnf197_Demo_darkskin_HTrackerTemplateConstructor___vwsn_initialize_instance__::__vwsnf197_Demo_darkskin_HTrackerTemplateConstructor___vwsn_initialize_instance__(::darkskin::HTrackerTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf197_Demo_darkskin_HTrackerTemplateConstructor___vwsn_initialize_instance__::operator()(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiMouseEventArgs* arguments) const
{
if (::vl::__vwsn::This(__vwsnthis_0->self)->draggingHandle)
{
auto bounds = ::vl::__vwsn::This(::vl::__vwsn::This(__vwsnthis_0->handle)->GetParent())->GetBounds();
auto totalPixels = (bounds.x2 - bounds.x1);
auto currentOffset = ::vl::__vwsn::This(__vwsnthis_0->handle)->GetBounds().x1;
auto newOffset = (currentOffset + (::vl::__vwsn::This(arguments)->x - ::vl::__vwsn::This(__vwsnthis_0->self)->draggingStartLocation.x));
::ScrollTemplateScript::SetScroll(totalPixels, newOffset, static_cast<::vl::presentation::templates::GuiScrollTemplate*>(__vwsnthis_0->self));
}
}
//-------------------------------------------------------------------
__vwsnf198_Demo_darkskin_ItemBackgroundTemplateConstructor___vwsn_initialize_instance__::__vwsnf198_Demo_darkskin_ItemBackgroundTemplateConstructor___vwsn_initialize_instance__(::darkskin::ItemBackgroundTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf198_Demo_darkskin_ItemBackgroundTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_0.Obj())->GetColor();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::Color>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_0.Obj())->SetColor(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf199_Demo_darkskin_LabelTemplateConstructor___vwsn_initialize_instance__::__vwsnf199_Demo_darkskin_LabelTemplateConstructor___vwsn_initialize_instance__(::darkskin::LabelTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf199_Demo_darkskin_LabelTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_0.Obj())->GetText();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::WString>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_0.Obj())->SetText(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf1_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__::__vwsnf1_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__(::demo::DataGridTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::Ptr<::vl::presentation::GuiImageData> __vwsnf1_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_item_) const
{
auto itemToBind = ::vl::__vwsn::Unbox<::vl::Ptr<::demo::MyDataItem>>(__vwsn_item_);
return ::vl::__vwsn::This(itemToBind.Obj())->GetSmallImage();
}
//-------------------------------------------------------------------
__vwsnf200_Demo_darkskin_LabelTemplateConstructor___vwsn_initialize_instance__::__vwsnf200_Demo_darkskin_LabelTemplateConstructor___vwsn_initialize_instance__(::darkskin::LabelTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf200_Demo_darkskin_LabelTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_0.Obj())->GetColor();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::Color>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_0.Obj())->SetColor(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf201_Demo_darkskin_LabelTemplateConstructor___vwsn_initialize_instance__::__vwsnf201_Demo_darkskin_LabelTemplateConstructor___vwsn_initialize_instance__(::darkskin::LabelTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf201_Demo_darkskin_LabelTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_0.Obj())->GetFont();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::FontProperties>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_0.Obj())->SetFont(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf202_Demo_darkskin_LeftScrollButtonTemplateConstructor___vwsn_initialize_instance__::__vwsnf202_Demo_darkskin_LeftScrollButtonTemplateConstructor___vwsn_initialize_instance__(::darkskin::LeftScrollButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf202_Demo_darkskin_LeftScrollButtonTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_2.Obj())->GetBorderColor();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::Color>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_2.Obj())->SetBorderColor(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf203_Demo_darkskin_LeftScrollButtonTemplateConstructor___vwsn_initialize_instance__::__vwsnf203_Demo_darkskin_LeftScrollButtonTemplateConstructor___vwsn_initialize_instance__(::darkskin::LeftScrollButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf203_Demo_darkskin_LeftScrollButtonTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_2.Obj())->GetBackgroundColor();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::Color>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_2.Obj())->SetBackgroundColor(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf204_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance__::__vwsnf204_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance__(::darkskin::ListViewColumnHeaderTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiMenuTemplate* __vwsnf204_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiMenuTemplate*>(new ::darkskin::ToolstripMenuTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf205_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance__::__vwsnf205_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance__(::darkskin::ListViewColumnHeaderTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiSelectableButtonTemplate* __vwsnf205_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiSelectableButtonTemplate*>(new ::darkskin::ToolstripSplitArrowTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf206_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance__::__vwsnf206_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance__(::darkskin::ListViewColumnHeaderTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf206_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_0.Obj())->GetColor();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::Color>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_0.Obj())->SetColor(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf207_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance__::__vwsnf207_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance__(::darkskin::ListViewColumnHeaderTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf207_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_7.Obj())->GetText();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::WString>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_7.Obj())->SetText(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf208_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance__::__vwsnf208_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance__(::darkskin::ListViewColumnHeaderTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf208_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_7.Obj())->GetColor();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::Color>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_7.Obj())->SetColor(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf209_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance__::__vwsnf209_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance__(::darkskin::ListViewColumnHeaderTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf209_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_7.Obj())->GetFont();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::FontProperties>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_7.Obj())->SetFont(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf20_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__::__vwsnf20_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__(::demo::DataGridTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiGridEditorTemplate* __vwsnf20_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiGridEditorTemplate*>(new ::demo::DateEditor());
}
}
//-------------------------------------------------------------------
__vwsnf210_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance__::__vwsnf210_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance__(::darkskin::ListViewColumnHeaderTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf210_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->buttonArrow)->GetSelected();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<bool>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->buttonArrow)->SetSelected(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf211_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance__::__vwsnf211_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance__(::darkskin::ListViewColumnHeaderTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf211_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->buttonArrow)->GetVisible();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<bool>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->buttonArrow)->SetVisible(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf212_Demo_darkskin_ListViewTemplateConstructor___vwsn_initialize_instance__::__vwsnf212_Demo_darkskin_ListViewTemplateConstructor___vwsn_initialize_instance__(::darkskin::ListViewTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiListViewColumnHeaderTemplate* __vwsnf212_Demo_darkskin_ListViewTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiListViewColumnHeaderTemplate*>(new ::darkskin::ListViewColumnHeaderTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf213_Demo_darkskin_ListViewTemplateConstructor___vwsn_initialize_instance__::__vwsnf213_Demo_darkskin_ListViewTemplateConstructor___vwsn_initialize_instance__(::darkskin::ListViewTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiSelectableButtonTemplate* __vwsnf213_Demo_darkskin_ListViewTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiSelectableButtonTemplate*>(new ::darkskin::ItemBackgroundTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf214_Demo_darkskin_ListViewTemplateConstructor___vwsn_initialize_instance__::__vwsnf214_Demo_darkskin_ListViewTemplateConstructor___vwsn_initialize_instance__(::darkskin::ListViewTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiScrollTemplate* __vwsnf214_Demo_darkskin_ListViewTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiScrollTemplate*>(new ::darkskin::VScrollTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf215_Demo_darkskin_ListViewTemplateConstructor___vwsn_initialize_instance__::__vwsnf215_Demo_darkskin_ListViewTemplateConstructor___vwsn_initialize_instance__(::darkskin::ListViewTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiScrollTemplate* __vwsnf215_Demo_darkskin_ListViewTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiScrollTemplate*>(new ::darkskin::HScrollTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf216_Demo_darkskin_MenuBarButtonTemplateConstructor___vwsn_initialize_instance__::__vwsnf216_Demo_darkskin_MenuBarButtonTemplateConstructor___vwsn_initialize_instance__(::darkskin::MenuBarButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiMenuTemplate* __vwsnf216_Demo_darkskin_MenuBarButtonTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiMenuTemplate*>(new ::darkskin::ToolstripMenuTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf217_Demo_darkskin_MenuBarButtonTemplateConstructor___vwsn_initialize_instance__::__vwsnf217_Demo_darkskin_MenuBarButtonTemplateConstructor___vwsn_initialize_instance__(::darkskin::MenuBarButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf217_Demo_darkskin_MenuBarButtonTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_0.Obj())->GetColor();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::Color>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_0.Obj())->SetColor(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf218_Demo_darkskin_MenuBarButtonTemplateConstructor___vwsn_initialize_instance__::__vwsnf218_Demo_darkskin_MenuBarButtonTemplateConstructor___vwsn_initialize_instance__(::darkskin::MenuBarButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf218_Demo_darkskin_MenuBarButtonTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_2.Obj())->GetText();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::WString>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_2.Obj())->SetText(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf219_Demo_darkskin_MenuBarButtonTemplateConstructor___vwsn_initialize_instance__::__vwsnf219_Demo_darkskin_MenuBarButtonTemplateConstructor___vwsn_initialize_instance__(::darkskin::MenuBarButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf219_Demo_darkskin_MenuBarButtonTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_2.Obj())->GetColor();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::Color>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_2.Obj())->SetColor(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf21_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__::__vwsnf21_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__(::demo::DataGridTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::reflection::description::Value __vwsnf21_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_item_, const ::vl::reflection::description::Value& __vwsn_value_, bool __vwsn_update_) const
{
auto itemToBind = ::vl::__vwsn::Unbox<::vl::Ptr<::demo::MyDataItem>>(__vwsn_item_);
if (__vwsn_update_)
{
::vl::__vwsn::This(itemToBind.Obj())->SetBirthday(::vl::__vwsn::Unbox<::vl::DateTime>(__vwsn_value_));
return ::vl::reflection::description::Value();
}
else
{
return ::vl::__vwsn::Box(::vl::__vwsn::This(itemToBind.Obj())->GetBirthday());
}
}
//-------------------------------------------------------------------
__vwsnf220_Demo_darkskin_MenuBarButtonTemplateConstructor___vwsn_initialize_instance__::__vwsnf220_Demo_darkskin_MenuBarButtonTemplateConstructor___vwsn_initialize_instance__(::darkskin::MenuBarButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf220_Demo_darkskin_MenuBarButtonTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_2.Obj())->GetFont();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::FontProperties>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_2.Obj())->SetFont(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf221_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance__::__vwsnf221_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance__(::darkskin::MenuItemButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiMenuTemplate* __vwsnf221_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiMenuTemplate*>(new ::darkskin::ToolstripMenuTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf222_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance__::__vwsnf222_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance__(::darkskin::MenuItemButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf222_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_0.Obj())->GetColor();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::Color>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_0.Obj())->SetColor(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf223_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance__::__vwsnf223_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance__(::darkskin::MenuItemButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf223_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_3.Obj())->GetImage();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::Ptr<::vl::presentation::INativeImage>>(__vwsn_value_);
if ((__vwsn_old_.Obj() == __vwsn_new_.Obj()))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_3.Obj())->SetImage(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf224_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance__::__vwsnf224_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance__(::darkskin::MenuItemButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf224_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_3.Obj())->GetEnabled();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<bool>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_3.Obj())->SetEnabled(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf225_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance__::__vwsnf225_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance__(::darkskin::MenuItemButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf225_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_3.Obj())->GetFrameIndex();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::vint32_t>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_3.Obj())->SetFrameIndex(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf226_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance__::__vwsnf226_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance__(::darkskin::MenuItemButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf226_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_6.Obj())->GetText();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::WString>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_6.Obj())->SetText(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf227_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance__::__vwsnf227_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance__(::darkskin::MenuItemButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf227_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_6.Obj())->GetColor();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::Color>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_6.Obj())->SetColor(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf228_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance__::__vwsnf228_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance__(::darkskin::MenuItemButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf228_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_6.Obj())->GetFont();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::FontProperties>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_6.Obj())->SetFont(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf229_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance__::__vwsnf229_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance__(::darkskin::MenuItemButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf229_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_9.Obj())->GetText();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::WString>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_9.Obj())->SetText(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf22_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__::__vwsnf22_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__(::demo::DataGridTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::WString __vwsnf22_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_item_) const
{
auto itemToBind = ::vl::__vwsn::Unbox<::vl::Ptr<::demo::MyDataItem>>(__vwsn_item_);
return GLOBAL_NAME ToString(::vl::__vwsn::This(itemToBind.Obj())->GetBirthday());
}
//-------------------------------------------------------------------
__vwsnf230_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance__::__vwsnf230_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance__(::darkskin::MenuItemButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf230_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_9.Obj())->GetColor();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::Color>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_9.Obj())->SetColor(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf231_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance__::__vwsnf231_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance__(::darkskin::MenuItemButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf231_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_9.Obj())->GetFont();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::FontProperties>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_9.Obj())->SetFont(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf232_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance__::__vwsnf232_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance__(::darkskin::MenuItemButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf232_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_11.Obj())->GetBorderColor();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::Color>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_11.Obj())->SetBorderColor(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf233_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance__::__vwsnf233_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance__(::darkskin::MenuItemButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf233_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_11.Obj())->GetBackgroundColor();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::Color>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_11.Obj())->SetBackgroundColor(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf234_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance__::__vwsnf234_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance__(::darkskin::MenuItemButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf234_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_10)->GetVisible();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<bool>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_10)->SetVisible(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf235_Demo_darkskin_MultilineTextBoxTemplateConstructor___vwsn_initialize_instance__::__vwsnf235_Demo_darkskin_MultilineTextBoxTemplateConstructor___vwsn_initialize_instance__(::darkskin::MultilineTextBoxTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiScrollTemplate* __vwsnf235_Demo_darkskin_MultilineTextBoxTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiScrollTemplate*>(new ::darkskin::VScrollTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf236_Demo_darkskin_MultilineTextBoxTemplateConstructor___vwsn_initialize_instance__::__vwsnf236_Demo_darkskin_MultilineTextBoxTemplateConstructor___vwsn_initialize_instance__(::darkskin::MultilineTextBoxTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiScrollTemplate* __vwsnf236_Demo_darkskin_MultilineTextBoxTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiScrollTemplate*>(new ::darkskin::HScrollTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf237_Demo_darkskin_ProgressBarTemplateConstructor___vwsn_initialize_instance__::__vwsnf237_Demo_darkskin_ProgressBarTemplateConstructor___vwsn_initialize_instance__(::darkskin::ProgressBarTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf237_Demo_darkskin_ProgressBarTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_3)->GetAlignmentToParent();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::Margin>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_3)->SetAlignmentToParent(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf238_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance__::__vwsnf238_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance__(::darkskin::RadioButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf238_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_3.Obj())->GetColor();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::Color>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_3.Obj())->SetColor(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf239_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance__::__vwsnf239_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance__(::darkskin::RadioButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf239_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_5.Obj())->GetColor();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::Color>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_5.Obj())->SetColor(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf23_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__::__vwsnf23_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__(::demo::DataGridTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiGridVisualizerTemplate* __vwsnf23_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiGridVisualizerTemplate*>(new ::vl::presentation::controls::list::CellBorderVisualizerTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf240_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance__::__vwsnf240_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance__(::darkskin::RadioButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf240_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_7.Obj())->GetColor();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::Color>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_7.Obj())->SetColor(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf241_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance__::__vwsnf241_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance__(::darkskin::RadioButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf241_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_6)->GetVisible();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<bool>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_6)->SetVisible(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf242_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance__::__vwsnf242_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance__(::darkskin::RadioButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf242_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_10.Obj())->GetText();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::WString>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_10.Obj())->SetText(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf243_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance__::__vwsnf243_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance__(::darkskin::RadioButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf243_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_10.Obj())->GetColor();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::Color>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_10.Obj())->SetColor(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf244_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance__::__vwsnf244_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance__(::darkskin::RadioButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf244_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_10.Obj())->GetFont();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::FontProperties>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_10.Obj())->SetFont(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf245_Demo_darkskin_RightScrollButtonTemplateConstructor___vwsn_initialize_instance__::__vwsnf245_Demo_darkskin_RightScrollButtonTemplateConstructor___vwsn_initialize_instance__(::darkskin::RightScrollButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf245_Demo_darkskin_RightScrollButtonTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_2.Obj())->GetBorderColor();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::Color>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_2.Obj())->SetBorderColor(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf246_Demo_darkskin_RightScrollButtonTemplateConstructor___vwsn_initialize_instance__::__vwsnf246_Demo_darkskin_RightScrollButtonTemplateConstructor___vwsn_initialize_instance__(::darkskin::RightScrollButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf246_Demo_darkskin_RightScrollButtonTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_2.Obj())->GetBackgroundColor();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::Color>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_2.Obj())->SetBackgroundColor(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf247_Demo_darkskin_ScrollViewTemplateConstructor___vwsn_initialize_instance__::__vwsnf247_Demo_darkskin_ScrollViewTemplateConstructor___vwsn_initialize_instance__(::darkskin::ScrollViewTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiScrollTemplate* __vwsnf247_Demo_darkskin_ScrollViewTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiScrollTemplate*>(new ::darkskin::VScrollTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf248_Demo_darkskin_ScrollViewTemplateConstructor___vwsn_initialize_instance__::__vwsnf248_Demo_darkskin_ScrollViewTemplateConstructor___vwsn_initialize_instance__(::darkskin::ScrollViewTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiScrollTemplate* __vwsnf248_Demo_darkskin_ScrollViewTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiScrollTemplate*>(new ::darkskin::HScrollTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf249_Demo_darkskin_ShortcutKeyTemplateConstructor___vwsn_initialize_instance__::__vwsnf249_Demo_darkskin_ShortcutKeyTemplateConstructor___vwsn_initialize_instance__(::darkskin::ShortcutKeyTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf249_Demo_darkskin_ShortcutKeyTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_4.Obj())->GetText();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::WString>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_4.Obj())->SetText(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf24_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__::__vwsnf24_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__(::demo::DataGridTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiGridVisualizerTemplate* __vwsnf24_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiGridVisualizerTemplate*>(new ::vl::presentation::controls::list::HyperlinkVisualizerTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf250_Demo_darkskin_ShortcutKeyTemplateConstructor___vwsn_initialize_instance__::__vwsnf250_Demo_darkskin_ShortcutKeyTemplateConstructor___vwsn_initialize_instance__(::darkskin::ShortcutKeyTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf250_Demo_darkskin_ShortcutKeyTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_4.Obj())->GetColor();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::Color>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_4.Obj())->SetColor(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf251_Demo_darkskin_ShortcutKeyTemplateConstructor___vwsn_initialize_instance__::__vwsnf251_Demo_darkskin_ShortcutKeyTemplateConstructor___vwsn_initialize_instance__(::darkskin::ShortcutKeyTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf251_Demo_darkskin_ShortcutKeyTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_4.Obj())->GetFont();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::FontProperties>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_4.Obj())->SetFont(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf252_Demo_darkskin_TabDropdownTemplateConstructor___vwsn_initialize_instance__::__vwsnf252_Demo_darkskin_TabDropdownTemplateConstructor___vwsn_initialize_instance__(::darkskin::TabDropdownTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf252_Demo_darkskin_TabDropdownTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_0.Obj())->GetColor();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::Color>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_0.Obj())->SetColor(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf253_Demo_darkskin_TabHeaderTemplateConstructor___vwsn_initialize_instance__::__vwsnf253_Demo_darkskin_TabHeaderTemplateConstructor___vwsn_initialize_instance__(::darkskin::TabHeaderTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf253_Demo_darkskin_TabHeaderTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_0.Obj())->GetColor();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::Color>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_0.Obj())->SetColor(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf254_Demo_darkskin_TabHeaderTemplateConstructor___vwsn_initialize_instance__::__vwsnf254_Demo_darkskin_TabHeaderTemplateConstructor___vwsn_initialize_instance__(::darkskin::TabHeaderTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf254_Demo_darkskin_TabHeaderTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_2.Obj())->GetText();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::WString>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_2.Obj())->SetText(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf255_Demo_darkskin_TabHeaderTemplateConstructor___vwsn_initialize_instance__::__vwsnf255_Demo_darkskin_TabHeaderTemplateConstructor___vwsn_initialize_instance__(::darkskin::TabHeaderTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf255_Demo_darkskin_TabHeaderTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_2.Obj())->GetColor();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::Color>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_2.Obj())->SetColor(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf256_Demo_darkskin_TabHeaderTemplateConstructor___vwsn_initialize_instance__::__vwsnf256_Demo_darkskin_TabHeaderTemplateConstructor___vwsn_initialize_instance__(::darkskin::TabHeaderTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf256_Demo_darkskin_TabHeaderTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_2.Obj())->GetFont();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::FontProperties>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_2.Obj())->SetFont(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf257_Demo_darkskin_TabTemplateConstructor___vwsn_initialize_instance__::__vwsnf257_Demo_darkskin_TabTemplateConstructor___vwsn_initialize_instance__(::darkskin::TabTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiToolstripButtonTemplate* __vwsnf257_Demo_darkskin_TabTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiToolstripButtonTemplate*>(new ::darkskin::MenuItemButtonTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf258_Demo_darkskin_TabTemplateConstructor___vwsn_initialize_instance__::__vwsnf258_Demo_darkskin_TabTemplateConstructor___vwsn_initialize_instance__(::darkskin::TabTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiMenuTemplate* __vwsnf258_Demo_darkskin_TabTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiMenuTemplate*>(new ::darkskin::ToolstripMenuTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf259_Demo_darkskin_TabTemplateConstructor___vwsn_initialize_instance__::__vwsnf259_Demo_darkskin_TabTemplateConstructor___vwsn_initialize_instance__(::darkskin::TabTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiButtonTemplate* __vwsnf259_Demo_darkskin_TabTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiButtonTemplate*>(new ::darkskin::TabDropdownTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf260_Demo_darkskin_TabTemplateConstructor___vwsn_initialize_instance__::__vwsnf260_Demo_darkskin_TabTemplateConstructor___vwsn_initialize_instance__(::darkskin::TabTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiSelectableButtonTemplate* __vwsnf260_Demo_darkskin_TabTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiSelectableButtonTemplate*>(new ::darkskin::TabHeaderTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf261_Demo_darkskin_TextListTemplateConstructor___vwsn_initialize_instance__::__vwsnf261_Demo_darkskin_TextListTemplateConstructor___vwsn_initialize_instance__(::darkskin::TextListTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiSelectableButtonTemplate* __vwsnf261_Demo_darkskin_TextListTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiSelectableButtonTemplate*>(new ::darkskin::RadioButtonTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf262_Demo_darkskin_TextListTemplateConstructor___vwsn_initialize_instance__::__vwsnf262_Demo_darkskin_TextListTemplateConstructor___vwsn_initialize_instance__(::darkskin::TextListTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiSelectableButtonTemplate* __vwsnf262_Demo_darkskin_TextListTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiSelectableButtonTemplate*>(new ::darkskin::CheckBoxTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf263_Demo_darkskin_TextListTemplateConstructor___vwsn_initialize_instance__::__vwsnf263_Demo_darkskin_TextListTemplateConstructor___vwsn_initialize_instance__(::darkskin::TextListTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiSelectableButtonTemplate* __vwsnf263_Demo_darkskin_TextListTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiSelectableButtonTemplate*>(new ::darkskin::ItemBackgroundTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf264_Demo_darkskin_TextListTemplateConstructor___vwsn_initialize_instance__::__vwsnf264_Demo_darkskin_TextListTemplateConstructor___vwsn_initialize_instance__(::darkskin::TextListTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiScrollTemplate* __vwsnf264_Demo_darkskin_TextListTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiScrollTemplate*>(new ::darkskin::VScrollTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf265_Demo_darkskin_TextListTemplateConstructor___vwsn_initialize_instance__::__vwsnf265_Demo_darkskin_TextListTemplateConstructor___vwsn_initialize_instance__(::darkskin::TextListTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiScrollTemplate* __vwsnf265_Demo_darkskin_TextListTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiScrollTemplate*>(new ::darkskin::HScrollTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf266_Demo_darkskin_ToolstripSplitArrowTemplateConstructor___vwsn_initialize_instance__::__vwsnf266_Demo_darkskin_ToolstripSplitArrowTemplateConstructor___vwsn_initialize_instance__(::darkskin::ToolstripSplitArrowTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf266_Demo_darkskin_ToolstripSplitArrowTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_1.Obj())->GetColor();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::Color>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_1.Obj())->SetColor(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf267_Demo_darkskin_ToolstripSplitArrowTemplateConstructor___vwsn_initialize_instance__::__vwsnf267_Demo_darkskin_ToolstripSplitArrowTemplateConstructor___vwsn_initialize_instance__(::darkskin::ToolstripSplitArrowTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf267_Demo_darkskin_ToolstripSplitArrowTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_3.Obj())->GetBorderColor();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::Color>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_3.Obj())->SetBorderColor(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf268_Demo_darkskin_ToolstripSplitArrowTemplateConstructor___vwsn_initialize_instance__::__vwsnf268_Demo_darkskin_ToolstripSplitArrowTemplateConstructor___vwsn_initialize_instance__(::darkskin::ToolstripSplitArrowTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf268_Demo_darkskin_ToolstripSplitArrowTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_3.Obj())->GetBackgroundColor();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::Color>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_3.Obj())->SetBackgroundColor(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf269_Demo_darkskin_ToolstripButtonTemplateConstructor___vwsn_initialize_instance__::__vwsnf269_Demo_darkskin_ToolstripButtonTemplateConstructor___vwsn_initialize_instance__(::darkskin::ToolstripButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiMenuTemplate* __vwsnf269_Demo_darkskin_ToolstripButtonTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiMenuTemplate*>(new ::darkskin::ToolstripMenuTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf26_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__::__vwsnf26_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__(::demo::DataGridTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiGridEditorTemplate* __vwsnf26_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiGridEditorTemplate*>(new ::demo::TextEditor());
}
}
//-------------------------------------------------------------------
__vwsnf270_Demo_darkskin_ToolstripButtonTemplateConstructor___vwsn_initialize_instance__::__vwsnf270_Demo_darkskin_ToolstripButtonTemplateConstructor___vwsn_initialize_instance__(::darkskin::ToolstripButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf270_Demo_darkskin_ToolstripButtonTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_1.Obj())->GetColor();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::Color>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_1.Obj())->SetColor(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf271_Demo_darkskin_ToolstripButtonTemplateConstructor___vwsn_initialize_instance__::__vwsnf271_Demo_darkskin_ToolstripButtonTemplateConstructor___vwsn_initialize_instance__(::darkskin::ToolstripButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf271_Demo_darkskin_ToolstripButtonTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_3.Obj())->GetColor();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::Color>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_3.Obj())->SetColor(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf272_Demo_darkskin_ToolstripButtonTemplateConstructor___vwsn_initialize_instance__::__vwsnf272_Demo_darkskin_ToolstripButtonTemplateConstructor___vwsn_initialize_instance__(::darkskin::ToolstripButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf272_Demo_darkskin_ToolstripButtonTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_4.Obj())->GetImage();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::Ptr<::vl::presentation::INativeImage>>(__vwsn_value_);
if ((__vwsn_old_.Obj() == __vwsn_new_.Obj()))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_4.Obj())->SetImage(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf273_Demo_darkskin_ToolstripButtonTemplateConstructor___vwsn_initialize_instance__::__vwsnf273_Demo_darkskin_ToolstripButtonTemplateConstructor___vwsn_initialize_instance__(::darkskin::ToolstripButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf273_Demo_darkskin_ToolstripButtonTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_4.Obj())->GetEnabled();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<bool>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_4.Obj())->SetEnabled(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf274_Demo_darkskin_ToolstripButtonTemplateConstructor___vwsn_initialize_instance__::__vwsnf274_Demo_darkskin_ToolstripButtonTemplateConstructor___vwsn_initialize_instance__(::darkskin::ToolstripButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf274_Demo_darkskin_ToolstripButtonTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_4.Obj())->GetFrameIndex();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::vint32_t>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_4.Obj())->SetFrameIndex(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf275_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance__::__vwsnf275_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance__(::darkskin::ToolstripDropdownButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiMenuTemplate* __vwsnf275_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiMenuTemplate*>(new ::darkskin::ToolstripMenuTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf276_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance__::__vwsnf276_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance__(::darkskin::ToolstripDropdownButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf276_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_1.Obj())->GetColor();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::Color>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_1.Obj())->SetColor(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf277_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance__::__vwsnf277_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance__(::darkskin::ToolstripDropdownButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf277_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_3.Obj())->GetColor();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::Color>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_3.Obj())->SetColor(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf278_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance__::__vwsnf278_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance__(::darkskin::ToolstripDropdownButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf278_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_4.Obj())->GetImage();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::Ptr<::vl::presentation::INativeImage>>(__vwsn_value_);
if ((__vwsn_old_.Obj() == __vwsn_new_.Obj()))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_4.Obj())->SetImage(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf279_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance__::__vwsnf279_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance__(::darkskin::ToolstripDropdownButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf279_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_4.Obj())->GetEnabled();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<bool>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_4.Obj())->SetEnabled(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf27_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__::__vwsnf27_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__(::demo::DataGridTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::reflection::description::Value __vwsnf27_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_item_, const ::vl::reflection::description::Value& __vwsn_value_, bool __vwsn_update_) const
{
auto itemToBind = ::vl::__vwsn::Unbox<::vl::Ptr<::demo::MyDataItem>>(__vwsn_item_);
if (__vwsn_update_)
{
::vl::__vwsn::This(itemToBind.Obj())->SetWebsite(::vl::__vwsn::Unbox<::vl::WString>(__vwsn_value_));
return ::vl::reflection::description::Value();
}
else
{
return ::vl::__vwsn::Box(::vl::__vwsn::This(itemToBind.Obj())->GetWebsite());
}
}
//-------------------------------------------------------------------
__vwsnf280_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance__::__vwsnf280_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance__(::darkskin::ToolstripDropdownButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf280_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_4.Obj())->GetFrameIndex();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::vint32_t>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_4.Obj())->SetFrameIndex(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf281_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance__::__vwsnf281_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance__(::darkskin::ToolstripDropdownButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf281_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_6.Obj())->GetColor();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::Color>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_6.Obj())->SetColor(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf282_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance__::__vwsnf282_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance__(::darkskin::ToolstripDropdownButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf282_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_8.Obj())->GetBorderColor();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::Color>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_8.Obj())->SetBorderColor(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf283_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance__::__vwsnf283_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance__(::darkskin::ToolstripDropdownButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf283_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_8.Obj())->GetBackgroundColor();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::Color>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_8.Obj())->SetBackgroundColor(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf284_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance__::__vwsnf284_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance__(::darkskin::ToolstripSplitButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiMenuTemplate* __vwsnf284_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiMenuTemplate*>(new ::darkskin::ToolstripMenuTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf285_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance__::__vwsnf285_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance__(::darkskin::ToolstripSplitButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiSelectableButtonTemplate* __vwsnf285_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiSelectableButtonTemplate*>(new ::darkskin::ToolstripSplitArrowTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf286_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance__::__vwsnf286_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance__(::darkskin::ToolstripSplitButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf286_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_1.Obj())->GetColor();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::Color>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_1.Obj())->SetColor(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf287_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance__::__vwsnf287_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance__(::darkskin::ToolstripSplitButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf287_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_3.Obj())->GetColor();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::Color>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_3.Obj())->SetColor(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf288_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance__::__vwsnf288_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance__(::darkskin::ToolstripSplitButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf288_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_4.Obj())->GetImage();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::Ptr<::vl::presentation::INativeImage>>(__vwsn_value_);
if ((__vwsn_old_.Obj() == __vwsn_new_.Obj()))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_4.Obj())->SetImage(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf289_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance__::__vwsnf289_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance__(::darkskin::ToolstripSplitButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf289_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_4.Obj())->GetEnabled();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<bool>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_4.Obj())->SetEnabled(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf28_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__::__vwsnf28_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__(::demo::DataGridTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::WString __vwsnf28_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_item_) const
{
auto itemToBind = ::vl::__vwsn::Unbox<::vl::Ptr<::demo::MyDataItem>>(__vwsn_item_);
return ::vl::__vwsn::This(itemToBind.Obj())->GetWebsite();
}
//-------------------------------------------------------------------
__vwsnf290_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance__::__vwsnf290_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance__(::darkskin::ToolstripSplitButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf290_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_4.Obj())->GetFrameIndex();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::vint32_t>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_4.Obj())->SetFrameIndex(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf291_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance__::__vwsnf291_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance__(::darkskin::ToolstripSplitButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf291_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_7.Obj())->GetColor();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::Color>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_7.Obj())->SetColor(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf292_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance__::__vwsnf292_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance__(::darkskin::ToolstripSplitButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf292_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->buttonArrow)->GetSelected();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<bool>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->buttonArrow)->SetSelected(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf293_Demo_darkskin_TopScrollButtonTemplateConstructor___vwsn_initialize_instance__::__vwsnf293_Demo_darkskin_TopScrollButtonTemplateConstructor___vwsn_initialize_instance__(::darkskin::TopScrollButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf293_Demo_darkskin_TopScrollButtonTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_2.Obj())->GetBorderColor();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::Color>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_2.Obj())->SetBorderColor(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf294_Demo_darkskin_TopScrollButtonTemplateConstructor___vwsn_initialize_instance__::__vwsnf294_Demo_darkskin_TopScrollButtonTemplateConstructor___vwsn_initialize_instance__(::darkskin::TopScrollButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf294_Demo_darkskin_TopScrollButtonTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_2.Obj())->GetBackgroundColor();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::Color>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_2.Obj())->SetBackgroundColor(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf295_Demo_darkskin_TreeViewTemplateConstructor___vwsn_initialize_instance__::__vwsnf295_Demo_darkskin_TreeViewTemplateConstructor___vwsn_initialize_instance__(::darkskin::TreeViewTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiSelectableButtonTemplate* __vwsnf295_Demo_darkskin_TreeViewTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiSelectableButtonTemplate*>(new ::darkskin::ExpandingDecoratorTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf296_Demo_darkskin_TreeViewTemplateConstructor___vwsn_initialize_instance__::__vwsnf296_Demo_darkskin_TreeViewTemplateConstructor___vwsn_initialize_instance__(::darkskin::TreeViewTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiSelectableButtonTemplate* __vwsnf296_Demo_darkskin_TreeViewTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiSelectableButtonTemplate*>(new ::darkskin::ItemBackgroundTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf297_Demo_darkskin_TreeViewTemplateConstructor___vwsn_initialize_instance__::__vwsnf297_Demo_darkskin_TreeViewTemplateConstructor___vwsn_initialize_instance__(::darkskin::TreeViewTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiScrollTemplate* __vwsnf297_Demo_darkskin_TreeViewTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiScrollTemplate*>(new ::darkskin::VScrollTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf298_Demo_darkskin_TreeViewTemplateConstructor___vwsn_initialize_instance__::__vwsnf298_Demo_darkskin_TreeViewTemplateConstructor___vwsn_initialize_instance__(::darkskin::TreeViewTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiScrollTemplate* __vwsnf298_Demo_darkskin_TreeViewTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiScrollTemplate*>(new ::darkskin::HScrollTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf299_Demo_darkskin_VScrollHandleTemplateConstructor___vwsn_initialize_instance__::__vwsnf299_Demo_darkskin_VScrollHandleTemplateConstructor___vwsn_initialize_instance__(::darkskin::VScrollHandleTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf299_Demo_darkskin_VScrollHandleTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_1.Obj())->GetColor();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::Color>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_1.Obj())->SetColor(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf29_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__::__vwsnf29_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__(::demo::DataGridTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf29_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__::operator()(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs* arguments) const
{
{
auto __vwsn_switch_0 = ::vl::__vwsn::This(__vwsnthis_0->comboView)->GetSelectedIndex();
if ((__vwsn_switch_0 == static_cast<::vl::vint32_t>(0)))
{
::vl::__vwsn::This(__vwsnthis_0->dataGrid)->SetView(::vl::presentation::controls::ListViewView::BigIcon);
}
else if ((__vwsn_switch_0 == static_cast<::vl::vint32_t>(1)))
{
::vl::__vwsn::This(__vwsnthis_0->dataGrid)->SetView(::vl::presentation::controls::ListViewView::SmallIcon);
}
else if ((__vwsn_switch_0 == static_cast<::vl::vint32_t>(2)))
{
::vl::__vwsn::This(__vwsnthis_0->dataGrid)->SetView(::vl::presentation::controls::ListViewView::List);
}
else if ((__vwsn_switch_0 == static_cast<::vl::vint32_t>(3)))
{
::vl::__vwsn::This(__vwsnthis_0->dataGrid)->SetView(::vl::presentation::controls::ListViewView::Tile);
}
else if ((__vwsn_switch_0 == static_cast<::vl::vint32_t>(4)))
{
::vl::__vwsn::This(__vwsnthis_0->dataGrid)->SetView(::vl::presentation::controls::ListViewView::Information);
}
else if ((__vwsn_switch_0 == static_cast<::vl::vint32_t>(5)))
{
::vl::__vwsn::This(__vwsnthis_0->dataGrid)->SetView(::vl::presentation::controls::ListViewView::Detail);
}
else if ((__vwsn_switch_0 == static_cast<::vl::vint32_t>(6)))
{
::vl::__vwsn::This(__vwsnthis_0->dataGrid)->SetViewToDefault();
}
}
}
//-------------------------------------------------------------------
__vwsnf2_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__::__vwsnf2_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__(::demo::DataGridTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::Ptr<::vl::presentation::GuiImageData> __vwsnf2_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_item_) const
{
auto itemToBind = ::vl::__vwsn::Unbox<::vl::Ptr<::demo::MyDataItem>>(__vwsn_item_);
return ::vl::__vwsn::This(itemToBind.Obj())->GetLargeImage();
}
//-------------------------------------------------------------------
__vwsnf300_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance__::__vwsnf300_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance__(::darkskin::VScrollTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiButtonTemplate* __vwsnf300_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiButtonTemplate*>(new ::darkskin::TopScrollButtonTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf301_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance__::__vwsnf301_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance__(::darkskin::VScrollTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiButtonTemplate* __vwsnf301_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiButtonTemplate*>(new ::darkskin::BottomScrollButtonTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf302_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance__::__vwsnf302_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance__(::darkskin::VScrollTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiButtonTemplate* __vwsnf302_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiButtonTemplate*>(new ::darkskin::VScrollHandleTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf303_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance__::__vwsnf303_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance__(::darkskin::VScrollTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf303_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance__::operator()(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs* arguments) const
{
::vl::__vwsn::This(::vl::__vwsn::This(__vwsnthis_0->self)->GetCommands())->SmallDecrease();
}
//-------------------------------------------------------------------
__vwsnf304_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance__::__vwsnf304_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance__(::darkskin::VScrollTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf304_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance__::operator()(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs* arguments) const
{
::vl::__vwsn::This(::vl::__vwsn::This(__vwsnthis_0->self)->GetCommands())->SmallIncrease();
}
//-------------------------------------------------------------------
__vwsnf305_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance__::__vwsnf305_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance__(::darkskin::VScrollTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf305_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_7)->GetAlignmentToParent();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::Margin>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_7)->SetAlignmentToParent(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf306_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance__::__vwsnf306_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance__(::darkskin::VScrollTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf306_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance__::operator()(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiMouseEventArgs* arguments) const
{
if (::vl::__vwsn::This(::vl::__vwsn::This(__vwsnthis_0->handleContainer)->GetRelatedControl())->GetVisuallyEnabled())
{
::vl::__vwsn::This(::vl::__vwsn::This(__vwsnthis_0->self)->GetCommands())->BigDecrease();
}
}
//-------------------------------------------------------------------
__vwsnf307_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance__::__vwsnf307_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance__(::darkskin::VScrollTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf307_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_8)->GetAlignmentToParent();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::Margin>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_8)->SetAlignmentToParent(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf308_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance__::__vwsnf308_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance__(::darkskin::VScrollTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf308_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance__::operator()(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiMouseEventArgs* arguments) const
{
if (::vl::__vwsn::This(::vl::__vwsn::This(__vwsnthis_0->handleContainer)->GetRelatedControl())->GetVisuallyEnabled())
{
::vl::__vwsn::This(::vl::__vwsn::This(__vwsnthis_0->self)->GetCommands())->BigIncrease();
}
}
//-------------------------------------------------------------------
__vwsnf309_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance__::__vwsnf309_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance__(::darkskin::VScrollTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf309_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->handle)->GetHeightPageSize();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<double>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->handle)->SetHeightPageSize(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf30_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::__vwsnf30_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf30_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->buttonAlignment)->GetImage();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::Ptr<::vl::presentation::GuiImageData>>(__vwsn_value_);
if ((__vwsn_old_.Obj() == __vwsn_new_.Obj()))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->buttonAlignment)->SetImage(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf310_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance__::__vwsnf310_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance__(::darkskin::VScrollTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf310_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->handle)->GetHeightRatio();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<double>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->handle)->SetHeightRatio(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf311_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance__::__vwsnf311_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance__(::darkskin::VScrollTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf311_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance__::operator()(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiMouseEventArgs* arguments) const
{
if (::vl::__vwsn::This(__vwsnthis_0->self)->GetVisuallyEnabled())
{
(::vl::__vwsn::This(__vwsnthis_0->self)->draggingHandle = true);
(::vl::__vwsn::This(__vwsnthis_0->self)->draggingStartLocation = [&](){ ::vl::presentation::Point __vwsn_temp__; __vwsn_temp__.x = ::vl::__vwsn::This(arguments)->x; __vwsn_temp__.y = ::vl::__vwsn::This(arguments)->y; return __vwsn_temp__; }());
}
}
//-------------------------------------------------------------------
__vwsnf312_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance__::__vwsnf312_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance__(::darkskin::VScrollTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf312_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance__::operator()(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiMouseEventArgs* arguments) const
{
(::vl::__vwsn::This(__vwsnthis_0->self)->draggingHandle = false);
}
//-------------------------------------------------------------------
__vwsnf313_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance__::__vwsnf313_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance__(::darkskin::VScrollTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf313_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance__::operator()(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiMouseEventArgs* arguments) const
{
if (::vl::__vwsn::This(__vwsnthis_0->self)->draggingHandle)
{
auto bounds = ::vl::__vwsn::This(::vl::__vwsn::This(__vwsnthis_0->handle)->GetParent())->GetBounds();
auto totalPixels = (bounds.y2 - bounds.y1);
auto currentOffset = ::vl::__vwsn::This(__vwsnthis_0->handle)->GetBounds().y1;
auto newOffset = (currentOffset + (::vl::__vwsn::This(arguments)->y - ::vl::__vwsn::This(__vwsnthis_0->self)->draggingStartLocation.y));
::ScrollTemplateScript::SetScroll(totalPixels, newOffset, static_cast<::vl::presentation::templates::GuiScrollTemplate*>(__vwsnthis_0->self));
}
}
//-------------------------------------------------------------------
__vwsnf314_Demo_darkskin_VTrackerTemplateConstructor___vwsn_initialize_instance__::__vwsnf314_Demo_darkskin_VTrackerTemplateConstructor___vwsn_initialize_instance__(::darkskin::VTrackerTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiButtonTemplate* __vwsnf314_Demo_darkskin_VTrackerTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiButtonTemplate*>(new ::darkskin::ButtonTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf315_Demo_darkskin_VTrackerTemplateConstructor___vwsn_initialize_instance__::__vwsnf315_Demo_darkskin_VTrackerTemplateConstructor___vwsn_initialize_instance__(::darkskin::VTrackerTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf315_Demo_darkskin_VTrackerTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->handle)->GetAlignmentToParent();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::Margin>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->handle)->SetAlignmentToParent(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf316_Demo_darkskin_VTrackerTemplateConstructor___vwsn_initialize_instance__::__vwsnf316_Demo_darkskin_VTrackerTemplateConstructor___vwsn_initialize_instance__(::darkskin::VTrackerTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf316_Demo_darkskin_VTrackerTemplateConstructor___vwsn_initialize_instance__::operator()(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiMouseEventArgs* arguments) const
{
if (::vl::__vwsn::This(__vwsnthis_0->self)->GetVisuallyEnabled())
{
(::vl::__vwsn::This(__vwsnthis_0->self)->draggingHandle = true);
(::vl::__vwsn::This(__vwsnthis_0->self)->draggingStartLocation = [&](){ ::vl::presentation::Point __vwsn_temp__; __vwsn_temp__.x = ::vl::__vwsn::This(arguments)->x; __vwsn_temp__.y = ::vl::__vwsn::This(arguments)->y; return __vwsn_temp__; }());
}
}
//-------------------------------------------------------------------
__vwsnf317_Demo_darkskin_VTrackerTemplateConstructor___vwsn_initialize_instance__::__vwsnf317_Demo_darkskin_VTrackerTemplateConstructor___vwsn_initialize_instance__(::darkskin::VTrackerTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf317_Demo_darkskin_VTrackerTemplateConstructor___vwsn_initialize_instance__::operator()(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiMouseEventArgs* arguments) const
{
(::vl::__vwsn::This(__vwsnthis_0->self)->draggingHandle = false);
}
//-------------------------------------------------------------------
__vwsnf318_Demo_darkskin_VTrackerTemplateConstructor___vwsn_initialize_instance__::__vwsnf318_Demo_darkskin_VTrackerTemplateConstructor___vwsn_initialize_instance__(::darkskin::VTrackerTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf318_Demo_darkskin_VTrackerTemplateConstructor___vwsn_initialize_instance__::operator()(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiMouseEventArgs* arguments) const
{
if (::vl::__vwsn::This(__vwsnthis_0->self)->draggingHandle)
{
auto bounds = ::vl::__vwsn::This(::vl::__vwsn::This(__vwsnthis_0->handle)->GetParent())->GetBounds();
auto totalPixels = (bounds.y2 - bounds.y1);
auto currentOffset = ::vl::__vwsn::This(__vwsnthis_0->handle)->GetBounds().y1;
auto newOffset = (currentOffset + (::vl::__vwsn::This(arguments)->y - ::vl::__vwsn::This(__vwsnthis_0->self)->draggingStartLocation.y));
::ScrollTemplateScript::SetScroll(totalPixels, newOffset, static_cast<::vl::presentation::templates::GuiScrollTemplate*>(__vwsnthis_0->self));
}
}
//-------------------------------------------------------------------
__vwsnf319_Demo_darkskin_WindowTemplateConstructor___vwsn_initialize_instance__::__vwsnf319_Demo_darkskin_WindowTemplateConstructor___vwsn_initialize_instance__(::darkskin::WindowTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiWindowTemplate* __vwsnf319_Demo_darkskin_WindowTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiWindowTemplate*>(new ::darkskin::TooltipTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf31_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::__vwsnf31_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf31_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::operator()(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs* arguments) const
{
::vl::__vwsn::This(__vwsnthis_0->dialogMessage)->SetText(::vl::__vwsn::This(__vwsnthis_0->document)->GetActiveHyperlinkReference());
::vl::__vwsn::This(__vwsnthis_0->dialogMessage)->ShowDialog();
}
//-------------------------------------------------------------------
__vwsnf320_Demo_darkskin_WindowTemplateConstructor___vwsn_initialize_instance__::__vwsnf320_Demo_darkskin_WindowTemplateConstructor___vwsn_initialize_instance__(::darkskin::WindowTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiButtonTemplate* __vwsnf320_Demo_darkskin_WindowTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiButtonTemplate*>(new ::darkskin::ButtonTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf321_Demo_darkskin_WindowTemplateConstructor___vwsn_initialize_instance__::__vwsnf321_Demo_darkskin_WindowTemplateConstructor___vwsn_initialize_instance__(::darkskin::WindowTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiButtonTemplate* __vwsnf321_Demo_darkskin_WindowTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiButtonTemplate*>(new ::darkskin::ButtonTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf322_Demo_darkskin_WindowTemplateConstructor___vwsn_initialize_instance__::__vwsnf322_Demo_darkskin_WindowTemplateConstructor___vwsn_initialize_instance__(::darkskin::WindowTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiButtonTemplate* __vwsnf322_Demo_darkskin_WindowTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiButtonTemplate*>(new ::darkskin::ButtonTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf323_Demo_darkskin_WindowTemplateConstructor___vwsn_initialize_instance__::__vwsnf323_Demo_darkskin_WindowTemplateConstructor___vwsn_initialize_instance__(::darkskin::WindowTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf323_Demo_darkskin_WindowTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_16)->GetText();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::WString>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_16)->SetText(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf324_Demo_darkskin_WindowTemplateConstructor___vwsn_initialize_instance__::__vwsnf324_Demo_darkskin_WindowTemplateConstructor___vwsn_initialize_instance__(::darkskin::WindowTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf324_Demo_darkskin_WindowTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_23.Obj())->GetText();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::WString>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_23.Obj())->SetText(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf325_Demo_demo_DateEditorConstructor___vwsn_initialize_instance__::__vwsnf325_Demo_demo_DateEditorConstructor___vwsn_initialize_instance__(::demo::DateEditorConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf325_Demo_demo_DateEditorConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->comboBox)->GetSelectedDate();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::DateTime>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->comboBox)->SetSelectedDate(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf326_Demo_demo_DateEditorConstructor___vwsn_initialize_instance__::__vwsnf326_Demo_demo_DateEditorConstructor___vwsn_initialize_instance__(::demo::DateEditorConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf326_Demo_demo_DateEditorConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->self)->GetCellValue();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::reflection::description::Value>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->self)->SetCellValue(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf327_Demo_demo_DateFilterConstructor___vwsn_initialize_instance__::__vwsnf327_Demo_demo_DateFilterConstructor___vwsn_initialize_instance__(::demo::DateFilterConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf327_Demo_demo_DateFilterConstructor___vwsn_initialize_instance__::operator()(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs* arguments) const
{
::vl::__vwsn::This(__vwsnthis_0->self)->UpdateFilter();
}
//-------------------------------------------------------------------
__vwsnf328_Demo_demo_DateFilterConstructor___vwsn_initialize_instance__::__vwsnf328_Demo_demo_DateFilterConstructor___vwsn_initialize_instance__(::demo::DateFilterConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf328_Demo_demo_DateFilterConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->dateFrom)->GetEnabled();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<bool>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->dateFrom)->SetEnabled(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf329_Demo_demo_DateFilterConstructor___vwsn_initialize_instance__::__vwsnf329_Demo_demo_DateFilterConstructor___vwsn_initialize_instance__(::demo::DateFilterConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf329_Demo_demo_DateFilterConstructor___vwsn_initialize_instance__::operator()(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs* arguments) const
{
::vl::__vwsn::This(__vwsnthis_0->self)->UpdateFilter();
}
//-------------------------------------------------------------------
__vwsnf32_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::__vwsnf32_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf32_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->commandUndo)->GetEnabled();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<bool>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->commandUndo)->SetEnabled(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf330_Demo_demo_DateFilterConstructor___vwsn_initialize_instance__::__vwsnf330_Demo_demo_DateFilterConstructor___vwsn_initialize_instance__(::demo::DateFilterConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf330_Demo_demo_DateFilterConstructor___vwsn_initialize_instance__::operator()(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs* arguments) const
{
::vl::__vwsn::This(__vwsnthis_0->self)->UpdateFilter();
}
//-------------------------------------------------------------------
__vwsnf331_Demo_demo_DateFilterConstructor___vwsn_initialize_instance__::__vwsnf331_Demo_demo_DateFilterConstructor___vwsn_initialize_instance__(::demo::DateFilterConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf331_Demo_demo_DateFilterConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->dateTo)->GetEnabled();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<bool>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->dateTo)->SetEnabled(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf332_Demo_demo_DateFilterConstructor___vwsn_initialize_instance__::__vwsnf332_Demo_demo_DateFilterConstructor___vwsn_initialize_instance__(::demo::DateFilterConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf332_Demo_demo_DateFilterConstructor___vwsn_initialize_instance__::operator()(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs* arguments) const
{
::vl::__vwsn::This(__vwsnthis_0->self)->UpdateFilter();
}
//-------------------------------------------------------------------
__vwsnf333_Demo_demo_TextEditorConstructor___vwsn_initialize_instance__::__vwsnf333_Demo_demo_TextEditorConstructor___vwsn_initialize_instance__(::demo::TextEditorConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf333_Demo_demo_TextEditorConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->textBox)->GetText();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::WString>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->textBox)->SetText(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf334_Demo_demo_TextEditorConstructor___vwsn_initialize_instance__::__vwsnf334_Demo_demo_TextEditorConstructor___vwsn_initialize_instance__(::demo::TextEditorConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf334_Demo_demo_TextEditorConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->self)->GetCellValue();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::reflection::description::Value>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->self)->SetCellValue(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf335_Demo_demo_CategoryDisplayerConstructor___vwsn_initialize_instance__::__vwsnf335_Demo_demo_CategoryDisplayerConstructor___vwsn_initialize_instance__(::demo::CategoryDisplayerConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf335_Demo_demo_CategoryDisplayerConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_4.Obj())->GetColor();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::Color>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_4.Obj())->SetColor(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf336_Demo_demo_CategoryDisplayerConstructor___vwsn_initialize_instance__::__vwsnf336_Demo_demo_CategoryDisplayerConstructor___vwsn_initialize_instance__(::demo::CategoryDisplayerConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf336_Demo_demo_CategoryDisplayerConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_6.Obj())->GetText();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::WString>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_6.Obj())->SetText(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf337_Demo_demo_CategoryDisplayerConstructor___vwsn_initialize_instance__::__vwsnf337_Demo_demo_CategoryDisplayerConstructor___vwsn_initialize_instance__(::demo::CategoryDisplayerConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf337_Demo_demo_CategoryDisplayerConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_6.Obj())->GetFont();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::FontProperties>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_6.Obj())->SetFont(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf338_Demo_demo_CategoryEditorConstructor___vwsn_initialize_instance__::__vwsnf338_Demo_demo_CategoryEditorConstructor___vwsn_initialize_instance__(::demo::CategoryEditorConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiListItemTemplate* __vwsnf338_Demo_demo_CategoryEditorConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
if ((dynamic_cast<::vl::reflection::description::IValueType::TypedBox<::demo::MyCategory>*>(__vwsn_viewModel_.GetBoxedValue().Obj()) != nullptr))
{
return static_cast<::vl::presentation::templates::GuiListItemTemplate*>(new ::demo::CategoryItemTemplate(::vl::__vwsn::Unbox<::demo::MyCategory>(__vwsn_viewModel_)));
}
}
throw ::vl::Exception(::vl::WString(L"Cannot find a matched control template to create.", false));
}
//-------------------------------------------------------------------
__vwsnf339_Demo_demo_CategoryEditorConstructor___vwsn_initialize_instance__::__vwsnf339_Demo_demo_CategoryEditorConstructor___vwsn_initialize_instance__(::demo::CategoryEditorConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiTemplate* __vwsnf339_Demo_demo_CategoryEditorConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
if ((dynamic_cast<::vl::reflection::description::IValueType::TypedBox<::demo::MyCategory>*>(__vwsn_viewModel_.GetBoxedValue().Obj()) != nullptr))
{
return static_cast<::vl::presentation::templates::GuiTemplate*>(new ::demo::CategoryItemTemplate(::vl::__vwsn::Unbox<::demo::MyCategory>(__vwsn_viewModel_)));
}
}
throw ::vl::Exception(::vl::WString(L"Cannot find a matched control template to create.", false));
}
//-------------------------------------------------------------------
__vwsnf33_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::__vwsnf33_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf33_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::operator()(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs* arguments) const
{
::vl::__vwsn::This(__vwsnthis_0->document)->Undo();
}
//-------------------------------------------------------------------
__vwsnf340_Demo_demo_CategoryEditorConstructor___vwsn_initialize_instance__::__vwsnf340_Demo_demo_CategoryEditorConstructor___vwsn_initialize_instance__(::demo::CategoryEditorConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf340_Demo_demo_CategoryEditorConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->comboBox)->GetSelectedIndex();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::vint32_t>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->comboBox)->SetSelectedIndex(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf341_Demo_demo_CategoryEditorConstructor___vwsn_initialize_instance__::__vwsnf341_Demo_demo_CategoryEditorConstructor___vwsn_initialize_instance__(::demo::CategoryEditorConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf341_Demo_demo_CategoryEditorConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->self)->GetCellValue();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::reflection::description::Value>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->self)->SetCellValue(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf342_Demo_demo_CategoryItemTemplateConstructor___vwsn_initialize_instance__::__vwsnf342_Demo_demo_CategoryItemTemplateConstructor___vwsn_initialize_instance__(::demo::CategoryItemTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf342_Demo_demo_CategoryItemTemplateConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_0)->GetFont();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::FontProperties>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_0)->SetFont(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf343_Demo_demo_CategoryVisualizerConstructor___vwsn_initialize_instance__::__vwsnf343_Demo_demo_CategoryVisualizerConstructor___vwsn_initialize_instance__(::demo::CategoryVisualizerConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf343_Demo_demo_CategoryVisualizerConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_0)->GetFont();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::presentation::FontProperties>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_0)->SetFont(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf344_Demo_demo_CategoryVisualizerConstructor___vwsn_initialize_instance__::__vwsnf344_Demo_demo_CategoryVisualizerConstructor___vwsn_initialize_instance__(::demo::CategoryVisualizerConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf344_Demo_demo_CategoryVisualizerConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_0)->GetCategory();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::demo::MyCategory>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_0)->SetCategory(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf345_Demo_demo_GenderDisplayerConstructor___vwsn_initialize_instance__::__vwsnf345_Demo_demo_GenderDisplayerConstructor___vwsn_initialize_instance__(::demo::GenderDisplayerConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf345_Demo_demo_GenderDisplayerConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_1.Obj())->GetImage();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::Ptr<::vl::presentation::INativeImage>>(__vwsn_value_);
if ((__vwsn_old_.Obj() == __vwsn_new_.Obj()))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_1.Obj())->SetImage(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf346_Demo_demo_GenderEditorConstructor___vwsn_initialize_instance__::__vwsnf346_Demo_demo_GenderEditorConstructor___vwsn_initialize_instance__(::demo::GenderEditorConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiListItemTemplate* __vwsnf346_Demo_demo_GenderEditorConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
if ((dynamic_cast<::vl::reflection::description::IValueType::TypedBox<::demo::MyGender>*>(__vwsn_viewModel_.GetBoxedValue().Obj()) != nullptr))
{
return static_cast<::vl::presentation::templates::GuiListItemTemplate*>(new ::demo::GenderItemTemplate(::vl::__vwsn::Unbox<::demo::MyGender>(__vwsn_viewModel_)));
}
}
throw ::vl::Exception(::vl::WString(L"Cannot find a matched control template to create.", false));
}
//-------------------------------------------------------------------
__vwsnf347_Demo_demo_GenderEditorConstructor___vwsn_initialize_instance__::__vwsnf347_Demo_demo_GenderEditorConstructor___vwsn_initialize_instance__(::demo::GenderEditorConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiTemplate* __vwsnf347_Demo_demo_GenderEditorConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
if ((dynamic_cast<::vl::reflection::description::IValueType::TypedBox<::demo::MyGender>*>(__vwsn_viewModel_.GetBoxedValue().Obj()) != nullptr))
{
return static_cast<::vl::presentation::templates::GuiTemplate*>(new ::demo::GenderItemTemplate(::vl::__vwsn::Unbox<::demo::MyGender>(__vwsn_viewModel_)));
}
}
throw ::vl::Exception(::vl::WString(L"Cannot find a matched control template to create.", false));
}
//-------------------------------------------------------------------
__vwsnf348_Demo_demo_GenderEditorConstructor___vwsn_initialize_instance__::__vwsnf348_Demo_demo_GenderEditorConstructor___vwsn_initialize_instance__(::demo::GenderEditorConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf348_Demo_demo_GenderEditorConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->comboBox)->GetSelectedIndex();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::vint32_t>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->comboBox)->SetSelectedIndex(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf349_Demo_demo_GenderEditorConstructor___vwsn_initialize_instance__::__vwsnf349_Demo_demo_GenderEditorConstructor___vwsn_initialize_instance__(::demo::GenderEditorConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf349_Demo_demo_GenderEditorConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->self)->GetCellValue();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::vl::reflection::description::Value>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->self)->SetCellValue(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf34_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::__vwsnf34_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf34_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->commandRedo)->GetEnabled();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<bool>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->commandRedo)->SetEnabled(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf350_Demo_demo_GenderVisualizerConstructor___vwsn_initialize_instance__::__vwsnf350_Demo_demo_GenderVisualizerConstructor___vwsn_initialize_instance__(::demo::GenderVisualizerConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf350_Demo_demo_GenderVisualizerConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_0)->GetGender();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<::demo::MyGender>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_0)->SetGender(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf351_Demo_demo_HyperlinkWindowConstructor___vwsn_initialize_instance__::__vwsnf351_Demo_demo_HyperlinkWindowConstructor___vwsn_initialize_instance__(::demo::HyperlinkWindowConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf351_Demo_demo_HyperlinkWindowConstructor___vwsn_initialize_instance__::operator()(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs* arguments) const
{
::vl::__vwsn::This(__vwsnthis_0->self)->SetUrl(::vl::Nullable<::vl::WString>(::vl::__vwsn::This(__vwsnthis_0->textUrl)->GetText()));
::vl::__vwsn::This(__vwsnthis_0->self)->Close();
}
//-------------------------------------------------------------------
__vwsnf352_Demo_demo_HyperlinkWindowConstructor___vwsn_initialize_instance__::__vwsnf352_Demo_demo_HyperlinkWindowConstructor___vwsn_initialize_instance__(::demo::HyperlinkWindowConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf352_Demo_demo_HyperlinkWindowConstructor___vwsn_initialize_instance__::operator()(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs* arguments) const
{
::vl::__vwsn::This(__vwsnthis_0->self)->SetUrl(::vl::Nullable<::vl::WString>());
::vl::__vwsn::This(__vwsnthis_0->self)->Close();
}
//-------------------------------------------------------------------
__vwsnf353_Demo_demo_TextBoxTabPageConstructor___vwsn_initialize_instance__::__vwsnf353_Demo_demo_TextBoxTabPageConstructor___vwsn_initialize_instance__(::demo::TextBoxTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf353_Demo_demo_TextBoxTabPageConstructor___vwsn_initialize_instance__::operator()(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs* arguments) const
{
::vl::__vwsn::EventInvoke(::vl::__vwsn::This(__vwsnthis_0->self)->OnMakeFontLarger)();
}
//-------------------------------------------------------------------
__vwsnf354_Demo_demo_TextBoxTabPageConstructor___vwsn_initialize_instance__::__vwsnf354_Demo_demo_TextBoxTabPageConstructor___vwsn_initialize_instance__(::demo::TextBoxTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf354_Demo_demo_TextBoxTabPageConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_21)->GetEnabled();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<bool>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->__vwsn_precompile_21)->SetEnabled(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf355_Demo_demo_TextBoxTabPageConstructor___vwsn_initialize_instance__::__vwsnf355_Demo_demo_TextBoxTabPageConstructor___vwsn_initialize_instance__(::demo::TextBoxTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf355_Demo_demo_TextBoxTabPageConstructor___vwsn_initialize_instance__::operator()(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs* arguments) const
{
::vl::__vwsn::EventInvoke(::vl::__vwsn::This(__vwsnthis_0->self)->OnMakeFontSmaller)();
}
//-------------------------------------------------------------------
__vwsnf356_Demo_demo_TextBoxTabPageConstructor___vwsn_initialize_instance__::__vwsnf356_Demo_demo_TextBoxTabPageConstructor___vwsn_initialize_instance__(::demo::TextBoxTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf356_Demo_demo_TextBoxTabPageConstructor___vwsn_initialize_instance__::operator()() const
{
::vl::__vwsn::This(__vwsnthis_0->self)->UpdateFont(GLOBAL_NAME ChangeFontSize(::vl::__vwsn::This(__vwsnthis_0->textBoxS)->GetFont(), static_cast<::vl::vint32_t>(5)));
}
//-------------------------------------------------------------------
__vwsnf357_Demo_demo_TextBoxTabPageConstructor___vwsn_initialize_instance__::__vwsnf357_Demo_demo_TextBoxTabPageConstructor___vwsn_initialize_instance__(::demo::TextBoxTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf357_Demo_demo_TextBoxTabPageConstructor___vwsn_initialize_instance__::operator()() const
{
::vl::__vwsn::This(__vwsnthis_0->self)->UpdateFont(GLOBAL_NAME ChangeFontSize(::vl::__vwsn::This(__vwsnthis_0->textBoxS)->GetFont(), (- static_cast<::vl::vint32_t>(5))));
}
//-------------------------------------------------------------------
__vwsnf35_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::__vwsnf35_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf35_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::operator()(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs* arguments) const
{
::vl::__vwsn::This(__vwsnthis_0->document)->Redo();
}
//-------------------------------------------------------------------
__vwsnf36_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::__vwsnf36_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf36_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->commandCopy)->GetEnabled();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<bool>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->commandCopy)->SetEnabled(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf37_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::__vwsnf37_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf37_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::operator()(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs* arguments) const
{
::vl::__vwsn::This(__vwsnthis_0->document)->Copy();
}
//-------------------------------------------------------------------
__vwsnf38_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::__vwsnf38_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf38_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->commandCut)->GetEnabled();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<bool>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->commandCut)->SetEnabled(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf39_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::__vwsnf39_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf39_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::operator()(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs* arguments) const
{
::vl::__vwsn::This(__vwsnthis_0->document)->Cut();
}
//-------------------------------------------------------------------
__vwsnf40_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::__vwsnf40_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf40_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->commandPaste)->GetEnabled();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<bool>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->commandPaste)->SetEnabled(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf41_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::__vwsnf41_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf41_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::operator()(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs* arguments) const
{
::vl::__vwsn::This(__vwsnthis_0->document)->Paste();
}
//-------------------------------------------------------------------
__vwsnf42_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::__vwsnf42_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf42_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->commandDelete)->GetEnabled();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<bool>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->commandDelete)->SetEnabled(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf43_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::__vwsnf43_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf43_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::operator()(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs* arguments) const
{
::vl::__vwsn::This(__vwsnthis_0->document)->SetSelectionText(::vl::WString(L"", false));
}
//-------------------------------------------------------------------
__vwsnf44_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::__vwsnf44_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf44_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::operator()(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs* arguments) const
{
::vl::__vwsn::This(__vwsnthis_0->document)->SelectAll();
}
//-------------------------------------------------------------------
__vwsnf45_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::__vwsnf45_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf45_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->commandInsertImage)->GetEnabled();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<bool>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->commandInsertImage)->SetEnabled(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf46_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::__vwsnf46_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf46_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::operator()(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs* arguments) const
{
if (::vl::__vwsn::This(__vwsnthis_0->dialogOpen)->ShowDialog())
{
auto imageService = ::vl::__vwsn::This(::vl::presentation::GetCurrentController())->ImageService();
auto image = ::vl::__vwsn::This(imageService)->CreateImageFromFile(::vl::__vwsn::This(__vwsnthis_0->dialogOpen)->GetFileName());
auto imageData = ::vl::Ptr<::vl::presentation::GuiImageData>(new ::vl::presentation::GuiImageData(image, static_cast<::vl::vint32_t>(0)));
::vl::__vwsn::This(__vwsnthis_0->document)->EditImage(::vl::__vwsn::This(__vwsnthis_0->document)->GetCaretBegin(), ::vl::__vwsn::This(__vwsnthis_0->document)->GetCaretEnd(), imageData);
}
}
//-------------------------------------------------------------------
__vwsnf47_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::__vwsnf47_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf47_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->commandEditHyperlink)->GetEnabled();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<bool>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->commandEditHyperlink)->SetEnabled(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf48_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::__vwsnf48_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf48_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::operator()(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs* arguments) const
{
::vl::reflection::description::AsyncCoroutine::CreateAndRun(LAMBDA(::vl_workflow_global::__vwsnf49_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___(__vwsnthis_0)));
}
//-------------------------------------------------------------------
__vwsnf49_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___::__vwsnf49_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::Ptr<::vl::reflection::description::ICoroutine> __vwsnf49_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___::operator()(::vl::reflection::description::AsyncCoroutine::IImpl* __vwsn_co_impl_) const
{
return ::vl::Ptr<::vl::reflection::description::ICoroutine>(new ::vl_workflow_global::__vwsnc15_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance_____vl_reflection_description_ICoroutine(__vwsn_co_impl_, __vwsnthis_0));
}
//-------------------------------------------------------------------
__vwsnf4_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__::__vwsnf4_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__(::demo::DataGridTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiGridEditorTemplate* __vwsnf4_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiGridEditorTemplate*>(new ::demo::TextEditor());
}
}
//-------------------------------------------------------------------
__vwsnf50_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::__vwsnf50_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf50_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->commandRemoveHyperlink)->GetEnabled();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<bool>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->commandRemoveHyperlink)->SetEnabled(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf51_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::__vwsnf51_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf51_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::operator()(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs* arguments) const
{
auto row = ::vl::__vwsn::This(__vwsnthis_0->document)->GetCaretBegin().row;
auto begin = ::vl::__vwsn::This(__vwsnthis_0->document)->GetCaretBegin().column;
auto end = ::vl::__vwsn::This(__vwsnthis_0->document)->GetCaretEnd().column;
::vl::__vwsn::This(__vwsnthis_0->document)->RemoveHyperlink(row, begin, end);
}
//-------------------------------------------------------------------
__vwsnf52_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::__vwsnf52_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf52_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->commandBold)->GetEnabled();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<bool>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->commandBold)->SetEnabled(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf53_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::__vwsnf53_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf53_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->commandBold)->GetSelected();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<bool>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->commandBold)->SetSelected(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf54_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::__vwsnf54_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf54_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::operator()(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs* arguments) const
{
auto style = ::vl::Ptr<::vl::presentation::DocumentStyleProperties>(new ::vl::presentation::DocumentStyleProperties());
(::vl::__vwsn::This(style.Obj())->bold = ::vl::Nullable<bool>((! ::vl::__vwsn::This(__vwsnthis_0->commandBold)->GetSelected())));
::vl::__vwsn::This(__vwsnthis_0->document)->EditStyle(::vl::__vwsn::This(__vwsnthis_0->document)->GetCaretBegin(), ::vl::__vwsn::This(__vwsnthis_0->document)->GetCaretEnd(), style);
}
//-------------------------------------------------------------------
__vwsnf55_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::__vwsnf55_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf55_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->commandItalic)->GetEnabled();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<bool>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->commandItalic)->SetEnabled(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf56_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::__vwsnf56_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf56_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->commandItalic)->GetSelected();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<bool>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->commandItalic)->SetSelected(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf57_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::__vwsnf57_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf57_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::operator()(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs* arguments) const
{
auto style = ::vl::Ptr<::vl::presentation::DocumentStyleProperties>(new ::vl::presentation::DocumentStyleProperties());
(::vl::__vwsn::This(style.Obj())->italic = ::vl::Nullable<bool>((! ::vl::__vwsn::This(__vwsnthis_0->commandItalic)->GetSelected())));
::vl::__vwsn::This(__vwsnthis_0->document)->EditStyle(::vl::__vwsn::This(__vwsnthis_0->document)->GetCaretBegin(), ::vl::__vwsn::This(__vwsnthis_0->document)->GetCaretEnd(), style);
}
//-------------------------------------------------------------------
__vwsnf58_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::__vwsnf58_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf58_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->commandUnderline)->GetEnabled();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<bool>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->commandUnderline)->SetEnabled(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf59_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::__vwsnf59_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf59_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->commandUnderline)->GetSelected();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<bool>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->commandUnderline)->SetSelected(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf5_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__::__vwsnf5_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__(::demo::DataGridTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::reflection::description::Value __vwsnf5_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_item_, const ::vl::reflection::description::Value& __vwsn_value_, bool __vwsn_update_) const
{
auto itemToBind = ::vl::__vwsn::Unbox<::vl::Ptr<::demo::MyDataItem>>(__vwsn_item_);
if (__vwsn_update_)
{
::vl::__vwsn::This(itemToBind.Obj())->SetName(::vl::__vwsn::Unbox<::vl::WString>(__vwsn_value_));
return ::vl::reflection::description::Value();
}
else
{
return ::vl::__vwsn::Box(::vl::__vwsn::This(itemToBind.Obj())->GetName());
}
}
//-------------------------------------------------------------------
__vwsnf60_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::__vwsnf60_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf60_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::operator()(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs* arguments) const
{
auto style = ::vl::Ptr<::vl::presentation::DocumentStyleProperties>(new ::vl::presentation::DocumentStyleProperties());
(::vl::__vwsn::This(style.Obj())->underline = ::vl::Nullable<bool>((! ::vl::__vwsn::This(__vwsnthis_0->commandUnderline)->GetSelected())));
::vl::__vwsn::This(__vwsnthis_0->document)->EditStyle(::vl::__vwsn::This(__vwsnthis_0->document)->GetCaretBegin(), ::vl::__vwsn::This(__vwsnthis_0->document)->GetCaretEnd(), style);
}
//-------------------------------------------------------------------
__vwsnf61_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::__vwsnf61_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf61_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->commandStrike)->GetEnabled();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<bool>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->commandStrike)->SetEnabled(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf62_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::__vwsnf62_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf62_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->commandStrike)->GetSelected();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<bool>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->commandStrike)->SetSelected(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf63_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::__vwsnf63_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf63_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::operator()(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs* arguments) const
{
auto style = ::vl::Ptr<::vl::presentation::DocumentStyleProperties>(new ::vl::presentation::DocumentStyleProperties());
(::vl::__vwsn::This(style.Obj())->strikeline = ::vl::Nullable<bool>((! ::vl::__vwsn::This(__vwsnthis_0->commandStrike)->GetSelected())));
::vl::__vwsn::This(__vwsnthis_0->document)->EditStyle(::vl::__vwsn::This(__vwsnthis_0->document)->GetCaretBegin(), ::vl::__vwsn::This(__vwsnthis_0->document)->GetCaretEnd(), style);
}
//-------------------------------------------------------------------
__vwsnf64_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::__vwsnf64_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf64_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->commandFont)->GetEnabled();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<bool>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->commandFont)->SetEnabled(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf65_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::__vwsnf65_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf65_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::operator()(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs* arguments) const
{
auto begin = ::vl::__vwsn::This(__vwsnthis_0->document)->GetCaretBegin();
auto end = ::vl::__vwsn::This(__vwsnthis_0->document)->GetCaretEnd();
auto style = ::vl::__vwsn::This(__vwsnthis_0->document)->SummarizeStyle(begin, end);
auto baselineFont = ::vl::__vwsn::This(__vwsnthis_0->document)->GetFont();
::vl::__vwsn::This(__vwsnthis_0->dialogFont)->SetSelectedFont([&](){ ::vl::presentation::FontProperties __vwsn_temp__; __vwsn_temp__.fontFamily = ((! static_cast<bool>(::vl::__vwsn::This(style.Obj())->face)) ? baselineFont.fontFamily : ::vl::__vwsn::This(style.Obj())->face.Value()); __vwsn_temp__.size = ((! static_cast<bool>(::vl::__vwsn::This(style.Obj())->size)) ? baselineFont.size : static_cast<::vl::vint32_t>(::vl::__vwsn::This(style.Obj())->size.Value().size)); return __vwsn_temp__; }());
if (::vl::__vwsn::This(__vwsnthis_0->dialogFont)->ShowDialog())
{
(style = ::vl::Ptr<::vl::presentation::DocumentStyleProperties>(new ::vl::presentation::DocumentStyleProperties()));
auto selectedFont = ::vl::__vwsn::This(__vwsnthis_0->dialogFont)->GetSelectedFont();
(::vl::__vwsn::This(style.Obj())->face = ::vl::Nullable<::vl::WString>(selectedFont.fontFamily));
(::vl::__vwsn::This(style.Obj())->size = [&](){ ::vl::presentation::DocumentFontSize __vwsn_temp__; __vwsn_temp__.size = static_cast<double>(selectedFont.size); __vwsn_temp__.relative = false; return __vwsn_temp__; }());
::vl::__vwsn::This(__vwsnthis_0->document)->EditStyle(begin, end, style);
}
}
//-------------------------------------------------------------------
__vwsnf66_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::__vwsnf66_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf66_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->commandColor)->GetEnabled();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<bool>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->commandColor)->SetEnabled(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf67_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::__vwsnf67_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf67_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::operator()(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs* arguments) const
{
auto begin = ::vl::__vwsn::This(__vwsnthis_0->document)->GetCaretBegin();
auto end = ::vl::__vwsn::This(__vwsnthis_0->document)->GetCaretEnd();
auto selectedColor = ::vl::__vwsn::This(::vl::__vwsn::This(__vwsnthis_0->document)->SummarizeStyle(begin, end).Obj())->color;
if ((! static_cast<bool>(selectedColor)))
{
::vl::__vwsn::This(__vwsnthis_0->dialogColor)->SetSelectedColor(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#000000", false)));
}
else
{
::vl::__vwsn::This(__vwsnthis_0->dialogColor)->SetSelectedColor(selectedColor.Value());
}
if (::vl::__vwsn::This(__vwsnthis_0->dialogColor)->ShowDialog())
{
auto style = ::vl::Ptr<::vl::presentation::DocumentStyleProperties>(new ::vl::presentation::DocumentStyleProperties());
(::vl::__vwsn::This(style.Obj())->color = ::vl::Nullable<::vl::presentation::Color>(::vl::__vwsn::This(__vwsnthis_0->dialogColor)->GetSelectedColor()));
::vl::__vwsn::This(__vwsnthis_0->document)->EditStyle(begin, end, style);
}
}
//-------------------------------------------------------------------
__vwsnf68_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::__vwsnf68_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf68_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->commandBackColor)->GetEnabled();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<bool>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->commandBackColor)->SetEnabled(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf69_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::__vwsnf69_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf69_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::operator()(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs* arguments) const
{
auto begin = ::vl::__vwsn::This(__vwsnthis_0->document)->GetCaretBegin();
auto end = ::vl::__vwsn::This(__vwsnthis_0->document)->GetCaretEnd();
auto selectedColor = ::vl::__vwsn::This(::vl::__vwsn::This(__vwsnthis_0->document)->SummarizeStyle(begin, end).Obj())->backgroundColor;
if ((! static_cast<bool>(selectedColor)))
{
::vl::__vwsn::This(__vwsnthis_0->dialogColor)->SetSelectedColor(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#000000", false)));
}
else
{
::vl::__vwsn::This(__vwsnthis_0->dialogColor)->SetSelectedColor(selectedColor.Value());
}
if (::vl::__vwsn::This(__vwsnthis_0->dialogColor)->ShowDialog())
{
auto style = ::vl::Ptr<::vl::presentation::DocumentStyleProperties>(new ::vl::presentation::DocumentStyleProperties());
(::vl::__vwsn::This(style.Obj())->backgroundColor = ::vl::Nullable<::vl::presentation::Color>(::vl::__vwsn::This(__vwsnthis_0->dialogColor)->GetSelectedColor()));
::vl::__vwsn::This(__vwsnthis_0->document)->EditStyle(begin, end, style);
}
}
//-------------------------------------------------------------------
__vwsnf6_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__::__vwsnf6_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__(::demo::DataGridTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::WString __vwsnf6_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_item_) const
{
auto itemToBind = ::vl::__vwsn::Unbox<::vl::Ptr<::demo::MyDataItem>>(__vwsn_item_);
return ::vl::__vwsn::This(itemToBind.Obj())->GetName();
}
//-------------------------------------------------------------------
__vwsnf70_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::__vwsnf70_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf70_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::operator()(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs* arguments) const
{
::vl::__vwsn::This(__vwsnthis_0->self)->SetEditMode(::vl::presentation::controls::GuiDocumentCommonInterface::EditMode::ViewOnly);
}
//-------------------------------------------------------------------
__vwsnf71_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::__vwsnf71_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf71_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::operator()(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs* arguments) const
{
::vl::__vwsn::This(__vwsnthis_0->self)->SetEditMode(::vl::presentation::controls::GuiDocumentCommonInterface::EditMode::Selectable);
}
//-------------------------------------------------------------------
__vwsnf72_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::__vwsnf72_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf72_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::operator()(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs* arguments) const
{
::vl::__vwsn::This(__vwsnthis_0->self)->SetEditMode(::vl::presentation::controls::GuiDocumentCommonInterface::EditMode::Editable);
}
//-------------------------------------------------------------------
__vwsnf73_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::__vwsnf73_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf73_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->commandAlignDefault)->GetEnabled();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<bool>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->commandAlignDefault)->SetEnabled(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf74_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::__vwsnf74_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf74_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::operator()(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs* arguments) const
{
::vl::__vwsn::This(__vwsnthis_0->self)->SetAlignment(::vl::Nullable<::vl::presentation::Alignment>());
}
//-------------------------------------------------------------------
__vwsnf75_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::__vwsnf75_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf75_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->commandAlignLeft)->GetEnabled();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<bool>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->commandAlignLeft)->SetEnabled(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf76_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::__vwsnf76_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf76_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->commandAlignLeft)->GetSelected();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<bool>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->commandAlignLeft)->SetSelected(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf77_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::__vwsnf77_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf77_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::operator()(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs* arguments) const
{
::vl::__vwsn::This(__vwsnthis_0->self)->SetAlignment(::vl::Nullable<::vl::presentation::Alignment>(::vl::presentation::Alignment::Left));
}
//-------------------------------------------------------------------
__vwsnf78_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::__vwsnf78_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf78_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->commandAlignCenter)->GetEnabled();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<bool>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->commandAlignCenter)->SetEnabled(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf79_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::__vwsnf79_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf79_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->commandAlignCenter)->GetSelected();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<bool>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->commandAlignCenter)->SetSelected(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf7_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__::__vwsnf7_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__(::demo::DataGridTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiGridVisualizerTemplate* __vwsnf7_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiGridVisualizerTemplate*>(new ::vl::presentation::controls::list::CellBorderVisualizerTemplate());
}
}
//-------------------------------------------------------------------
__vwsnf80_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::__vwsnf80_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf80_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::operator()(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs* arguments) const
{
::vl::__vwsn::This(__vwsnthis_0->self)->SetAlignment(::vl::Nullable<::vl::presentation::Alignment>(::vl::presentation::Alignment::Center));
}
//-------------------------------------------------------------------
__vwsnf81_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::__vwsnf81_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf81_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->commandAlignRight)->GetEnabled();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<bool>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->commandAlignRight)->SetEnabled(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf82_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::__vwsnf82_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf82_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->commandAlignRight)->GetSelected();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<bool>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->commandAlignRight)->SetSelected(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf83_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::__vwsnf83_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf83_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::operator()(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs* arguments) const
{
::vl::__vwsn::This(__vwsnthis_0->self)->SetAlignment(::vl::Nullable<::vl::presentation::Alignment>(::vl::presentation::Alignment::Right));
}
//-------------------------------------------------------------------
__vwsnf84_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::__vwsnf84_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf84_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_value_) const
{
auto __vwsn_old_ = ::vl::__vwsn::This(__vwsnthis_0->self)->GetHasEditableSelection();
auto __vwsn_new_ = ::vl::__vwsn::Unbox<bool>(__vwsn_value_);
if ((__vwsn_old_ == __vwsn_new_))
{
return;
}
::vl::__vwsn::This(__vwsnthis_0->self)->SetHasEditableSelection(__vwsn_new_);
}
//-------------------------------------------------------------------
__vwsnf85_Demo_demo_ListViewTabPageConstructor___vwsn_initialize_instance__::__vwsnf85_Demo_demo_ListViewTabPageConstructor___vwsn_initialize_instance__(::demo::ListViewTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::Ptr<::vl::presentation::GuiImageData> __vwsnf85_Demo_demo_ListViewTabPageConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_item_) const
{
auto itemToBind = ::vl::__vwsn::Unbox<::vl::Ptr<::vl::presentation::controls::list::ListViewItem>>(__vwsn_item_);
return ::vl::__vwsn::This(itemToBind.Obj())->GetSmallImage();
}
//-------------------------------------------------------------------
__vwsnf86_Demo_demo_ListViewTabPageConstructor___vwsn_initialize_instance__::__vwsnf86_Demo_demo_ListViewTabPageConstructor___vwsn_initialize_instance__(::demo::ListViewTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::Ptr<::vl::presentation::GuiImageData> __vwsnf86_Demo_demo_ListViewTabPageConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_item_) const
{
auto itemToBind = ::vl::__vwsn::Unbox<::vl::Ptr<::vl::presentation::controls::list::ListViewItem>>(__vwsn_item_);
return ::vl::__vwsn::This(itemToBind.Obj())->GetLargeImage();
}
//-------------------------------------------------------------------
__vwsnf87_Demo_demo_ListViewTabPageConstructor___vwsn_initialize_instance__::__vwsnf87_Demo_demo_ListViewTabPageConstructor___vwsn_initialize_instance__(::demo::ListViewTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::WString __vwsnf87_Demo_demo_ListViewTabPageConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_item_) const
{
auto itemToBind = ::vl::__vwsn::Unbox<::vl::Ptr<::vl::presentation::controls::list::ListViewItem>>(__vwsn_item_);
return ::vl::__vwsn::This(itemToBind.Obj())->GetText();
}
//-------------------------------------------------------------------
__vwsnf88_Demo_demo_ListViewTabPageConstructor___vwsn_initialize_instance__::__vwsnf88_Demo_demo_ListViewTabPageConstructor___vwsn_initialize_instance__(::demo::ListViewTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::WString __vwsnf88_Demo_demo_ListViewTabPageConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_item_) const
{
auto itemToBind = ::vl::__vwsn::Unbox<::vl::Ptr<::vl::presentation::controls::list::ListViewItem>>(__vwsn_item_);
return ::vl::__vwsn::Unbox<::vl::WString>(::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(itemToBind.Obj())->GetSubItems()).Obj())->Get(static_cast<::vl::vint32_t>(0)));
}
//-------------------------------------------------------------------
__vwsnf89_Demo_demo_ListViewTabPageConstructor___vwsn_initialize_instance__::__vwsnf89_Demo_demo_ListViewTabPageConstructor___vwsn_initialize_instance__(::demo::ListViewTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::WString __vwsnf89_Demo_demo_ListViewTabPageConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_item_) const
{
auto itemToBind = ::vl::__vwsn::Unbox<::vl::Ptr<::vl::presentation::controls::list::ListViewItem>>(__vwsn_item_);
return ::vl::__vwsn::Unbox<::vl::WString>(::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(itemToBind.Obj())->GetSubItems()).Obj())->Get(static_cast<::vl::vint32_t>(1)));
}
//-------------------------------------------------------------------
__vwsnf8_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__::__vwsnf8_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__(::demo::DataGridTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::presentation::templates::GuiGridVisualizerTemplate* __vwsnf8_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const
{
{
return static_cast<::vl::presentation::templates::GuiGridVisualizerTemplate*>(new ::demo::GenderVisualizer());
}
}
//-------------------------------------------------------------------
__vwsnf90_Demo_demo_ListViewTabPageConstructor___vwsn_initialize_instance__::__vwsnf90_Demo_demo_ListViewTabPageConstructor___vwsn_initialize_instance__(::demo::ListViewTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::WString __vwsnf90_Demo_demo_ListViewTabPageConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_item_) const
{
auto itemToBind = ::vl::__vwsn::Unbox<::vl::Ptr<::vl::presentation::controls::list::ListViewItem>>(__vwsn_item_);
return ::vl::__vwsn::Unbox<::vl::WString>(::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(itemToBind.Obj())->GetSubItems()).Obj())->Get(static_cast<::vl::vint32_t>(2)));
}
//-------------------------------------------------------------------
__vwsnf91_Demo_demo_ListViewTabPageConstructor___vwsn_initialize_instance__::__vwsnf91_Demo_demo_ListViewTabPageConstructor___vwsn_initialize_instance__(::demo::ListViewTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf91_Demo_demo_ListViewTabPageConstructor___vwsn_initialize_instance__::operator()(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs* arguments) const
{
{
auto __vwsn_switch_1 = ::vl::__vwsn::This(__vwsnthis_0->comboView)->GetSelectedIndex();
if ((__vwsn_switch_1 == static_cast<::vl::vint32_t>(0)))
{
::vl::__vwsn::This(__vwsnthis_0->listView)->SetView(::vl::presentation::controls::ListViewView::BigIcon);
::vl::__vwsn::This(__vwsnthis_0->bindableListView)->SetView(::vl::presentation::controls::ListViewView::BigIcon);
}
else if ((__vwsn_switch_1 == static_cast<::vl::vint32_t>(1)))
{
::vl::__vwsn::This(__vwsnthis_0->listView)->SetView(::vl::presentation::controls::ListViewView::SmallIcon);
::vl::__vwsn::This(__vwsnthis_0->bindableListView)->SetView(::vl::presentation::controls::ListViewView::SmallIcon);
}
else if ((__vwsn_switch_1 == static_cast<::vl::vint32_t>(2)))
{
::vl::__vwsn::This(__vwsnthis_0->listView)->SetView(::vl::presentation::controls::ListViewView::List);
::vl::__vwsn::This(__vwsnthis_0->bindableListView)->SetView(::vl::presentation::controls::ListViewView::List);
}
else if ((__vwsn_switch_1 == static_cast<::vl::vint32_t>(3)))
{
::vl::__vwsn::This(__vwsnthis_0->listView)->SetView(::vl::presentation::controls::ListViewView::Tile);
::vl::__vwsn::This(__vwsnthis_0->bindableListView)->SetView(::vl::presentation::controls::ListViewView::Tile);
}
else if ((__vwsn_switch_1 == static_cast<::vl::vint32_t>(4)))
{
::vl::__vwsn::This(__vwsnthis_0->listView)->SetView(::vl::presentation::controls::ListViewView::Information);
::vl::__vwsn::This(__vwsnthis_0->bindableListView)->SetView(::vl::presentation::controls::ListViewView::Information);
}
else if ((__vwsn_switch_1 == static_cast<::vl::vint32_t>(5)))
{
::vl::__vwsn::This(__vwsnthis_0->listView)->SetView(::vl::presentation::controls::ListViewView::Detail);
::vl::__vwsn::This(__vwsnthis_0->bindableListView)->SetView(::vl::presentation::controls::ListViewView::Detail);
}
}
}
//-------------------------------------------------------------------
__vwsnf92_Demo_demo_ListViewTabPage___vwsn_instance_ctor__::__vwsnf92_Demo_demo_ListViewTabPage___vwsn_instance_ctor__(::demo::ListViewTabPage* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf92_Demo_demo_ListViewTabPage___vwsn_instance_ctor__::operator()(::vl::Ptr<::vl::presentation::controls::list::ListViewItem> item) const
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(__vwsnthis_0->listView)->GetItems()).Obj())->Add(::vl::__vwsn::Box(item));
}
//-------------------------------------------------------------------
__vwsnf93_Demo_demo_ListViewTabPage___vwsn_instance_ctor__::__vwsnf93_Demo_demo_ListViewTabPage___vwsn_instance_ctor__(::vl::Ptr<::vl::reflection::description::IValueObservableList> __vwsnctor_itemsToBind, ::demo::ListViewTabPage* __vwsnctorthis_0)
:itemsToBind(__vwsnctor_itemsToBind)
, __vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf93_Demo_demo_ListViewTabPage___vwsn_instance_ctor__::operator()(::vl::Ptr<::vl::presentation::controls::list::ListViewItem> item) const
{
::vl::__vwsn::This(this->itemsToBind.Obj())->Add(::vl::__vwsn::Box(item));
}
//-------------------------------------------------------------------
__vwsnf94_Demo_demo_TextListTabPageConstructor___vwsn_initialize_instance__::__vwsnf94_Demo_demo_TextListTabPageConstructor___vwsn_initialize_instance__(::demo::TextListTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
bool __vwsnf94_Demo_demo_TextListTabPageConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_item_, bool __vwsn_value_, bool __vwsn_update_) const
{
auto item = ::vl::__vwsn::Unbox<::vl::Ptr<::demo::MyTextItem>>(__vwsn_item_);
if (__vwsn_update_)
{
::vl::__vwsn::This(item.Obj())->SetChecked(__vwsn_value_);
return false;
}
else
{
return ::vl::__vwsn::This(item.Obj())->GetChecked();
}
}
//-------------------------------------------------------------------
__vwsnf95_Demo_demo_TextListTabPageConstructor___vwsn_initialize_instance__::__vwsnf95_Demo_demo_TextListTabPageConstructor___vwsn_initialize_instance__(::demo::TextListTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
::vl::WString __vwsnf95_Demo_demo_TextListTabPageConstructor___vwsn_initialize_instance__::operator()(const ::vl::reflection::description::Value& __vwsn_item_) const
{
auto item = ::vl::__vwsn::Unbox<::vl::Ptr<::demo::MyTextItem>>(__vwsn_item_);
return ::vl::__vwsn::This(item.Obj())->GetName();
}
//-------------------------------------------------------------------
__vwsnf96_Demo_demo_TextListTabPageConstructor___vwsn_initialize_instance__::__vwsnf96_Demo_demo_TextListTabPageConstructor___vwsn_initialize_instance__(::demo::TextListTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf96_Demo_demo_TextListTabPageConstructor___vwsn_initialize_instance__::operator()(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs* arguments) const
{
{
auto __vwsn_switch_2 = ::vl::__vwsn::This(__vwsnthis_0->comboView)->GetSelectedIndex();
if ((__vwsn_switch_2 == static_cast<::vl::vint32_t>(0)))
{
::vl::__vwsn::This(__vwsnthis_0->textList)->SetView(::vl::presentation::controls::TextListView::Text);
::vl::__vwsn::This(__vwsnthis_0->bindableTextList)->SetView(::vl::presentation::controls::TextListView::Text);
}
else if ((__vwsn_switch_2 == static_cast<::vl::vint32_t>(1)))
{
::vl::__vwsn::This(__vwsnthis_0->textList)->SetView(::vl::presentation::controls::TextListView::Check);
::vl::__vwsn::This(__vwsnthis_0->bindableTextList)->SetView(::vl::presentation::controls::TextListView::Check);
}
else if ((__vwsn_switch_2 == static_cast<::vl::vint32_t>(2)))
{
::vl::__vwsn::This(__vwsnthis_0->textList)->SetView(::vl::presentation::controls::TextListView::Radio);
::vl::__vwsn::This(__vwsnthis_0->bindableTextList)->SetView(::vl::presentation::controls::TextListView::Radio);
}
}
}
//-------------------------------------------------------------------
__vwsnf97_Demo_demo_TextListTabPageConstructor___vwsn_initialize_instance__::__vwsnf97_Demo_demo_TextListTabPageConstructor___vwsn_initialize_instance__(::demo::TextListTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf97_Demo_demo_TextListTabPageConstructor___vwsn_initialize_instance__::operator()(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs* arguments) const
{
{
auto __vwsn_for_begin_i = static_cast<::vl::vint32_t>(0);
auto __vwsn_for_end_i = static_cast<::vl::vint32_t>(9);
auto i = __vwsn_for_begin_i;
while ((i <= __vwsn_for_end_i))
{
{
auto textItem = ::vl::Ptr<::vl::presentation::controls::list::TextItem>(new ::vl::presentation::controls::list::TextItem(::vl::__vwsn::ToString((::vl::__vwsn::This(__vwsnthis_0->self)->counter + i))));
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(__vwsnthis_0->textList)->GetItems()).Obj())->Add(::vl::__vwsn::Box(textItem));
}
(i = (i + static_cast<::vl::vint32_t>(1)));
}
}
{
auto __vwsn_for_begin_i = static_cast<::vl::vint32_t>(0);
auto __vwsn_for_end_i = static_cast<::vl::vint32_t>(9);
auto i = __vwsn_for_begin_i;
while ((i <= __vwsn_for_end_i))
{
{
auto textItem = ::vl::Ptr<::demo::MyTextItem>(new ::demo::MyTextItem());
::vl::__vwsn::This(textItem.Obj())->SetName(::vl::__vwsn::ToString((::vl::__vwsn::This(__vwsnthis_0->self)->counter + i)));
::vl::__vwsn::This(::vl::__vwsn::This(__vwsnthis_0->self)->itemsToBind.Obj())->Add(::vl::__vwsn::Box(textItem));
}
(i = (i + static_cast<::vl::vint32_t>(1)));
}
}
(::vl::__vwsn::This(__vwsnthis_0->self)->counter = (::vl::__vwsn::This(__vwsnthis_0->self)->counter + static_cast<::vl::vint32_t>(10)));
}
//-------------------------------------------------------------------
__vwsnf98_Demo_demo_TextListTabPageConstructor___vwsn_initialize_instance__::__vwsnf98_Demo_demo_TextListTabPageConstructor___vwsn_initialize_instance__(::demo::TextListTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf98_Demo_demo_TextListTabPageConstructor___vwsn_initialize_instance__::operator()(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs* arguments) const
{
{
auto i = static_cast<::vl::vint32_t>(0);
while ((i < ::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(__vwsnthis_0->textList)->GetItems()).Obj())->GetCount()))
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(__vwsnthis_0->textList)->GetItems()).Obj())->RemoveAt(i);
(i = (i + static_cast<::vl::vint32_t>(1)));
}
}
{
auto i = static_cast<::vl::vint32_t>(0);
while ((i < ::vl::__vwsn::This(::vl::__vwsn::This(__vwsnthis_0->self)->itemsToBind.Obj())->GetCount()))
{
::vl::__vwsn::This(::vl::__vwsn::This(__vwsnthis_0->self)->itemsToBind.Obj())->RemoveAt(i);
(i = (i + static_cast<::vl::vint32_t>(1)));
}
}
}
//-------------------------------------------------------------------
__vwsnf99_Demo_demo_TextListTabPageConstructor___vwsn_initialize_instance__::__vwsnf99_Demo_demo_TextListTabPageConstructor___vwsn_initialize_instance__(::demo::TextListTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnf99_Demo_demo_TextListTabPageConstructor___vwsn_initialize_instance__::operator()(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs* arguments) const
{
{
auto i = static_cast<::vl::vint32_t>(1);
while ((i < ::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(__vwsnthis_0->textList)->GetItems()).Obj())->GetCount()))
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(__vwsnthis_0->textList)->GetItems()).Obj())->RemoveAt(i);
(i = (i + static_cast<::vl::vint32_t>(1)));
}
}
{
auto i = static_cast<::vl::vint32_t>(1);
while ((i < ::vl::__vwsn::This(::vl::__vwsn::This(__vwsnthis_0->self)->itemsToBind.Obj())->GetCount()))
{
::vl::__vwsn::This(::vl::__vwsn::This(__vwsnthis_0->self)->itemsToBind.Obj())->RemoveAt(i);
(i = (i + static_cast<::vl::vint32_t>(1)));
}
}
}
//-------------------------------------------------------------------
__vwsno15_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__Compare_::__vwsno15_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__Compare_(::vl::presentation::controls::list::IDataSorter* __vwsnctorthis_0, ::demo::DataGridTabPageConstructor* __vwsnctorthis_1)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
, __vwsnthis_1(::vl::__vwsn::This(__vwsnctorthis_1))
{
}
::vl::vint32_t __vwsno15_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__Compare_::operator()(::vl::Ptr<::demo::MyDataItem> __vwsno_1, ::vl::Ptr<::demo::MyDataItem> __vwsno_2) const
{
return ::vl::reflection::description::Sys::Compare(static_cast<::vl::vuint64_t>(::vl::__vwsn::This(__vwsno_1.Obj())->GetCategory()), static_cast<::vl::vuint64_t>(::vl::__vwsn::This(__vwsno_2.Obj())->GetCategory()));
}
//-------------------------------------------------------------------
__vwsno19_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__Compare_::__vwsno19_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__Compare_(::vl::presentation::controls::list::IDataSorter* __vwsnctorthis_0, ::demo::DataGridTabPageConstructor* __vwsnctorthis_1)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
, __vwsnthis_1(::vl::__vwsn::This(__vwsnctorthis_1))
{
}
::vl::vint32_t __vwsno19_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__Compare_::operator()(::vl::Ptr<::demo::MyDataItem> __vwsno_1, ::vl::Ptr<::demo::MyDataItem> __vwsno_2) const
{
return ::vl::reflection::description::Sys::Compare(::vl::__vwsn::This(__vwsno_1.Obj())->GetBirthday(), ::vl::__vwsn::This(__vwsno_2.Obj())->GetBirthday());
}
//-------------------------------------------------------------------
__vwsno25_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__Compare_::__vwsno25_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__Compare_(::vl::presentation::controls::list::IDataSorter* __vwsnctorthis_0, ::demo::DataGridTabPageConstructor* __vwsnctorthis_1)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
, __vwsnthis_1(::vl::__vwsn::This(__vwsnctorthis_1))
{
}
::vl::vint32_t __vwsno25_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__Compare_::operator()(::vl::Ptr<::demo::MyDataItem> __vwsno_1, ::vl::Ptr<::demo::MyDataItem> __vwsno_2) const
{
return ::vl::reflection::description::Sys::Compare(::vl::__vwsn::This(__vwsno_1.Obj())->GetWebsite(), ::vl::__vwsn::This(__vwsno_2.Obj())->GetWebsite());
}
//-------------------------------------------------------------------
__vwsno3_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__Compare_::__vwsno3_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__Compare_(::vl::presentation::controls::list::IDataSorter* __vwsnctorthis_0, ::demo::DataGridTabPageConstructor* __vwsnctorthis_1)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
, __vwsnthis_1(::vl::__vwsn::This(__vwsnctorthis_1))
{
}
::vl::vint32_t __vwsno3_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__Compare_::operator()(::vl::Ptr<::demo::MyDataItem> __vwsno_1, ::vl::Ptr<::demo::MyDataItem> __vwsno_2) const
{
return ::vl::reflection::description::Sys::Compare(::vl::__vwsn::This(__vwsno_1.Obj())->GetName(), ::vl::__vwsn::This(__vwsno_2.Obj())->GetName());
}
//-------------------------------------------------------------------
__vwsno9_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__Compare_::__vwsno9_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__Compare_(::vl::presentation::controls::list::IDataSorter* __vwsnctorthis_0, ::demo::DataGridTabPageConstructor* __vwsnctorthis_1)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
, __vwsnthis_1(::vl::__vwsn::This(__vwsnctorthis_1))
{
}
::vl::vint32_t __vwsno9_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__Compare_::operator()(::vl::Ptr<::demo::MyDataItem> __vwsno_1, ::vl::Ptr<::demo::MyDataItem> __vwsno_2) const
{
return ::vl::reflection::description::Sys::Compare(static_cast<::vl::vuint64_t>(::vl::__vwsn::This(__vwsno_1.Obj())->GetGender()), static_cast<::vl::vuint64_t>(::vl::__vwsn::This(__vwsno_2.Obj())->GetGender()));
}
//-------------------------------------------------------------------
__vwsnc100_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc100_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::MenuItemButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::MenuItemButtonTemplate*>(nullptr);
this->__vwsn_bind_cache_1 = static_cast<::darkskin::MenuItemButtonTemplate*>(nullptr);
this->__vwsn_bind_cache_2 = static_cast<::darkskin::MenuItemButtonTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_2_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc100_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::Parse<::vl::presentation::Color>([&](auto state){ return ((! ::vl::__vwsn::This(__vwsn_bind_cache_1)->GetVisuallyEnabled()) ? ::vl::WString(L"#555558", false) : (((state == ::vl::presentation::controls::ButtonState::Active) || ::vl::__vwsn::This(__vwsn_bind_cache_2)->GetSubMenuOpening()) ? ::vl::WString(L"#1997EA", false) : ((state == ::vl::presentation::controls::ButtonState::Pressed) ? ::vl::WString(L"#007ACC", false) : ::vl::WString(L"#999999", false)))); }(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetState()));
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc100_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc100_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc100_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_2_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc100_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_cache_1 = __vwsnthis_0->self);
(__vwsn_bind_cache_2 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc100_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
(__vwsn_bind_handler_1_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc100_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0)));
(__vwsn_bind_handler_2_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_2)->SubMenuOpeningChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc100_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_2_0)));
return true;
}
return false;
}
bool __vwsnc100_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc100_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, __vwsn_bind_handler_0_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, __vwsn_bind_handler_1_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_2)->SubMenuOpeningChanged, __vwsn_bind_handler_2_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::MenuItemButtonTemplate*>(nullptr));
(__vwsn_bind_cache_1 = static_cast<::darkskin::MenuItemButtonTemplate*>(nullptr));
(__vwsn_bind_cache_2 = static_cast<::darkskin::MenuItemButtonTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_2_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc101_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc101_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::MenuItemButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::MenuItemButtonTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc101_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::This(__vwsn_bind_cache_0)->GetSubMenuExisting();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc101_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc101_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->SubMenuExistingChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc101_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc101_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc101_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->SubMenuExistingChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::MenuItemButtonTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc102_Demo_darkskin_ProgressBarTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc102_Demo_darkskin_ProgressBarTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::ProgressBarTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::vl::presentation::compositions::GuiBoundsComposition*>(nullptr);
this->__vwsn_bind_cache_1 = static_cast<::vl::presentation::compositions::GuiBoundsComposition*>(nullptr);
this->__vwsn_bind_cache_2 = static_cast<::darkskin::ProgressBarTemplate*>(nullptr);
this->__vwsn_bind_cache_3 = static_cast<::darkskin::ProgressBarTemplate*>(nullptr);
this->__vwsn_bind_cache_4 = static_cast<::darkskin::ProgressBarTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_2_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_3_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_4_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc102_Demo_darkskin_ProgressBarTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = [&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = [&](auto width, auto max){ return ((max == static_cast<::vl::vint32_t>(0)) ? static_cast<::vl::vint32_t>(0) : (width - ((width * ::vl::__vwsn::This(__vwsn_bind_cache_4)->GetPosition()) / max))); }((::vl::__vwsn::This(__vwsn_bind_cache_0)->GetBounds().x2 - ::vl::__vwsn::This(__vwsn_bind_cache_1)->GetBounds().x1), (::vl::__vwsn::This(__vwsn_bind_cache_2)->GetTotalSize() - ::vl::__vwsn::This(__vwsn_bind_cache_3)->GetPageSize())); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc102_Demo_darkskin_ProgressBarTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc102_Demo_darkskin_ProgressBarTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc102_Demo_darkskin_ProgressBarTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_2_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc102_Demo_darkskin_ProgressBarTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_3_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc102_Demo_darkskin_ProgressBarTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_4_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc102_Demo_darkskin_ProgressBarTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->container);
(__vwsn_bind_cache_1 = __vwsnthis_0->container);
(__vwsn_bind_cache_2 = __vwsnthis_0->self);
(__vwsn_bind_cache_3 = __vwsnthis_0->self);
(__vwsn_bind_cache_4 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->BoundsChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc102_Demo_darkskin_ProgressBarTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
(__vwsn_bind_handler_1_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_1)->BoundsChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc102_Demo_darkskin_ProgressBarTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0)));
(__vwsn_bind_handler_2_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_2)->TotalSizeChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc102_Demo_darkskin_ProgressBarTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_2_0)));
(__vwsn_bind_handler_3_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_3)->PageSizeChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc102_Demo_darkskin_ProgressBarTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_3_0)));
(__vwsn_bind_handler_4_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_4)->PositionChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc102_Demo_darkskin_ProgressBarTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_4_0)));
return true;
}
return false;
}
bool __vwsnc102_Demo_darkskin_ProgressBarTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc102_Demo_darkskin_ProgressBarTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->BoundsChanged, __vwsn_bind_handler_0_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_1)->BoundsChanged, __vwsn_bind_handler_1_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_2)->TotalSizeChanged, __vwsn_bind_handler_2_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_3)->PageSizeChanged, __vwsn_bind_handler_3_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_4)->PositionChanged, __vwsn_bind_handler_4_0);
(__vwsn_bind_cache_0 = static_cast<::vl::presentation::compositions::GuiBoundsComposition*>(nullptr));
(__vwsn_bind_cache_1 = static_cast<::vl::presentation::compositions::GuiBoundsComposition*>(nullptr));
(__vwsn_bind_cache_2 = static_cast<::darkskin::ProgressBarTemplate*>(nullptr));
(__vwsn_bind_cache_3 = static_cast<::darkskin::ProgressBarTemplate*>(nullptr));
(__vwsn_bind_cache_4 = static_cast<::darkskin::ProgressBarTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_2_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_3_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_4_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc103_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc103_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::RadioButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::RadioButtonTemplate*>(nullptr);
this->__vwsn_bind_cache_1 = static_cast<::darkskin::RadioButtonTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc103_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::Parse<::vl::presentation::Color>([&](auto state){ return ((! ::vl::__vwsn::This(__vwsn_bind_cache_1)->GetVisuallyEnabled()) ? ::vl::WString(L"#252526", false) : ((state == ::vl::presentation::controls::ButtonState::Active) ? ::vl::WString(L"#54545C", false) : ((state == ::vl::presentation::controls::ButtonState::Pressed) ? ::vl::WString(L"#007ACC", false) : ::vl::WString(L"#3F3F46", false)))); }(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetState()));
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc103_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc103_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc103_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_cache_1 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc103_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
(__vwsn_bind_handler_1_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc103_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0)));
return true;
}
return false;
}
bool __vwsnc103_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc103_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, __vwsn_bind_handler_0_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, __vwsn_bind_handler_1_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::RadioButtonTemplate*>(nullptr));
(__vwsn_bind_cache_1 = static_cast<::darkskin::RadioButtonTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc104_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc104_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::RadioButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::RadioButtonTemplate*>(nullptr);
this->__vwsn_bind_cache_1 = static_cast<::darkskin::RadioButtonTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc104_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::Parse<::vl::presentation::Color>([&](auto state){ return ((! ::vl::__vwsn::This(__vwsn_bind_cache_1)->GetVisuallyEnabled()) ? ::vl::WString(L"#434346", false) : ((state == ::vl::presentation::controls::ButtonState::Active) ? ::vl::WString(L"#6A6A75", false) : ((state == ::vl::presentation::controls::ButtonState::Pressed) ? ::vl::WString(L"#1C97EA", false) : ::vl::WString(L"#54545C", false)))); }(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetState()));
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc104_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc104_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc104_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_cache_1 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc104_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
(__vwsn_bind_handler_1_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc104_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0)));
return true;
}
return false;
}
bool __vwsnc104_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc104_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, __vwsn_bind_handler_0_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, __vwsn_bind_handler_1_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::RadioButtonTemplate*>(nullptr));
(__vwsn_bind_cache_1 = static_cast<::darkskin::RadioButtonTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc105_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc105_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::RadioButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::RadioButtonTemplate*>(nullptr);
this->__vwsn_bind_cache_1 = static_cast<::darkskin::RadioButtonTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc105_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::Parse<::vl::presentation::Color>([&](auto state){ return ((! ::vl::__vwsn::This(__vwsn_bind_cache_1)->GetVisuallyEnabled()) ? ::vl::WString(L"#6D6D6D", false) : ((state == ::vl::presentation::controls::ButtonState::Active) ? ::vl::WString(L"#F1F1F1", false) : ((state == ::vl::presentation::controls::ButtonState::Pressed) ? ::vl::WString(L"#FFFFFF", false) : ::vl::WString(L"#F1F1F1", false)))); }(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetState()));
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc105_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc105_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc105_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_cache_1 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc105_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
(__vwsn_bind_handler_1_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc105_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0)));
return true;
}
return false;
}
bool __vwsnc105_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc105_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, __vwsn_bind_handler_0_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, __vwsn_bind_handler_1_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::RadioButtonTemplate*>(nullptr));
(__vwsn_bind_cache_1 = static_cast<::darkskin::RadioButtonTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc106_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc106_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::RadioButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::RadioButtonTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc106_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::This(__vwsn_bind_cache_0)->GetSelected();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc106_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc106_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->SelectedChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc106_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc106_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc106_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->SelectedChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::RadioButtonTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc107_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc107_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::RadioButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::RadioButtonTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc107_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::This(__vwsn_bind_cache_0)->GetText();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc107_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc107_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->TextChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc107_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc107_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc107_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->TextChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::RadioButtonTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc108_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc108_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::RadioButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::RadioButtonTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc108_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::Parse<::vl::presentation::Color>(((! ::vl::__vwsn::This(__vwsn_bind_cache_0)->GetVisuallyEnabled()) ? ::vl::WString(L"#6D6D6D", false) : ::vl::WString(L"#F1F1F1", false)));
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc108_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc108_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->VisuallyEnabledChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc108_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc108_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc108_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->VisuallyEnabledChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::RadioButtonTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc109_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc109_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::RadioButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::RadioButtonTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc109_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::This(__vwsn_bind_cache_0)->GetFont();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc109_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc109_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->FontChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc109_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc109_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc109_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->FontChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::RadioButtonTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc10_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc10_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::demo::DocumentTabPage*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc10_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::This(__vwsn_bind_cache_0)->GetHasEditableSelection();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc10_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0()
{
this->__vwsn_bind_activator_();
}
bool __vwsnc10_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->HasEditableSelectionChanged, ::vl::Func<void()>(this, &__vwsnc10_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc10_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc10_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->HasEditableSelectionChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::demo::DocumentTabPage*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc110_Demo_darkskin_RightScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc110_Demo_darkskin_RightScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::RightScrollButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::RightScrollButtonTemplate*>(nullptr);
this->__vwsn_bind_cache_1 = static_cast<::darkskin::RightScrollButtonTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc110_Demo_darkskin_RightScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::Parse<::vl::presentation::Color>([&](auto state){ return ((! ::vl::__vwsn::This(__vwsn_bind_cache_1)->GetVisuallyEnabled()) ? ::vl::WString(L"#555558", false) : ((state == ::vl::presentation::controls::ButtonState::Active) ? ::vl::WString(L"#1997EA", false) : ((state == ::vl::presentation::controls::ButtonState::Pressed) ? ::vl::WString(L"#007ACC", false) : ::vl::WString(L"#999999", false)))); }(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetState()));
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc110_Demo_darkskin_RightScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc110_Demo_darkskin_RightScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc110_Demo_darkskin_RightScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_cache_1 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc110_Demo_darkskin_RightScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
(__vwsn_bind_handler_1_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc110_Demo_darkskin_RightScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0)));
return true;
}
return false;
}
bool __vwsnc110_Demo_darkskin_RightScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc110_Demo_darkskin_RightScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, __vwsn_bind_handler_0_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, __vwsn_bind_handler_1_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::RightScrollButtonTemplate*>(nullptr));
(__vwsn_bind_cache_1 = static_cast<::darkskin::RightScrollButtonTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc111_Demo_darkskin_RightScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc111_Demo_darkskin_RightScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::RightScrollButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::RightScrollButtonTemplate*>(nullptr);
this->__vwsn_bind_cache_1 = static_cast<::darkskin::RightScrollButtonTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc111_Demo_darkskin_RightScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::Parse<::vl::presentation::Color>([&](auto state){ return ((! ::vl::__vwsn::This(__vwsn_bind_cache_1)->GetVisuallyEnabled()) ? ::vl::WString(L"#555558", false) : ((state == ::vl::presentation::controls::ButtonState::Active) ? ::vl::WString(L"#1997EA", false) : ((state == ::vl::presentation::controls::ButtonState::Pressed) ? ::vl::WString(L"#007ACC", false) : ::vl::WString(L"#999999", false)))); }(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetState()));
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc111_Demo_darkskin_RightScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc111_Demo_darkskin_RightScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc111_Demo_darkskin_RightScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_cache_1 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc111_Demo_darkskin_RightScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
(__vwsn_bind_handler_1_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc111_Demo_darkskin_RightScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0)));
return true;
}
return false;
}
bool __vwsnc111_Demo_darkskin_RightScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc111_Demo_darkskin_RightScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, __vwsn_bind_handler_0_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, __vwsn_bind_handler_1_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::RightScrollButtonTemplate*>(nullptr));
(__vwsn_bind_cache_1 = static_cast<::darkskin::RightScrollButtonTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc112_Demo_darkskin_ShortcutKeyTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc112_Demo_darkskin_ShortcutKeyTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::ShortcutKeyTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::ShortcutKeyTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc112_Demo_darkskin_ShortcutKeyTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::This(__vwsn_bind_cache_0)->GetText();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc112_Demo_darkskin_ShortcutKeyTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc112_Demo_darkskin_ShortcutKeyTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->TextChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc112_Demo_darkskin_ShortcutKeyTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc112_Demo_darkskin_ShortcutKeyTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc112_Demo_darkskin_ShortcutKeyTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->TextChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::ShortcutKeyTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc113_Demo_darkskin_ShortcutKeyTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc113_Demo_darkskin_ShortcutKeyTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::ShortcutKeyTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::ShortcutKeyTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc113_Demo_darkskin_ShortcutKeyTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::This(__vwsn_bind_cache_0)->GetTextColor();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc113_Demo_darkskin_ShortcutKeyTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc113_Demo_darkskin_ShortcutKeyTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->TextColorChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc113_Demo_darkskin_ShortcutKeyTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc113_Demo_darkskin_ShortcutKeyTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc113_Demo_darkskin_ShortcutKeyTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->TextColorChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::ShortcutKeyTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc114_Demo_darkskin_ShortcutKeyTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc114_Demo_darkskin_ShortcutKeyTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::ShortcutKeyTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::ShortcutKeyTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc114_Demo_darkskin_ShortcutKeyTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::This(__vwsn_bind_cache_0)->GetFont();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc114_Demo_darkskin_ShortcutKeyTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc114_Demo_darkskin_ShortcutKeyTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->FontChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc114_Demo_darkskin_ShortcutKeyTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc114_Demo_darkskin_ShortcutKeyTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc114_Demo_darkskin_ShortcutKeyTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->FontChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::ShortcutKeyTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc115_Demo_darkskin_TabDropdownTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc115_Demo_darkskin_TabDropdownTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::TabDropdownTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::TabDropdownTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc115_Demo_darkskin_TabDropdownTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::Parse<::vl::presentation::Color>([&](auto state){ return ((state == ::vl::presentation::controls::ButtonState::Active) ? ::vl::WString(L"#1C97EA", false) : ((state == ::vl::presentation::controls::ButtonState::Pressed) ? ::vl::WString(L"#1C97EA", false) : ::vl::WString(L"#434346", false))); }(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetState()));
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc115_Demo_darkskin_TabDropdownTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc115_Demo_darkskin_TabDropdownTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc115_Demo_darkskin_TabDropdownTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc115_Demo_darkskin_TabDropdownTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc115_Demo_darkskin_TabDropdownTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::TabDropdownTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc116_Demo_darkskin_TabHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc116_Demo_darkskin_TabHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::TabHeaderTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::TabHeaderTemplate*>(nullptr);
this->__vwsn_bind_cache_1 = static_cast<::darkskin::TabHeaderTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc116_Demo_darkskin_TabHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::Parse<::vl::presentation::Color>([&](auto state){ return (::vl::__vwsn::This(__vwsn_bind_cache_1)->GetSelected() ? ::vl::WString(L"#007ACC", false) : ((state == ::vl::presentation::controls::ButtonState::Active) ? ::vl::WString(L"#1C97EA", false) : ((state == ::vl::presentation::controls::ButtonState::Pressed) ? ::vl::WString(L"#1C97EA", false) : ::vl::WString(L"#434346", false)))); }(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetState()));
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc116_Demo_darkskin_TabHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc116_Demo_darkskin_TabHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc116_Demo_darkskin_TabHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_cache_1 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc116_Demo_darkskin_TabHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
(__vwsn_bind_handler_1_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_1)->SelectedChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc116_Demo_darkskin_TabHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0)));
return true;
}
return false;
}
bool __vwsnc116_Demo_darkskin_TabHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc116_Demo_darkskin_TabHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, __vwsn_bind_handler_0_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_1)->SelectedChanged, __vwsn_bind_handler_1_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::TabHeaderTemplate*>(nullptr));
(__vwsn_bind_cache_1 = static_cast<::darkskin::TabHeaderTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc117_Demo_darkskin_TabHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc117_Demo_darkskin_TabHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::TabHeaderTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::TabHeaderTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc117_Demo_darkskin_TabHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::This(__vwsn_bind_cache_0)->GetText();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc117_Demo_darkskin_TabHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc117_Demo_darkskin_TabHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->TextChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc117_Demo_darkskin_TabHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc117_Demo_darkskin_TabHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc117_Demo_darkskin_TabHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->TextChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::TabHeaderTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc118_Demo_darkskin_TabHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc118_Demo_darkskin_TabHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::TabHeaderTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::TabHeaderTemplate*>(nullptr);
this->__vwsn_bind_cache_1 = static_cast<::darkskin::TabHeaderTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc118_Demo_darkskin_TabHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::Parse<::vl::presentation::Color>([&](auto state){ return ((! ::vl::__vwsn::This(__vwsn_bind_cache_1)->GetVisuallyEnabled()) ? ::vl::WString(L"#6D6D6D", false) : ((state == ::vl::presentation::controls::ButtonState::Active) ? ::vl::WString(L"#F1F1F1", false) : ((state == ::vl::presentation::controls::ButtonState::Pressed) ? ::vl::WString(L"#FFFFFF", false) : ::vl::WString(L"#F1F1F1", false)))); }(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetState()));
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc118_Demo_darkskin_TabHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc118_Demo_darkskin_TabHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc118_Demo_darkskin_TabHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_cache_1 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc118_Demo_darkskin_TabHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
(__vwsn_bind_handler_1_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc118_Demo_darkskin_TabHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0)));
return true;
}
return false;
}
bool __vwsnc118_Demo_darkskin_TabHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc118_Demo_darkskin_TabHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, __vwsn_bind_handler_0_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, __vwsn_bind_handler_1_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::TabHeaderTemplate*>(nullptr));
(__vwsn_bind_cache_1 = static_cast<::darkskin::TabHeaderTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc119_Demo_darkskin_TabHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc119_Demo_darkskin_TabHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::TabHeaderTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::TabHeaderTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc119_Demo_darkskin_TabHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::This(__vwsn_bind_cache_0)->GetFont();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc119_Demo_darkskin_TabHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc119_Demo_darkskin_TabHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->FontChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc119_Demo_darkskin_TabHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc119_Demo_darkskin_TabHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc119_Demo_darkskin_TabHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->FontChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::TabHeaderTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc11_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc11_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::demo::DocumentTabPage*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc11_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::This(__vwsnthis_0->document)->CanPaste();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc11_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc11_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetBoundsComposition())->GetEventReceiver()->clipboardNotify, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc11_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc11_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc11_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetBoundsComposition())->GetEventReceiver()->clipboardNotify, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::demo::DocumentTabPage*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc120_Demo_darkskin_ToolstripSplitArrowTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc120_Demo_darkskin_ToolstripSplitArrowTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::ToolstripSplitArrowTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::ToolstripSplitArrowTemplate*>(nullptr);
this->__vwsn_bind_cache_1 = static_cast<::darkskin::ToolstripSplitArrowTemplate*>(nullptr);
this->__vwsn_bind_cache_2 = static_cast<::darkskin::ToolstripSplitArrowTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_2_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc120_Demo_darkskin_ToolstripSplitArrowTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::Parse<::vl::presentation::Color>([&](auto state){ return ((! ::vl::__vwsn::This(__vwsn_bind_cache_1)->GetVisuallyEnabled()) ? ::vl::WString(L"#00000000", false) : (((state == ::vl::presentation::controls::ButtonState::Pressed) || ::vl::__vwsn::This(__vwsn_bind_cache_2)->GetSelected()) ? ::vl::WString(L"#007ACC", false) : ((state == ::vl::presentation::controls::ButtonState::Active) ? ::vl::WString(L"#54545C", false) : ::vl::WString(L"#00000000", false)))); }(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetState()));
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc120_Demo_darkskin_ToolstripSplitArrowTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc120_Demo_darkskin_ToolstripSplitArrowTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc120_Demo_darkskin_ToolstripSplitArrowTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_2_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc120_Demo_darkskin_ToolstripSplitArrowTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_cache_1 = __vwsnthis_0->self);
(__vwsn_bind_cache_2 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc120_Demo_darkskin_ToolstripSplitArrowTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
(__vwsn_bind_handler_1_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc120_Demo_darkskin_ToolstripSplitArrowTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0)));
(__vwsn_bind_handler_2_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_2)->SelectedChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc120_Demo_darkskin_ToolstripSplitArrowTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_2_0)));
return true;
}
return false;
}
bool __vwsnc120_Demo_darkskin_ToolstripSplitArrowTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc120_Demo_darkskin_ToolstripSplitArrowTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, __vwsn_bind_handler_0_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, __vwsn_bind_handler_1_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_2)->SelectedChanged, __vwsn_bind_handler_2_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::ToolstripSplitArrowTemplate*>(nullptr));
(__vwsn_bind_cache_1 = static_cast<::darkskin::ToolstripSplitArrowTemplate*>(nullptr));
(__vwsn_bind_cache_2 = static_cast<::darkskin::ToolstripSplitArrowTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_2_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc121_Demo_darkskin_ToolstripSplitArrowTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc121_Demo_darkskin_ToolstripSplitArrowTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::ToolstripSplitArrowTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::ToolstripSplitArrowTemplate*>(nullptr);
this->__vwsn_bind_cache_1 = static_cast<::darkskin::ToolstripSplitArrowTemplate*>(nullptr);
this->__vwsn_bind_cache_2 = static_cast<::darkskin::ToolstripSplitArrowTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_2_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc121_Demo_darkskin_ToolstripSplitArrowTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::Parse<::vl::presentation::Color>([&](auto state){ return ((! ::vl::__vwsn::This(__vwsn_bind_cache_1)->GetVisuallyEnabled()) ? ::vl::WString(L"#555558", false) : (((state == ::vl::presentation::controls::ButtonState::Pressed) || ::vl::__vwsn::This(__vwsn_bind_cache_2)->GetSelected()) ? ::vl::WString(L"#FFFFFF", false) : ((state == ::vl::presentation::controls::ButtonState::Active) ? ::vl::WString(L"#1997EA", false) : ::vl::WString(L"#999999", false)))); }(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetState()));
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc121_Demo_darkskin_ToolstripSplitArrowTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc121_Demo_darkskin_ToolstripSplitArrowTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc121_Demo_darkskin_ToolstripSplitArrowTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_2_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc121_Demo_darkskin_ToolstripSplitArrowTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_cache_1 = __vwsnthis_0->self);
(__vwsn_bind_cache_2 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc121_Demo_darkskin_ToolstripSplitArrowTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
(__vwsn_bind_handler_1_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc121_Demo_darkskin_ToolstripSplitArrowTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0)));
(__vwsn_bind_handler_2_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_2)->SelectedChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc121_Demo_darkskin_ToolstripSplitArrowTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_2_0)));
return true;
}
return false;
}
bool __vwsnc121_Demo_darkskin_ToolstripSplitArrowTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc121_Demo_darkskin_ToolstripSplitArrowTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, __vwsn_bind_handler_0_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, __vwsn_bind_handler_1_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_2)->SelectedChanged, __vwsn_bind_handler_2_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::ToolstripSplitArrowTemplate*>(nullptr));
(__vwsn_bind_cache_1 = static_cast<::darkskin::ToolstripSplitArrowTemplate*>(nullptr));
(__vwsn_bind_cache_2 = static_cast<::darkskin::ToolstripSplitArrowTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_2_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc122_Demo_darkskin_ToolstripSplitArrowTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc122_Demo_darkskin_ToolstripSplitArrowTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::ToolstripSplitArrowTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::ToolstripSplitArrowTemplate*>(nullptr);
this->__vwsn_bind_cache_1 = static_cast<::darkskin::ToolstripSplitArrowTemplate*>(nullptr);
this->__vwsn_bind_cache_2 = static_cast<::darkskin::ToolstripSplitArrowTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_2_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc122_Demo_darkskin_ToolstripSplitArrowTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::Parse<::vl::presentation::Color>([&](auto state){ return ((! ::vl::__vwsn::This(__vwsn_bind_cache_1)->GetVisuallyEnabled()) ? ::vl::WString(L"#555558", false) : (((state == ::vl::presentation::controls::ButtonState::Pressed) || ::vl::__vwsn::This(__vwsn_bind_cache_2)->GetSelected()) ? ::vl::WString(L"#FFFFFF", false) : ((state == ::vl::presentation::controls::ButtonState::Active) ? ::vl::WString(L"#1997EA", false) : ::vl::WString(L"#999999", false)))); }(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetState()));
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc122_Demo_darkskin_ToolstripSplitArrowTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc122_Demo_darkskin_ToolstripSplitArrowTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc122_Demo_darkskin_ToolstripSplitArrowTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_2_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc122_Demo_darkskin_ToolstripSplitArrowTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_cache_1 = __vwsnthis_0->self);
(__vwsn_bind_cache_2 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc122_Demo_darkskin_ToolstripSplitArrowTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
(__vwsn_bind_handler_1_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc122_Demo_darkskin_ToolstripSplitArrowTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0)));
(__vwsn_bind_handler_2_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_2)->SelectedChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc122_Demo_darkskin_ToolstripSplitArrowTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_2_0)));
return true;
}
return false;
}
bool __vwsnc122_Demo_darkskin_ToolstripSplitArrowTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc122_Demo_darkskin_ToolstripSplitArrowTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, __vwsn_bind_handler_0_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, __vwsn_bind_handler_1_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_2)->SelectedChanged, __vwsn_bind_handler_2_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::ToolstripSplitArrowTemplate*>(nullptr));
(__vwsn_bind_cache_1 = static_cast<::darkskin::ToolstripSplitArrowTemplate*>(nullptr));
(__vwsn_bind_cache_2 = static_cast<::darkskin::ToolstripSplitArrowTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_2_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc123_Demo_darkskin_ToolstripButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc123_Demo_darkskin_ToolstripButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::ToolstripButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::ToolstripButtonTemplate*>(nullptr);
this->__vwsn_bind_cache_1 = static_cast<::darkskin::ToolstripButtonTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc123_Demo_darkskin_ToolstripButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::Parse<::vl::presentation::Color>([&](auto state){ return ((! ::vl::__vwsn::This(__vwsn_bind_cache_1)->GetSelected()) ? ::vl::WString(L"#00000000", false) : ::vl::WString(L"#007ACC", false)); }(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetState()));
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc123_Demo_darkskin_ToolstripButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc123_Demo_darkskin_ToolstripButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc123_Demo_darkskin_ToolstripButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_cache_1 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc123_Demo_darkskin_ToolstripButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
(__vwsn_bind_handler_1_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_1)->SelectedChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc123_Demo_darkskin_ToolstripButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0)));
return true;
}
return false;
}
bool __vwsnc123_Demo_darkskin_ToolstripButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc123_Demo_darkskin_ToolstripButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, __vwsn_bind_handler_0_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_1)->SelectedChanged, __vwsn_bind_handler_1_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::ToolstripButtonTemplate*>(nullptr));
(__vwsn_bind_cache_1 = static_cast<::darkskin::ToolstripButtonTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc124_Demo_darkskin_ToolstripButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc124_Demo_darkskin_ToolstripButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::ToolstripButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::ToolstripButtonTemplate*>(nullptr);
this->__vwsn_bind_cache_1 = static_cast<::darkskin::ToolstripButtonTemplate*>(nullptr);
this->__vwsn_bind_cache_2 = static_cast<::darkskin::ToolstripButtonTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_2_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc124_Demo_darkskin_ToolstripButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::Parse<::vl::presentation::Color>([&](auto state){ return ((! ::vl::__vwsn::This(__vwsn_bind_cache_1)->GetVisuallyEnabled()) ? ::vl::WString(L"#00000000", false) : (((state == ::vl::presentation::controls::ButtonState::Pressed) || ::vl::__vwsn::This(__vwsn_bind_cache_2)->GetSubMenuOpening()) ? ::vl::WString(L"#007ACC", false) : ((state == ::vl::presentation::controls::ButtonState::Active) ? ::vl::WString(L"#54545C", false) : ::vl::WString(L"#00000000", false)))); }(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetState()));
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc124_Demo_darkskin_ToolstripButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc124_Demo_darkskin_ToolstripButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc124_Demo_darkskin_ToolstripButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_2_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc124_Demo_darkskin_ToolstripButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_cache_1 = __vwsnthis_0->self);
(__vwsn_bind_cache_2 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc124_Demo_darkskin_ToolstripButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
(__vwsn_bind_handler_1_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc124_Demo_darkskin_ToolstripButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0)));
(__vwsn_bind_handler_2_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_2)->SubMenuOpeningChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc124_Demo_darkskin_ToolstripButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_2_0)));
return true;
}
return false;
}
bool __vwsnc124_Demo_darkskin_ToolstripButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc124_Demo_darkskin_ToolstripButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, __vwsn_bind_handler_0_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, __vwsn_bind_handler_1_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_2)->SubMenuOpeningChanged, __vwsn_bind_handler_2_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::ToolstripButtonTemplate*>(nullptr));
(__vwsn_bind_cache_1 = static_cast<::darkskin::ToolstripButtonTemplate*>(nullptr));
(__vwsn_bind_cache_2 = static_cast<::darkskin::ToolstripButtonTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_2_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc125_Demo_darkskin_ToolstripButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc125_Demo_darkskin_ToolstripButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::ToolstripButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::ToolstripButtonTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc125_Demo_darkskin_ToolstripButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = [&](){ try{ return ::vl::__vwsn::This(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetImage().Obj())->GetImage(); } catch(...){ return ::vl::Ptr<::vl::presentation::INativeImage>(); } }();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc125_Demo_darkskin_ToolstripButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc125_Demo_darkskin_ToolstripButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->ImageChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc125_Demo_darkskin_ToolstripButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc125_Demo_darkskin_ToolstripButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc125_Demo_darkskin_ToolstripButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->ImageChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::ToolstripButtonTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc126_Demo_darkskin_ToolstripButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc126_Demo_darkskin_ToolstripButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::ToolstripButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::ToolstripButtonTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc126_Demo_darkskin_ToolstripButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::This(__vwsn_bind_cache_0)->GetVisuallyEnabled();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc126_Demo_darkskin_ToolstripButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc126_Demo_darkskin_ToolstripButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->VisuallyEnabledChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc126_Demo_darkskin_ToolstripButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc126_Demo_darkskin_ToolstripButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc126_Demo_darkskin_ToolstripButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->VisuallyEnabledChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::ToolstripButtonTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc127_Demo_darkskin_ToolstripButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc127_Demo_darkskin_ToolstripButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::ToolstripButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::ToolstripButtonTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc127_Demo_darkskin_ToolstripButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = [&](){ try{ return ::vl::__vwsn::This(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetImage().Obj())->GetFrameIndex(); } catch(...){ return static_cast<::vl::vint32_t>(0); } }();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc127_Demo_darkskin_ToolstripButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc127_Demo_darkskin_ToolstripButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->ImageChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc127_Demo_darkskin_ToolstripButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc127_Demo_darkskin_ToolstripButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc127_Demo_darkskin_ToolstripButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->ImageChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::ToolstripButtonTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc128_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc128_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::ToolstripDropdownButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::ToolstripDropdownButtonTemplate*>(nullptr);
this->__vwsn_bind_cache_1 = static_cast<::darkskin::ToolstripDropdownButtonTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc128_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::Parse<::vl::presentation::Color>([&](auto state){ return ((! ::vl::__vwsn::This(__vwsn_bind_cache_1)->GetSelected()) ? ::vl::WString(L"#00000000", false) : ::vl::WString(L"#007ACC", false)); }(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetState()));
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc128_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc128_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc128_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_cache_1 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc128_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
(__vwsn_bind_handler_1_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_1)->SelectedChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc128_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0)));
return true;
}
return false;
}
bool __vwsnc128_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc128_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, __vwsn_bind_handler_0_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_1)->SelectedChanged, __vwsn_bind_handler_1_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::ToolstripDropdownButtonTemplate*>(nullptr));
(__vwsn_bind_cache_1 = static_cast<::darkskin::ToolstripDropdownButtonTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc129_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc129_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::ToolstripDropdownButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::ToolstripDropdownButtonTemplate*>(nullptr);
this->__vwsn_bind_cache_1 = static_cast<::darkskin::ToolstripDropdownButtonTemplate*>(nullptr);
this->__vwsn_bind_cache_2 = static_cast<::darkskin::ToolstripDropdownButtonTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_2_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc129_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::Parse<::vl::presentation::Color>([&](auto state){ return ((! ::vl::__vwsn::This(__vwsn_bind_cache_1)->GetVisuallyEnabled()) ? ::vl::WString(L"#00000000", false) : (((state == ::vl::presentation::controls::ButtonState::Pressed) || ::vl::__vwsn::This(__vwsn_bind_cache_2)->GetSubMenuOpening()) ? ::vl::WString(L"#007ACC", false) : ((state == ::vl::presentation::controls::ButtonState::Active) ? ::vl::WString(L"#54545C", false) : ::vl::WString(L"#00000000", false)))); }(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetState()));
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc129_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc129_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc129_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_2_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc129_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_cache_1 = __vwsnthis_0->self);
(__vwsn_bind_cache_2 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc129_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
(__vwsn_bind_handler_1_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc129_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0)));
(__vwsn_bind_handler_2_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_2)->SubMenuOpeningChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc129_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_2_0)));
return true;
}
return false;
}
bool __vwsnc129_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc129_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, __vwsn_bind_handler_0_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, __vwsn_bind_handler_1_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_2)->SubMenuOpeningChanged, __vwsn_bind_handler_2_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::ToolstripDropdownButtonTemplate*>(nullptr));
(__vwsn_bind_cache_1 = static_cast<::darkskin::ToolstripDropdownButtonTemplate*>(nullptr));
(__vwsn_bind_cache_2 = static_cast<::darkskin::ToolstripDropdownButtonTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_2_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc12_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc12_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::demo::DocumentTabPage*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc12_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::This(__vwsn_bind_cache_0)->GetHasEditableSelection();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc12_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0()
{
this->__vwsn_bind_activator_();
}
bool __vwsnc12_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->HasEditableSelectionChanged, ::vl::Func<void()>(this, &__vwsnc12_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc12_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc12_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->HasEditableSelectionChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::demo::DocumentTabPage*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc130_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc130_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::ToolstripDropdownButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::ToolstripDropdownButtonTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc130_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = [&](){ try{ return ::vl::__vwsn::This(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetImage().Obj())->GetImage(); } catch(...){ return ::vl::Ptr<::vl::presentation::INativeImage>(); } }();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc130_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc130_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->ImageChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc130_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc130_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc130_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->ImageChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::ToolstripDropdownButtonTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc131_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc131_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::ToolstripDropdownButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::ToolstripDropdownButtonTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc131_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::This(__vwsn_bind_cache_0)->GetVisuallyEnabled();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc131_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc131_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->VisuallyEnabledChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc131_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc131_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc131_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->VisuallyEnabledChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::ToolstripDropdownButtonTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc132_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc132_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::ToolstripDropdownButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::ToolstripDropdownButtonTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc132_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = [&](){ try{ return ::vl::__vwsn::This(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetImage().Obj())->GetFrameIndex(); } catch(...){ return static_cast<::vl::vint32_t>(0); } }();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc132_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc132_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->ImageChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc132_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc132_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc132_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->ImageChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::ToolstripDropdownButtonTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc133_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc133_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::ToolstripDropdownButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::ToolstripDropdownButtonTemplate*>(nullptr);
this->__vwsn_bind_cache_1 = static_cast<::darkskin::ToolstripDropdownButtonTemplate*>(nullptr);
this->__vwsn_bind_cache_2 = static_cast<::darkskin::ToolstripDropdownButtonTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_2_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc133_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::Parse<::vl::presentation::Color>([&](auto state){ return ((! ::vl::__vwsn::This(__vwsn_bind_cache_1)->GetVisuallyEnabled()) ? ::vl::WString(L"#00000000", false) : (((state == ::vl::presentation::controls::ButtonState::Pressed) || ::vl::__vwsn::This(__vwsn_bind_cache_2)->GetSubMenuOpening()) ? ::vl::WString(L"#007ACC", false) : ((state == ::vl::presentation::controls::ButtonState::Active) ? ::vl::WString(L"#54545C", false) : ::vl::WString(L"#00000000", false)))); }(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetState()));
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc133_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc133_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc133_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_2_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc133_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_cache_1 = __vwsnthis_0->self);
(__vwsn_bind_cache_2 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc133_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
(__vwsn_bind_handler_1_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc133_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0)));
(__vwsn_bind_handler_2_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_2)->SubMenuOpeningChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc133_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_2_0)));
return true;
}
return false;
}
bool __vwsnc133_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc133_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, __vwsn_bind_handler_0_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, __vwsn_bind_handler_1_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_2)->SubMenuOpeningChanged, __vwsn_bind_handler_2_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::ToolstripDropdownButtonTemplate*>(nullptr));
(__vwsn_bind_cache_1 = static_cast<::darkskin::ToolstripDropdownButtonTemplate*>(nullptr));
(__vwsn_bind_cache_2 = static_cast<::darkskin::ToolstripDropdownButtonTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_2_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc134_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc134_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::ToolstripDropdownButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::ToolstripDropdownButtonTemplate*>(nullptr);
this->__vwsn_bind_cache_1 = static_cast<::darkskin::ToolstripDropdownButtonTemplate*>(nullptr);
this->__vwsn_bind_cache_2 = static_cast<::darkskin::ToolstripDropdownButtonTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_2_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc134_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::Parse<::vl::presentation::Color>([&](auto state){ return ((! ::vl::__vwsn::This(__vwsn_bind_cache_1)->GetVisuallyEnabled()) ? ::vl::WString(L"#555558", false) : (((state == ::vl::presentation::controls::ButtonState::Pressed) || ::vl::__vwsn::This(__vwsn_bind_cache_2)->GetSubMenuOpening()) ? ::vl::WString(L"#FFFFFF", false) : ((state == ::vl::presentation::controls::ButtonState::Active) ? ::vl::WString(L"#1997EA", false) : ::vl::WString(L"#999999", false)))); }(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetState()));
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc134_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc134_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc134_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_2_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc134_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_cache_1 = __vwsnthis_0->self);
(__vwsn_bind_cache_2 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc134_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
(__vwsn_bind_handler_1_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc134_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0)));
(__vwsn_bind_handler_2_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_2)->SubMenuOpeningChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc134_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_2_0)));
return true;
}
return false;
}
bool __vwsnc134_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc134_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, __vwsn_bind_handler_0_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, __vwsn_bind_handler_1_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_2)->SubMenuOpeningChanged, __vwsn_bind_handler_2_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::ToolstripDropdownButtonTemplate*>(nullptr));
(__vwsn_bind_cache_1 = static_cast<::darkskin::ToolstripDropdownButtonTemplate*>(nullptr));
(__vwsn_bind_cache_2 = static_cast<::darkskin::ToolstripDropdownButtonTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_2_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc135_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc135_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::ToolstripDropdownButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::ToolstripDropdownButtonTemplate*>(nullptr);
this->__vwsn_bind_cache_1 = static_cast<::darkskin::ToolstripDropdownButtonTemplate*>(nullptr);
this->__vwsn_bind_cache_2 = static_cast<::darkskin::ToolstripDropdownButtonTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_2_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc135_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::Parse<::vl::presentation::Color>([&](auto state){ return ((! ::vl::__vwsn::This(__vwsn_bind_cache_1)->GetVisuallyEnabled()) ? ::vl::WString(L"#555558", false) : (((state == ::vl::presentation::controls::ButtonState::Pressed) || ::vl::__vwsn::This(__vwsn_bind_cache_2)->GetSubMenuOpening()) ? ::vl::WString(L"#FFFFFF", false) : ((state == ::vl::presentation::controls::ButtonState::Active) ? ::vl::WString(L"#1997EA", false) : ::vl::WString(L"#999999", false)))); }(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetState()));
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc135_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc135_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc135_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_2_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc135_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_cache_1 = __vwsnthis_0->self);
(__vwsn_bind_cache_2 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc135_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
(__vwsn_bind_handler_1_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc135_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0)));
(__vwsn_bind_handler_2_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_2)->SubMenuOpeningChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc135_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_2_0)));
return true;
}
return false;
}
bool __vwsnc135_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc135_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, __vwsn_bind_handler_0_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, __vwsn_bind_handler_1_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_2)->SubMenuOpeningChanged, __vwsn_bind_handler_2_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::ToolstripDropdownButtonTemplate*>(nullptr));
(__vwsn_bind_cache_1 = static_cast<::darkskin::ToolstripDropdownButtonTemplate*>(nullptr));
(__vwsn_bind_cache_2 = static_cast<::darkskin::ToolstripDropdownButtonTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_2_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc136_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc136_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::ToolstripSplitButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::ToolstripSplitButtonTemplate*>(nullptr);
this->__vwsn_bind_cache_1 = static_cast<::darkskin::ToolstripSplitButtonTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc136_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::Parse<::vl::presentation::Color>([&](auto state){ return ((! ::vl::__vwsn::This(__vwsn_bind_cache_1)->GetSelected()) ? ::vl::WString(L"#00000000", false) : ::vl::WString(L"#007ACC", false)); }(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetState()));
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc136_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc136_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc136_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_cache_1 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc136_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
(__vwsn_bind_handler_1_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_1)->SelectedChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc136_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0)));
return true;
}
return false;
}
bool __vwsnc136_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc136_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, __vwsn_bind_handler_0_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_1)->SelectedChanged, __vwsn_bind_handler_1_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::ToolstripSplitButtonTemplate*>(nullptr));
(__vwsn_bind_cache_1 = static_cast<::darkskin::ToolstripSplitButtonTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc137_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc137_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::ToolstripSplitButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::ToolstripSplitButtonTemplate*>(nullptr);
this->__vwsn_bind_cache_1 = static_cast<::darkskin::ToolstripSplitButtonTemplate*>(nullptr);
this->__vwsn_bind_cache_2 = static_cast<::darkskin::ToolstripSplitButtonTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_2_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc137_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::Parse<::vl::presentation::Color>([&](auto state){ return ((! ::vl::__vwsn::This(__vwsn_bind_cache_1)->GetVisuallyEnabled()) ? ::vl::WString(L"#00000000", false) : (((state == ::vl::presentation::controls::ButtonState::Pressed) || ::vl::__vwsn::This(__vwsn_bind_cache_2)->GetSubMenuOpening()) ? ::vl::WString(L"#007ACC", false) : ((state == ::vl::presentation::controls::ButtonState::Active) ? ::vl::WString(L"#54545C", false) : ::vl::WString(L"#00000000", false)))); }(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetState()));
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc137_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc137_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc137_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_2_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc137_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_cache_1 = __vwsnthis_0->self);
(__vwsn_bind_cache_2 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc137_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
(__vwsn_bind_handler_1_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc137_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0)));
(__vwsn_bind_handler_2_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_2)->SubMenuOpeningChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc137_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_2_0)));
return true;
}
return false;
}
bool __vwsnc137_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc137_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, __vwsn_bind_handler_0_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, __vwsn_bind_handler_1_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_2)->SubMenuOpeningChanged, __vwsn_bind_handler_2_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::ToolstripSplitButtonTemplate*>(nullptr));
(__vwsn_bind_cache_1 = static_cast<::darkskin::ToolstripSplitButtonTemplate*>(nullptr));
(__vwsn_bind_cache_2 = static_cast<::darkskin::ToolstripSplitButtonTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_2_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc138_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc138_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::ToolstripSplitButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::ToolstripSplitButtonTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc138_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = [&](){ try{ return ::vl::__vwsn::This(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetImage().Obj())->GetImage(); } catch(...){ return ::vl::Ptr<::vl::presentation::INativeImage>(); } }();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc138_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc138_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->ImageChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc138_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc138_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc138_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->ImageChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::ToolstripSplitButtonTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc139_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc139_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::ToolstripSplitButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::ToolstripSplitButtonTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc139_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::This(__vwsn_bind_cache_0)->GetVisuallyEnabled();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc139_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc139_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->VisuallyEnabledChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc139_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc139_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc139_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->VisuallyEnabledChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::ToolstripSplitButtonTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc13_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc13_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc13_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::This(__vwsnthis_0->self)->HasEditableCursor();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
bool __vwsnc13_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
return true;
}
return false;
}
bool __vwsnc13_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc13_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc140_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc140_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::ToolstripSplitButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::ToolstripSplitButtonTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc140_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = [&](){ try{ return ::vl::__vwsn::This(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetImage().Obj())->GetFrameIndex(); } catch(...){ return static_cast<::vl::vint32_t>(0); } }();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc140_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc140_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->ImageChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc140_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc140_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc140_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->ImageChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::ToolstripSplitButtonTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc141_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc141_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::ToolstripSplitButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::ToolstripSplitButtonTemplate*>(nullptr);
this->__vwsn_bind_cache_1 = static_cast<::darkskin::ToolstripSplitButtonTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc141_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::Parse<::vl::presentation::Color>([&](auto state){ return ((! ::vl::__vwsn::This(__vwsn_bind_cache_1)->GetVisuallyEnabled()) ? ::vl::WString(L"#00000000", false) : ((state == ::vl::presentation::controls::ButtonState::Pressed) ? ::vl::WString(L"#54545C", false) : ((state == ::vl::presentation::controls::ButtonState::Active) ? ::vl::WString(L"#54545C", false) : ::vl::WString(L"#00000000", false)))); }(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetState()));
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc141_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc141_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc141_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_cache_1 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc141_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
(__vwsn_bind_handler_1_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc141_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0)));
return true;
}
return false;
}
bool __vwsnc141_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc141_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, __vwsn_bind_handler_0_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, __vwsn_bind_handler_1_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::ToolstripSplitButtonTemplate*>(nullptr));
(__vwsn_bind_cache_1 = static_cast<::darkskin::ToolstripSplitButtonTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc142_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc142_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::ToolstripSplitButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::ToolstripSplitButtonTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc142_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::This(__vwsn_bind_cache_0)->GetSubMenuOpening();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc142_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc142_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->SubMenuOpeningChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc142_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc142_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc142_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->SubMenuOpeningChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::ToolstripSplitButtonTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc143_Demo_darkskin_TopScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc143_Demo_darkskin_TopScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::TopScrollButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::TopScrollButtonTemplate*>(nullptr);
this->__vwsn_bind_cache_1 = static_cast<::darkskin::TopScrollButtonTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc143_Demo_darkskin_TopScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::Parse<::vl::presentation::Color>([&](auto state){ return ((! ::vl::__vwsn::This(__vwsn_bind_cache_1)->GetVisuallyEnabled()) ? ::vl::WString(L"#555558", false) : ((state == ::vl::presentation::controls::ButtonState::Active) ? ::vl::WString(L"#1997EA", false) : ((state == ::vl::presentation::controls::ButtonState::Pressed) ? ::vl::WString(L"#007ACC", false) : ::vl::WString(L"#999999", false)))); }(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetState()));
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc143_Demo_darkskin_TopScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc143_Demo_darkskin_TopScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc143_Demo_darkskin_TopScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_cache_1 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc143_Demo_darkskin_TopScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
(__vwsn_bind_handler_1_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc143_Demo_darkskin_TopScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0)));
return true;
}
return false;
}
bool __vwsnc143_Demo_darkskin_TopScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc143_Demo_darkskin_TopScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, __vwsn_bind_handler_0_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, __vwsn_bind_handler_1_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::TopScrollButtonTemplate*>(nullptr));
(__vwsn_bind_cache_1 = static_cast<::darkskin::TopScrollButtonTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc144_Demo_darkskin_TopScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc144_Demo_darkskin_TopScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::TopScrollButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::TopScrollButtonTemplate*>(nullptr);
this->__vwsn_bind_cache_1 = static_cast<::darkskin::TopScrollButtonTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc144_Demo_darkskin_TopScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::Parse<::vl::presentation::Color>([&](auto state){ return ((! ::vl::__vwsn::This(__vwsn_bind_cache_1)->GetVisuallyEnabled()) ? ::vl::WString(L"#555558", false) : ((state == ::vl::presentation::controls::ButtonState::Active) ? ::vl::WString(L"#1997EA", false) : ((state == ::vl::presentation::controls::ButtonState::Pressed) ? ::vl::WString(L"#007ACC", false) : ::vl::WString(L"#999999", false)))); }(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetState()));
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc144_Demo_darkskin_TopScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc144_Demo_darkskin_TopScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc144_Demo_darkskin_TopScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_cache_1 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc144_Demo_darkskin_TopScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
(__vwsn_bind_handler_1_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc144_Demo_darkskin_TopScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0)));
return true;
}
return false;
}
bool __vwsnc144_Demo_darkskin_TopScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc144_Demo_darkskin_TopScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, __vwsn_bind_handler_0_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, __vwsn_bind_handler_1_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::TopScrollButtonTemplate*>(nullptr));
(__vwsn_bind_cache_1 = static_cast<::darkskin::TopScrollButtonTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc145_Demo_darkskin_VScrollHandleTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc145_Demo_darkskin_VScrollHandleTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::VScrollHandleTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::VScrollHandleTemplate*>(nullptr);
this->__vwsn_bind_cache_1 = static_cast<::darkskin::VScrollHandleTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc145_Demo_darkskin_VScrollHandleTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::Parse<::vl::presentation::Color>([&](auto state){ return ((! ::vl::__vwsn::This(__vwsn_bind_cache_1)->GetVisuallyEnabled()) ? ::vl::WString(L"#3D3D42", false) : ((state == ::vl::presentation::controls::ButtonState::Active) ? ::vl::WString(L"#9E9E9E", false) : ((state == ::vl::presentation::controls::ButtonState::Pressed) ? ::vl::WString(L"#EFEBEF", false) : ::vl::WString(L"#686868", false)))); }(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetState()));
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc145_Demo_darkskin_VScrollHandleTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc145_Demo_darkskin_VScrollHandleTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc145_Demo_darkskin_VScrollHandleTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_cache_1 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc145_Demo_darkskin_VScrollHandleTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
(__vwsn_bind_handler_1_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc145_Demo_darkskin_VScrollHandleTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0)));
return true;
}
return false;
}
bool __vwsnc145_Demo_darkskin_VScrollHandleTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc145_Demo_darkskin_VScrollHandleTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, __vwsn_bind_handler_0_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, __vwsn_bind_handler_1_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::VScrollHandleTemplate*>(nullptr));
(__vwsn_bind_cache_1 = static_cast<::darkskin::VScrollHandleTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc146_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc146_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::VScrollTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::vl::presentation::compositions::GuiBoundsComposition*>(nullptr);
this->__vwsn_bind_cache_1 = static_cast<::vl::presentation::compositions::GuiBoundsComposition*>(nullptr);
this->__vwsn_bind_cache_2 = static_cast<::vl::presentation::compositions::GuiPartialViewComposition*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_2_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc146_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = [&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = ((::vl::__vwsn::This(__vwsn_bind_cache_0)->GetBounds().y2 - ::vl::__vwsn::This(__vwsn_bind_cache_1)->GetBounds().y1) - ::vl::__vwsn::This(__vwsn_bind_cache_2)->GetBounds().y1); return __vwsn_temp__; }();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc146_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc146_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc146_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_2_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc146_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->handleContainer);
(__vwsn_bind_cache_1 = __vwsnthis_0->handleContainer);
(__vwsn_bind_cache_2 = __vwsnthis_0->handle);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->BoundsChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc146_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
(__vwsn_bind_handler_1_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_1)->BoundsChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc146_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0)));
(__vwsn_bind_handler_2_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_2)->BoundsChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc146_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_2_0)));
return true;
}
return false;
}
bool __vwsnc146_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc146_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->BoundsChanged, __vwsn_bind_handler_0_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_1)->BoundsChanged, __vwsn_bind_handler_1_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_2)->BoundsChanged, __vwsn_bind_handler_2_0);
(__vwsn_bind_cache_0 = static_cast<::vl::presentation::compositions::GuiBoundsComposition*>(nullptr));
(__vwsn_bind_cache_1 = static_cast<::vl::presentation::compositions::GuiBoundsComposition*>(nullptr));
(__vwsn_bind_cache_2 = static_cast<::vl::presentation::compositions::GuiPartialViewComposition*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_2_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc147_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc147_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::VScrollTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::vl::presentation::compositions::GuiPartialViewComposition*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc147_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = [&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = ::vl::__vwsn::This(__vwsn_bind_cache_0)->GetBounds().y2; __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc147_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc147_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->handle);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->BoundsChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc147_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc147_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc147_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->BoundsChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::vl::presentation::compositions::GuiPartialViewComposition*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc148_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc148_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::VScrollTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::VScrollTemplate*>(nullptr);
this->__vwsn_bind_cache_1 = static_cast<::darkskin::VScrollTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc148_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = (static_cast<double>(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetPageSize()) / static_cast<double>(::vl::__vwsn::This(__vwsn_bind_cache_1)->GetTotalSize()));
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc148_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc148_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc148_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_cache_1 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->PageSizeChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc148_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
(__vwsn_bind_handler_1_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_1)->TotalSizeChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc148_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0)));
return true;
}
return false;
}
bool __vwsnc148_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc148_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->PageSizeChanged, __vwsn_bind_handler_0_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_1)->TotalSizeChanged, __vwsn_bind_handler_1_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::VScrollTemplate*>(nullptr));
(__vwsn_bind_cache_1 = static_cast<::darkskin::VScrollTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc149_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc149_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::VScrollTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::VScrollTemplate*>(nullptr);
this->__vwsn_bind_cache_1 = static_cast<::darkskin::VScrollTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc149_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = (static_cast<double>(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetPosition()) / static_cast<double>(::vl::__vwsn::This(__vwsn_bind_cache_1)->GetTotalSize()));
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc149_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc149_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc149_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_cache_1 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->PositionChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc149_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
(__vwsn_bind_handler_1_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_1)->TotalSizeChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc149_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0)));
return true;
}
return false;
}
bool __vwsnc149_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc149_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->PositionChanged, __vwsn_bind_handler_0_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_1)->TotalSizeChanged, __vwsn_bind_handler_1_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::VScrollTemplate*>(nullptr));
(__vwsn_bind_cache_1 = static_cast<::darkskin::VScrollTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc14_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc14_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::vl::presentation::controls::GuiDocumentViewer*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc14_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::This(__vwsnthis_0->self)->HasEditableHyperlink(true);
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc14_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc14_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->document);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->SelectionChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc14_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc14_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc14_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->SelectionChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::vl::presentation::controls::GuiDocumentViewer*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc150_Demo_darkskin_VTrackerTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc150_Demo_darkskin_VTrackerTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::VTrackerTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::VTrackerTemplate*>(nullptr);
this->__vwsn_bind_cache_1 = static_cast<::darkskin::VTrackerTemplate*>(nullptr);
this->__vwsn_bind_cache_2 = static_cast<::vl::presentation::compositions::GuiBoundsComposition*>(nullptr);
this->__vwsn_bind_cache_3 = static_cast<::vl::presentation::compositions::GuiBoundsComposition*>(nullptr);
this->__vwsn_bind_cache_4 = static_cast<::darkskin::VTrackerTemplate*>(nullptr);
this->__vwsn_bind_cache_5 = static_cast<::darkskin::VTrackerTemplate*>(nullptr);
this->__vwsn_bind_cache_6 = static_cast<::darkskin::VTrackerTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_2_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_3_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_4_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_5_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_6_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc150_Demo_darkskin_VTrackerTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = [&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = [&](auto height, auto max){ return ((max == static_cast<::vl::vint32_t>(0)) ? static_cast<::vl::vint32_t>(0) : ((height * ::vl::__vwsn::This(__vwsn_bind_cache_6)->GetPosition()) / max)); }(((::vl::__vwsn::This(__vwsn_bind_cache_0)->GetBounds().y2 - ::vl::__vwsn::This(__vwsn_bind_cache_1)->GetBounds().y1) - (::vl::__vwsn::This(__vwsn_bind_cache_2)->GetBounds().y2 - ::vl::__vwsn::This(__vwsn_bind_cache_3)->GetBounds().y1)), (::vl::__vwsn::This(__vwsn_bind_cache_4)->GetTotalSize() - ::vl::__vwsn::This(__vwsn_bind_cache_5)->GetPageSize())); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = (- static_cast<::vl::vint32_t>(1)); return __vwsn_temp__; }();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc150_Demo_darkskin_VTrackerTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc150_Demo_darkskin_VTrackerTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc150_Demo_darkskin_VTrackerTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_2_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc150_Demo_darkskin_VTrackerTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_3_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc150_Demo_darkskin_VTrackerTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_4_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc150_Demo_darkskin_VTrackerTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_5_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc150_Demo_darkskin_VTrackerTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_6_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc150_Demo_darkskin_VTrackerTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_cache_1 = __vwsnthis_0->self);
(__vwsn_bind_cache_2 = __vwsnthis_0->handle);
(__vwsn_bind_cache_3 = __vwsnthis_0->handle);
(__vwsn_bind_cache_4 = __vwsnthis_0->self);
(__vwsn_bind_cache_5 = __vwsnthis_0->self);
(__vwsn_bind_cache_6 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->BoundsChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc150_Demo_darkskin_VTrackerTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
(__vwsn_bind_handler_1_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_1)->BoundsChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc150_Demo_darkskin_VTrackerTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0)));
(__vwsn_bind_handler_2_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_2)->BoundsChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc150_Demo_darkskin_VTrackerTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_2_0)));
(__vwsn_bind_handler_3_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_3)->BoundsChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc150_Demo_darkskin_VTrackerTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_3_0)));
(__vwsn_bind_handler_4_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_4)->TotalSizeChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc150_Demo_darkskin_VTrackerTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_4_0)));
(__vwsn_bind_handler_5_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_5)->PageSizeChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc150_Demo_darkskin_VTrackerTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_5_0)));
(__vwsn_bind_handler_6_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_6)->PositionChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc150_Demo_darkskin_VTrackerTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_6_0)));
return true;
}
return false;
}
bool __vwsnc150_Demo_darkskin_VTrackerTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc150_Demo_darkskin_VTrackerTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->BoundsChanged, __vwsn_bind_handler_0_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_1)->BoundsChanged, __vwsn_bind_handler_1_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_2)->BoundsChanged, __vwsn_bind_handler_2_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_3)->BoundsChanged, __vwsn_bind_handler_3_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_4)->TotalSizeChanged, __vwsn_bind_handler_4_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_5)->PageSizeChanged, __vwsn_bind_handler_5_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_6)->PositionChanged, __vwsn_bind_handler_6_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::VTrackerTemplate*>(nullptr));
(__vwsn_bind_cache_1 = static_cast<::darkskin::VTrackerTemplate*>(nullptr));
(__vwsn_bind_cache_2 = static_cast<::vl::presentation::compositions::GuiBoundsComposition*>(nullptr));
(__vwsn_bind_cache_3 = static_cast<::vl::presentation::compositions::GuiBoundsComposition*>(nullptr));
(__vwsn_bind_cache_4 = static_cast<::darkskin::VTrackerTemplate*>(nullptr));
(__vwsn_bind_cache_5 = static_cast<::darkskin::VTrackerTemplate*>(nullptr));
(__vwsn_bind_cache_6 = static_cast<::darkskin::VTrackerTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_2_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_3_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_4_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_5_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_6_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc151_Demo_darkskin_WindowTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc151_Demo_darkskin_WindowTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::WindowTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::WindowTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc151_Demo_darkskin_WindowTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = (::vl::__vwsn::This(__vwsn_bind_cache_0)->GetMaximized() ? ::vl::WString(L" 1 ", false) : ::vl::WString(L" 2 ", false));
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc151_Demo_darkskin_WindowTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc151_Demo_darkskin_WindowTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->MaximizedChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc151_Demo_darkskin_WindowTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc151_Demo_darkskin_WindowTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc151_Demo_darkskin_WindowTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->MaximizedChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::WindowTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc152_Demo_darkskin_WindowTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc152_Demo_darkskin_WindowTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::WindowTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::WindowTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc152_Demo_darkskin_WindowTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::This(__vwsn_bind_cache_0)->GetText();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc152_Demo_darkskin_WindowTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc152_Demo_darkskin_WindowTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->TextChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc152_Demo_darkskin_WindowTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc152_Demo_darkskin_WindowTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc152_Demo_darkskin_WindowTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->TextChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::WindowTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc153_Demo_demo_DateEditorConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc153_Demo_demo_DateEditorConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::demo::DateEditorConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::demo::DateEditor*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc153_Demo_demo_DateEditorConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = [&](){ try{ return ::vl::__vwsn::Unbox<::vl::DateTime>(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetCellValue()); } catch(...){ return ::vl::__vwsn::Parse<::vl::DateTime>(::vl::WString(L"2000-01-01 00:00:00.000", false)); } }();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc153_Demo_demo_DateEditorConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc153_Demo_demo_DateEditorConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->CellValueChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc153_Demo_demo_DateEditorConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc153_Demo_demo_DateEditorConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc153_Demo_demo_DateEditorConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->CellValueChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::demo::DateEditor*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc154_Demo_demo_DateEditorConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc154_Demo_demo_DateEditorConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::demo::DateEditorConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::vl::presentation::controls::GuiDateComboBox*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc154_Demo_demo_DateEditorConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::Box(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetSelectedDate());
::vl::__vwsn::EventInvoke(this->ValueChanged)(__vwsn_bind_activator_result_);
}
void __vwsnc154_Demo_demo_DateEditorConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc154_Demo_demo_DateEditorConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->comboBox);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->SelectedDateChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc154_Demo_demo_DateEditorConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc154_Demo_demo_DateEditorConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc154_Demo_demo_DateEditorConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->SelectedDateChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::vl::presentation::controls::GuiDateComboBox*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc155_Demo_demo_DateFilterConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc155_Demo_demo_DateFilterConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::demo::DateFilterConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::vl::presentation::controls::GuiSelectableButton*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc155_Demo_demo_DateFilterConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::This(__vwsn_bind_cache_0)->GetSelected();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc155_Demo_demo_DateFilterConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc155_Demo_demo_DateFilterConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->checkFrom);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->SelectedChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc155_Demo_demo_DateFilterConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc155_Demo_demo_DateFilterConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc155_Demo_demo_DateFilterConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->SelectedChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::vl::presentation::controls::GuiSelectableButton*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc156_Demo_demo_DateFilterConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc156_Demo_demo_DateFilterConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::demo::DateFilterConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::vl::presentation::controls::GuiSelectableButton*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc156_Demo_demo_DateFilterConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::This(__vwsn_bind_cache_0)->GetSelected();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc156_Demo_demo_DateFilterConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc156_Demo_demo_DateFilterConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->checkTo);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->SelectedChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc156_Demo_demo_DateFilterConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc156_Demo_demo_DateFilterConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc156_Demo_demo_DateFilterConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->SelectedChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::vl::presentation::controls::GuiSelectableButton*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc157_Demo_demo_DateFilter___vwsn_instance_ctor___vl_presentation_controls_list_IDataFilter::__vwsnc157_Demo_demo_DateFilter___vwsn_instance_ctor___vl_presentation_controls_list_IDataFilter(::demo::DateFilter* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnc157_Demo_demo_DateFilter___vwsn_instance_ctor___vl_presentation_controls_list_IDataFilter::SetCallback(::vl::presentation::controls::list::IDataProcessorCallback* value)
{
(__vwsnthis_0->callback = value);
}
bool __vwsnc157_Demo_demo_DateFilter___vwsn_instance_ctor___vl_presentation_controls_list_IDataFilter::Filter(const ::vl::reflection::description::Value& row)
{
auto date = ::vl::__vwsn::This(::vl::__vwsn::Unbox<::vl::Ptr<::demo::MyDataItem>>(row).Obj())->GetBirthday();
if (::vl::__vwsn::This(__vwsnthis_0->checkFrom)->GetSelected())
{
if ((::vl::reflection::description::Sys::Compare(date, ::vl::__vwsn::This(__vwsnthis_0->dateFrom)->GetSelectedDate()) < static_cast<::vl::vint32_t>(0)))
{
return false;
}
}
if (::vl::__vwsn::This(__vwsnthis_0->checkTo)->GetSelected())
{
if ((::vl::reflection::description::Sys::Compare(date, ::vl::__vwsn::This(__vwsnthis_0->dateTo)->GetSelectedDate()) > static_cast<::vl::vint32_t>(0)))
{
return false;
}
}
return true;
}
//-------------------------------------------------------------------
__vwsnc158_Demo_demo_TextEditorConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc158_Demo_demo_TextEditorConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::demo::TextEditorConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::demo::TextEditor*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc158_Demo_demo_TextEditorConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = [&](){ try{ return ::vl::__vwsn::Unbox<::vl::WString>(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetCellValue()); } catch(...){ return ::vl::WString(L"", false); } }();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc158_Demo_demo_TextEditorConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc158_Demo_demo_TextEditorConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->CellValueChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc158_Demo_demo_TextEditorConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc158_Demo_demo_TextEditorConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc158_Demo_demo_TextEditorConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->CellValueChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::demo::TextEditor*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc159_Demo_demo_TextEditorConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc159_Demo_demo_TextEditorConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::demo::TextEditorConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::vl::presentation::controls::GuiSinglelineTextBox*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc159_Demo_demo_TextEditorConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::Box(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetText());
::vl::__vwsn::EventInvoke(this->ValueChanged)(__vwsn_bind_activator_result_);
}
void __vwsnc159_Demo_demo_TextEditorConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc159_Demo_demo_TextEditorConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->textBox);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->TextChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc159_Demo_demo_TextEditorConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc159_Demo_demo_TextEditorConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc159_Demo_demo_TextEditorConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->TextChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::vl::presentation::controls::GuiSinglelineTextBox*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc15_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance_____vl_reflection_description_ICoroutine::__vwsnc15_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance_____vl_reflection_description_ICoroutine(::vl::reflection::description::AsyncCoroutine::IImpl* __vwsnctor___vwsn_co_impl_, ::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsn_co_impl_(__vwsnctor___vwsn_co_impl_)
, __vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_co0_mainWindow = static_cast<::vl::presentation::controls::GuiWindow*>(nullptr);
this->__vwsn_co1_window = static_cast<::demo::HyperlinkWindow*>(nullptr);
this->__vwsn_co_state_ = static_cast<::vl::vint32_t>(0);
this->__vwsn_prop_Failure = ::vl::Ptr<::vl::reflection::description::IValueException>();
this->__vwsn_prop_Status = ::vl::reflection::description::CoroutineStatus::Waiting;
}
::vl::Ptr<::vl::reflection::description::IValueException> __vwsnc15_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance_____vl_reflection_description_ICoroutine::GetFailure()
{
return __vwsn_prop_Failure;
}
void __vwsnc15_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance_____vl_reflection_description_ICoroutine::SetFailure(::vl::Ptr<::vl::reflection::description::IValueException> __vwsn_value_)
{
(__vwsn_prop_Failure = __vwsn_value_);
}
::vl::reflection::description::CoroutineStatus __vwsnc15_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance_____vl_reflection_description_ICoroutine::GetStatus()
{
return __vwsn_prop_Status;
}
void __vwsnc15_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance_____vl_reflection_description_ICoroutine::SetStatus(::vl::reflection::description::CoroutineStatus __vwsn_value_)
{
(__vwsn_prop_Status = __vwsn_value_);
}
void __vwsnc15_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance_____vl_reflection_description_ICoroutine::Resume(bool __vwsn_raise_exception_, ::vl::Ptr<::vl::reflection::description::CoroutineResult> __vwsn_co_result_)
{
if ((this->GetStatus() != ::vl::reflection::description::CoroutineStatus::Waiting))
{
throw ::vl::Exception(::vl::WString(L"Resume should be called only when the coroutine is in the waiting status.", false));
}
this->SetStatus(::vl::reflection::description::CoroutineStatus::Executing);
try
{
{
while (true)
{
if ((__vwsn_co_state_ == static_cast<::vl::vint32_t>(0)))
{
(__vwsn_co0_mainWindow = ::vl::__vwsn::RawPtrCast<::vl::presentation::controls::GuiWindow>(::vl::__vwsn::This(__vwsnthis_0->self)->GetRelatedControlHost()));
(__vwsn_co1_window = new ::demo::HyperlinkWindow());
::vl::__vwsn::This(__vwsn_co1_window)->MoveToScreenCenter(::vl::__vwsn::This(__vwsn_co0_mainWindow)->GetRelatedScreen());
(__vwsn_co_state_ = static_cast<::vl::vint32_t>(2));
continue;
}
if ((__vwsn_co_state_ == static_cast<::vl::vint32_t>(1)))
{
if (static_cast<bool>(__vwsn_co_result_))
{
if (static_cast<bool>(::vl::__vwsn::This(__vwsn_co_result_.Obj())->GetFailure()))
{
throw ::vl::Exception(::vl::__vwsn::This(::vl::__vwsn::This(__vwsn_co_result_.Obj())->GetFailure().Obj())->GetMessage());
}
}
if (static_cast<bool>(::vl::__vwsn::This(__vwsn_co1_window)->GetUrl()))
{
auto row = ::vl::__vwsn::This(__vwsnthis_0->document)->GetCaretBegin().row;
auto begin = ::vl::__vwsn::This(__vwsnthis_0->document)->GetCaretBegin().column;
auto end = ::vl::__vwsn::This(__vwsnthis_0->document)->GetCaretEnd().column;
::vl::__vwsn::This(__vwsnthis_0->document)->EditHyperlink(row, begin, end, ::vl::__vwsn::This(__vwsn_co1_window)->GetUrl().Value(), ::vl::WString(L"#NormalLink", false), ::vl::WString(L"#ActiveLink", false));
}
::vl::__vwsn::This(__vwsn_co1_window)->Dispose(true);
this->SetStatus(::vl::reflection::description::CoroutineStatus::Stopped);
return;
}
if ((__vwsn_co_state_ == static_cast<::vl::vint32_t>(2)))
{
this->SetStatus(::vl::reflection::description::CoroutineStatus::Waiting);
(__vwsn_co_state_ = static_cast<::vl::vint32_t>(1));
{
::vl::reflection::description::AsyncCoroutine::AwaitAndRead(__vwsn_co_impl_, ::vl::__vwsn::This(__vwsn_co1_window)->ShowModalAsync(__vwsn_co0_mainWindow));
}
return;
}
}
}
}
catch(const ::vl::Exception& __vwsne_0)
{
auto __vwsn_co_ex_ = ::vl::reflection::description::IValueException::Create(__vwsne_0.Message());
{
this->SetFailure(__vwsn_co_ex_);
this->SetStatus(::vl::reflection::description::CoroutineStatus::Stopped);
if (__vwsn_raise_exception_)
{
throw;
}
}
}
}
//-------------------------------------------------------------------
__vwsnc160_Demo_demo_CategoryDisplayerConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc160_Demo_demo_CategoryDisplayerConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::demo::CategoryDisplayerConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::demo::CategoryDisplayer*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc160_Demo_demo_CategoryDisplayerConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = GLOBAL_NAME ToColor(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetCategory());
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc160_Demo_demo_CategoryDisplayerConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0()
{
this->__vwsn_bind_activator_();
}
bool __vwsnc160_Demo_demo_CategoryDisplayerConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->CategoryChanged, ::vl::Func<void()>(this, &__vwsnc160_Demo_demo_CategoryDisplayerConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc160_Demo_demo_CategoryDisplayerConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc160_Demo_demo_CategoryDisplayerConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->CategoryChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::demo::CategoryDisplayer*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc161_Demo_demo_CategoryDisplayerConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc161_Demo_demo_CategoryDisplayerConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::demo::CategoryDisplayerConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::demo::CategoryDisplayer*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc161_Demo_demo_CategoryDisplayerConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = GLOBAL_NAME ToString(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetCategory());
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc161_Demo_demo_CategoryDisplayerConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0()
{
this->__vwsn_bind_activator_();
}
bool __vwsnc161_Demo_demo_CategoryDisplayerConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->CategoryChanged, ::vl::Func<void()>(this, &__vwsnc161_Demo_demo_CategoryDisplayerConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc161_Demo_demo_CategoryDisplayerConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc161_Demo_demo_CategoryDisplayerConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->CategoryChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::demo::CategoryDisplayer*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc162_Demo_demo_CategoryDisplayerConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc162_Demo_demo_CategoryDisplayerConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::demo::CategoryDisplayerConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::demo::CategoryDisplayer*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc162_Demo_demo_CategoryDisplayerConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::This(__vwsn_bind_cache_0)->GetFont();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc162_Demo_demo_CategoryDisplayerConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc162_Demo_demo_CategoryDisplayerConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->FontChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc162_Demo_demo_CategoryDisplayerConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc162_Demo_demo_CategoryDisplayerConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc162_Demo_demo_CategoryDisplayerConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->FontChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::demo::CategoryDisplayer*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc163_Demo_demo_CategoryEditorConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc163_Demo_demo_CategoryEditorConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::demo::CategoryEditorConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::demo::CategoryEditor*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc163_Demo_demo_CategoryEditorConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::This(::vl::__vwsn::This(__vwsnthis_0->self)->items.Obj())->IndexOf(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetCellValue());
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc163_Demo_demo_CategoryEditorConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc163_Demo_demo_CategoryEditorConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->CellValueChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc163_Demo_demo_CategoryEditorConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc163_Demo_demo_CategoryEditorConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc163_Demo_demo_CategoryEditorConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->CellValueChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::demo::CategoryEditor*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc164_Demo_demo_CategoryEditorConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc164_Demo_demo_CategoryEditorConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::demo::CategoryEditorConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::vl::presentation::controls::GuiComboBoxListControl*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc164_Demo_demo_CategoryEditorConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::This(__vwsn_bind_cache_0)->GetSelectedItem();
::vl::__vwsn::EventInvoke(this->ValueChanged)(__vwsn_bind_activator_result_);
}
void __vwsnc164_Demo_demo_CategoryEditorConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc164_Demo_demo_CategoryEditorConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->comboBox);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->SelectedIndexChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc164_Demo_demo_CategoryEditorConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc164_Demo_demo_CategoryEditorConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc164_Demo_demo_CategoryEditorConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->SelectedIndexChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::vl::presentation::controls::GuiComboBoxListControl*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc165_Demo_demo_CategoryItemTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc165_Demo_demo_CategoryItemTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::demo::CategoryItemTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::demo::CategoryItemTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc165_Demo_demo_CategoryItemTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::This(__vwsn_bind_cache_0)->GetFont();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc165_Demo_demo_CategoryItemTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc165_Demo_demo_CategoryItemTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->FontChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc165_Demo_demo_CategoryItemTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc165_Demo_demo_CategoryItemTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc165_Demo_demo_CategoryItemTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->FontChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::demo::CategoryItemTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc166_Demo_demo_CategoryVisualizerConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc166_Demo_demo_CategoryVisualizerConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::demo::CategoryVisualizerConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::demo::CategoryVisualizer*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc166_Demo_demo_CategoryVisualizerConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::This(__vwsn_bind_cache_0)->GetFont();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc166_Demo_demo_CategoryVisualizerConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc166_Demo_demo_CategoryVisualizerConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->FontChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc166_Demo_demo_CategoryVisualizerConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc166_Demo_demo_CategoryVisualizerConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc166_Demo_demo_CategoryVisualizerConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->FontChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::demo::CategoryVisualizer*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc167_Demo_demo_CategoryVisualizerConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc167_Demo_demo_CategoryVisualizerConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::demo::CategoryVisualizerConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::demo::CategoryVisualizer*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc167_Demo_demo_CategoryVisualizerConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = [&](){ try{ return ::vl::__vwsn::Unbox<::demo::MyCategory>(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetCellValue()); } catch(...){ return ::demo::MyCategory::Black; } }();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc167_Demo_demo_CategoryVisualizerConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc167_Demo_demo_CategoryVisualizerConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->CellValueChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc167_Demo_demo_CategoryVisualizerConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc167_Demo_demo_CategoryVisualizerConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc167_Demo_demo_CategoryVisualizerConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->CellValueChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::demo::CategoryVisualizer*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc168_Demo_demo_GenderDisplayerConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc168_Demo_demo_GenderDisplayerConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::demo::GenderDisplayerConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::demo::GenderDisplayer*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc168_Demo_demo_GenderDisplayerConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::This(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(__vwsnthis_0->self)->ResolveResource(::vl::WString(L"res", false), (::vl::WString(L"MiscImages/", false) + GLOBAL_NAME ToString(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetGender())), true).Obj())).Obj())->GetImage();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc168_Demo_demo_GenderDisplayerConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0()
{
this->__vwsn_bind_activator_();
}
bool __vwsnc168_Demo_demo_GenderDisplayerConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->GenderChanged, ::vl::Func<void()>(this, &__vwsnc168_Demo_demo_GenderDisplayerConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc168_Demo_demo_GenderDisplayerConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc168_Demo_demo_GenderDisplayerConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->GenderChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::demo::GenderDisplayer*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc169_Demo_demo_GenderEditorConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc169_Demo_demo_GenderEditorConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::demo::GenderEditorConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::demo::GenderEditor*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc169_Demo_demo_GenderEditorConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::This(::vl::__vwsn::This(__vwsnthis_0->self)->items.Obj())->IndexOf(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetCellValue());
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc169_Demo_demo_GenderEditorConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc169_Demo_demo_GenderEditorConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->CellValueChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc169_Demo_demo_GenderEditorConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc169_Demo_demo_GenderEditorConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc169_Demo_demo_GenderEditorConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->CellValueChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::demo::GenderEditor*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc16_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc16_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::vl::presentation::controls::GuiDocumentViewer*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc16_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::This(__vwsnthis_0->self)->HasEditableHyperlink(false);
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc16_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc16_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->document);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->SelectionChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc16_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc16_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc16_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->SelectionChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::vl::presentation::controls::GuiDocumentViewer*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc170_Demo_demo_GenderEditorConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc170_Demo_demo_GenderEditorConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::demo::GenderEditorConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::vl::presentation::controls::GuiComboBoxListControl*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc170_Demo_demo_GenderEditorConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::This(__vwsn_bind_cache_0)->GetSelectedItem();
::vl::__vwsn::EventInvoke(this->ValueChanged)(__vwsn_bind_activator_result_);
}
void __vwsnc170_Demo_demo_GenderEditorConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc170_Demo_demo_GenderEditorConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->comboBox);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->SelectedIndexChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc170_Demo_demo_GenderEditorConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc170_Demo_demo_GenderEditorConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc170_Demo_demo_GenderEditorConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->SelectedIndexChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::vl::presentation::controls::GuiComboBoxListControl*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc171_Demo_demo_GenderVisualizerConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc171_Demo_demo_GenderVisualizerConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::demo::GenderVisualizerConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::demo::GenderVisualizer*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc171_Demo_demo_GenderVisualizerConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = [&](){ try{ return ::vl::__vwsn::Unbox<::demo::MyGender>(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetCellValue()); } catch(...){ return ::demo::MyGender::Male; } }();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc171_Demo_demo_GenderVisualizerConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc171_Demo_demo_GenderVisualizerConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->CellValueChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc171_Demo_demo_GenderVisualizerConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc171_Demo_demo_GenderVisualizerConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc171_Demo_demo_GenderVisualizerConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->CellValueChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::demo::GenderVisualizer*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc172_Demo_demo_TextBoxTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc172_Demo_demo_TextBoxTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::demo::TextBoxTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::vl::presentation::controls::GuiSinglelineTextBox*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc172_Demo_demo_TextBoxTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = (::vl::__vwsn::This(__vwsn_bind_cache_0)->GetFont().size > static_cast<::vl::vint32_t>(5));
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc172_Demo_demo_TextBoxTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc172_Demo_demo_TextBoxTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->textBoxS);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->FontChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc172_Demo_demo_TextBoxTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc172_Demo_demo_TextBoxTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc172_Demo_demo_TextBoxTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->FontChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::vl::presentation::controls::GuiSinglelineTextBox*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc17_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc17_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::demo::DocumentTabPage*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc17_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::This(__vwsn_bind_cache_0)->GetHasEditableSelection();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc17_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0()
{
this->__vwsn_bind_activator_();
}
bool __vwsnc17_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->HasEditableSelectionChanged, ::vl::Func<void()>(this, &__vwsnc17_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc17_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc17_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->HasEditableSelectionChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::demo::DocumentTabPage*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc18_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc18_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::vl::presentation::controls::GuiDocumentViewer*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_0_1 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc18_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = (::vl::__vwsn::This(::vl::__vwsn::This(__vwsn_bind_cache_0)->SummarizeStyle(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetCaretBegin(), ::vl::__vwsn::This(__vwsn_bind_cache_0)->GetCaretEnd()).Obj())->bold == ::vl::Nullable<bool>(true));
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc18_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc18_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_1(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc18_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->document);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->SelectionChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc18_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
(__vwsn_bind_handler_0_1 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->ModifiedChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc18_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_1)));
return true;
}
return false;
}
bool __vwsnc18_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc18_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->SelectionChanged, __vwsn_bind_handler_0_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->ModifiedChanged, __vwsn_bind_handler_0_1);
(__vwsn_bind_cache_0 = static_cast<::vl::presentation::controls::GuiDocumentViewer*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_0_1 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc19_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc19_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::demo::DocumentTabPage*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc19_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::This(__vwsn_bind_cache_0)->GetHasEditableSelection();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc19_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0()
{
this->__vwsn_bind_activator_();
}
bool __vwsnc19_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->HasEditableSelectionChanged, ::vl::Func<void()>(this, &__vwsnc19_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc19_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc19_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->HasEditableSelectionChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::demo::DocumentTabPage*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc1_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance___vl_presentation_controls_list_IDataSorter::__vwsnc1_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance___vl_presentation_controls_list_IDataSorter(::demo::DataGridTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnc1_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance___vl_presentation_controls_list_IDataSorter::SetCallback(::vl::presentation::controls::list::IDataProcessorCallback* value)
{
}
::vl::vint32_t __vwsnc1_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance___vl_presentation_controls_list_IDataSorter::Compare(const ::vl::reflection::description::Value& __vwsn_row1_, const ::vl::reflection::description::Value& __vwsn_row2_)
{
return LAMBDA(::vl_workflow_global::__vwsno3_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__Compare_(this, __vwsnthis_0))(::vl::__vwsn::Unbox<::vl::Ptr<::demo::MyDataItem>>(__vwsn_row1_), ::vl::__vwsn::Unbox<::vl::Ptr<::demo::MyDataItem>>(__vwsn_row2_));
}
//-------------------------------------------------------------------
__vwsnc20_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc20_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::vl::presentation::controls::GuiDocumentViewer*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_0_1 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc20_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = (::vl::__vwsn::This(::vl::__vwsn::This(__vwsn_bind_cache_0)->SummarizeStyle(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetCaretBegin(), ::vl::__vwsn::This(__vwsn_bind_cache_0)->GetCaretEnd()).Obj())->italic == ::vl::Nullable<bool>(true));
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc20_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc20_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_1(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc20_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->document);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->SelectionChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc20_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
(__vwsn_bind_handler_0_1 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->ModifiedChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc20_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_1)));
return true;
}
return false;
}
bool __vwsnc20_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc20_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->SelectionChanged, __vwsn_bind_handler_0_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->ModifiedChanged, __vwsn_bind_handler_0_1);
(__vwsn_bind_cache_0 = static_cast<::vl::presentation::controls::GuiDocumentViewer*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_0_1 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc21_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc21_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::demo::DocumentTabPage*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc21_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::This(__vwsn_bind_cache_0)->GetHasEditableSelection();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc21_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0()
{
this->__vwsn_bind_activator_();
}
bool __vwsnc21_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->HasEditableSelectionChanged, ::vl::Func<void()>(this, &__vwsnc21_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc21_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc21_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->HasEditableSelectionChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::demo::DocumentTabPage*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc22_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc22_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::vl::presentation::controls::GuiDocumentViewer*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_0_1 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc22_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = (::vl::__vwsn::This(::vl::__vwsn::This(__vwsn_bind_cache_0)->SummarizeStyle(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetCaretBegin(), ::vl::__vwsn::This(__vwsn_bind_cache_0)->GetCaretEnd()).Obj())->underline == ::vl::Nullable<bool>(true));
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc22_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc22_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_1(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc22_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->document);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->SelectionChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc22_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
(__vwsn_bind_handler_0_1 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->ModifiedChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc22_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_1)));
return true;
}
return false;
}
bool __vwsnc22_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc22_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->SelectionChanged, __vwsn_bind_handler_0_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->ModifiedChanged, __vwsn_bind_handler_0_1);
(__vwsn_bind_cache_0 = static_cast<::vl::presentation::controls::GuiDocumentViewer*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_0_1 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc23_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc23_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::demo::DocumentTabPage*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc23_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::This(__vwsn_bind_cache_0)->GetHasEditableSelection();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc23_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0()
{
this->__vwsn_bind_activator_();
}
bool __vwsnc23_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->HasEditableSelectionChanged, ::vl::Func<void()>(this, &__vwsnc23_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc23_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc23_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->HasEditableSelectionChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::demo::DocumentTabPage*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc24_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc24_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::vl::presentation::controls::GuiDocumentViewer*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_0_1 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc24_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = (::vl::__vwsn::This(::vl::__vwsn::This(__vwsn_bind_cache_0)->SummarizeStyle(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetCaretBegin(), ::vl::__vwsn::This(__vwsn_bind_cache_0)->GetCaretEnd()).Obj())->strikeline == ::vl::Nullable<bool>(true));
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc24_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc24_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_1(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc24_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->document);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->SelectionChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc24_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
(__vwsn_bind_handler_0_1 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->ModifiedChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc24_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_1)));
return true;
}
return false;
}
bool __vwsnc24_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc24_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->SelectionChanged, __vwsn_bind_handler_0_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->ModifiedChanged, __vwsn_bind_handler_0_1);
(__vwsn_bind_cache_0 = static_cast<::vl::presentation::controls::GuiDocumentViewer*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_0_1 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc25_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc25_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::demo::DocumentTabPage*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc25_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::This(__vwsn_bind_cache_0)->GetHasEditableSelection();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc25_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0()
{
this->__vwsn_bind_activator_();
}
bool __vwsnc25_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->HasEditableSelectionChanged, ::vl::Func<void()>(this, &__vwsnc25_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc25_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc25_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->HasEditableSelectionChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::demo::DocumentTabPage*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc26_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc26_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::demo::DocumentTabPage*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc26_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::This(__vwsn_bind_cache_0)->GetHasEditableSelection();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc26_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0()
{
this->__vwsn_bind_activator_();
}
bool __vwsnc26_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->HasEditableSelectionChanged, ::vl::Func<void()>(this, &__vwsnc26_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc26_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc26_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->HasEditableSelectionChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::demo::DocumentTabPage*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc27_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc27_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::demo::DocumentTabPage*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc27_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::This(__vwsn_bind_cache_0)->GetHasEditableSelection();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc27_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0()
{
this->__vwsn_bind_activator_();
}
bool __vwsnc27_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->HasEditableSelectionChanged, ::vl::Func<void()>(this, &__vwsnc27_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc27_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc27_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->HasEditableSelectionChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::demo::DocumentTabPage*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc28_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc28_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc28_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::This(__vwsnthis_0->self)->HasEditableCursor();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
bool __vwsnc28_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
return true;
}
return false;
}
bool __vwsnc28_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc28_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc29_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc29_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc29_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::This(__vwsnthis_0->self)->HasEditableCursor();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
bool __vwsnc29_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
return true;
}
return false;
}
bool __vwsnc29_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc29_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc2_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance___vl_presentation_controls_list_IDataSorter::__vwsnc2_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance___vl_presentation_controls_list_IDataSorter(::demo::DataGridTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnc2_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance___vl_presentation_controls_list_IDataSorter::SetCallback(::vl::presentation::controls::list::IDataProcessorCallback* value)
{
}
::vl::vint32_t __vwsnc2_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance___vl_presentation_controls_list_IDataSorter::Compare(const ::vl::reflection::description::Value& __vwsn_row1_, const ::vl::reflection::description::Value& __vwsn_row2_)
{
return LAMBDA(::vl_workflow_global::__vwsno9_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__Compare_(this, __vwsnthis_0))(::vl::__vwsn::Unbox<::vl::Ptr<::demo::MyDataItem>>(__vwsn_row1_), ::vl::__vwsn::Unbox<::vl::Ptr<::demo::MyDataItem>>(__vwsn_row2_));
}
//-------------------------------------------------------------------
__vwsnc30_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc30_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::vl::presentation::controls::GuiDocumentViewer*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc30_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = (::vl::__vwsn::This(__vwsnthis_0->self)->SelectAlignmentCommand() == __vwsnthis_0->commandAlignLeft);
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc30_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc30_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->document);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->SelectionChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc30_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc30_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc30_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->SelectionChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::vl::presentation::controls::GuiDocumentViewer*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc31_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc31_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc31_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::This(__vwsnthis_0->self)->HasEditableCursor();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
bool __vwsnc31_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
return true;
}
return false;
}
bool __vwsnc31_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc31_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc32_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc32_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::vl::presentation::controls::GuiDocumentViewer*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc32_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = (::vl::__vwsn::This(__vwsnthis_0->self)->SelectAlignmentCommand() == __vwsnthis_0->commandAlignCenter);
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc32_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc32_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->document);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->SelectionChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc32_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc32_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc32_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->SelectionChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::vl::presentation::controls::GuiDocumentViewer*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc33_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc33_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc33_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::This(__vwsnthis_0->self)->HasEditableCursor();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
bool __vwsnc33_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
return true;
}
return false;
}
bool __vwsnc33_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc33_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc34_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc34_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::vl::presentation::controls::GuiDocumentViewer*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc34_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = (::vl::__vwsn::This(__vwsnthis_0->self)->SelectAlignmentCommand() == __vwsnthis_0->commandAlignRight);
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc34_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc34_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->document);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->SelectionChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc34_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc34_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc34_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->SelectionChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::vl::presentation::controls::GuiDocumentViewer*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc35_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc35_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::vl::presentation::controls::GuiDocumentViewer*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc35_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::This(__vwsn_bind_cache_0)->CanCut();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc35_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc35_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->document);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->SelectionChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc35_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc35_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc35_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->SelectionChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::vl::presentation::controls::GuiDocumentViewer*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc36_Demo_darkskin_BottomScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc36_Demo_darkskin_BottomScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::BottomScrollButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::BottomScrollButtonTemplate*>(nullptr);
this->__vwsn_bind_cache_1 = static_cast<::darkskin::BottomScrollButtonTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc36_Demo_darkskin_BottomScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::Parse<::vl::presentation::Color>([&](auto state){ return ((! ::vl::__vwsn::This(__vwsn_bind_cache_1)->GetVisuallyEnabled()) ? ::vl::WString(L"#555558", false) : ((state == ::vl::presentation::controls::ButtonState::Active) ? ::vl::WString(L"#1997EA", false) : ((state == ::vl::presentation::controls::ButtonState::Pressed) ? ::vl::WString(L"#007ACC", false) : ::vl::WString(L"#999999", false)))); }(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetState()));
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc36_Demo_darkskin_BottomScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc36_Demo_darkskin_BottomScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc36_Demo_darkskin_BottomScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_cache_1 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc36_Demo_darkskin_BottomScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
(__vwsn_bind_handler_1_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc36_Demo_darkskin_BottomScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0)));
return true;
}
return false;
}
bool __vwsnc36_Demo_darkskin_BottomScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc36_Demo_darkskin_BottomScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, __vwsn_bind_handler_0_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, __vwsn_bind_handler_1_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::BottomScrollButtonTemplate*>(nullptr));
(__vwsn_bind_cache_1 = static_cast<::darkskin::BottomScrollButtonTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc37_Demo_darkskin_BottomScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc37_Demo_darkskin_BottomScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::BottomScrollButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::BottomScrollButtonTemplate*>(nullptr);
this->__vwsn_bind_cache_1 = static_cast<::darkskin::BottomScrollButtonTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc37_Demo_darkskin_BottomScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::Parse<::vl::presentation::Color>([&](auto state){ return ((! ::vl::__vwsn::This(__vwsn_bind_cache_1)->GetVisuallyEnabled()) ? ::vl::WString(L"#555558", false) : ((state == ::vl::presentation::controls::ButtonState::Active) ? ::vl::WString(L"#1997EA", false) : ((state == ::vl::presentation::controls::ButtonState::Pressed) ? ::vl::WString(L"#007ACC", false) : ::vl::WString(L"#999999", false)))); }(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetState()));
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc37_Demo_darkskin_BottomScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc37_Demo_darkskin_BottomScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc37_Demo_darkskin_BottomScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_cache_1 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc37_Demo_darkskin_BottomScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
(__vwsn_bind_handler_1_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc37_Demo_darkskin_BottomScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0)));
return true;
}
return false;
}
bool __vwsnc37_Demo_darkskin_BottomScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc37_Demo_darkskin_BottomScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, __vwsn_bind_handler_0_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, __vwsn_bind_handler_1_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::BottomScrollButtonTemplate*>(nullptr));
(__vwsn_bind_cache_1 = static_cast<::darkskin::BottomScrollButtonTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc38_Demo_darkskin_ButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc38_Demo_darkskin_ButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::ButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::ButtonTemplate*>(nullptr);
this->__vwsn_bind_cache_1 = static_cast<::darkskin::ButtonTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc38_Demo_darkskin_ButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::Parse<::vl::presentation::Color>([&](auto state){ return ((! ::vl::__vwsn::This(__vwsn_bind_cache_1)->GetVisuallyEnabled()) ? ::vl::WString(L"#252526", false) : ((state == ::vl::presentation::controls::ButtonState::Active) ? ::vl::WString(L"#54545C", false) : ((state == ::vl::presentation::controls::ButtonState::Pressed) ? ::vl::WString(L"#007ACC", false) : ::vl::WString(L"#3F3F46", false)))); }(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetState()));
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc38_Demo_darkskin_ButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc38_Demo_darkskin_ButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc38_Demo_darkskin_ButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_cache_1 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc38_Demo_darkskin_ButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
(__vwsn_bind_handler_1_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc38_Demo_darkskin_ButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0)));
return true;
}
return false;
}
bool __vwsnc38_Demo_darkskin_ButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc38_Demo_darkskin_ButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, __vwsn_bind_handler_0_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, __vwsn_bind_handler_1_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::ButtonTemplate*>(nullptr));
(__vwsn_bind_cache_1 = static_cast<::darkskin::ButtonTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc39_Demo_darkskin_ButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc39_Demo_darkskin_ButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::ButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::ButtonTemplate*>(nullptr);
this->__vwsn_bind_cache_1 = static_cast<::darkskin::ButtonTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc39_Demo_darkskin_ButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::Parse<::vl::presentation::Color>([&](auto state){ return ((! ::vl::__vwsn::This(__vwsn_bind_cache_1)->GetVisuallyEnabled()) ? ::vl::WString(L"#434346", false) : ((state == ::vl::presentation::controls::ButtonState::Active) ? ::vl::WString(L"#6A6A75", false) : ((state == ::vl::presentation::controls::ButtonState::Pressed) ? ::vl::WString(L"#1C97EA", false) : ::vl::WString(L"#54545C", false)))); }(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetState()));
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc39_Demo_darkskin_ButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc39_Demo_darkskin_ButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc39_Demo_darkskin_ButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_cache_1 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc39_Demo_darkskin_ButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
(__vwsn_bind_handler_1_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc39_Demo_darkskin_ButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0)));
return true;
}
return false;
}
bool __vwsnc39_Demo_darkskin_ButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc39_Demo_darkskin_ButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, __vwsn_bind_handler_0_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, __vwsn_bind_handler_1_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::ButtonTemplate*>(nullptr));
(__vwsn_bind_cache_1 = static_cast<::darkskin::ButtonTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc3_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance___vl_presentation_controls_list_IDataSorter::__vwsnc3_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance___vl_presentation_controls_list_IDataSorter(::demo::DataGridTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnc3_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance___vl_presentation_controls_list_IDataSorter::SetCallback(::vl::presentation::controls::list::IDataProcessorCallback* value)
{
}
::vl::vint32_t __vwsnc3_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance___vl_presentation_controls_list_IDataSorter::Compare(const ::vl::reflection::description::Value& __vwsn_row1_, const ::vl::reflection::description::Value& __vwsn_row2_)
{
return LAMBDA(::vl_workflow_global::__vwsno15_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__Compare_(this, __vwsnthis_0))(::vl::__vwsn::Unbox<::vl::Ptr<::demo::MyDataItem>>(__vwsn_row1_), ::vl::__vwsn::Unbox<::vl::Ptr<::demo::MyDataItem>>(__vwsn_row2_));
}
//-------------------------------------------------------------------
__vwsnc40_Demo_darkskin_ButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc40_Demo_darkskin_ButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::ButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::ButtonTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc40_Demo_darkskin_ButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::This(__vwsn_bind_cache_0)->GetText();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc40_Demo_darkskin_ButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc40_Demo_darkskin_ButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->TextChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc40_Demo_darkskin_ButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc40_Demo_darkskin_ButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc40_Demo_darkskin_ButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->TextChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::ButtonTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc41_Demo_darkskin_ButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc41_Demo_darkskin_ButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::ButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::ButtonTemplate*>(nullptr);
this->__vwsn_bind_cache_1 = static_cast<::darkskin::ButtonTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc41_Demo_darkskin_ButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::Parse<::vl::presentation::Color>([&](auto state){ return ((! ::vl::__vwsn::This(__vwsn_bind_cache_1)->GetVisuallyEnabled()) ? ::vl::WString(L"#6D6D6D", false) : ((state == ::vl::presentation::controls::ButtonState::Active) ? ::vl::WString(L"#F1F1F1", false) : ((state == ::vl::presentation::controls::ButtonState::Pressed) ? ::vl::WString(L"#FFFFFF", false) : ::vl::WString(L"#F1F1F1", false)))); }(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetState()));
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc41_Demo_darkskin_ButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc41_Demo_darkskin_ButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc41_Demo_darkskin_ButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_cache_1 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc41_Demo_darkskin_ButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
(__vwsn_bind_handler_1_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc41_Demo_darkskin_ButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0)));
return true;
}
return false;
}
bool __vwsnc41_Demo_darkskin_ButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc41_Demo_darkskin_ButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, __vwsn_bind_handler_0_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, __vwsn_bind_handler_1_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::ButtonTemplate*>(nullptr));
(__vwsn_bind_cache_1 = static_cast<::darkskin::ButtonTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc42_Demo_darkskin_ButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc42_Demo_darkskin_ButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::ButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::ButtonTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc42_Demo_darkskin_ButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::This(__vwsn_bind_cache_0)->GetFont();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc42_Demo_darkskin_ButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc42_Demo_darkskin_ButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->FontChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc42_Demo_darkskin_ButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc42_Demo_darkskin_ButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc42_Demo_darkskin_ButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->FontChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::ButtonTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc43_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc43_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::CheckBoxTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::CheckBoxTemplate*>(nullptr);
this->__vwsn_bind_cache_1 = static_cast<::darkskin::CheckBoxTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc43_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::Parse<::vl::presentation::Color>([&](auto state){ return ((! ::vl::__vwsn::This(__vwsn_bind_cache_1)->GetVisuallyEnabled()) ? ::vl::WString(L"#252526", false) : ((state == ::vl::presentation::controls::ButtonState::Active) ? ::vl::WString(L"#54545C", false) : ((state == ::vl::presentation::controls::ButtonState::Pressed) ? ::vl::WString(L"#007ACC", false) : ::vl::WString(L"#3F3F46", false)))); }(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetState()));
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc43_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc43_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc43_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_cache_1 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc43_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
(__vwsn_bind_handler_1_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc43_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0)));
return true;
}
return false;
}
bool __vwsnc43_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc43_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, __vwsn_bind_handler_0_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, __vwsn_bind_handler_1_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::CheckBoxTemplate*>(nullptr));
(__vwsn_bind_cache_1 = static_cast<::darkskin::CheckBoxTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc44_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc44_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::CheckBoxTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::CheckBoxTemplate*>(nullptr);
this->__vwsn_bind_cache_1 = static_cast<::darkskin::CheckBoxTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc44_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::Parse<::vl::presentation::Color>([&](auto state){ return ((! ::vl::__vwsn::This(__vwsn_bind_cache_1)->GetVisuallyEnabled()) ? ::vl::WString(L"#434346", false) : ((state == ::vl::presentation::controls::ButtonState::Active) ? ::vl::WString(L"#6A6A75", false) : ((state == ::vl::presentation::controls::ButtonState::Pressed) ? ::vl::WString(L"#1C97EA", false) : ::vl::WString(L"#54545C", false)))); }(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetState()));
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc44_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc44_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc44_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_cache_1 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc44_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
(__vwsn_bind_handler_1_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc44_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0)));
return true;
}
return false;
}
bool __vwsnc44_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc44_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, __vwsn_bind_handler_0_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, __vwsn_bind_handler_1_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::CheckBoxTemplate*>(nullptr));
(__vwsn_bind_cache_1 = static_cast<::darkskin::CheckBoxTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc45_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc45_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::CheckBoxTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::CheckBoxTemplate*>(nullptr);
this->__vwsn_bind_cache_1 = static_cast<::darkskin::CheckBoxTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc45_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::Parse<::vl::presentation::Color>([&](auto state){ return ((! ::vl::__vwsn::This(__vwsn_bind_cache_1)->GetVisuallyEnabled()) ? ::vl::WString(L"#6D6D6D", false) : ((state == ::vl::presentation::controls::ButtonState::Active) ? ::vl::WString(L"#F1F1F1", false) : ((state == ::vl::presentation::controls::ButtonState::Pressed) ? ::vl::WString(L"#FFFFFF", false) : ::vl::WString(L"#F1F1F1", false)))); }(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetState()));
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc45_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc45_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc45_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_cache_1 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc45_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
(__vwsn_bind_handler_1_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc45_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0)));
return true;
}
return false;
}
bool __vwsnc45_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc45_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, __vwsn_bind_handler_0_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, __vwsn_bind_handler_1_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::CheckBoxTemplate*>(nullptr));
(__vwsn_bind_cache_1 = static_cast<::darkskin::CheckBoxTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc46_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc46_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::CheckBoxTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::CheckBoxTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc46_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::This(__vwsn_bind_cache_0)->GetSelected();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc46_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc46_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->SelectedChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc46_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc46_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc46_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->SelectedChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::CheckBoxTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc47_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc47_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::CheckBoxTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::CheckBoxTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc47_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::This(__vwsn_bind_cache_0)->GetText();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc47_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc47_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->TextChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc47_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc47_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc47_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->TextChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::CheckBoxTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc48_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc48_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::CheckBoxTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::CheckBoxTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc48_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::Parse<::vl::presentation::Color>(((! ::vl::__vwsn::This(__vwsn_bind_cache_0)->GetVisuallyEnabled()) ? ::vl::WString(L"#6D6D6D", false) : ::vl::WString(L"#F1F1F1", false)));
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc48_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc48_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->VisuallyEnabledChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc48_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc48_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc48_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->VisuallyEnabledChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::CheckBoxTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc49_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc49_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::CheckBoxTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::CheckBoxTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc49_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::This(__vwsn_bind_cache_0)->GetFont();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc49_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc49_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->FontChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc49_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc49_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc49_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->FontChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::CheckBoxTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc4_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance___vl_presentation_controls_list_IDataSorter::__vwsnc4_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance___vl_presentation_controls_list_IDataSorter(::demo::DataGridTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnc4_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance___vl_presentation_controls_list_IDataSorter::SetCallback(::vl::presentation::controls::list::IDataProcessorCallback* value)
{
}
::vl::vint32_t __vwsnc4_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance___vl_presentation_controls_list_IDataSorter::Compare(const ::vl::reflection::description::Value& __vwsn_row1_, const ::vl::reflection::description::Value& __vwsn_row2_)
{
return LAMBDA(::vl_workflow_global::__vwsno19_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__Compare_(this, __vwsnthis_0))(::vl::__vwsn::Unbox<::vl::Ptr<::demo::MyDataItem>>(__vwsn_row1_), ::vl::__vwsn::Unbox<::vl::Ptr<::demo::MyDataItem>>(__vwsn_row2_));
}
//-------------------------------------------------------------------
__vwsnc50_Demo_darkskin_CheckItemBackgroundTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc50_Demo_darkskin_CheckItemBackgroundTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::CheckItemBackgroundTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::CheckItemBackgroundTemplate*>(nullptr);
this->__vwsn_bind_cache_1 = static_cast<::darkskin::CheckItemBackgroundTemplate*>(nullptr);
this->__vwsn_bind_cache_2 = static_cast<::darkskin::CheckItemBackgroundTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_2_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc50_Demo_darkskin_CheckItemBackgroundTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::Parse<::vl::presentation::Color>([&](auto state){ return ((! ::vl::__vwsn::This(__vwsn_bind_cache_1)->GetVisuallyEnabled()) ? ::vl::WString(L"#00000000", false) : ((::vl::__vwsn::This(__vwsn_bind_cache_2)->GetSelected() || (state == ::vl::presentation::controls::ButtonState::Pressed)) ? ::vl::WString(L"#3399FF", false) : ((state == ::vl::presentation::controls::ButtonState::Active) ? ::vl::WString(L"#3F3F46", false) : ::vl::WString(L"#00000000", false)))); }(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetState()));
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc50_Demo_darkskin_CheckItemBackgroundTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc50_Demo_darkskin_CheckItemBackgroundTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc50_Demo_darkskin_CheckItemBackgroundTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_2_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc50_Demo_darkskin_CheckItemBackgroundTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_cache_1 = __vwsnthis_0->self);
(__vwsn_bind_cache_2 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc50_Demo_darkskin_CheckItemBackgroundTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
(__vwsn_bind_handler_1_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc50_Demo_darkskin_CheckItemBackgroundTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0)));
(__vwsn_bind_handler_2_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_2)->SelectedChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc50_Demo_darkskin_CheckItemBackgroundTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_2_0)));
return true;
}
return false;
}
bool __vwsnc50_Demo_darkskin_CheckItemBackgroundTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc50_Demo_darkskin_CheckItemBackgroundTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, __vwsn_bind_handler_0_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, __vwsn_bind_handler_1_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_2)->SelectedChanged, __vwsn_bind_handler_2_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::CheckItemBackgroundTemplate*>(nullptr));
(__vwsn_bind_cache_1 = static_cast<::darkskin::CheckItemBackgroundTemplate*>(nullptr));
(__vwsn_bind_cache_2 = static_cast<::darkskin::CheckItemBackgroundTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_2_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc51_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc51_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::ComboBoxTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::ComboBoxTemplate*>(nullptr);
this->__vwsn_bind_cache_1 = static_cast<::darkskin::ComboBoxTemplate*>(nullptr);
this->__vwsn_bind_cache_2 = static_cast<::darkskin::ComboBoxTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_2_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc51_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::Parse<::vl::presentation::Color>([&](auto state){ return ((! ::vl::__vwsn::This(__vwsn_bind_cache_1)->GetVisuallyEnabled()) ? ::vl::WString(L"#2D2D30", false) : (((state == ::vl::presentation::controls::ButtonState::Pressed) || ::vl::__vwsn::This(__vwsn_bind_cache_2)->GetSubMenuOpening()) ? ::vl::WString(L"#3F3F46", false) : ((state == ::vl::presentation::controls::ButtonState::Active) ? ::vl::WString(L"#3F3F46", false) : ::vl::WString(L"#333337", false)))); }(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetState()));
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc51_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc51_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc51_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_2_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc51_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_cache_1 = __vwsnthis_0->self);
(__vwsn_bind_cache_2 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc51_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
(__vwsn_bind_handler_1_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc51_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0)));
(__vwsn_bind_handler_2_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_2)->SubMenuOpeningChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc51_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_2_0)));
return true;
}
return false;
}
bool __vwsnc51_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc51_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, __vwsn_bind_handler_0_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, __vwsn_bind_handler_1_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_2)->SubMenuOpeningChanged, __vwsn_bind_handler_2_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::ComboBoxTemplate*>(nullptr));
(__vwsn_bind_cache_1 = static_cast<::darkskin::ComboBoxTemplate*>(nullptr));
(__vwsn_bind_cache_2 = static_cast<::darkskin::ComboBoxTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_2_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc52_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc52_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::ComboBoxTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::ComboBoxTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc52_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::This(__vwsn_bind_cache_0)->GetText();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc52_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc52_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->TextChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc52_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc52_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc52_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->TextChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::ComboBoxTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc53_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc53_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::ComboBoxTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::ComboBoxTemplate*>(nullptr);
this->__vwsn_bind_cache_1 = static_cast<::darkskin::ComboBoxTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc53_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::Parse<::vl::presentation::Color>([&](auto state){ return ((! ::vl::__vwsn::This(__vwsn_bind_cache_1)->GetVisuallyEnabled()) ? ::vl::WString(L"#65655C", false) : ::vl::WString(L"#F1F1F1", false)); }(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetState()));
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc53_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc53_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc53_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_cache_1 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc53_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
(__vwsn_bind_handler_1_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc53_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0)));
return true;
}
return false;
}
bool __vwsnc53_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc53_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, __vwsn_bind_handler_0_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, __vwsn_bind_handler_1_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::ComboBoxTemplate*>(nullptr));
(__vwsn_bind_cache_1 = static_cast<::darkskin::ComboBoxTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc54_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc54_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::ComboBoxTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::ComboBoxTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc54_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::This(__vwsn_bind_cache_0)->GetFont();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc54_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc54_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->FontChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc54_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc54_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc54_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->FontChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::ComboBoxTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc55_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc55_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::ComboBoxTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::ComboBoxTemplate*>(nullptr);
this->__vwsn_bind_cache_1 = static_cast<::darkskin::ComboBoxTemplate*>(nullptr);
this->__vwsn_bind_cache_2 = static_cast<::darkskin::ComboBoxTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_2_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc55_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::Parse<::vl::presentation::Color>([&](auto state){ return ((! ::vl::__vwsn::This(__vwsn_bind_cache_1)->GetVisuallyEnabled()) ? ::vl::WString(L"#00000000", false) : (((state == ::vl::presentation::controls::ButtonState::Pressed) || ::vl::__vwsn::This(__vwsn_bind_cache_2)->GetSubMenuOpening()) ? ::vl::WString(L"#007ACC", false) : ((state == ::vl::presentation::controls::ButtonState::Active) ? ::vl::WString(L"#1F1F20", false) : ::vl::WString(L"#00000000", false)))); }(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetState()));
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc55_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc55_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc55_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_2_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc55_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_cache_1 = __vwsnthis_0->self);
(__vwsn_bind_cache_2 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc55_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
(__vwsn_bind_handler_1_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc55_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0)));
(__vwsn_bind_handler_2_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_2)->SubMenuOpeningChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc55_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_2_0)));
return true;
}
return false;
}
bool __vwsnc55_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc55_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, __vwsn_bind_handler_0_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, __vwsn_bind_handler_1_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_2)->SubMenuOpeningChanged, __vwsn_bind_handler_2_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::ComboBoxTemplate*>(nullptr));
(__vwsn_bind_cache_1 = static_cast<::darkskin::ComboBoxTemplate*>(nullptr));
(__vwsn_bind_cache_2 = static_cast<::darkskin::ComboBoxTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_2_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc56_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc56_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::ComboBoxTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::ComboBoxTemplate*>(nullptr);
this->__vwsn_bind_cache_1 = static_cast<::darkskin::ComboBoxTemplate*>(nullptr);
this->__vwsn_bind_cache_2 = static_cast<::darkskin::ComboBoxTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_2_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc56_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::Parse<::vl::presentation::Color>([&](auto state){ return ((! ::vl::__vwsn::This(__vwsn_bind_cache_1)->GetVisuallyEnabled()) ? ::vl::WString(L"#999999", false) : (((state == ::vl::presentation::controls::ButtonState::Pressed) || ::vl::__vwsn::This(__vwsn_bind_cache_2)->GetSubMenuOpening()) ? ::vl::WString(L"#FFFFFF", false) : ((state == ::vl::presentation::controls::ButtonState::Active) ? ::vl::WString(L"#007ACC", false) : ::vl::WString(L"#999999", false)))); }(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetState()));
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc56_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc56_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc56_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_2_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc56_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_cache_1 = __vwsnthis_0->self);
(__vwsn_bind_cache_2 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc56_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
(__vwsn_bind_handler_1_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc56_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0)));
(__vwsn_bind_handler_2_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_2)->SubMenuOpeningChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc56_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_2_0)));
return true;
}
return false;
}
bool __vwsnc56_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc56_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, __vwsn_bind_handler_0_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, __vwsn_bind_handler_1_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_2)->SubMenuOpeningChanged, __vwsn_bind_handler_2_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::ComboBoxTemplate*>(nullptr));
(__vwsn_bind_cache_1 = static_cast<::darkskin::ComboBoxTemplate*>(nullptr));
(__vwsn_bind_cache_2 = static_cast<::darkskin::ComboBoxTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_2_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc57_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc57_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::ComboBoxTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::ComboBoxTemplate*>(nullptr);
this->__vwsn_bind_cache_1 = static_cast<::darkskin::ComboBoxTemplate*>(nullptr);
this->__vwsn_bind_cache_2 = static_cast<::darkskin::ComboBoxTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_2_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc57_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::Parse<::vl::presentation::Color>([&](auto state){ return ((! ::vl::__vwsn::This(__vwsn_bind_cache_1)->GetVisuallyEnabled()) ? ::vl::WString(L"#2D2D30", false) : (((state == ::vl::presentation::controls::ButtonState::Pressed) || ::vl::__vwsn::This(__vwsn_bind_cache_2)->GetSubMenuOpening()) ? ::vl::WString(L"#3F3F46", false) : ((state == ::vl::presentation::controls::ButtonState::Active) ? ::vl::WString(L"#3F3F46", false) : ::vl::WString(L"#434346", false)))); }(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetState()));
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc57_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc57_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc57_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_2_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc57_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_cache_1 = __vwsnthis_0->self);
(__vwsn_bind_cache_2 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc57_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
(__vwsn_bind_handler_1_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc57_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0)));
(__vwsn_bind_handler_2_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_2)->SubMenuOpeningChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc57_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_2_0)));
return true;
}
return false;
}
bool __vwsnc57_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc57_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, __vwsn_bind_handler_0_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, __vwsn_bind_handler_1_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_2)->SubMenuOpeningChanged, __vwsn_bind_handler_2_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::ComboBoxTemplate*>(nullptr));
(__vwsn_bind_cache_1 = static_cast<::darkskin::ComboBoxTemplate*>(nullptr));
(__vwsn_bind_cache_2 = static_cast<::darkskin::ComboBoxTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_2_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc58_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc58_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::ExpandingDecoratorTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::ExpandingDecoratorTemplate*>(nullptr);
this->__vwsn_bind_cache_1 = static_cast<::darkskin::ExpandingDecoratorTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc58_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::Parse<::vl::presentation::Color>([&](auto state){ return ((! ::vl::__vwsn::This(__vwsn_bind_cache_1)->GetVisuallyEnabled()) ? ::vl::WString(L"#6D6D6D", false) : ((state == ::vl::presentation::controls::ButtonState::Pressed) ? ::vl::WString(L"#0A75B9", false) : ((state == ::vl::presentation::controls::ButtonState::Active) ? ::vl::WString(L"#0A75B9", false) : ::vl::WString(L"#F1F1F1", false)))); }(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetState()));
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc58_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc58_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc58_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_cache_1 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc58_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
(__vwsn_bind_handler_1_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc58_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0)));
return true;
}
return false;
}
bool __vwsnc58_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc58_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, __vwsn_bind_handler_0_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, __vwsn_bind_handler_1_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::ExpandingDecoratorTemplate*>(nullptr));
(__vwsn_bind_cache_1 = static_cast<::darkskin::ExpandingDecoratorTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc59_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc59_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::ExpandingDecoratorTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::ExpandingDecoratorTemplate*>(nullptr);
this->__vwsn_bind_cache_1 = static_cast<::darkskin::ExpandingDecoratorTemplate*>(nullptr);
this->__vwsn_bind_cache_2 = static_cast<::darkskin::ExpandingDecoratorTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_2_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc59_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::Parse<::vl::presentation::Color>([&](auto state){ return ((! ::vl::__vwsn::This(__vwsn_bind_cache_1)->GetSelected()) ? ::vl::WString(L"#00000000", false) : ((! ::vl::__vwsn::This(__vwsn_bind_cache_2)->GetVisuallyEnabled()) ? ::vl::WString(L"#6D6D6D", false) : ((state == ::vl::presentation::controls::ButtonState::Pressed) ? ::vl::WString(L"#0A75B9", false) : ((state == ::vl::presentation::controls::ButtonState::Active) ? ::vl::WString(L"#0A75B9", false) : ::vl::WString(L"#F1F1F1", false))))); }(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetState()));
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc59_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc59_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc59_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_2_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc59_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_cache_1 = __vwsnthis_0->self);
(__vwsn_bind_cache_2 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc59_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
(__vwsn_bind_handler_1_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_1)->SelectedChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc59_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0)));
(__vwsn_bind_handler_2_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_2)->VisuallyEnabledChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc59_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_2_0)));
return true;
}
return false;
}
bool __vwsnc59_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc59_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, __vwsn_bind_handler_0_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_1)->SelectedChanged, __vwsn_bind_handler_1_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_2)->VisuallyEnabledChanged, __vwsn_bind_handler_2_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::ExpandingDecoratorTemplate*>(nullptr));
(__vwsn_bind_cache_1 = static_cast<::darkskin::ExpandingDecoratorTemplate*>(nullptr));
(__vwsn_bind_cache_2 = static_cast<::darkskin::ExpandingDecoratorTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_2_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc5_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance___vl_presentation_controls_list_IDataSorter::__vwsnc5_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance___vl_presentation_controls_list_IDataSorter(::demo::DataGridTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
}
void __vwsnc5_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance___vl_presentation_controls_list_IDataSorter::SetCallback(::vl::presentation::controls::list::IDataProcessorCallback* value)
{
}
::vl::vint32_t __vwsnc5_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance___vl_presentation_controls_list_IDataSorter::Compare(const ::vl::reflection::description::Value& __vwsn_row1_, const ::vl::reflection::description::Value& __vwsn_row2_)
{
return LAMBDA(::vl_workflow_global::__vwsno25_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__Compare_(this, __vwsnthis_0))(::vl::__vwsn::Unbox<::vl::Ptr<::demo::MyDataItem>>(__vwsn_row1_), ::vl::__vwsn::Unbox<::vl::Ptr<::demo::MyDataItem>>(__vwsn_row2_));
}
//-------------------------------------------------------------------
__vwsnc60_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc60_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::ExpandingDecoratorTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::ExpandingDecoratorTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc60_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = (! ::vl::__vwsn::This(__vwsn_bind_cache_0)->GetSelected());
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc60_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc60_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->SelectedChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc60_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc60_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc60_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->SelectedChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::ExpandingDecoratorTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc61_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc61_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::ExpandingDecoratorTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::ExpandingDecoratorTemplate*>(nullptr);
this->__vwsn_bind_cache_1 = static_cast<::darkskin::ExpandingDecoratorTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc61_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::Parse<::vl::presentation::Color>([&](auto state){ return ((! ::vl::__vwsn::This(__vwsn_bind_cache_1)->GetVisuallyEnabled()) ? ::vl::WString(L"#6D6D6D", false) : ((state == ::vl::presentation::controls::ButtonState::Pressed) ? ::vl::WString(L"#0A75B9", false) : ((state == ::vl::presentation::controls::ButtonState::Active) ? ::vl::WString(L"#0A75B9", false) : ::vl::WString(L"#F1F1F1", false)))); }(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetState()));
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc61_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc61_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc61_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_cache_1 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc61_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
(__vwsn_bind_handler_1_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc61_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0)));
return true;
}
return false;
}
bool __vwsnc61_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc61_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, __vwsn_bind_handler_0_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, __vwsn_bind_handler_1_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::ExpandingDecoratorTemplate*>(nullptr));
(__vwsn_bind_cache_1 = static_cast<::darkskin::ExpandingDecoratorTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc62_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc62_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::ExpandingDecoratorTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::ExpandingDecoratorTemplate*>(nullptr);
this->__vwsn_bind_cache_1 = static_cast<::darkskin::ExpandingDecoratorTemplate*>(nullptr);
this->__vwsn_bind_cache_2 = static_cast<::darkskin::ExpandingDecoratorTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_2_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc62_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::Parse<::vl::presentation::Color>([&](auto state){ return ((! ::vl::__vwsn::This(__vwsn_bind_cache_1)->GetSelected()) ? ::vl::WString(L"#00000000", false) : ((! ::vl::__vwsn::This(__vwsn_bind_cache_2)->GetVisuallyEnabled()) ? ::vl::WString(L"#6D6D6D", false) : ((state == ::vl::presentation::controls::ButtonState::Pressed) ? ::vl::WString(L"#0A75B9", false) : ((state == ::vl::presentation::controls::ButtonState::Active) ? ::vl::WString(L"#0A75B9", false) : ::vl::WString(L"#F1F1F1", false))))); }(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetState()));
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc62_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc62_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc62_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_2_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc62_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_cache_1 = __vwsnthis_0->self);
(__vwsn_bind_cache_2 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc62_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
(__vwsn_bind_handler_1_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_1)->SelectedChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc62_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0)));
(__vwsn_bind_handler_2_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_2)->VisuallyEnabledChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc62_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_2_0)));
return true;
}
return false;
}
bool __vwsnc62_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc62_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, __vwsn_bind_handler_0_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_1)->SelectedChanged, __vwsn_bind_handler_1_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_2)->VisuallyEnabledChanged, __vwsn_bind_handler_2_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::ExpandingDecoratorTemplate*>(nullptr));
(__vwsn_bind_cache_1 = static_cast<::darkskin::ExpandingDecoratorTemplate*>(nullptr));
(__vwsn_bind_cache_2 = static_cast<::darkskin::ExpandingDecoratorTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_2_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc63_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc63_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::ExpandingDecoratorTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::ExpandingDecoratorTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc63_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::This(__vwsn_bind_cache_0)->GetSelected();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc63_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc63_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->SelectedChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc63_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc63_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc63_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->SelectedChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::ExpandingDecoratorTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc64_Demo_darkskin_GroupBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc64_Demo_darkskin_GroupBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::GroupBoxTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::vl::presentation::compositions::GuiBoundsComposition*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc64_Demo_darkskin_GroupBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = [&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = (::vl::__vwsn::This(__vwsn_bind_cache_0)->GetBounds().y2 / static_cast<::vl::vint32_t>(2)); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc64_Demo_darkskin_GroupBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc64_Demo_darkskin_GroupBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->titleBounds);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->BoundsChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc64_Demo_darkskin_GroupBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc64_Demo_darkskin_GroupBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc64_Demo_darkskin_GroupBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->BoundsChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::vl::presentation::compositions::GuiBoundsComposition*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc65_Demo_darkskin_GroupBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc65_Demo_darkskin_GroupBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::GroupBoxTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::GroupBoxTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc65_Demo_darkskin_GroupBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::This(__vwsn_bind_cache_0)->GetText();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc65_Demo_darkskin_GroupBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc65_Demo_darkskin_GroupBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->TextChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc65_Demo_darkskin_GroupBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc65_Demo_darkskin_GroupBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc65_Demo_darkskin_GroupBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->TextChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::GroupBoxTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc66_Demo_darkskin_GroupBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc66_Demo_darkskin_GroupBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::GroupBoxTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::GroupBoxTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc66_Demo_darkskin_GroupBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::This(__vwsn_bind_cache_0)->GetFont();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc66_Demo_darkskin_GroupBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc66_Demo_darkskin_GroupBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->FontChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc66_Demo_darkskin_GroupBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc66_Demo_darkskin_GroupBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc66_Demo_darkskin_GroupBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->FontChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::GroupBoxTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc67_Demo_darkskin_HScrollHandleTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc67_Demo_darkskin_HScrollHandleTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::HScrollHandleTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::HScrollHandleTemplate*>(nullptr);
this->__vwsn_bind_cache_1 = static_cast<::darkskin::HScrollHandleTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc67_Demo_darkskin_HScrollHandleTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::Parse<::vl::presentation::Color>([&](auto state){ return ((! ::vl::__vwsn::This(__vwsn_bind_cache_1)->GetVisuallyEnabled()) ? ::vl::WString(L"#3D3D42", false) : ((state == ::vl::presentation::controls::ButtonState::Active) ? ::vl::WString(L"#9E9E9E", false) : ((state == ::vl::presentation::controls::ButtonState::Pressed) ? ::vl::WString(L"#EFEBEF", false) : ::vl::WString(L"#686868", false)))); }(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetState()));
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc67_Demo_darkskin_HScrollHandleTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc67_Demo_darkskin_HScrollHandleTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc67_Demo_darkskin_HScrollHandleTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_cache_1 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc67_Demo_darkskin_HScrollHandleTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
(__vwsn_bind_handler_1_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc67_Demo_darkskin_HScrollHandleTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0)));
return true;
}
return false;
}
bool __vwsnc67_Demo_darkskin_HScrollHandleTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc67_Demo_darkskin_HScrollHandleTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, __vwsn_bind_handler_0_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, __vwsn_bind_handler_1_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::HScrollHandleTemplate*>(nullptr));
(__vwsn_bind_cache_1 = static_cast<::darkskin::HScrollHandleTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc68_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc68_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::HScrollTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::vl::presentation::compositions::GuiBoundsComposition*>(nullptr);
this->__vwsn_bind_cache_1 = static_cast<::vl::presentation::compositions::GuiBoundsComposition*>(nullptr);
this->__vwsn_bind_cache_2 = static_cast<::vl::presentation::compositions::GuiPartialViewComposition*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_2_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc68_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = [&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = ((::vl::__vwsn::This(__vwsn_bind_cache_0)->GetBounds().x2 - ::vl::__vwsn::This(__vwsn_bind_cache_1)->GetBounds().x1) - ::vl::__vwsn::This(__vwsn_bind_cache_2)->GetBounds().x1); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc68_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc68_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc68_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_2_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc68_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->handleContainer);
(__vwsn_bind_cache_1 = __vwsnthis_0->handleContainer);
(__vwsn_bind_cache_2 = __vwsnthis_0->handle);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->BoundsChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc68_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
(__vwsn_bind_handler_1_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_1)->BoundsChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc68_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0)));
(__vwsn_bind_handler_2_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_2)->BoundsChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc68_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_2_0)));
return true;
}
return false;
}
bool __vwsnc68_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc68_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->BoundsChanged, __vwsn_bind_handler_0_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_1)->BoundsChanged, __vwsn_bind_handler_1_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_2)->BoundsChanged, __vwsn_bind_handler_2_0);
(__vwsn_bind_cache_0 = static_cast<::vl::presentation::compositions::GuiBoundsComposition*>(nullptr));
(__vwsn_bind_cache_1 = static_cast<::vl::presentation::compositions::GuiBoundsComposition*>(nullptr));
(__vwsn_bind_cache_2 = static_cast<::vl::presentation::compositions::GuiPartialViewComposition*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_2_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc69_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc69_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::HScrollTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::vl::presentation::compositions::GuiPartialViewComposition*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc69_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = [&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = ::vl::__vwsn::This(__vwsn_bind_cache_0)->GetBounds().x2; __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc69_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc69_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->handle);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->BoundsChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc69_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc69_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc69_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->BoundsChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::vl::presentation::compositions::GuiPartialViewComposition*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc6_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc6_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::vl::presentation::controls::GuiDocumentViewer*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc6_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::This(::vl::__vwsn::This(__vwsnthis_0->self)->SelectAlignmentCommand())->GetImage();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc6_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc6_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->document);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->SelectionChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc6_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc6_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc6_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->SelectionChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::vl::presentation::controls::GuiDocumentViewer*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc70_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc70_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::HScrollTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::HScrollTemplate*>(nullptr);
this->__vwsn_bind_cache_1 = static_cast<::darkskin::HScrollTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc70_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = (static_cast<double>(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetPageSize()) / static_cast<double>(::vl::__vwsn::This(__vwsn_bind_cache_1)->GetTotalSize()));
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc70_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc70_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc70_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_cache_1 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->PageSizeChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc70_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
(__vwsn_bind_handler_1_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_1)->TotalSizeChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc70_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0)));
return true;
}
return false;
}
bool __vwsnc70_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc70_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->PageSizeChanged, __vwsn_bind_handler_0_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_1)->TotalSizeChanged, __vwsn_bind_handler_1_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::HScrollTemplate*>(nullptr));
(__vwsn_bind_cache_1 = static_cast<::darkskin::HScrollTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc71_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc71_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::HScrollTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::HScrollTemplate*>(nullptr);
this->__vwsn_bind_cache_1 = static_cast<::darkskin::HScrollTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc71_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = (static_cast<double>(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetPosition()) / static_cast<double>(::vl::__vwsn::This(__vwsn_bind_cache_1)->GetTotalSize()));
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc71_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc71_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc71_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_cache_1 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->PositionChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc71_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
(__vwsn_bind_handler_1_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_1)->TotalSizeChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc71_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0)));
return true;
}
return false;
}
bool __vwsnc71_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc71_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->PositionChanged, __vwsn_bind_handler_0_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_1)->TotalSizeChanged, __vwsn_bind_handler_1_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::HScrollTemplate*>(nullptr));
(__vwsn_bind_cache_1 = static_cast<::darkskin::HScrollTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc72_Demo_darkskin_HTrackerTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc72_Demo_darkskin_HTrackerTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::HTrackerTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::HTrackerTemplate*>(nullptr);
this->__vwsn_bind_cache_1 = static_cast<::darkskin::HTrackerTemplate*>(nullptr);
this->__vwsn_bind_cache_2 = static_cast<::vl::presentation::compositions::GuiBoundsComposition*>(nullptr);
this->__vwsn_bind_cache_3 = static_cast<::vl::presentation::compositions::GuiBoundsComposition*>(nullptr);
this->__vwsn_bind_cache_4 = static_cast<::darkskin::HTrackerTemplate*>(nullptr);
this->__vwsn_bind_cache_5 = static_cast<::darkskin::HTrackerTemplate*>(nullptr);
this->__vwsn_bind_cache_6 = static_cast<::darkskin::HTrackerTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_2_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_3_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_4_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_5_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_6_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc72_Demo_darkskin_HTrackerTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = [&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = [&](auto width, auto max){ return ((max == static_cast<::vl::vint32_t>(0)) ? static_cast<::vl::vint32_t>(0) : ((width * ::vl::__vwsn::This(__vwsn_bind_cache_6)->GetPosition()) / max)); }(((::vl::__vwsn::This(__vwsn_bind_cache_0)->GetBounds().x2 - ::vl::__vwsn::This(__vwsn_bind_cache_1)->GetBounds().x1) - (::vl::__vwsn::This(__vwsn_bind_cache_2)->GetBounds().x2 - ::vl::__vwsn::This(__vwsn_bind_cache_3)->GetBounds().x1)), (::vl::__vwsn::This(__vwsn_bind_cache_4)->GetTotalSize() - ::vl::__vwsn::This(__vwsn_bind_cache_5)->GetPageSize())); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = (- static_cast<::vl::vint32_t>(1)); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc72_Demo_darkskin_HTrackerTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc72_Demo_darkskin_HTrackerTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc72_Demo_darkskin_HTrackerTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_2_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc72_Demo_darkskin_HTrackerTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_3_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc72_Demo_darkskin_HTrackerTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_4_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc72_Demo_darkskin_HTrackerTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_5_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc72_Demo_darkskin_HTrackerTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_6_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc72_Demo_darkskin_HTrackerTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_cache_1 = __vwsnthis_0->self);
(__vwsn_bind_cache_2 = __vwsnthis_0->handle);
(__vwsn_bind_cache_3 = __vwsnthis_0->handle);
(__vwsn_bind_cache_4 = __vwsnthis_0->self);
(__vwsn_bind_cache_5 = __vwsnthis_0->self);
(__vwsn_bind_cache_6 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->BoundsChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc72_Demo_darkskin_HTrackerTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
(__vwsn_bind_handler_1_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_1)->BoundsChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc72_Demo_darkskin_HTrackerTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0)));
(__vwsn_bind_handler_2_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_2)->BoundsChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc72_Demo_darkskin_HTrackerTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_2_0)));
(__vwsn_bind_handler_3_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_3)->BoundsChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc72_Demo_darkskin_HTrackerTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_3_0)));
(__vwsn_bind_handler_4_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_4)->TotalSizeChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc72_Demo_darkskin_HTrackerTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_4_0)));
(__vwsn_bind_handler_5_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_5)->PageSizeChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc72_Demo_darkskin_HTrackerTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_5_0)));
(__vwsn_bind_handler_6_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_6)->PositionChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc72_Demo_darkskin_HTrackerTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_6_0)));
return true;
}
return false;
}
bool __vwsnc72_Demo_darkskin_HTrackerTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc72_Demo_darkskin_HTrackerTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->BoundsChanged, __vwsn_bind_handler_0_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_1)->BoundsChanged, __vwsn_bind_handler_1_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_2)->BoundsChanged, __vwsn_bind_handler_2_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_3)->BoundsChanged, __vwsn_bind_handler_3_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_4)->TotalSizeChanged, __vwsn_bind_handler_4_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_5)->PageSizeChanged, __vwsn_bind_handler_5_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_6)->PositionChanged, __vwsn_bind_handler_6_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::HTrackerTemplate*>(nullptr));
(__vwsn_bind_cache_1 = static_cast<::darkskin::HTrackerTemplate*>(nullptr));
(__vwsn_bind_cache_2 = static_cast<::vl::presentation::compositions::GuiBoundsComposition*>(nullptr));
(__vwsn_bind_cache_3 = static_cast<::vl::presentation::compositions::GuiBoundsComposition*>(nullptr));
(__vwsn_bind_cache_4 = static_cast<::darkskin::HTrackerTemplate*>(nullptr));
(__vwsn_bind_cache_5 = static_cast<::darkskin::HTrackerTemplate*>(nullptr));
(__vwsn_bind_cache_6 = static_cast<::darkskin::HTrackerTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_2_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_3_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_4_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_5_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_6_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc73_Demo_darkskin_ItemBackgroundTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc73_Demo_darkskin_ItemBackgroundTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::ItemBackgroundTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::ItemBackgroundTemplate*>(nullptr);
this->__vwsn_bind_cache_1 = static_cast<::darkskin::ItemBackgroundTemplate*>(nullptr);
this->__vwsn_bind_cache_2 = static_cast<::darkskin::ItemBackgroundTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_2_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc73_Demo_darkskin_ItemBackgroundTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::Parse<::vl::presentation::Color>([&](auto state){ return ((! ::vl::__vwsn::This(__vwsn_bind_cache_1)->GetVisuallyEnabled()) ? ::vl::WString(L"#00000000", false) : ((::vl::__vwsn::This(__vwsn_bind_cache_2)->GetSelected() || (state == ::vl::presentation::controls::ButtonState::Pressed)) ? ::vl::WString(L"#3399FF", false) : ((state == ::vl::presentation::controls::ButtonState::Active) ? ::vl::WString(L"#3F3F46", false) : ::vl::WString(L"#00000000", false)))); }(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetState()));
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc73_Demo_darkskin_ItemBackgroundTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc73_Demo_darkskin_ItemBackgroundTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc73_Demo_darkskin_ItemBackgroundTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_2_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc73_Demo_darkskin_ItemBackgroundTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_cache_1 = __vwsnthis_0->self);
(__vwsn_bind_cache_2 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc73_Demo_darkskin_ItemBackgroundTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
(__vwsn_bind_handler_1_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc73_Demo_darkskin_ItemBackgroundTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0)));
(__vwsn_bind_handler_2_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_2)->SelectedChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc73_Demo_darkskin_ItemBackgroundTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_2_0)));
return true;
}
return false;
}
bool __vwsnc73_Demo_darkskin_ItemBackgroundTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc73_Demo_darkskin_ItemBackgroundTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, __vwsn_bind_handler_0_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, __vwsn_bind_handler_1_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_2)->SelectedChanged, __vwsn_bind_handler_2_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::ItemBackgroundTemplate*>(nullptr));
(__vwsn_bind_cache_1 = static_cast<::darkskin::ItemBackgroundTemplate*>(nullptr));
(__vwsn_bind_cache_2 = static_cast<::darkskin::ItemBackgroundTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_2_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc74_Demo_darkskin_LabelTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc74_Demo_darkskin_LabelTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::LabelTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::LabelTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc74_Demo_darkskin_LabelTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::This(__vwsn_bind_cache_0)->GetText();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc74_Demo_darkskin_LabelTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc74_Demo_darkskin_LabelTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->TextChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc74_Demo_darkskin_LabelTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc74_Demo_darkskin_LabelTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc74_Demo_darkskin_LabelTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->TextChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::LabelTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc75_Demo_darkskin_LabelTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc75_Demo_darkskin_LabelTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::LabelTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::LabelTemplate*>(nullptr);
this->__vwsn_bind_cache_1 = static_cast<::darkskin::LabelTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc75_Demo_darkskin_LabelTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::Parse<::vl::presentation::Color>(((! ::vl::__vwsn::This(__vwsn_bind_cache_0)->GetVisuallyEnabled()) ? ::vl::WString(L"#6D6D6D", false) : ::vl::__vwsn::ToString(::vl::__vwsn::This(__vwsn_bind_cache_1)->GetTextColor())));
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc75_Demo_darkskin_LabelTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc75_Demo_darkskin_LabelTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc75_Demo_darkskin_LabelTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_cache_1 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->VisuallyEnabledChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc75_Demo_darkskin_LabelTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
(__vwsn_bind_handler_1_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_1)->TextColorChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc75_Demo_darkskin_LabelTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0)));
return true;
}
return false;
}
bool __vwsnc75_Demo_darkskin_LabelTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc75_Demo_darkskin_LabelTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->VisuallyEnabledChanged, __vwsn_bind_handler_0_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_1)->TextColorChanged, __vwsn_bind_handler_1_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::LabelTemplate*>(nullptr));
(__vwsn_bind_cache_1 = static_cast<::darkskin::LabelTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc76_Demo_darkskin_LabelTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc76_Demo_darkskin_LabelTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::LabelTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::LabelTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc76_Demo_darkskin_LabelTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::This(__vwsn_bind_cache_0)->GetFont();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc76_Demo_darkskin_LabelTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc76_Demo_darkskin_LabelTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->FontChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc76_Demo_darkskin_LabelTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc76_Demo_darkskin_LabelTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc76_Demo_darkskin_LabelTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->FontChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::LabelTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc77_Demo_darkskin_LeftScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc77_Demo_darkskin_LeftScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::LeftScrollButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::LeftScrollButtonTemplate*>(nullptr);
this->__vwsn_bind_cache_1 = static_cast<::darkskin::LeftScrollButtonTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc77_Demo_darkskin_LeftScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::Parse<::vl::presentation::Color>([&](auto state){ return ((! ::vl::__vwsn::This(__vwsn_bind_cache_1)->GetVisuallyEnabled()) ? ::vl::WString(L"#555558", false) : ((state == ::vl::presentation::controls::ButtonState::Active) ? ::vl::WString(L"#1997EA", false) : ((state == ::vl::presentation::controls::ButtonState::Pressed) ? ::vl::WString(L"#007ACC", false) : ::vl::WString(L"#999999", false)))); }(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetState()));
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc77_Demo_darkskin_LeftScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc77_Demo_darkskin_LeftScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc77_Demo_darkskin_LeftScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_cache_1 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc77_Demo_darkskin_LeftScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
(__vwsn_bind_handler_1_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc77_Demo_darkskin_LeftScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0)));
return true;
}
return false;
}
bool __vwsnc77_Demo_darkskin_LeftScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc77_Demo_darkskin_LeftScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, __vwsn_bind_handler_0_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, __vwsn_bind_handler_1_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::LeftScrollButtonTemplate*>(nullptr));
(__vwsn_bind_cache_1 = static_cast<::darkskin::LeftScrollButtonTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc78_Demo_darkskin_LeftScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc78_Demo_darkskin_LeftScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::LeftScrollButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::LeftScrollButtonTemplate*>(nullptr);
this->__vwsn_bind_cache_1 = static_cast<::darkskin::LeftScrollButtonTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc78_Demo_darkskin_LeftScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::Parse<::vl::presentation::Color>([&](auto state){ return ((! ::vl::__vwsn::This(__vwsn_bind_cache_1)->GetVisuallyEnabled()) ? ::vl::WString(L"#555558", false) : ((state == ::vl::presentation::controls::ButtonState::Active) ? ::vl::WString(L"#1997EA", false) : ((state == ::vl::presentation::controls::ButtonState::Pressed) ? ::vl::WString(L"#007ACC", false) : ::vl::WString(L"#999999", false)))); }(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetState()));
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc78_Demo_darkskin_LeftScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc78_Demo_darkskin_LeftScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc78_Demo_darkskin_LeftScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_cache_1 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc78_Demo_darkskin_LeftScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
(__vwsn_bind_handler_1_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc78_Demo_darkskin_LeftScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0)));
return true;
}
return false;
}
bool __vwsnc78_Demo_darkskin_LeftScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc78_Demo_darkskin_LeftScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, __vwsn_bind_handler_0_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, __vwsn_bind_handler_1_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::LeftScrollButtonTemplate*>(nullptr));
(__vwsn_bind_cache_1 = static_cast<::darkskin::LeftScrollButtonTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc79_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc79_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::ListViewColumnHeaderTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::ListViewColumnHeaderTemplate*>(nullptr);
this->__vwsn_bind_cache_1 = static_cast<::darkskin::ListViewColumnHeaderTemplate*>(nullptr);
this->__vwsn_bind_cache_2 = static_cast<::darkskin::ListViewColumnHeaderTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_2_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc79_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::Parse<::vl::presentation::Color>([&](auto state){ return ((! ::vl::__vwsn::This(__vwsn_bind_cache_1)->GetVisuallyEnabled()) ? ::vl::WString(L"#3E3E40", false) : (((state == ::vl::presentation::controls::ButtonState::Pressed) || ::vl::__vwsn::This(__vwsn_bind_cache_2)->GetSubMenuOpening()) ? ::vl::WString(L"#007ACC", false) : ((state == ::vl::presentation::controls::ButtonState::Active) ? ::vl::WString(L"#3E3E40", false) : ::vl::WString(L"#252527", false)))); }(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetState()));
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc79_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc79_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc79_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_2_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc79_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_cache_1 = __vwsnthis_0->self);
(__vwsn_bind_cache_2 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc79_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
(__vwsn_bind_handler_1_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc79_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0)));
(__vwsn_bind_handler_2_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_2)->SubMenuOpeningChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc79_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_2_0)));
return true;
}
return false;
}
bool __vwsnc79_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc79_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, __vwsn_bind_handler_0_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, __vwsn_bind_handler_1_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_2)->SubMenuOpeningChanged, __vwsn_bind_handler_2_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::ListViewColumnHeaderTemplate*>(nullptr));
(__vwsn_bind_cache_1 = static_cast<::darkskin::ListViewColumnHeaderTemplate*>(nullptr));
(__vwsn_bind_cache_2 = static_cast<::darkskin::ListViewColumnHeaderTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_2_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc7_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc7_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::vl::presentation::controls::GuiDocumentViewer*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc7_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::This(__vwsn_bind_cache_0)->CanUndo();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc7_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc7_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->document);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->UndoRedoChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc7_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc7_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc7_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->UndoRedoChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::vl::presentation::controls::GuiDocumentViewer*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc80_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc80_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::ListViewColumnHeaderTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::ListViewColumnHeaderTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc80_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::This(__vwsn_bind_cache_0)->GetText();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc80_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc80_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->TextChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc80_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc80_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc80_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->TextChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::ListViewColumnHeaderTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc81_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc81_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::ListViewColumnHeaderTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::ListViewColumnHeaderTemplate*>(nullptr);
this->__vwsn_bind_cache_1 = static_cast<::darkskin::ListViewColumnHeaderTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc81_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::Parse<::vl::presentation::Color>([&](auto state){ return ((! ::vl::__vwsn::This(__vwsn_bind_cache_1)->GetVisuallyEnabled()) ? ::vl::WString(L"#6D6D6D", false) : ((state == ::vl::presentation::controls::ButtonState::Active) ? ::vl::WString(L"#F1F1F1", false) : ((state == ::vl::presentation::controls::ButtonState::Pressed) ? ::vl::WString(L"#FFFFFF", false) : ::vl::WString(L"#F1F1F1", false)))); }(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetState()));
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc81_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc81_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc81_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_cache_1 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc81_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
(__vwsn_bind_handler_1_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc81_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0)));
return true;
}
return false;
}
bool __vwsnc81_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc81_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, __vwsn_bind_handler_0_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, __vwsn_bind_handler_1_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::ListViewColumnHeaderTemplate*>(nullptr));
(__vwsn_bind_cache_1 = static_cast<::darkskin::ListViewColumnHeaderTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc82_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc82_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::ListViewColumnHeaderTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::ListViewColumnHeaderTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc82_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::This(__vwsn_bind_cache_0)->GetFont();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc82_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc82_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->FontChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc82_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc82_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc82_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->FontChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::ListViewColumnHeaderTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc83_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc83_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::ListViewColumnHeaderTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::ListViewColumnHeaderTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc83_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::This(__vwsn_bind_cache_0)->GetSubMenuOpening();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc83_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc83_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->SubMenuOpeningChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc83_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc83_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc83_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->SubMenuOpeningChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::ListViewColumnHeaderTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc84_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc84_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::ListViewColumnHeaderTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::ListViewColumnHeaderTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc84_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::This(__vwsn_bind_cache_0)->GetSubMenuExisting();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc84_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc84_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->SubMenuExistingChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc84_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc84_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc84_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->SubMenuExistingChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::ListViewColumnHeaderTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc85_Demo_darkskin_MenuBarButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc85_Demo_darkskin_MenuBarButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::MenuBarButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::MenuBarButtonTemplate*>(nullptr);
this->__vwsn_bind_cache_1 = static_cast<::darkskin::MenuBarButtonTemplate*>(nullptr);
this->__vwsn_bind_cache_2 = static_cast<::darkskin::MenuBarButtonTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_2_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc85_Demo_darkskin_MenuBarButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::Parse<::vl::presentation::Color>([&](auto state){ return ((! ::vl::__vwsn::This(__vwsn_bind_cache_1)->GetVisuallyEnabled()) ? ::vl::WString(L"#00000000", false) : (((state == ::vl::presentation::controls::ButtonState::Pressed) || ::vl::__vwsn::This(__vwsn_bind_cache_2)->GetSubMenuOpening()) ? ::vl::WString(L"#1B1B1C", false) : ((state == ::vl::presentation::controls::ButtonState::Active) ? ::vl::WString(L"#3D3D40", false) : ::vl::WString(L"#00000000", false)))); }(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetState()));
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc85_Demo_darkskin_MenuBarButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc85_Demo_darkskin_MenuBarButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc85_Demo_darkskin_MenuBarButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_2_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc85_Demo_darkskin_MenuBarButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_cache_1 = __vwsnthis_0->self);
(__vwsn_bind_cache_2 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc85_Demo_darkskin_MenuBarButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
(__vwsn_bind_handler_1_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc85_Demo_darkskin_MenuBarButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0)));
(__vwsn_bind_handler_2_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_2)->SubMenuOpeningChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc85_Demo_darkskin_MenuBarButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_2_0)));
return true;
}
return false;
}
bool __vwsnc85_Demo_darkskin_MenuBarButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc85_Demo_darkskin_MenuBarButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, __vwsn_bind_handler_0_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, __vwsn_bind_handler_1_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_2)->SubMenuOpeningChanged, __vwsn_bind_handler_2_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::MenuBarButtonTemplate*>(nullptr));
(__vwsn_bind_cache_1 = static_cast<::darkskin::MenuBarButtonTemplate*>(nullptr));
(__vwsn_bind_cache_2 = static_cast<::darkskin::MenuBarButtonTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_2_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc86_Demo_darkskin_MenuBarButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc86_Demo_darkskin_MenuBarButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::MenuBarButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::MenuBarButtonTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc86_Demo_darkskin_MenuBarButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::This(__vwsn_bind_cache_0)->GetText();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc86_Demo_darkskin_MenuBarButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc86_Demo_darkskin_MenuBarButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->TextChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc86_Demo_darkskin_MenuBarButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc86_Demo_darkskin_MenuBarButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc86_Demo_darkskin_MenuBarButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->TextChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::MenuBarButtonTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc87_Demo_darkskin_MenuBarButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc87_Demo_darkskin_MenuBarButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::MenuBarButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::MenuBarButtonTemplate*>(nullptr);
this->__vwsn_bind_cache_1 = static_cast<::darkskin::MenuBarButtonTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc87_Demo_darkskin_MenuBarButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::Parse<::vl::presentation::Color>([&](auto state){ return ((! ::vl::__vwsn::This(__vwsn_bind_cache_1)->GetVisuallyEnabled()) ? ::vl::WString(L"#6D6D6D", false) : ::vl::WString(L"#FFFFFF", false)); }(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetState()));
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc87_Demo_darkskin_MenuBarButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc87_Demo_darkskin_MenuBarButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc87_Demo_darkskin_MenuBarButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_cache_1 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc87_Demo_darkskin_MenuBarButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
(__vwsn_bind_handler_1_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc87_Demo_darkskin_MenuBarButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0)));
return true;
}
return false;
}
bool __vwsnc87_Demo_darkskin_MenuBarButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc87_Demo_darkskin_MenuBarButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, __vwsn_bind_handler_0_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, __vwsn_bind_handler_1_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::MenuBarButtonTemplate*>(nullptr));
(__vwsn_bind_cache_1 = static_cast<::darkskin::MenuBarButtonTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc88_Demo_darkskin_MenuBarButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc88_Demo_darkskin_MenuBarButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::MenuBarButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::MenuBarButtonTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc88_Demo_darkskin_MenuBarButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::This(__vwsn_bind_cache_0)->GetFont();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc88_Demo_darkskin_MenuBarButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc88_Demo_darkskin_MenuBarButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->FontChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc88_Demo_darkskin_MenuBarButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc88_Demo_darkskin_MenuBarButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc88_Demo_darkskin_MenuBarButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->FontChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::MenuBarButtonTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc89_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc89_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::MenuItemButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::MenuItemButtonTemplate*>(nullptr);
this->__vwsn_bind_cache_1 = static_cast<::darkskin::MenuItemButtonTemplate*>(nullptr);
this->__vwsn_bind_cache_2 = static_cast<::darkskin::MenuItemButtonTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_2_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc89_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::Parse<::vl::presentation::Color>([&](auto state){ return ((! ::vl::__vwsn::This(__vwsn_bind_cache_1)->GetVisuallyEnabled()) ? ::vl::WString(L"#00000000", false) : ((state == ::vl::presentation::controls::ButtonState::Pressed) ? ::vl::WString(L"#3D3D40", false) : (((state == ::vl::presentation::controls::ButtonState::Active) || ::vl::__vwsn::This(__vwsn_bind_cache_2)->GetSubMenuOpening()) ? ::vl::WString(L"#3D3D40", false) : ::vl::WString(L"#00000000", false)))); }(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetState()));
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc89_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc89_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc89_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_2_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc89_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_cache_1 = __vwsnthis_0->self);
(__vwsn_bind_cache_2 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc89_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
(__vwsn_bind_handler_1_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc89_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0)));
(__vwsn_bind_handler_2_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_2)->SubMenuOpeningChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc89_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_2_0)));
return true;
}
return false;
}
bool __vwsnc89_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc89_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, __vwsn_bind_handler_0_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, __vwsn_bind_handler_1_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_2)->SubMenuOpeningChanged, __vwsn_bind_handler_2_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::MenuItemButtonTemplate*>(nullptr));
(__vwsn_bind_cache_1 = static_cast<::darkskin::MenuItemButtonTemplate*>(nullptr));
(__vwsn_bind_cache_2 = static_cast<::darkskin::MenuItemButtonTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_2_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc8_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc8_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::vl::presentation::controls::GuiDocumentViewer*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc8_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::This(__vwsn_bind_cache_0)->CanRedo();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc8_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc8_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->document);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->UndoRedoChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc8_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc8_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc8_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->UndoRedoChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::vl::presentation::controls::GuiDocumentViewer*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc90_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc90_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::MenuItemButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::MenuItemButtonTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc90_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = [&](){ try{ return ::vl::__vwsn::This(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetImage().Obj())->GetImage(); } catch(...){ return ::vl::Ptr<::vl::presentation::INativeImage>(); } }();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc90_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc90_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->ImageChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc90_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc90_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc90_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->ImageChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::MenuItemButtonTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc91_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc91_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::MenuItemButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::MenuItemButtonTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc91_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::This(__vwsn_bind_cache_0)->GetVisuallyEnabled();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc91_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc91_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->VisuallyEnabledChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc91_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc91_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc91_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->VisuallyEnabledChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::MenuItemButtonTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc92_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc92_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::MenuItemButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::MenuItemButtonTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc92_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = [&](){ try{ return ::vl::__vwsn::This(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetImage().Obj())->GetFrameIndex(); } catch(...){ return static_cast<::vl::vint32_t>(0); } }();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc92_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc92_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->ImageChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc92_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc92_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc92_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->ImageChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::MenuItemButtonTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc93_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc93_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::MenuItemButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::MenuItemButtonTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc93_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::This(__vwsn_bind_cache_0)->GetText();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc93_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc93_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->TextChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc93_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc93_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc93_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->TextChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::MenuItemButtonTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc94_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc94_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::MenuItemButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::MenuItemButtonTemplate*>(nullptr);
this->__vwsn_bind_cache_1 = static_cast<::darkskin::MenuItemButtonTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc94_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::Parse<::vl::presentation::Color>([&](auto state){ return ((! ::vl::__vwsn::This(__vwsn_bind_cache_1)->GetVisuallyEnabled()) ? ::vl::WString(L"#6D6D6D", false) : ::vl::WString(L"#FFFFFF", false)); }(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetState()));
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc94_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc94_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc94_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_cache_1 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc94_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
(__vwsn_bind_handler_1_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc94_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0)));
return true;
}
return false;
}
bool __vwsnc94_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc94_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, __vwsn_bind_handler_0_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, __vwsn_bind_handler_1_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::MenuItemButtonTemplate*>(nullptr));
(__vwsn_bind_cache_1 = static_cast<::darkskin::MenuItemButtonTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc95_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc95_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::MenuItemButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::MenuItemButtonTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc95_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::This(__vwsn_bind_cache_0)->GetFont();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc95_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc95_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->FontChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc95_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc95_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc95_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->FontChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::MenuItemButtonTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc96_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc96_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::MenuItemButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::MenuItemButtonTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc96_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::This(__vwsn_bind_cache_0)->GetShortcutText();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc96_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc96_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->ShortcutTextChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc96_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc96_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc96_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->ShortcutTextChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::MenuItemButtonTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc97_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc97_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::MenuItemButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::MenuItemButtonTemplate*>(nullptr);
this->__vwsn_bind_cache_1 = static_cast<::darkskin::MenuItemButtonTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc97_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::Parse<::vl::presentation::Color>([&](auto state){ return ((! ::vl::__vwsn::This(__vwsn_bind_cache_1)->GetVisuallyEnabled()) ? ::vl::WString(L"#6D6D6D", false) : ::vl::WString(L"#FFFFFF", false)); }(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetState()));
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc97_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc97_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc97_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_cache_1 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc97_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
(__vwsn_bind_handler_1_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc97_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0)));
return true;
}
return false;
}
bool __vwsnc97_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc97_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, __vwsn_bind_handler_0_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, __vwsn_bind_handler_1_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::MenuItemButtonTemplate*>(nullptr));
(__vwsn_bind_cache_1 = static_cast<::darkskin::MenuItemButtonTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc98_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc98_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::MenuItemButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::MenuItemButtonTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc98_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::This(__vwsn_bind_cache_0)->GetFont();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc98_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc98_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->FontChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc98_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc98_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc98_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->FontChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::MenuItemButtonTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc99_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc99_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::darkskin::MenuItemButtonTemplateConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::darkskin::MenuItemButtonTemplate*>(nullptr);
this->__vwsn_bind_cache_1 = static_cast<::darkskin::MenuItemButtonTemplate*>(nullptr);
this->__vwsn_bind_cache_2 = static_cast<::darkskin::MenuItemButtonTemplate*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_handler_2_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc99_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::Parse<::vl::presentation::Color>([&](auto state){ return ((! ::vl::__vwsn::This(__vwsn_bind_cache_1)->GetVisuallyEnabled()) ? ::vl::WString(L"#555558", false) : (((state == ::vl::presentation::controls::ButtonState::Active) || ::vl::__vwsn::This(__vwsn_bind_cache_2)->GetSubMenuOpening()) ? ::vl::WString(L"#1997EA", false) : ((state == ::vl::presentation::controls::ButtonState::Pressed) ? ::vl::WString(L"#007ACC", false) : ::vl::WString(L"#999999", false)))); }(::vl::__vwsn::This(__vwsn_bind_cache_0)->GetState()));
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc99_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc99_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
void __vwsnc99_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_2_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc99_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->self);
(__vwsn_bind_cache_1 = __vwsnthis_0->self);
(__vwsn_bind_cache_2 = __vwsnthis_0->self);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc99_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
(__vwsn_bind_handler_1_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc99_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_1_0)));
(__vwsn_bind_handler_2_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_2)->SubMenuOpeningChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc99_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_2_0)));
return true;
}
return false;
}
bool __vwsnc99_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc99_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->StateChanged, __vwsn_bind_handler_0_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_1)->VisuallyEnabledChanged, __vwsn_bind_handler_1_0);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_2)->SubMenuOpeningChanged, __vwsn_bind_handler_2_0);
(__vwsn_bind_cache_0 = static_cast<::darkskin::MenuItemButtonTemplate*>(nullptr));
(__vwsn_bind_cache_1 = static_cast<::darkskin::MenuItemButtonTemplate*>(nullptr));
(__vwsn_bind_cache_2 = static_cast<::darkskin::MenuItemButtonTemplate*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_1_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
(__vwsn_bind_handler_2_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
//-------------------------------------------------------------------
__vwsnc9_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsnc9_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(::demo::DocumentTabPageConstructor* __vwsnctorthis_0)
:__vwsnthis_0(::vl::__vwsn::This(__vwsnctorthis_0))
{
this->__vwsn_bind_cache_0 = static_cast<::vl::presentation::controls::GuiDocumentViewer*>(nullptr);
this->__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>();
this->__vwsn_bind_opened_ = false;
this->__vwsn_bind_closed_ = false;
}
void __vwsnc9_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_activator_()
{
auto __vwsn_bind_activator_result_ = ::vl::__vwsn::This(__vwsn_bind_cache_0)->CanCopy();
::vl::__vwsn::EventInvoke(this->ValueChanged)(::vl::__vwsn::Box(__vwsn_bind_activator_result_));
}
void __vwsnc9_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1)
{
this->__vwsn_bind_activator_();
}
bool __vwsnc9_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Open()
{
if ((! __vwsn_bind_opened_))
{
(__vwsn_bind_opened_ = true);
(__vwsn_bind_cache_0 = __vwsnthis_0->document);
(__vwsn_bind_handler_0_0 = ::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_bind_cache_0)->SelectionChanged, ::vl::Func<void(::vl::presentation::compositions::GuiGraphicsComposition*, ::vl::presentation::compositions::GuiEventArgs*)>(this, &__vwsnc9_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::__vwsn_bind_callback_0_0)));
return true;
}
return false;
}
bool __vwsnc9_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Update()
{
if ((__vwsn_bind_opened_ && (! __vwsn_bind_closed_)))
{
this->__vwsn_bind_activator_();
return true;
}
return false;
}
bool __vwsnc9_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription::Close()
{
if ((! __vwsn_bind_closed_))
{
(__vwsn_bind_closed_ = true);
::vl::__vwsn::EventDetach(::vl::__vwsn::This(__vwsn_bind_cache_0)->SelectionChanged, __vwsn_bind_handler_0_0);
(__vwsn_bind_cache_0 = static_cast<::vl::presentation::controls::GuiDocumentViewer*>(nullptr));
(__vwsn_bind_handler_0_0 = ::vl::Ptr<::vl::reflection::description::IEventHandler>());
return true;
}
return false;
}
}
/***********************************************************************
Class (::demo::DataGridTabPageConstructor)
***********************************************************************/
namespace demo
{
void DataGridTabPageConstructor::__vwsn_initialize_instance_(::demo::DataGridTabPage* __vwsn_this_)
{
(this->self = __vwsn_this_);
{
::vl::__vwsn::This(this->self)->SetText(::vl::WString(L"BindableDataGrid", false));
}
(this->__vwsn_precompile_0 = new ::vl::presentation::compositions::GuiTableComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetCellPadding(::vl::__vwsn::Parse<::vl::vint32_t>(::vl::WString(L"5", false)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetRowsAndColumns(static_cast<::vl::vint32_t>(2), static_cast<::vl::vint32_t>(1));
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetRowOption(static_cast<::vl::vint32_t>(0), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::MinSize; return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetRowOption(static_cast<::vl::vint32_t>(1), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(1.0); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetColumnOption(static_cast<::vl::vint32_t>(0), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(1.0); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_1 = new ::vl::presentation::compositions::GuiCellComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetSite(static_cast<::vl::vint32_t>(0), static_cast<::vl::vint32_t>(0), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateTextListStyle();
(this->__vwsn_precompile_2 = new ::vl::presentation::controls::GuiTextList(__vwsn_controlStyle_));
}
(this->__vwsn_precompile_3 = ::vl::Ptr<::vl::presentation::controls::list::TextItem>(new ::vl::presentation::controls::list::TextItem()));
{
::vl::__vwsn::This(this->__vwsn_precompile_3.Obj())->SetText(::vl::WString(L"BigIcon", false));
}
{
auto __vwsn_collection_ = ::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_2)->GetItems());
::vl::__vwsn::This(__vwsn_collection_.Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_3));
}
(this->__vwsn_precompile_4 = ::vl::Ptr<::vl::presentation::controls::list::TextItem>(new ::vl::presentation::controls::list::TextItem()));
{
::vl::__vwsn::This(this->__vwsn_precompile_4.Obj())->SetText(::vl::WString(L"SmallIcon", false));
}
{
auto __vwsn_collection_ = ::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_2)->GetItems());
::vl::__vwsn::This(__vwsn_collection_.Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_4));
}
(this->__vwsn_precompile_5 = ::vl::Ptr<::vl::presentation::controls::list::TextItem>(new ::vl::presentation::controls::list::TextItem()));
{
::vl::__vwsn::This(this->__vwsn_precompile_5.Obj())->SetText(::vl::WString(L"List", false));
}
{
auto __vwsn_collection_ = ::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_2)->GetItems());
::vl::__vwsn::This(__vwsn_collection_.Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_5));
}
(this->__vwsn_precompile_6 = ::vl::Ptr<::vl::presentation::controls::list::TextItem>(new ::vl::presentation::controls::list::TextItem()));
{
::vl::__vwsn::This(this->__vwsn_precompile_6.Obj())->SetText(::vl::WString(L"Tile", false));
}
{
auto __vwsn_collection_ = ::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_2)->GetItems());
::vl::__vwsn::This(__vwsn_collection_.Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_6));
}
(this->__vwsn_precompile_7 = ::vl::Ptr<::vl::presentation::controls::list::TextItem>(new ::vl::presentation::controls::list::TextItem()));
{
::vl::__vwsn::This(this->__vwsn_precompile_7.Obj())->SetText(::vl::WString(L"Information", false));
}
{
auto __vwsn_collection_ = ::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_2)->GetItems());
::vl::__vwsn::This(__vwsn_collection_.Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_7));
}
(this->__vwsn_precompile_8 = ::vl::Ptr<::vl::presentation::controls::list::TextItem>(new ::vl::presentation::controls::list::TextItem()));
{
::vl::__vwsn::This(this->__vwsn_precompile_8.Obj())->SetText(::vl::WString(L"Detail", false));
}
{
auto __vwsn_collection_ = ::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_2)->GetItems());
::vl::__vwsn::This(__vwsn_collection_.Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_8));
}
(this->__vwsn_precompile_9 = ::vl::Ptr<::vl::presentation::controls::list::TextItem>(new ::vl::presentation::controls::list::TextItem()));
{
::vl::__vwsn::This(this->__vwsn_precompile_9.Obj())->SetText(::vl::WString(L"DataGrid", false));
}
{
auto __vwsn_collection_ = ::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_2)->GetItems());
::vl::__vwsn::This(__vwsn_collection_.Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_9));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_2)->SetVerticalAlwaysVisible(::vl::__vwsn::Parse<bool>(::vl::WString(L"false", false)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_2)->SetHorizontalAlwaysVisible(::vl::__vwsn::Parse<bool>(::vl::WString(L"false", false)));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateComboBoxStyle();
(this->comboView = new ::vl::presentation::controls::GuiComboBoxListControl(__vwsn_controlStyle_, this->__vwsn_precompile_2));
}
{
::vl::__vwsn::This(this->comboView)->SetSelectedIndex(::vl::__vwsn::Parse<::vl::vint32_t>(::vl::WString(L"6", false)));
}
{
::vl::__vwsn::This(this->comboView)->SetAlt(::vl::WString(L"V", false));
}
(this->__vwsn_precompile_10 = ::vl::__vwsn::This(this->comboView)->GetBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_10)->SetPreferredMinSize([&](){ ::vl::presentation::Size __vwsn_temp__; __vwsn_temp__.x = static_cast<::vl::vint32_t>(120); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(::vl::__vwsn::This(this->comboView)->GetBoundsComposition()));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_1));
}
(this->__vwsn_precompile_11 = new ::vl::presentation::compositions::GuiCellComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_11)->SetSite(static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(0), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateListViewStyle();
(this->dataGrid = new ::vl::presentation::controls::GuiBindableDataGrid(__vwsn_controlStyle_, ::vl::reflection::description::Value()));
}
{
::vl::__vwsn::This(this->dataGrid)->SetSmallImageProperty(LAMBDA(::vl_workflow_global::__vwsnf1_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__(this)));
}
{
::vl::__vwsn::This(this->dataGrid)->SetLargeImageProperty(LAMBDA(::vl_workflow_global::__vwsnf2_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__(this)));
}
{
auto __vwsn_collection_ = ::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->dataGrid)->GetDataColumns());
::vl::__vwsn::This(__vwsn_collection_.Obj())->Add(::vl::__vwsn::Box(::vl::__vwsn::Parse<::vl::vint32_t>(::vl::WString(L"0", false))));
}
{
::vl::__vwsn::This(this->dataGrid)->SetVerticalAlwaysVisible(::vl::__vwsn::Parse<bool>(::vl::WString(L"false", false)));
}
{
::vl::__vwsn::This(this->dataGrid)->SetHorizontalAlwaysVisible(::vl::__vwsn::Parse<bool>(::vl::WString(L"false", false)));
}
{
::vl::__vwsn::This(this->dataGrid)->SetAlt(::vl::WString(L"L", false));
}
(this->__vwsn_precompile_19 = ::vl::__vwsn::This(this->dataGrid)->GetBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_19)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_12 = ::vl::Ptr<::vl::presentation::controls::list::DataColumn>(new ::vl::presentation::controls::list::DataColumn()));
{
::vl::__vwsn::This(this->__vwsn_precompile_12.Obj())->SetSorter(::vl::Ptr<::vl::presentation::controls::list::IDataSorter>(new ::vl_workflow_global::__vwsnc1_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance___vl_presentation_controls_list_IDataSorter(this)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_12.Obj())->SetEditorFactory(::vl::Ptr<::vl::presentation::controls::list::IDataEditorFactory>(::vl::Ptr<::vl::presentation::controls::list::DataEditorFactory>(new ::vl::presentation::controls::list::DataEditorFactory(LAMBDA(::vl_workflow_global::__vwsnf4_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__(this))))));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_12.Obj())->SetValueProperty(LAMBDA(::vl_workflow_global::__vwsnf5_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__(this)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_12.Obj())->SetSize(::vl::__vwsn::Parse<::vl::vint32_t>(::vl::WString(L"120", false)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_12.Obj())->SetTextProperty(LAMBDA(::vl_workflow_global::__vwsnf6_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__(this)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_12.Obj())->SetText(::vl::WString(L"Name", false));
}
{
auto __vwsn_collection_ = ::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->dataGrid)->GetColumns());
::vl::__vwsn::This(__vwsn_collection_.Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_12));
}
(this->__vwsn_precompile_13 = ::vl::Ptr<::vl::presentation::controls::list::DataColumn>(new ::vl::presentation::controls::list::DataColumn()));
{
::vl::__vwsn::This(this->__vwsn_precompile_13.Obj())->SetVisualizerFactory(::vl::Ptr<::vl::presentation::controls::list::IDataVisualizerFactory>(::vl::Ptr<::vl::presentation::controls::list::DataVisualizerFactory>(new ::vl::presentation::controls::list::DataVisualizerFactory(LAMBDA(::vl_workflow_global::__vwsnf7_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__(this)), ::vl::Ptr<::vl::presentation::controls::list::DataVisualizerFactory>(new ::vl::presentation::controls::list::DataVisualizerFactory(LAMBDA(::vl_workflow_global::__vwsnf8_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__(this)), ::vl::Ptr<::vl::presentation::controls::list::DataVisualizerFactory>()))))));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_13.Obj())->SetSorter(::vl::Ptr<::vl::presentation::controls::list::IDataSorter>(new ::vl_workflow_global::__vwsnc2_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance___vl_presentation_controls_list_IDataSorter(this)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_13.Obj())->SetEditorFactory(::vl::Ptr<::vl::presentation::controls::list::IDataEditorFactory>(::vl::Ptr<::vl::presentation::controls::list::DataEditorFactory>(new ::vl::presentation::controls::list::DataEditorFactory(LAMBDA(::vl_workflow_global::__vwsnf10_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__(this))))));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_13.Obj())->SetValueProperty(LAMBDA(::vl_workflow_global::__vwsnf11_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__(this)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_13.Obj())->SetSize(::vl::__vwsn::Parse<::vl::vint32_t>(::vl::WString(L"80", false)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_13.Obj())->SetTextProperty(LAMBDA(::vl_workflow_global::__vwsnf12_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__(this)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_13.Obj())->SetText(::vl::WString(L"Gender", false));
}
{
auto __vwsn_collection_ = ::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->dataGrid)->GetColumns());
::vl::__vwsn::This(__vwsn_collection_.Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_13));
}
(this->__vwsn_precompile_14 = ::vl::Ptr<::vl::presentation::controls::list::DataColumn>(new ::vl::presentation::controls::list::DataColumn()));
{
::vl::__vwsn::This(this->__vwsn_precompile_14.Obj())->SetVisualizerFactory(::vl::Ptr<::vl::presentation::controls::list::IDataVisualizerFactory>(::vl::Ptr<::vl::presentation::controls::list::DataVisualizerFactory>(new ::vl::presentation::controls::list::DataVisualizerFactory(LAMBDA(::vl_workflow_global::__vwsnf13_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__(this)), ::vl::Ptr<::vl::presentation::controls::list::DataVisualizerFactory>(new ::vl::presentation::controls::list::DataVisualizerFactory(LAMBDA(::vl_workflow_global::__vwsnf14_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__(this)), ::vl::Ptr<::vl::presentation::controls::list::DataVisualizerFactory>()))))));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_14.Obj())->SetSorter(::vl::Ptr<::vl::presentation::controls::list::IDataSorter>(new ::vl_workflow_global::__vwsnc3_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance___vl_presentation_controls_list_IDataSorter(this)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_14.Obj())->SetEditorFactory(::vl::Ptr<::vl::presentation::controls::list::IDataEditorFactory>(::vl::Ptr<::vl::presentation::controls::list::DataEditorFactory>(new ::vl::presentation::controls::list::DataEditorFactory(LAMBDA(::vl_workflow_global::__vwsnf16_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__(this))))));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_14.Obj())->SetValueProperty(LAMBDA(::vl_workflow_global::__vwsnf17_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__(this)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_14.Obj())->SetSize(::vl::__vwsn::Parse<::vl::vint32_t>(::vl::WString(L"80", false)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_14.Obj())->SetTextProperty(LAMBDA(::vl_workflow_global::__vwsnf18_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__(this)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_14.Obj())->SetText(::vl::WString(L"Category", false));
}
{
auto __vwsn_collection_ = ::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->dataGrid)->GetColumns());
::vl::__vwsn::This(__vwsn_collection_.Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_14));
}
(this->__vwsn_precompile_15 = ::vl::Ptr<::vl::presentation::controls::list::DataColumn>(new ::vl::presentation::controls::list::DataColumn()));
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateMenuStyle();
(this->__vwsn_precompile_16 = new ::vl::presentation::controls::GuiToolstripMenu(__vwsn_controlStyle_, static_cast<::vl::presentation::controls::GuiControl*>(nullptr)));
}
(this->dateFilter = new ::demo::DateFilter());
(this->__vwsn_precompile_17 = ::vl::__vwsn::This(this->dateFilter)->GetBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_17)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_16)->GetToolstripItems()).Obj())->Add(::vl::__vwsn::Box(this->dateFilter));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_15.Obj())->SetPopup(static_cast<::vl::presentation::controls::GuiMenu*>(this->__vwsn_precompile_16));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_15.Obj())->SetSorter(::vl::Ptr<::vl::presentation::controls::list::IDataSorter>(new ::vl_workflow_global::__vwsnc4_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance___vl_presentation_controls_list_IDataSorter(this)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_15.Obj())->SetEditorFactory(::vl::Ptr<::vl::presentation::controls::list::IDataEditorFactory>(::vl::Ptr<::vl::presentation::controls::list::DataEditorFactory>(new ::vl::presentation::controls::list::DataEditorFactory(LAMBDA(::vl_workflow_global::__vwsnf20_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__(this))))));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_15.Obj())->SetValueProperty(LAMBDA(::vl_workflow_global::__vwsnf21_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__(this)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_15.Obj())->SetSize(::vl::__vwsn::Parse<::vl::vint32_t>(::vl::WString(L"80", false)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_15.Obj())->SetTextProperty(LAMBDA(::vl_workflow_global::__vwsnf22_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__(this)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_15.Obj())->SetText(::vl::WString(L"Birthday", false));
}
{
auto __vwsn_collection_ = ::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->dataGrid)->GetColumns());
::vl::__vwsn::This(__vwsn_collection_.Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_15));
}
(this->__vwsn_precompile_18 = ::vl::Ptr<::vl::presentation::controls::list::DataColumn>(new ::vl::presentation::controls::list::DataColumn()));
{
::vl::__vwsn::This(this->__vwsn_precompile_18.Obj())->SetVisualizerFactory(::vl::Ptr<::vl::presentation::controls::list::IDataVisualizerFactory>(::vl::Ptr<::vl::presentation::controls::list::DataVisualizerFactory>(new ::vl::presentation::controls::list::DataVisualizerFactory(LAMBDA(::vl_workflow_global::__vwsnf23_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__(this)), ::vl::Ptr<::vl::presentation::controls::list::DataVisualizerFactory>(new ::vl::presentation::controls::list::DataVisualizerFactory(LAMBDA(::vl_workflow_global::__vwsnf24_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__(this)), ::vl::Ptr<::vl::presentation::controls::list::DataVisualizerFactory>()))))));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_18.Obj())->SetSorter(::vl::Ptr<::vl::presentation::controls::list::IDataSorter>(new ::vl_workflow_global::__vwsnc5_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance___vl_presentation_controls_list_IDataSorter(this)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_18.Obj())->SetEditorFactory(::vl::Ptr<::vl::presentation::controls::list::IDataEditorFactory>(::vl::Ptr<::vl::presentation::controls::list::DataEditorFactory>(new ::vl::presentation::controls::list::DataEditorFactory(LAMBDA(::vl_workflow_global::__vwsnf26_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__(this))))));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_18.Obj())->SetValueProperty(LAMBDA(::vl_workflow_global::__vwsnf27_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__(this)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_18.Obj())->SetSize(::vl::__vwsn::Parse<::vl::vint32_t>(::vl::WString(L"160", false)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_18.Obj())->SetTextProperty(LAMBDA(::vl_workflow_global::__vwsnf28_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__(this)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_18.Obj())->SetText(::vl::WString(L"Website", false));
}
{
auto __vwsn_collection_ = ::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->dataGrid)->GetColumns());
::vl::__vwsn::This(__vwsn_collection_.Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_18));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_11)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(::vl::__vwsn::This(this->dataGrid)->GetBoundsComposition()));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_11));
}
{
::vl::__vwsn::This(::vl::__vwsn::This(this->self)->GetContainerComposition())->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_0));
}
{
auto __vwsn_event_handler_ = LAMBDA(::vl_workflow_global::__vwsnf29_Demo_demo_DataGridTabPageConstructor___vwsn_initialize_instance__(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(this->comboView)->SelectedIndexChanged, __vwsn_event_handler_);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_15.Obj())->SetFilter(::vl::__vwsn::This(this->dateFilter)->GetFilter());
}
}
DataGridTabPageConstructor::DataGridTabPageConstructor()
{
}
/***********************************************************************
Class (::demo::DataGridTabPage)
***********************************************************************/
DataGridTabPage::DataGridTabPage()
: ::vl::presentation::controls::GuiTabPage(::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateCustomControlStyle())
{
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"demo::DataGridTabPage", 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_initialize_instance_(this);
this->__vwsn_instance_ctor_();
}
void DataGridTabPage::__vwsn_instance_ctor_()
{
auto tempData = (::vl::__vwsn::CreateObservableList().Add(::vl::Ptr<::demo::MyDataItem>(new ::demo::MyDataItem(::vl::WString(L"涼宮 春日", false), ::demo::MyGender::Female, ::demo::MyCategory::Lime, ::vl::__vwsn::Parse<::vl::DateTime>(::vl::WString(L"1988-08-08 00:00:00.000", false)), ::vl::WString(L"http://www.haruhi.tv/", false)))).Add(::vl::Ptr<::demo::MyDataItem>(new ::demo::MyDataItem(::vl::WString(L"キョン", false), ::demo::MyGender::Male, ::demo::MyCategory::Black, ::vl::__vwsn::Parse<::vl::DateTime>(::vl::WString(L"1988-08-08 00:00:00.000", false)), ::vl::WString(L"http://www.haruhi.tv/", false)))).Add(::vl::Ptr<::demo::MyDataItem>(new ::demo::MyDataItem(::vl::WString(L"长门 有希", false), ::demo::MyGender::Female, ::demo::MyCategory::White, ::vl::__vwsn::Parse<::vl::DateTime>(::vl::WString(L"2000-08-06 00:00:00.000", false)), ::vl::WString(L"http://www.haruhi.tv/", false)))).Add(::vl::Ptr<::demo::MyDataItem>(new ::demo::MyDataItem(::vl::WString(L"朝比奈 实玖瑠", false), ::demo::MyGender::Female, ::demo::MyCategory::Red, ::vl::__vwsn::Parse<::vl::DateTime>(::vl::WString(L"1987-08-30 00:00:00.000", false)), ::vl::WString(L"http://www.haruhi.tv/", false)))).Add(::vl::Ptr<::demo::MyDataItem>(new ::demo::MyDataItem(::vl::WString(L"古泉 一树", false), ::demo::MyGender::Male, ::demo::MyCategory::Blue, ::vl::__vwsn::Parse<::vl::DateTime>(::vl::WString(L"1986-08-12 00:00:00.000", false)), ::vl::WString(L"http://www.haruhi.tv/", false))))).list;
auto largeImage = ::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(this->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"LargeImages/Task", false), true).Obj()));
auto smallImage = ::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(this->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"SmallImages/Task", false), true).Obj()));
{
auto __vwsn_for_enumerable_item = ::vl::Ptr<::vl::reflection::description::IValueEnumerable>(tempData);
auto __vwsn_for_enumerator_item = ::vl::__vwsn::This(__vwsn_for_enumerable_item.Obj())->CreateEnumerator();
while (::vl::__vwsn::This(__vwsn_for_enumerator_item.Obj())->Next())
{
auto item = ::vl::__vwsn::Unbox<::vl::Ptr<::demo::MyDataItem>>(::vl::__vwsn::This(__vwsn_for_enumerator_item.Obj())->GetCurrent());
{
::vl::__vwsn::This(item.Obj())->SetLargeImage(largeImage);
::vl::__vwsn::This(item.Obj())->SetSmallImage(smallImage);
}
}
}
::vl::__vwsn::This(this->dataGrid)->SetItemSource(::vl::Ptr<::vl::reflection::description::IValueEnumerable>(tempData));
}
DataGridTabPage::~DataGridTabPage()
{
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::controls::GuiCustomControl*>(this));
}
/***********************************************************************
Class (::demo::DocumentTabPageConstructor)
***********************************************************************/
void DocumentTabPageConstructor::__vwsn_initialize_instance_(::demo::DocumentTabPage* __vwsn_this_)
{
(this->self = __vwsn_this_);
{
::vl::__vwsn::This(this->self)->SetText(::vl::WString(L"Document Editor", false));
}
(this->dialogMessage = new ::vl::presentation::controls::GuiMessageDialog());
{
::vl::__vwsn::This(this->dialogMessage)->SetTitle(::vl::WString(L"You Clicked a Hyperlink!", false));
}
{
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->dialogMessage));
}
(this->dialogOpen = new ::vl::presentation::controls::GuiOpenFileDialog());
{
::vl::__vwsn::This(this->dialogOpen)->SetOptions((::vl::presentation::INativeDialogService::FileDialogOptions::FileDialogFileMustExist | ::vl::presentation::INativeDialogService::FileDialogOptions::FileDialogDereferenceLinks));
}
{
::vl::__vwsn::This(this->dialogOpen)->SetEnabledPreview(::vl::__vwsn::Parse<bool>(::vl::WString(L"true", false)));
}
{
::vl::__vwsn::This(this->dialogOpen)->SetTitle(::vl::WString(L"Select an Image", false));
}
{
::vl::__vwsn::This(this->dialogOpen)->SetFilter(::vl::WString(L"Image Files (*.jpg;*.png;*.bmp)|*.jpg;*.png;*.bmp", false));
}
{
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->dialogOpen));
}
(this->__vwsn_precompile_0 = new ::vl::presentation::compositions::GuiTableComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetRowsAndColumns(static_cast<::vl::vint32_t>(3), static_cast<::vl::vint32_t>(1));
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetRowOption(static_cast<::vl::vint32_t>(0), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::MinSize; return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetRowOption(static_cast<::vl::vint32_t>(1), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::MinSize; return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetRowOption(static_cast<::vl::vint32_t>(2), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(1.0); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetColumnOption(static_cast<::vl::vint32_t>(0), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(1.0); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_1 = new ::vl::presentation::compositions::GuiCellComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetSite(static_cast<::vl::vint32_t>(0), static_cast<::vl::vint32_t>(0), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateMenuBarStyle();
(this->__vwsn_precompile_2 = new ::vl::presentation::controls::GuiToolstripMenuBar(__vwsn_controlStyle_));
}
(this->__vwsn_precompile_31 = ::vl::__vwsn::This(this->__vwsn_precompile_2)->GetBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_31)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateMenuBarButtonStyle();
(this->__vwsn_precompile_3 = new ::vl::presentation::controls::GuiToolstripButton(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_3)->SetAlt(::vl::WString(L"E", false));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_3)->SetText(::vl::WString(L"Edit", false));
}
(this->__vwsn_precompile_4 = ::vl::__vwsn::This(this->__vwsn_precompile_3)->EnsureToolstripSubMenu());
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateMenuItemButtonStyle();
(this->__vwsn_precompile_5 = new ::vl::presentation::controls::GuiToolstripButton(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_5)->SetAlt(::vl::WString(L"U", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_4)->GetToolstripItems()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_5));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateMenuItemButtonStyle();
(this->__vwsn_precompile_6 = new ::vl::presentation::controls::GuiToolstripButton(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_6)->SetAlt(::vl::WString(L"R", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_4)->GetToolstripItems()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_6));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateMenuSplitterStyle();
(this->__vwsn_precompile_7 = new ::vl::presentation::controls::GuiControl(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_4)->GetToolstripItems()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_7));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateMenuItemButtonStyle();
(this->__vwsn_precompile_8 = new ::vl::presentation::controls::GuiToolstripButton(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_8)->SetAlt(::vl::WString(L"C", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_4)->GetToolstripItems()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_8));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateMenuItemButtonStyle();
(this->__vwsn_precompile_9 = new ::vl::presentation::controls::GuiToolstripButton(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_9)->SetAlt(::vl::WString(L"X", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_4)->GetToolstripItems()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_9));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateMenuItemButtonStyle();
(this->__vwsn_precompile_10 = new ::vl::presentation::controls::GuiToolstripButton(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_10)->SetAlt(::vl::WString(L"P", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_4)->GetToolstripItems()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_10));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateMenuSplitterStyle();
(this->__vwsn_precompile_11 = new ::vl::presentation::controls::GuiControl(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_4)->GetToolstripItems()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_11));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateMenuItemButtonStyle();
(this->__vwsn_precompile_12 = new ::vl::presentation::controls::GuiToolstripButton(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_12)->SetAlt(::vl::WString(L"D", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_4)->GetToolstripItems()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_12));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateMenuSplitterStyle();
(this->__vwsn_precompile_13 = new ::vl::presentation::controls::GuiControl(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_4)->GetToolstripItems()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_13));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateMenuItemButtonStyle();
(this->__vwsn_precompile_14 = new ::vl::presentation::controls::GuiToolstripButton(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_14)->SetAlt(::vl::WString(L"A", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_4)->GetToolstripItems()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_14));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateMenuItemButtonStyle();
(this->__vwsn_precompile_15 = new ::vl::presentation::controls::GuiToolstripButton(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_15)->SetAlt(::vl::WString(L"O", false));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_15)->SetText(::vl::WString(L"Object", false));
}
(this->__vwsn_precompile_16 = ::vl::__vwsn::This(this->__vwsn_precompile_15)->EnsureToolstripSubMenu());
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateMenuItemButtonStyle();
(this->__vwsn_precompile_17 = new ::vl::presentation::controls::GuiToolstripButton(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_17)->SetAlt(::vl::WString(L"I", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_16)->GetToolstripItems()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_17));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateMenuItemButtonStyle();
(this->__vwsn_precompile_18 = new ::vl::presentation::controls::GuiToolstripButton(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_18)->SetAlt(::vl::WString(L"L", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_16)->GetToolstripItems()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_18));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateMenuItemButtonStyle();
(this->__vwsn_precompile_19 = new ::vl::presentation::controls::GuiToolstripButton(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_19)->SetAlt(::vl::WString(L"R", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_16)->GetToolstripItems()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_19));
}
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_4)->GetToolstripItems()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_15));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateMenuItemButtonStyle();
(this->__vwsn_precompile_20 = new ::vl::presentation::controls::GuiToolstripButton(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_20)->SetAlt(::vl::WString(L"P", false));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_20)->SetText(::vl::WString(L"Paragram Alignment", false));
}
(this->__vwsn_precompile_21 = ::vl::__vwsn::This(this->__vwsn_precompile_20)->EnsureToolstripSubMenu());
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateMenuItemButtonStyle();
(this->__vwsn_precompile_22 = new ::vl::presentation::controls::GuiToolstripButton(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_22)->SetAlt(::vl::WString(L"D", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_21)->GetToolstripItems()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_22));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateMenuItemButtonStyle();
(this->__vwsn_precompile_23 = new ::vl::presentation::controls::GuiToolstripButton(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_23)->SetAlt(::vl::WString(L"L", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_21)->GetToolstripItems()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_23));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateMenuItemButtonStyle();
(this->__vwsn_precompile_24 = new ::vl::presentation::controls::GuiToolstripButton(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_24)->SetAlt(::vl::WString(L"C", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_21)->GetToolstripItems()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_24));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateMenuItemButtonStyle();
(this->__vwsn_precompile_25 = new ::vl::presentation::controls::GuiToolstripButton(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_25)->SetAlt(::vl::WString(L"R", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_21)->GetToolstripItems()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_25));
}
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_4)->GetToolstripItems()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_20));
}
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_2)->GetToolstripItems()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_3));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateMenuBarButtonStyle();
(this->__vwsn_precompile_26 = new ::vl::presentation::controls::GuiToolstripButton(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_26)->SetAlt(::vl::WString(L"V", false));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_26)->SetText(::vl::WString(L"View", false));
}
(this->__vwsn_precompile_27 = ::vl::__vwsn::This(this->__vwsn_precompile_26)->EnsureToolstripSubMenu());
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateMenuItemButtonStyle();
(this->__vwsn_precompile_28 = new ::vl::presentation::controls::GuiToolstripButton(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_28)->SetAlt(::vl::WString(L"V", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_27)->GetToolstripItems()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_28));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateMenuItemButtonStyle();
(this->__vwsn_precompile_29 = new ::vl::presentation::controls::GuiToolstripButton(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_29)->SetAlt(::vl::WString(L"S", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_27)->GetToolstripItems()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_29));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateMenuItemButtonStyle();
(this->__vwsn_precompile_30 = new ::vl::presentation::controls::GuiToolstripButton(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_30)->SetAlt(::vl::WString(L"E", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_27)->GetToolstripItems()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_30));
}
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_2)->GetToolstripItems()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_26));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(::vl::__vwsn::This(this->__vwsn_precompile_2)->GetBoundsComposition()));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_1));
}
(this->__vwsn_precompile_32 = new ::vl::presentation::compositions::GuiCellComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_32)->SetSite(static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(0), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateToolBarStyle();
(this->__vwsn_precompile_33 = new ::vl::presentation::controls::GuiToolstripToolBar(__vwsn_controlStyle_));
}
(this->__vwsn_precompile_65 = ::vl::__vwsn::This(this->__vwsn_precompile_33)->GetBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_65)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateToolBarDropdownButtonStyle();
(this->buttonView = new ::vl::presentation::controls::GuiToolstripButton(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(this->buttonView)->SetAlt(::vl::WString(L"V", false));
}
(this->__vwsn_precompile_34 = ::vl::__vwsn::This(this->buttonView)->EnsureToolstripSubMenu());
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateMenuItemButtonStyle();
(this->__vwsn_precompile_35 = new ::vl::presentation::controls::GuiToolstripButton(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_35)->SetAlt(::vl::WString(L"V", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_34)->GetToolstripItems()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_35));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateMenuItemButtonStyle();
(this->__vwsn_precompile_36 = new ::vl::presentation::controls::GuiToolstripButton(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_36)->SetAlt(::vl::WString(L"S", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_34)->GetToolstripItems()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_36));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateMenuItemButtonStyle();
(this->__vwsn_precompile_37 = new ::vl::presentation::controls::GuiToolstripButton(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_37)->SetAlt(::vl::WString(L"E", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_34)->GetToolstripItems()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_37));
}
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_33)->GetToolstripItems()).Obj())->Add(::vl::__vwsn::Box(this->buttonView));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateToolBarDropdownButtonStyle();
(this->buttonAlignment = new ::vl::presentation::controls::GuiToolstripButton(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(this->buttonAlignment)->SetAlt(::vl::WString(L"P", false));
}
(this->__vwsn_precompile_38 = ::vl::__vwsn::This(this->buttonAlignment)->EnsureToolstripSubMenu());
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateMenuItemButtonStyle();
(this->__vwsn_precompile_39 = new ::vl::presentation::controls::GuiToolstripButton(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_39)->SetAlt(::vl::WString(L"D", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_38)->GetToolstripItems()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_39));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateMenuItemButtonStyle();
(this->__vwsn_precompile_40 = new ::vl::presentation::controls::GuiToolstripButton(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_40)->SetAlt(::vl::WString(L"L", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_38)->GetToolstripItems()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_40));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateMenuItemButtonStyle();
(this->__vwsn_precompile_41 = new ::vl::presentation::controls::GuiToolstripButton(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_41)->SetAlt(::vl::WString(L"C", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_38)->GetToolstripItems()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_41));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateMenuItemButtonStyle();
(this->__vwsn_precompile_42 = new ::vl::presentation::controls::GuiToolstripButton(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_42)->SetAlt(::vl::WString(L"R", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_38)->GetToolstripItems()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_42));
}
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_33)->GetToolstripItems()).Obj())->Add(::vl::__vwsn::Box(this->buttonAlignment));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateToolBarSplitterStyle();
(this->__vwsn_precompile_43 = new ::vl::presentation::controls::GuiControl(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_33)->GetToolstripItems()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_43));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateToolBarButtonStyle();
(this->__vwsn_precompile_44 = new ::vl::presentation::controls::GuiToolstripButton(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_44)->SetAlt(::vl::WString(L"U", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_33)->GetToolstripItems()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_44));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateToolBarButtonStyle();
(this->__vwsn_precompile_45 = new ::vl::presentation::controls::GuiToolstripButton(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_45)->SetAlt(::vl::WString(L"R", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_33)->GetToolstripItems()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_45));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateToolBarSplitterStyle();
(this->__vwsn_precompile_46 = new ::vl::presentation::controls::GuiControl(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_33)->GetToolstripItems()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_46));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateToolBarButtonStyle();
(this->__vwsn_precompile_47 = new ::vl::presentation::controls::GuiToolstripButton(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_47)->SetAlt(::vl::WString(L"C", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_33)->GetToolstripItems()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_47));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateToolBarButtonStyle();
(this->__vwsn_precompile_48 = new ::vl::presentation::controls::GuiToolstripButton(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_48)->SetAlt(::vl::WString(L"X", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_33)->GetToolstripItems()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_48));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateToolBarButtonStyle();
(this->__vwsn_precompile_49 = new ::vl::presentation::controls::GuiToolstripButton(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_49)->SetAlt(::vl::WString(L"P", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_33)->GetToolstripItems()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_49));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateToolBarSplitterStyle();
(this->__vwsn_precompile_50 = new ::vl::presentation::controls::GuiControl(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_33)->GetToolstripItems()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_50));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateToolBarButtonStyle();
(this->__vwsn_precompile_51 = new ::vl::presentation::controls::GuiToolstripButton(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_51)->SetAlt(::vl::WString(L"D", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_33)->GetToolstripItems()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_51));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateToolBarSplitterStyle();
(this->__vwsn_precompile_52 = new ::vl::presentation::controls::GuiControl(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_33)->GetToolstripItems()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_52));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateToolBarSplitButtonStyle();
(this->__vwsn_precompile_53 = new ::vl::presentation::controls::GuiToolstripButton(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_53)->SetAlt(::vl::WString(L"I", false));
}
(this->__vwsn_precompile_54 = ::vl::__vwsn::This(this->__vwsn_precompile_53)->EnsureToolstripSubMenu());
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateMenuItemButtonStyle();
(this->__vwsn_precompile_55 = new ::vl::presentation::controls::GuiToolstripButton(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_55)->SetAlt(::vl::WString(L"I", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_54)->GetToolstripItems()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_55));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateMenuItemButtonStyle();
(this->__vwsn_precompile_56 = new ::vl::presentation::controls::GuiToolstripButton(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_56)->SetAlt(::vl::WString(L"L", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_54)->GetToolstripItems()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_56));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateMenuItemButtonStyle();
(this->__vwsn_precompile_57 = new ::vl::presentation::controls::GuiToolstripButton(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_57)->SetAlt(::vl::WString(L"R", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_54)->GetToolstripItems()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_57));
}
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_33)->GetToolstripItems()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_53));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateToolBarButtonStyle();
(this->__vwsn_precompile_58 = new ::vl::presentation::controls::GuiToolstripButton(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_58)->SetAlt(::vl::WString(L"B", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_33)->GetToolstripItems()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_58));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateToolBarButtonStyle();
(this->__vwsn_precompile_59 = new ::vl::presentation::controls::GuiToolstripButton(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_59)->SetAlt(::vl::WString(L"I", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_33)->GetToolstripItems()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_59));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateToolBarButtonStyle();
(this->__vwsn_precompile_60 = new ::vl::presentation::controls::GuiToolstripButton(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_60)->SetAlt(::vl::WString(L"U", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_33)->GetToolstripItems()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_60));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateToolBarButtonStyle();
(this->__vwsn_precompile_61 = new ::vl::presentation::controls::GuiToolstripButton(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_61)->SetAlt(::vl::WString(L"S", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_33)->GetToolstripItems()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_61));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateToolBarButtonStyle();
(this->__vwsn_precompile_62 = new ::vl::presentation::controls::GuiToolstripButton(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_62)->SetAlt(::vl::WString(L"F", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_33)->GetToolstripItems()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_62));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateToolBarButtonStyle();
(this->__vwsn_precompile_63 = new ::vl::presentation::controls::GuiToolstripButton(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_63)->SetAlt(::vl::WString(L"C", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_33)->GetToolstripItems()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_63));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateToolBarButtonStyle();
(this->__vwsn_precompile_64 = new ::vl::presentation::controls::GuiToolstripButton(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_64)->SetAlt(::vl::WString(L"K", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_33)->GetToolstripItems()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_64));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_32)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(::vl::__vwsn::This(this->__vwsn_precompile_33)->GetBoundsComposition()));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_32));
}
(this->__vwsn_precompile_66 = new ::vl::presentation::compositions::GuiCellComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_66)->SetSite(static_cast<::vl::vint32_t>(2), static_cast<::vl::vint32_t>(0), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateDocumentViewerStyle();
(this->document = new ::vl::presentation::controls::GuiDocumentViewer(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(this->document)->SetEditMode(::vl::presentation::controls::GuiDocumentCommonInterface::EditMode::Editable);
}
(this->__vwsn_precompile_67 = ::vl::__vwsn::This(this->document)->GetBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_67)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_66)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(::vl::__vwsn::This(this->document)->GetBoundsComposition()));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_66));
}
{
::vl::__vwsn::This(::vl::__vwsn::This(this->self)->GetContainerComposition())->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_0));
}
(this->commandUndo = new ::vl::presentation::controls::GuiToolstripCommand());
{
::vl::__vwsn::This(this->commandUndo)->SetShortcutBuilder(::vl::WString(L"Ctrl+Z", false));
}
{
::vl::__vwsn::This(this->commandUndo)->SetText(::vl::WString(L"Undo", false));
}
{
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandUndo));
}
(this->commandRedo = new ::vl::presentation::controls::GuiToolstripCommand());
{
::vl::__vwsn::This(this->commandRedo)->SetShortcutBuilder(::vl::WString(L"Ctrl+Y", false));
}
{
::vl::__vwsn::This(this->commandRedo)->SetText(::vl::WString(L"Redo", false));
}
{
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandRedo));
}
(this->commandCopy = new ::vl::presentation::controls::GuiToolstripCommand());
{
::vl::__vwsn::This(this->commandCopy)->SetShortcutBuilder(::vl::WString(L"Ctrl+C", false));
}
{
::vl::__vwsn::This(this->commandCopy)->SetText(::vl::WString(L"Copy", false));
}
{
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandCopy));
}
(this->commandCut = new ::vl::presentation::controls::GuiToolstripCommand());
{
::vl::__vwsn::This(this->commandCut)->SetShortcutBuilder(::vl::WString(L"Ctrl+X", false));
}
{
::vl::__vwsn::This(this->commandCut)->SetText(::vl::WString(L"Cut", false));
}
{
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandCut));
}
(this->commandPaste = new ::vl::presentation::controls::GuiToolstripCommand());
{
::vl::__vwsn::This(this->commandPaste)->SetShortcutBuilder(::vl::WString(L"Ctrl+V", false));
}
{
::vl::__vwsn::This(this->commandPaste)->SetText(::vl::WString(L"Paste", false));
}
{
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandPaste));
}
(this->commandDelete = new ::vl::presentation::controls::GuiToolstripCommand());
{
::vl::__vwsn::This(this->commandDelete)->SetText(::vl::WString(L"Delete", false));
}
{
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandDelete));
}
(this->commandSelect = new ::vl::presentation::controls::GuiToolstripCommand());
{
::vl::__vwsn::This(this->commandSelect)->SetShortcutBuilder(::vl::WString(L"Ctrl+A", false));
}
{
::vl::__vwsn::This(this->commandSelect)->SetText(::vl::WString(L"Select All", false));
}
{
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandSelect));
}
(this->commandInsertImage = new ::vl::presentation::controls::GuiToolstripCommand());
{
::vl::__vwsn::This(this->commandInsertImage)->SetText(::vl::WString(L"Insert Image ...", false));
}
{
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandInsertImage));
}
(this->commandEditHyperlink = new ::vl::presentation::controls::GuiToolstripCommand());
{
::vl::__vwsn::This(this->commandEditHyperlink)->SetText(::vl::WString(L"Edit Hyperlink ...", false));
}
{
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandEditHyperlink));
}
(this->commandRemoveHyperlink = new ::vl::presentation::controls::GuiToolstripCommand());
{
::vl::__vwsn::This(this->commandRemoveHyperlink)->SetText(::vl::WString(L"Remove Hyperlink", false));
}
{
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandRemoveHyperlink));
}
(this->commandBold = new ::vl::presentation::controls::GuiToolstripCommand());
{
::vl::__vwsn::This(this->commandBold)->SetText(::vl::WString(L"Bold", false));
}
{
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandBold));
}
(this->commandItalic = new ::vl::presentation::controls::GuiToolstripCommand());
{
::vl::__vwsn::This(this->commandItalic)->SetText(::vl::WString(L"Italic", false));
}
{
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandItalic));
}
(this->commandUnderline = new ::vl::presentation::controls::GuiToolstripCommand());
{
::vl::__vwsn::This(this->commandUnderline)->SetText(::vl::WString(L"Underline", false));
}
{
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandUnderline));
}
(this->commandStrike = new ::vl::presentation::controls::GuiToolstripCommand());
{
::vl::__vwsn::This(this->commandStrike)->SetText(::vl::WString(L"Strike", false));
}
{
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandStrike));
}
(this->dialogColor = new ::vl::presentation::controls::GuiColorDialog());
{
::vl::__vwsn::This(this->dialogColor)->SetEnabledCustomColor(::vl::__vwsn::Parse<bool>(::vl::WString(L"false", false)));
}
{
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->dialogColor));
}
(this->dialogFont = new ::vl::presentation::controls::GuiFontDialog());
{
::vl::__vwsn::This(this->dialogFont)->SetForceFontExist(::vl::__vwsn::Parse<bool>(::vl::WString(L"true", false)));
}
{
::vl::__vwsn::This(this->dialogFont)->SetShowSelection(::vl::__vwsn::Parse<bool>(::vl::WString(L"true", false)));
}
{
::vl::__vwsn::This(this->dialogFont)->SetShowEffect(::vl::__vwsn::Parse<bool>(::vl::WString(L"false", false)));
}
{
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->dialogFont));
}
(this->commandFont = new ::vl::presentation::controls::GuiToolstripCommand());
{
::vl::__vwsn::This(this->commandFont)->SetText(::vl::WString(L"Set Font ...", false));
}
{
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandFont));
}
(this->commandColor = new ::vl::presentation::controls::GuiToolstripCommand());
{
::vl::__vwsn::This(this->commandColor)->SetText(::vl::WString(L"Text Color ...", false));
}
{
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandColor));
}
(this->commandBackColor = new ::vl::presentation::controls::GuiToolstripCommand());
{
::vl::__vwsn::This(this->commandBackColor)->SetText(::vl::WString(L"Background Color ...", false));
}
{
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandBackColor));
}
(this->commandViewOnly = new ::vl::presentation::controls::GuiToolstripCommand());
{
::vl::__vwsn::This(this->commandViewOnly)->SetText(::vl::WString(L"Preview", false));
}
{
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandViewOnly));
}
(this->commandSelectable = new ::vl::presentation::controls::GuiToolstripCommand());
{
::vl::__vwsn::This(this->commandSelectable)->SetText(::vl::WString(L"Selectable", false));
}
{
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandSelectable));
}
(this->commandEditable = new ::vl::presentation::controls::GuiToolstripCommand());
{
::vl::__vwsn::This(this->commandEditable)->SetText(::vl::WString(L"Editable", false));
}
{
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandEditable));
}
(this->commandAlignDefault = new ::vl::presentation::controls::GuiToolstripCommand());
{
::vl::__vwsn::This(this->commandAlignDefault)->SetText(::vl::WString(L"Set Alignment to Default (Left)", false));
}
{
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandAlignDefault));
}
(this->commandAlignLeft = new ::vl::presentation::controls::GuiToolstripCommand());
{
::vl::__vwsn::This(this->commandAlignLeft)->SetText(::vl::WString(L"Set Alignment to Left", false));
}
{
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandAlignLeft));
}
(this->commandAlignCenter = new ::vl::presentation::controls::GuiToolstripCommand());
{
::vl::__vwsn::This(this->commandAlignCenter)->SetText(::vl::WString(L"Set Alignment to Center", false));
}
{
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandAlignCenter));
}
(this->commandAlignRight = new ::vl::presentation::controls::GuiToolstripCommand());
{
::vl::__vwsn::This(this->commandAlignRight)->SetText(::vl::WString(L"Set Alignment to Right", false));
}
{
::vl::__vwsn::This(this->self)->AddComponent(static_cast<::vl::presentation::controls::GuiComponent*>(this->commandAlignRight));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_5)->SetCommand(this->commandUndo);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_6)->SetCommand(this->commandRedo);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_8)->SetCommand(this->commandCopy);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_9)->SetCommand(this->commandCut);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_10)->SetCommand(this->commandPaste);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_12)->SetCommand(this->commandDelete);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_14)->SetCommand(this->commandSelect);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_17)->SetCommand(this->commandInsertImage);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_18)->SetCommand(this->commandEditHyperlink);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_19)->SetCommand(this->commandRemoveHyperlink);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_22)->SetCommand(this->commandAlignDefault);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_23)->SetCommand(this->commandAlignLeft);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_24)->SetCommand(this->commandAlignCenter);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_25)->SetCommand(this->commandAlignRight);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_28)->SetCommand(this->commandViewOnly);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_29)->SetCommand(this->commandSelectable);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_30)->SetCommand(this->commandEditable);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_35)->SetCommand(this->commandViewOnly);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_36)->SetCommand(this->commandSelectable);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_37)->SetCommand(this->commandEditable);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_39)->SetCommand(this->commandAlignDefault);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_40)->SetCommand(this->commandAlignLeft);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_41)->SetCommand(this->commandAlignCenter);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_42)->SetCommand(this->commandAlignRight);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc6_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf30_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_44)->SetCommand(this->commandUndo);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_45)->SetCommand(this->commandRedo);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_47)->SetCommand(this->commandCopy);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_48)->SetCommand(this->commandCut);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_49)->SetCommand(this->commandPaste);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_51)->SetCommand(this->commandDelete);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_55)->SetCommand(this->commandInsertImage);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_56)->SetCommand(this->commandEditHyperlink);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_57)->SetCommand(this->commandRemoveHyperlink);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_53)->SetCommand(this->commandInsertImage);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_58)->SetCommand(this->commandBold);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_59)->SetCommand(this->commandItalic);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_60)->SetCommand(this->commandUnderline);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_61)->SetCommand(this->commandStrike);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_62)->SetCommand(this->commandFont);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_63)->SetCommand(this->commandColor);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_64)->SetCommand(this->commandBackColor);
}
{
auto __vwsn_event_handler_ = LAMBDA(::vl_workflow_global::__vwsnf31_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(this->document)->ActiveHyperlinkExecuted, __vwsn_event_handler_);
}
{
::vl::__vwsn::This(this->commandUndo)->SetImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(__vwsn_this_)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"ToolbarImages/Undo", false), true).Obj())));
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc7_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf32_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_event_handler_ = LAMBDA(::vl_workflow_global::__vwsnf33_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(this->commandUndo)->Executed, __vwsn_event_handler_);
}
{
::vl::__vwsn::This(this->commandRedo)->SetImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(__vwsn_this_)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"ToolbarImages/Redo", false), true).Obj())));
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc8_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf34_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_event_handler_ = LAMBDA(::vl_workflow_global::__vwsnf35_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(this->commandRedo)->Executed, __vwsn_event_handler_);
}
{
::vl::__vwsn::This(this->commandCopy)->SetImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(__vwsn_this_)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"ToolbarImages/Copy", false), true).Obj())));
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc9_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf36_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_event_handler_ = LAMBDA(::vl_workflow_global::__vwsnf37_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(this->commandCopy)->Executed, __vwsn_event_handler_);
}
{
::vl::__vwsn::This(this->commandCut)->SetImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(__vwsn_this_)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"ToolbarImages/Cut", false), true).Obj())));
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc10_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf38_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_event_handler_ = LAMBDA(::vl_workflow_global::__vwsnf39_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(this->commandCut)->Executed, __vwsn_event_handler_);
}
{
::vl::__vwsn::This(this->commandPaste)->SetImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(__vwsn_this_)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"ToolbarImages/Paste", false), true).Obj())));
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc11_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf40_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_event_handler_ = LAMBDA(::vl_workflow_global::__vwsnf41_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(this->commandPaste)->Executed, __vwsn_event_handler_);
}
{
::vl::__vwsn::This(this->commandDelete)->SetImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(__vwsn_this_)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"ToolbarImages/Delete", false), true).Obj())));
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc12_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf42_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_event_handler_ = LAMBDA(::vl_workflow_global::__vwsnf43_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(this->commandDelete)->Executed, __vwsn_event_handler_);
}
{
auto __vwsn_event_handler_ = LAMBDA(::vl_workflow_global::__vwsnf44_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(this->commandSelect)->Executed, __vwsn_event_handler_);
}
{
::vl::__vwsn::This(this->commandInsertImage)->SetImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(__vwsn_this_)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"ToolbarImages/Image", false), true).Obj())));
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc13_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf45_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_event_handler_ = LAMBDA(::vl_workflow_global::__vwsnf46_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(this->commandInsertImage)->Executed, __vwsn_event_handler_);
}
{
::vl::__vwsn::This(this->commandEditHyperlink)->SetImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(__vwsn_this_)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"ToolbarImages/Link", false), true).Obj())));
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc14_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf47_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_event_handler_ = LAMBDA(::vl_workflow_global::__vwsnf48_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(this->commandEditHyperlink)->Executed, __vwsn_event_handler_);
}
{
::vl::__vwsn::This(this->commandRemoveHyperlink)->SetImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(__vwsn_this_)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"ToolbarImages/RemoveLink", false), true).Obj())));
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc16_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf50_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_event_handler_ = LAMBDA(::vl_workflow_global::__vwsnf51_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(this->commandRemoveHyperlink)->Executed, __vwsn_event_handler_);
}
{
::vl::__vwsn::This(this->commandBold)->SetImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(__vwsn_this_)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"ToolbarImages/Bold", false), true).Obj())));
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc17_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf52_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc18_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf53_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_event_handler_ = LAMBDA(::vl_workflow_global::__vwsnf54_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(this->commandBold)->Executed, __vwsn_event_handler_);
}
{
::vl::__vwsn::This(this->commandItalic)->SetImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(__vwsn_this_)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"ToolbarImages/Italic", false), true).Obj())));
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc19_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf55_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc20_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf56_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_event_handler_ = LAMBDA(::vl_workflow_global::__vwsnf57_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(this->commandItalic)->Executed, __vwsn_event_handler_);
}
{
::vl::__vwsn::This(this->commandUnderline)->SetImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(__vwsn_this_)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"ToolbarImages/Underline", false), true).Obj())));
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc21_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf58_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc22_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf59_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_event_handler_ = LAMBDA(::vl_workflow_global::__vwsnf60_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(this->commandUnderline)->Executed, __vwsn_event_handler_);
}
{
::vl::__vwsn::This(this->commandStrike)->SetImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(__vwsn_this_)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"ToolbarImages/Strike", false), true).Obj())));
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc23_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf61_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc24_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf62_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_event_handler_ = LAMBDA(::vl_workflow_global::__vwsnf63_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(this->commandStrike)->Executed, __vwsn_event_handler_);
}
{
::vl::__vwsn::This(this->commandFont)->SetImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(__vwsn_this_)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"ToolbarImages/Font", false), true).Obj())));
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc25_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf64_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_event_handler_ = LAMBDA(::vl_workflow_global::__vwsnf65_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(this->commandFont)->Executed, __vwsn_event_handler_);
}
{
::vl::__vwsn::This(this->commandColor)->SetImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(__vwsn_this_)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"ToolbarImages/Color", false), true).Obj())));
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc26_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf66_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_event_handler_ = LAMBDA(::vl_workflow_global::__vwsnf67_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(this->commandColor)->Executed, __vwsn_event_handler_);
}
{
::vl::__vwsn::This(this->commandBackColor)->SetImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(__vwsn_this_)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"ToolbarImages/BackColor", false), true).Obj())));
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc27_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf68_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_event_handler_ = LAMBDA(::vl_workflow_global::__vwsnf69_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(this->commandBackColor)->Executed, __vwsn_event_handler_);
}
{
::vl::__vwsn::This(this->commandViewOnly)->SetImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(__vwsn_this_)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"ToolbarImages/ViewOnly", false), true).Obj())));
}
{
auto __vwsn_event_handler_ = LAMBDA(::vl_workflow_global::__vwsnf70_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(this->commandViewOnly)->Executed, __vwsn_event_handler_);
}
{
::vl::__vwsn::This(this->commandSelectable)->SetImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(__vwsn_this_)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"ToolbarImages/Selectable", false), true).Obj())));
}
{
auto __vwsn_event_handler_ = LAMBDA(::vl_workflow_global::__vwsnf71_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(this->commandSelectable)->Executed, __vwsn_event_handler_);
}
{
::vl::__vwsn::This(this->commandEditable)->SetImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(__vwsn_this_)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"ToolbarImages/Editable", false), true).Obj())));
}
{
auto __vwsn_event_handler_ = LAMBDA(::vl_workflow_global::__vwsnf72_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(this->commandEditable)->Executed, __vwsn_event_handler_);
}
{
::vl::__vwsn::This(this->commandAlignDefault)->SetImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(__vwsn_this_)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"ToolbarImages/TextAlign", false), true).Obj())));
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc28_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf73_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_event_handler_ = LAMBDA(::vl_workflow_global::__vwsnf74_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(this->commandAlignDefault)->Executed, __vwsn_event_handler_);
}
{
::vl::__vwsn::This(this->commandAlignLeft)->SetImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(__vwsn_this_)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"ToolbarImages/TextAlignLeft", false), true).Obj())));
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc29_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf75_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc30_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf76_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_event_handler_ = LAMBDA(::vl_workflow_global::__vwsnf77_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(this->commandAlignLeft)->Executed, __vwsn_event_handler_);
}
{
::vl::__vwsn::This(this->commandAlignCenter)->SetImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(__vwsn_this_)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"ToolbarImages/TextAlignCenter", false), true).Obj())));
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc31_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf78_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc32_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf79_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_event_handler_ = LAMBDA(::vl_workflow_global::__vwsnf80_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(this->commandAlignCenter)->Executed, __vwsn_event_handler_);
}
{
::vl::__vwsn::This(this->commandAlignRight)->SetImage(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(__vwsn_this_)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"ToolbarImages/TextAlignRight", false), true).Obj())));
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc33_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf81_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc34_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf82_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_event_handler_ = LAMBDA(::vl_workflow_global::__vwsnf83_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(this->commandAlignRight)->Executed, __vwsn_event_handler_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc35_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf84_Demo_demo_DocumentTabPageConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
}
DocumentTabPageConstructor::DocumentTabPageConstructor()
{
}
/***********************************************************************
Class (::demo::DocumentTabPage)
***********************************************************************/
void DocumentTabPage::SetEditMode(::vl::presentation::controls::GuiDocumentCommonInterface::EditMode editMode)
{
auto command = ((editMode == ::vl::presentation::controls::GuiDocumentCommonInterface::EditMode::ViewOnly) ? this->commandViewOnly : ((editMode == ::vl::presentation::controls::GuiDocumentCommonInterface::EditMode::Selectable) ? this->commandSelectable : this->commandEditable));
::vl::__vwsn::This(this->document)->SetEditMode(editMode);
::vl::__vwsn::This(this->commandViewOnly)->SetSelected((command == this->commandViewOnly));
::vl::__vwsn::This(this->commandSelectable)->SetSelected((command == this->commandSelectable));
::vl::__vwsn::This(this->commandEditable)->SetSelected((command == this->commandEditable));
::vl::__vwsn::This(this->buttonView)->SetImage(::vl::__vwsn::This(command)->GetImage());
::vl::__vwsn::This(this->self)->UpdateSubscriptions();
}
::vl::presentation::controls::GuiToolstripCommand* DocumentTabPage::SelectAlignmentCommand()
{
auto alignment = ::vl::__vwsn::This(this->document)->SummarizeParagraphAlignment(::vl::__vwsn::This(this->document)->GetCaretBegin(), ::vl::__vwsn::This(this->document)->GetCaretEnd());
return ((alignment == ::vl::Nullable<::vl::presentation::Alignment>(::vl::presentation::Alignment::Left)) ? this->commandAlignLeft : ((alignment == ::vl::Nullable<::vl::presentation::Alignment>(::vl::presentation::Alignment::Center)) ? this->commandAlignCenter : ((alignment == ::vl::Nullable<::vl::presentation::Alignment>(::vl::presentation::Alignment::Right)) ? this->commandAlignRight : this->commandAlignDefault)));
}
void DocumentTabPage::SetAlignment(::vl::Nullable<::vl::presentation::Alignment> alignment)
{
::vl::__vwsn::This(this->document)->SetParagraphAlignment(::vl::__vwsn::This(this->document)->GetCaretBegin(), ::vl::__vwsn::This(this->document)->GetCaretEnd(), alignment);
::vl::__vwsn::This(this->self)->UpdateSubscriptions();
}
bool DocumentTabPage::GetHasEditableSelection()
{
return this->__vwsn_prop_HasEditableSelection;
}
void DocumentTabPage::SetHasEditableSelection(bool __vwsn_value_)
{
if ((this->__vwsn_prop_HasEditableSelection != __vwsn_value_))
{
(this->__vwsn_prop_HasEditableSelection = __vwsn_value_);
::vl::__vwsn::EventInvoke(this->HasEditableSelectionChanged)();
}
}
bool DocumentTabPage::GetHasEditableSelectionInSingleParagraph()
{
return this->__vwsn_prop_HasEditableSelectionInSingleParagraph;
}
void DocumentTabPage::SetHasEditableSelectionInSingleParagraph(bool __vwsn_value_)
{
if ((this->__vwsn_prop_HasEditableSelectionInSingleParagraph != __vwsn_value_))
{
(this->__vwsn_prop_HasEditableSelectionInSingleParagraph = __vwsn_value_);
::vl::__vwsn::EventInvoke(this->HasEditableSelectionInSingleParagraphChanged)();
}
}
bool DocumentTabPage::HasEditableCursor()
{
return (::vl::__vwsn::This(this->document)->GetEditMode() == ::vl::presentation::controls::GuiDocumentCommonInterface::EditMode::Editable);
}
bool DocumentTabPage::HasEditableHyperlink(bool forEdit)
{
auto a = ::vl::__vwsn::This(this->document)->GetCaretBegin();
auto b = ::vl::__vwsn::This(this->document)->GetCaretEnd();
return ((a.row == b.row) && (a.column != b.column));
}
DocumentTabPage::DocumentTabPage()
: ::vl::presentation::controls::GuiTabPage(::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateCustomControlStyle())
{
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"demo::DocumentTabPage", 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_initialize_instance_(this);
this->__vwsn_instance_ctor_();
}
void DocumentTabPage::__vwsn_instance_ctor_()
{
this->SetEditMode(::vl::presentation::controls::GuiDocumentCommonInterface::EditMode::Editable);
}
DocumentTabPage::~DocumentTabPage()
{
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::controls::GuiCustomControl*>(this));
}
/***********************************************************************
Class (::demo::ListViewTabPageConstructor)
***********************************************************************/
void ListViewTabPageConstructor::__vwsn_initialize_instance_(::demo::ListViewTabPage* __vwsn_this_)
{
(this->self = __vwsn_this_);
{
::vl::__vwsn::This(this->self)->SetText(::vl::WString(L"ListView", false));
}
(this->__vwsn_precompile_0 = new ::vl::presentation::compositions::GuiTableComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetCellPadding(::vl::__vwsn::Parse<::vl::vint32_t>(::vl::WString(L"5", false)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetRowsAndColumns(static_cast<::vl::vint32_t>(2), static_cast<::vl::vint32_t>(2));
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetRowOption(static_cast<::vl::vint32_t>(0), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::MinSize; return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetRowOption(static_cast<::vl::vint32_t>(1), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(1.0); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetColumnOption(static_cast<::vl::vint32_t>(0), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(0.5); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetColumnOption(static_cast<::vl::vint32_t>(1), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(0.5); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_1 = new ::vl::presentation::compositions::GuiCellComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetSite(static_cast<::vl::vint32_t>(0), static_cast<::vl::vint32_t>(0), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(2));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateTextListStyle();
(this->__vwsn_precompile_2 = new ::vl::presentation::controls::GuiTextList(__vwsn_controlStyle_));
}
(this->__vwsn_precompile_3 = ::vl::Ptr<::vl::presentation::controls::list::TextItem>(new ::vl::presentation::controls::list::TextItem()));
{
::vl::__vwsn::This(this->__vwsn_precompile_3.Obj())->SetText(::vl::WString(L"BigIcon", false));
}
{
auto __vwsn_collection_ = ::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_2)->GetItems());
::vl::__vwsn::This(__vwsn_collection_.Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_3));
}
(this->__vwsn_precompile_4 = ::vl::Ptr<::vl::presentation::controls::list::TextItem>(new ::vl::presentation::controls::list::TextItem()));
{
::vl::__vwsn::This(this->__vwsn_precompile_4.Obj())->SetText(::vl::WString(L"SmallIcon", false));
}
{
auto __vwsn_collection_ = ::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_2)->GetItems());
::vl::__vwsn::This(__vwsn_collection_.Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_4));
}
(this->__vwsn_precompile_5 = ::vl::Ptr<::vl::presentation::controls::list::TextItem>(new ::vl::presentation::controls::list::TextItem()));
{
::vl::__vwsn::This(this->__vwsn_precompile_5.Obj())->SetText(::vl::WString(L"List", false));
}
{
auto __vwsn_collection_ = ::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_2)->GetItems());
::vl::__vwsn::This(__vwsn_collection_.Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_5));
}
(this->__vwsn_precompile_6 = ::vl::Ptr<::vl::presentation::controls::list::TextItem>(new ::vl::presentation::controls::list::TextItem()));
{
::vl::__vwsn::This(this->__vwsn_precompile_6.Obj())->SetText(::vl::WString(L"Tile", false));
}
{
auto __vwsn_collection_ = ::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_2)->GetItems());
::vl::__vwsn::This(__vwsn_collection_.Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_6));
}
(this->__vwsn_precompile_7 = ::vl::Ptr<::vl::presentation::controls::list::TextItem>(new ::vl::presentation::controls::list::TextItem()));
{
::vl::__vwsn::This(this->__vwsn_precompile_7.Obj())->SetText(::vl::WString(L"Information", false));
}
{
auto __vwsn_collection_ = ::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_2)->GetItems());
::vl::__vwsn::This(__vwsn_collection_.Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_7));
}
(this->__vwsn_precompile_8 = ::vl::Ptr<::vl::presentation::controls::list::TextItem>(new ::vl::presentation::controls::list::TextItem()));
{
::vl::__vwsn::This(this->__vwsn_precompile_8.Obj())->SetText(::vl::WString(L"Detail", false));
}
{
auto __vwsn_collection_ = ::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_2)->GetItems());
::vl::__vwsn::This(__vwsn_collection_.Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_8));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_2)->SetVerticalAlwaysVisible(::vl::__vwsn::Parse<bool>(::vl::WString(L"false", false)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_2)->SetHorizontalAlwaysVisible(::vl::__vwsn::Parse<bool>(::vl::WString(L"false", false)));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateComboBoxStyle();
(this->comboView = new ::vl::presentation::controls::GuiComboBoxListControl(__vwsn_controlStyle_, this->__vwsn_precompile_2));
}
{
::vl::__vwsn::This(this->comboView)->SetSelectedIndex(::vl::__vwsn::Parse<::vl::vint32_t>(::vl::WString(L"5", false)));
}
{
::vl::__vwsn::This(this->comboView)->SetAlt(::vl::WString(L"V", false));
}
(this->__vwsn_precompile_9 = ::vl::__vwsn::This(this->comboView)->GetBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_9)->SetPreferredMinSize([&](){ ::vl::presentation::Size __vwsn_temp__; __vwsn_temp__.x = static_cast<::vl::vint32_t>(120); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(::vl::__vwsn::This(this->comboView)->GetBoundsComposition()));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_1));
}
(this->__vwsn_precompile_10 = new ::vl::presentation::compositions::GuiCellComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_10)->SetSite(static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(0), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateListViewStyle();
(this->listView = new ::vl::presentation::controls::GuiListView(__vwsn_controlStyle_));
}
{
auto __vwsn_collection_ = ::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->listView)->GetDataColumns());
::vl::__vwsn::This(__vwsn_collection_.Obj())->Add(::vl::__vwsn::Box(::vl::__vwsn::Parse<::vl::vint32_t>(::vl::WString(L"0", false))));
}
{
auto __vwsn_collection_ = ::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->listView)->GetDataColumns());
::vl::__vwsn::This(__vwsn_collection_.Obj())->Add(::vl::__vwsn::Box(::vl::__vwsn::Parse<::vl::vint32_t>(::vl::WString(L"1", false))));
}
{
auto __vwsn_collection_ = ::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->listView)->GetDataColumns());
::vl::__vwsn::This(__vwsn_collection_.Obj())->Add(::vl::__vwsn::Box(::vl::__vwsn::Parse<::vl::vint32_t>(::vl::WString(L"2", false))));
}
{
::vl::__vwsn::This(this->listView)->SetVerticalAlwaysVisible(::vl::__vwsn::Parse<bool>(::vl::WString(L"false", false)));
}
{
::vl::__vwsn::This(this->listView)->SetHorizontalAlwaysVisible(::vl::__vwsn::Parse<bool>(::vl::WString(L"false", false)));
}
{
::vl::__vwsn::This(this->listView)->SetAlt(::vl::WString(L"L", false));
}
(this->__vwsn_precompile_15 = ::vl::__vwsn::This(this->listView)->GetBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_15)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_11 = ::vl::Ptr<::vl::presentation::controls::list::ListViewColumn>(new ::vl::presentation::controls::list::ListViewColumn()));
{
::vl::__vwsn::This(this->__vwsn_precompile_11.Obj())->SetText(::vl::WString(L"Id", false));
}
{
auto __vwsn_collection_ = ::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->listView)->GetColumns());
::vl::__vwsn::This(__vwsn_collection_.Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_11));
}
(this->__vwsn_precompile_12 = ::vl::Ptr<::vl::presentation::controls::list::ListViewColumn>(new ::vl::presentation::controls::list::ListViewColumn()));
{
::vl::__vwsn::This(this->__vwsn_precompile_12.Obj())->SetText(::vl::WString(L"Category", false));
}
{
auto __vwsn_collection_ = ::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->listView)->GetColumns());
::vl::__vwsn::This(__vwsn_collection_.Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_12));
}
(this->__vwsn_precompile_13 = ::vl::Ptr<::vl::presentation::controls::list::ListViewColumn>(new ::vl::presentation::controls::list::ListViewColumn()));
{
::vl::__vwsn::This(this->__vwsn_precompile_13.Obj())->SetText(::vl::WString(L"Size", false));
}
{
auto __vwsn_collection_ = ::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->listView)->GetColumns());
::vl::__vwsn::This(__vwsn_collection_.Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_13));
}
(this->__vwsn_precompile_14 = ::vl::Ptr<::vl::presentation::controls::list::ListViewColumn>(new ::vl::presentation::controls::list::ListViewColumn()));
{
::vl::__vwsn::This(this->__vwsn_precompile_14.Obj())->SetText(::vl::WString(L"File", false));
}
{
auto __vwsn_collection_ = ::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->listView)->GetColumns());
::vl::__vwsn::This(__vwsn_collection_.Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_14));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_10)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(::vl::__vwsn::This(this->listView)->GetBoundsComposition()));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_10));
}
(this->__vwsn_precompile_16 = new ::vl::presentation::compositions::GuiCellComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_16)->SetSite(static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateListViewStyle();
(this->bindableListView = new ::vl::presentation::controls::GuiBindableListView(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(this->bindableListView)->SetSmallImageProperty(LAMBDA(::vl_workflow_global::__vwsnf85_Demo_demo_ListViewTabPageConstructor___vwsn_initialize_instance__(this)));
}
{
::vl::__vwsn::This(this->bindableListView)->SetLargeImageProperty(LAMBDA(::vl_workflow_global::__vwsnf86_Demo_demo_ListViewTabPageConstructor___vwsn_initialize_instance__(this)));
}
{
auto __vwsn_collection_ = ::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->bindableListView)->GetDataColumns());
::vl::__vwsn::This(__vwsn_collection_.Obj())->Add(::vl::__vwsn::Box(::vl::__vwsn::Parse<::vl::vint32_t>(::vl::WString(L"0", false))));
}
{
auto __vwsn_collection_ = ::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->bindableListView)->GetDataColumns());
::vl::__vwsn::This(__vwsn_collection_.Obj())->Add(::vl::__vwsn::Box(::vl::__vwsn::Parse<::vl::vint32_t>(::vl::WString(L"1", false))));
}
{
auto __vwsn_collection_ = ::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->bindableListView)->GetDataColumns());
::vl::__vwsn::This(__vwsn_collection_.Obj())->Add(::vl::__vwsn::Box(::vl::__vwsn::Parse<::vl::vint32_t>(::vl::WString(L"2", false))));
}
{
::vl::__vwsn::This(this->bindableListView)->SetVerticalAlwaysVisible(::vl::__vwsn::Parse<bool>(::vl::WString(L"false", false)));
}
{
::vl::__vwsn::This(this->bindableListView)->SetHorizontalAlwaysVisible(::vl::__vwsn::Parse<bool>(::vl::WString(L"false", false)));
}
{
::vl::__vwsn::This(this->bindableListView)->SetAlt(::vl::WString(L"L", false));
}
(this->__vwsn_precompile_21 = ::vl::__vwsn::This(this->bindableListView)->GetBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_21)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_17 = ::vl::Ptr<::vl::presentation::controls::list::ListViewColumn>(new ::vl::presentation::controls::list::ListViewColumn()));
{
::vl::__vwsn::This(this->__vwsn_precompile_17.Obj())->SetTextProperty(LAMBDA(::vl_workflow_global::__vwsnf87_Demo_demo_ListViewTabPageConstructor___vwsn_initialize_instance__(this)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_17.Obj())->SetText(::vl::WString(L"Id", false));
}
{
auto __vwsn_collection_ = ::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->bindableListView)->GetColumns());
::vl::__vwsn::This(__vwsn_collection_.Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_17));
}
(this->__vwsn_precompile_18 = ::vl::Ptr<::vl::presentation::controls::list::ListViewColumn>(new ::vl::presentation::controls::list::ListViewColumn()));
{
::vl::__vwsn::This(this->__vwsn_precompile_18.Obj())->SetTextProperty(LAMBDA(::vl_workflow_global::__vwsnf88_Demo_demo_ListViewTabPageConstructor___vwsn_initialize_instance__(this)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_18.Obj())->SetText(::vl::WString(L"Category", false));
}
{
auto __vwsn_collection_ = ::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->bindableListView)->GetColumns());
::vl::__vwsn::This(__vwsn_collection_.Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_18));
}
(this->__vwsn_precompile_19 = ::vl::Ptr<::vl::presentation::controls::list::ListViewColumn>(new ::vl::presentation::controls::list::ListViewColumn()));
{
::vl::__vwsn::This(this->__vwsn_precompile_19.Obj())->SetTextProperty(LAMBDA(::vl_workflow_global::__vwsnf89_Demo_demo_ListViewTabPageConstructor___vwsn_initialize_instance__(this)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_19.Obj())->SetText(::vl::WString(L"Size", false));
}
{
auto __vwsn_collection_ = ::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->bindableListView)->GetColumns());
::vl::__vwsn::This(__vwsn_collection_.Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_19));
}
(this->__vwsn_precompile_20 = ::vl::Ptr<::vl::presentation::controls::list::ListViewColumn>(new ::vl::presentation::controls::list::ListViewColumn()));
{
::vl::__vwsn::This(this->__vwsn_precompile_20.Obj())->SetTextProperty(LAMBDA(::vl_workflow_global::__vwsnf90_Demo_demo_ListViewTabPageConstructor___vwsn_initialize_instance__(this)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_20.Obj())->SetText(::vl::WString(L"File", false));
}
{
auto __vwsn_collection_ = ::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->bindableListView)->GetColumns());
::vl::__vwsn::This(__vwsn_collection_.Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_20));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_16)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(::vl::__vwsn::This(this->bindableListView)->GetBoundsComposition()));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_16));
}
{
::vl::__vwsn::This(::vl::__vwsn::This(this->self)->GetContainerComposition())->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_0));
}
{
auto __vwsn_event_handler_ = LAMBDA(::vl_workflow_global::__vwsnf91_Demo_demo_ListViewTabPageConstructor___vwsn_initialize_instance__(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(this->comboView)->SelectedIndexChanged, __vwsn_event_handler_);
}
}
ListViewTabPageConstructor::ListViewTabPageConstructor()
{
}
/***********************************************************************
Class (::demo::ListViewTabPage)
***********************************************************************/
ListViewTabPage::ListViewTabPage()
: ::vl::presentation::controls::GuiTabPage(::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateCustomControlStyle())
{
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_initialize_instance_(this);
this->__vwsn_instance_ctor_();
}
void ListViewTabPage::__vwsn_instance_ctor_()
{
GLOBAL_NAME LoadListView(static_cast<::vl::presentation::controls::GuiInstanceRootObject*>(this), LAMBDA(::vl_workflow_global::__vwsnf92_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::__vwsnf93_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)
***********************************************************************/
void MainWindowConstructor::__vwsn_initialize_instance_(::demo::MainWindow* __vwsn_this_)
{
(this->self = __vwsn_this_);
(this->__vwsn_precompile_11 = ::vl::__vwsn::This(this->self)->GetBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_11)->SetPreferredMinSize([&](){ ::vl::presentation::Size __vwsn_temp__; __vwsn_temp__.x = static_cast<::vl::vint32_t>(640); __vwsn_temp__.y = static_cast<::vl::vint32_t>(480); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->self)->SetClientSize([&](){ ::vl::presentation::Size __vwsn_temp__; __vwsn_temp__.x = static_cast<::vl::vint32_t>(640); __vwsn_temp__.y = static_cast<::vl::vint32_t>(480); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->self)->SetText(::vl::WString(L"GacUI 完整控件测试", false));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateTabStyle();
(this->__vwsn_precompile_0 = new ::vl::presentation::controls::GuiTab(__vwsn_controlStyle_));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateCustomControlStyle();
(this->__vwsn_precompile_2 = new ::vl::presentation::controls::GuiTabPage(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_2)->SetAlt(::vl::WString(L"L", false));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_2)->SetText(::vl::WString(L"List", false));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateTabStyle();
(this->__vwsn_precompile_3 = new ::vl::presentation::controls::GuiTab(__vwsn_controlStyle_));
}
(this->__vwsn_precompile_5 = new ::demo::TextListTabPage());
{
::vl::__vwsn::This(this->__vwsn_precompile_5)->SetAlt(::vl::WString(L"T", false));
}
{
auto __vwsn_collection_ = ::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_3)->GetPages());
::vl::__vwsn::This(__vwsn_collection_.Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_5));
}
(this->__vwsn_precompile_6 = new ::demo::ListViewTabPage());
{
::vl::__vwsn::This(this->__vwsn_precompile_6)->SetAlt(::vl::WString(L"L", false));
}
{
auto __vwsn_collection_ = ::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_3)->GetPages());
::vl::__vwsn::This(__vwsn_collection_.Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_6));
}
(this->__vwsn_precompile_7 = new ::demo::TreeViewTabPage());
{
::vl::__vwsn::This(this->__vwsn_precompile_7)->SetAlt(::vl::WString(L"R", false));
}
{
auto __vwsn_collection_ = ::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_3)->GetPages());
::vl::__vwsn::This(__vwsn_collection_.Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_7));
}
(this->__vwsn_precompile_8 = new ::demo::DataGridTabPage());
{
::vl::__vwsn::This(this->__vwsn_precompile_8)->SetAlt(::vl::WString(L"D", false));
}
{
auto __vwsn_collection_ = ::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_3)->GetPages());
::vl::__vwsn::This(__vwsn_collection_.Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_8));
}
(this->__vwsn_precompile_4 = ::vl::__vwsn::This(this->__vwsn_precompile_3)->GetBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_4)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(5); __vwsn_temp__.top = static_cast<::vl::vint32_t>(5); __vwsn_temp__.right = static_cast<::vl::vint32_t>(5); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(5); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_2)->AddChild(static_cast<::vl::presentation::controls::GuiControl*>(this->__vwsn_precompile_3));
}
{
auto __vwsn_collection_ = ::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_0)->GetPages());
::vl::__vwsn::This(__vwsn_collection_.Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_2));
}
(this->__vwsn_precompile_9 = new ::demo::DocumentTabPage());
{
::vl::__vwsn::This(this->__vwsn_precompile_9)->SetAlt(::vl::WString(L"D", false));
}
{
auto __vwsn_collection_ = ::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_0)->GetPages());
::vl::__vwsn::This(__vwsn_collection_.Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_9));
}
(this->__vwsn_precompile_10 = new ::demo::TextBoxTabPage());
{
::vl::__vwsn::This(this->__vwsn_precompile_10)->SetAlt(::vl::WString(L"D", false));
}
{
auto __vwsn_collection_ = ::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_0)->GetPages());
::vl::__vwsn::This(__vwsn_collection_.Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_10));
}
(this->__vwsn_precompile_1 = ::vl::__vwsn::This(this->__vwsn_precompile_0)->GetBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(5); __vwsn_temp__.top = static_cast<::vl::vint32_t>(5); __vwsn_temp__.right = static_cast<::vl::vint32_t>(5); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(5); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->self)->AddChild(static_cast<::vl::presentation::controls::GuiControl*>(this->__vwsn_precompile_0));
}
}
MainWindowConstructor::MainWindowConstructor()
{
}
/***********************************************************************
Class (::demo::TextListTabPageConstructor)
***********************************************************************/
void TextListTabPageConstructor::__vwsn_initialize_instance_(::demo::TextListTabPage* __vwsn_this_)
{
(this->self = __vwsn_this_);
{
::vl::__vwsn::This(this->self)->SetText(::vl::WString(L"TextList", false));
}
(this->__vwsn_precompile_0 = new ::vl::presentation::compositions::GuiTableComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetCellPadding(::vl::__vwsn::Parse<::vl::vint32_t>(::vl::WString(L"5", false)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetRowsAndColumns(static_cast<::vl::vint32_t>(2), static_cast<::vl::vint32_t>(3));
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetRowOption(static_cast<::vl::vint32_t>(0), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::MinSize; return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetRowOption(static_cast<::vl::vint32_t>(1), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(1.0); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetColumnOption(static_cast<::vl::vint32_t>(0), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(0.5); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetColumnOption(static_cast<::vl::vint32_t>(1), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::MinSize; return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetColumnOption(static_cast<::vl::vint32_t>(2), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(0.5); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_1 = new ::vl::presentation::compositions::GuiCellComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetSite(static_cast<::vl::vint32_t>(0), static_cast<::vl::vint32_t>(0), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(3));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateTextListStyle();
(this->__vwsn_precompile_2 = new ::vl::presentation::controls::GuiTextList(__vwsn_controlStyle_));
}
(this->__vwsn_precompile_3 = ::vl::Ptr<::vl::presentation::controls::list::TextItem>(new ::vl::presentation::controls::list::TextItem()));
{
::vl::__vwsn::This(this->__vwsn_precompile_3.Obj())->SetText(::vl::WString(L"Text", false));
}
{
auto __vwsn_collection_ = ::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_2)->GetItems());
::vl::__vwsn::This(__vwsn_collection_.Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_3));
}
(this->__vwsn_precompile_4 = ::vl::Ptr<::vl::presentation::controls::list::TextItem>(new ::vl::presentation::controls::list::TextItem()));
{
::vl::__vwsn::This(this->__vwsn_precompile_4.Obj())->SetText(::vl::WString(L"Check", false));
}
{
auto __vwsn_collection_ = ::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_2)->GetItems());
::vl::__vwsn::This(__vwsn_collection_.Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_4));
}
(this->__vwsn_precompile_5 = ::vl::Ptr<::vl::presentation::controls::list::TextItem>(new ::vl::presentation::controls::list::TextItem()));
{
::vl::__vwsn::This(this->__vwsn_precompile_5.Obj())->SetText(::vl::WString(L"Radio", false));
}
{
auto __vwsn_collection_ = ::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_2)->GetItems());
::vl::__vwsn::This(__vwsn_collection_.Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_5));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_2)->SetVerticalAlwaysVisible(::vl::__vwsn::Parse<bool>(::vl::WString(L"false", false)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_2)->SetHorizontalAlwaysVisible(::vl::__vwsn::Parse<bool>(::vl::WString(L"false", false)));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateComboBoxStyle();
(this->comboView = new ::vl::presentation::controls::GuiComboBoxListControl(__vwsn_controlStyle_, this->__vwsn_precompile_2));
}
{
::vl::__vwsn::This(this->comboView)->SetSelectedIndex(::vl::__vwsn::Parse<::vl::vint32_t>(::vl::WString(L"0", false)));
}
{
::vl::__vwsn::This(this->comboView)->SetAlt(::vl::WString(L"V", false));
}
(this->__vwsn_precompile_6 = ::vl::__vwsn::This(this->comboView)->GetBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_6)->SetPreferredMinSize([&](){ ::vl::presentation::Size __vwsn_temp__; __vwsn_temp__.x = static_cast<::vl::vint32_t>(120); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(::vl::__vwsn::This(this->comboView)->GetBoundsComposition()));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_1));
}
(this->__vwsn_precompile_7 = new ::vl::presentation::compositions::GuiCellComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_7)->SetSite(static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(0), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateTextListStyle();
(this->textList = new ::vl::presentation::controls::GuiTextList(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(this->textList)->SetVerticalAlwaysVisible(::vl::__vwsn::Parse<bool>(::vl::WString(L"false", false)));
}
{
::vl::__vwsn::This(this->textList)->SetHorizontalAlwaysVisible(::vl::__vwsn::Parse<bool>(::vl::WString(L"false", false)));
}
{
::vl::__vwsn::This(this->textList)->SetAlt(::vl::WString(L"L", false));
}
(this->__vwsn_precompile_8 = ::vl::__vwsn::This(this->textList)->GetBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_8)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_7)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(::vl::__vwsn::This(this->textList)->GetBoundsComposition()));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_7));
}
(this->__vwsn_precompile_9 = new ::vl::presentation::compositions::GuiCellComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_9)->SetSite(static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1));
}
(this->__vwsn_precompile_10 = new ::vl::presentation::compositions::GuiStackComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_10)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_10)->SetPadding(::vl::__vwsn::Parse<::vl::vint32_t>(::vl::WString(L"5", false)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_10)->SetDirection(::vl::presentation::compositions::GuiStackComposition::Direction::Vertical);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_10)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_11 = new ::vl::presentation::compositions::GuiStackItemComposition());
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateButtonStyle();
(this->__vwsn_precompile_12 = new ::vl::presentation::controls::GuiButton(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_12)->SetAlt(::vl::WString(L"A", false));
}
(this->__vwsn_precompile_13 = ::vl::__vwsn::This(this->__vwsn_precompile_12)->GetBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_13)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_12)->SetText(::vl::WString(L"Add 10 items", false));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_11)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(::vl::__vwsn::This(this->__vwsn_precompile_12)->GetBoundsComposition()));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_10)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_11));
}
(this->__vwsn_precompile_14 = new ::vl::presentation::compositions::GuiStackItemComposition());
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateButtonStyle();
(this->__vwsn_precompile_15 = new ::vl::presentation::controls::GuiButton(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_15)->SetAlt(::vl::WString(L"O", false));
}
(this->__vwsn_precompile_16 = ::vl::__vwsn::This(this->__vwsn_precompile_15)->GetBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_16)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_15)->SetText(::vl::WString(L"Remove odd items", false));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_14)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(::vl::__vwsn::This(this->__vwsn_precompile_15)->GetBoundsComposition()));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_10)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_14));
}
(this->__vwsn_precompile_17 = new ::vl::presentation::compositions::GuiStackItemComposition());
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateButtonStyle();
(this->__vwsn_precompile_18 = new ::vl::presentation::controls::GuiButton(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_18)->SetAlt(::vl::WString(L"E", false));
}
(this->__vwsn_precompile_19 = ::vl::__vwsn::This(this->__vwsn_precompile_18)->GetBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_19)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_18)->SetText(::vl::WString(L"Remove even items", false));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_17)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(::vl::__vwsn::This(this->__vwsn_precompile_18)->GetBoundsComposition()));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_10)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_17));
}
(this->__vwsn_precompile_20 = new ::vl::presentation::compositions::GuiStackItemComposition());
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateButtonStyle();
(this->__vwsn_precompile_21 = new ::vl::presentation::controls::GuiButton(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_21)->SetAlt(::vl::WString(L"C", false));
}
(this->__vwsn_precompile_22 = ::vl::__vwsn::This(this->__vwsn_precompile_21)->GetBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_22)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_21)->SetText(::vl::WString(L"Clear", false));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_20)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(::vl::__vwsn::This(this->__vwsn_precompile_21)->GetBoundsComposition()));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_10)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_20));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_9)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_10));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_9));
}
(this->__vwsn_precompile_23 = new ::vl::presentation::compositions::GuiCellComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_23)->SetSite(static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(2), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateTextListStyle();
(this->bindableTextList = new ::vl::presentation::controls::GuiBindableTextList(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(this->bindableTextList)->SetCheckedProperty(LAMBDA(::vl_workflow_global::__vwsnf94_Demo_demo_TextListTabPageConstructor___vwsn_initialize_instance__(this)));
}
{
::vl::__vwsn::This(this->bindableTextList)->SetTextProperty(LAMBDA(::vl_workflow_global::__vwsnf95_Demo_demo_TextListTabPageConstructor___vwsn_initialize_instance__(this)));
}
{
::vl::__vwsn::This(this->bindableTextList)->SetVerticalAlwaysVisible(::vl::__vwsn::Parse<bool>(::vl::WString(L"false", false)));
}
{
::vl::__vwsn::This(this->bindableTextList)->SetHorizontalAlwaysVisible(::vl::__vwsn::Parse<bool>(::vl::WString(L"false", false)));
}
{
::vl::__vwsn::This(this->bindableTextList)->SetAlt(::vl::WString(L"B", false));
}
(this->__vwsn_precompile_24 = ::vl::__vwsn::This(this->bindableTextList)->GetBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_24)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_23)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(::vl::__vwsn::This(this->bindableTextList)->GetBoundsComposition()));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_23));
}
{
::vl::__vwsn::This(::vl::__vwsn::This(this->self)->GetContainerComposition())->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_0));
}
{
auto __vwsn_event_handler_ = LAMBDA(::vl_workflow_global::__vwsnf96_Demo_demo_TextListTabPageConstructor___vwsn_initialize_instance__(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(this->comboView)->SelectedIndexChanged, __vwsn_event_handler_);
}
{
auto __vwsn_event_handler_ = LAMBDA(::vl_workflow_global::__vwsnf97_Demo_demo_TextListTabPageConstructor___vwsn_initialize_instance__(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(this->__vwsn_precompile_12)->Clicked, __vwsn_event_handler_);
}
{
auto __vwsn_event_handler_ = LAMBDA(::vl_workflow_global::__vwsnf98_Demo_demo_TextListTabPageConstructor___vwsn_initialize_instance__(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(this->__vwsn_precompile_15)->Clicked, __vwsn_event_handler_);
}
{
auto __vwsn_event_handler_ = LAMBDA(::vl_workflow_global::__vwsnf99_Demo_demo_TextListTabPageConstructor___vwsn_initialize_instance__(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(this->__vwsn_precompile_18)->Clicked, __vwsn_event_handler_);
}
{
auto __vwsn_event_handler_ = LAMBDA(::vl_workflow_global::__vwsnf100_Demo_demo_TextListTabPageConstructor___vwsn_initialize_instance__(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(this->__vwsn_precompile_21)->Clicked, __vwsn_event_handler_);
}
{
::vl::__vwsn::This(this->bindableTextList)->SetItemSource(::vl::Ptr<::vl::reflection::description::IValueEnumerable>(::vl::__vwsn::This(::vl::__vwsn::This(this->self)->self)->itemsToBind));
}
}
TextListTabPageConstructor::TextListTabPageConstructor()
{
}
/***********************************************************************
Class (::demo::TextListTabPage)
***********************************************************************/
TextListTabPage::TextListTabPage()
: ::vl::presentation::controls::GuiTabPage(::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateCustomControlStyle())
{
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_initialize_instance_(this);
}
TextListTabPage::~TextListTabPage()
{
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::controls::GuiCustomControl*>(this));
}
/***********************************************************************
Class (::demo::TreeViewTabPageConstructor)
***********************************************************************/
void TreeViewTabPageConstructor::__vwsn_initialize_instance_(::demo::TreeViewTabPage* __vwsn_this_)
{
(this->self = __vwsn_this_);
(this->__vwsn_precompile_27 = ::vl::Ptr<::vl::presentation::controls::tree::MemoryNodeProvider>(new ::vl::presentation::controls::tree::MemoryNodeProvider(::vl::Ptr<::vl::presentation::controls::tree::TreeViewItem>(new ::vl::presentation::controls::tree::TreeViewItem()))));
(this->__vwsn_precompile_28 = ::vl::Ptr<::vl::presentation::controls::tree::MemoryNodeProvider>(new ::vl::presentation::controls::tree::MemoryNodeProvider(::vl::Ptr<::vl::presentation::controls::tree::TreeViewItem>(new ::vl::presentation::controls::tree::TreeViewItem(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(__vwsn_this_)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"SmallImages/Plus_Blue", false), true).Obj())), ::vl::WString(L"Blue+", false))))));
(this->__vwsn_precompile_29 = ::vl::Ptr<::vl::presentation::controls::tree::MemoryNodeProvider>(new ::vl::presentation::controls::tree::MemoryNodeProvider(::vl::Ptr<::vl::presentation::controls::tree::TreeViewItem>(new ::vl::presentation::controls::tree::TreeViewItem(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(__vwsn_this_)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"SmallImages/ArrowCurve_Blue_Left", false), true).Obj())), ::vl::WString(L"<--", false))))));
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_28.Obj())->Children()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_29));
}
(this->__vwsn_precompile_30 = ::vl::Ptr<::vl::presentation::controls::tree::MemoryNodeProvider>(new ::vl::presentation::controls::tree::MemoryNodeProvider(::vl::Ptr<::vl::presentation::controls::tree::TreeViewItem>(new ::vl::presentation::controls::tree::TreeViewItem(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(__vwsn_this_)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"SmallImages/ArrowCurve_Blue_Right", false), true).Obj())), ::vl::WString(L"-->", false))))));
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_28.Obj())->Children()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_30));
}
(this->__vwsn_precompile_31 = ::vl::Ptr<::vl::presentation::controls::tree::MemoryNodeProvider>(new ::vl::presentation::controls::tree::MemoryNodeProvider(::vl::Ptr<::vl::presentation::controls::tree::TreeViewItem>(new ::vl::presentation::controls::tree::TreeViewItem(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(__vwsn_this_)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"SmallImages/DownArrowLong_Blue", false), true).Obj())), ::vl::WString(L"V", false))))));
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_28.Obj())->Children()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_31));
}
(this->__vwsn_precompile_32 = ::vl::Ptr<::vl::presentation::controls::tree::MemoryNodeProvider>(new ::vl::presentation::controls::tree::MemoryNodeProvider(::vl::Ptr<::vl::presentation::controls::tree::TreeViewItem>(new ::vl::presentation::controls::tree::TreeViewItem(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(__vwsn_this_)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"SmallImages/UpArrowLong_Blue", false), true).Obj())), ::vl::WString(L"^", false))))));
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_28.Obj())->Children()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_32));
}
(this->__vwsn_precompile_33 = ::vl::Ptr<::vl::presentation::controls::tree::MemoryNodeProvider>(new ::vl::presentation::controls::tree::MemoryNodeProvider(::vl::Ptr<::vl::presentation::controls::tree::TreeViewItem>(new ::vl::presentation::controls::tree::TreeViewItem(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(__vwsn_this_)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"SmallImages/LeftArrowLong_Blue", false), true).Obj())), ::vl::WString(L"<", false))))));
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_28.Obj())->Children()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_33));
}
(this->__vwsn_precompile_34 = ::vl::Ptr<::vl::presentation::controls::tree::MemoryNodeProvider>(new ::vl::presentation::controls::tree::MemoryNodeProvider(::vl::Ptr<::vl::presentation::controls::tree::TreeViewItem>(new ::vl::presentation::controls::tree::TreeViewItem(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(__vwsn_this_)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"SmallImages/RightArrowLong_Blue", false), true).Obj())), ::vl::WString(L">", false))))));
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_28.Obj())->Children()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_34));
}
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_27.Obj())->Children()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_28));
}
(this->__vwsn_precompile_35 = ::vl::Ptr<::vl::presentation::controls::tree::MemoryNodeProvider>(new ::vl::presentation::controls::tree::MemoryNodeProvider(::vl::Ptr<::vl::presentation::controls::tree::TreeViewItem>(new ::vl::presentation::controls::tree::TreeViewItem(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(__vwsn_this_)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"SmallImages/Plus_Green", false), true).Obj())), ::vl::WString(L"Green+", false))))));
(this->__vwsn_precompile_36 = ::vl::Ptr<::vl::presentation::controls::tree::MemoryNodeProvider>(new ::vl::presentation::controls::tree::MemoryNodeProvider(::vl::Ptr<::vl::presentation::controls::tree::TreeViewItem>(new ::vl::presentation::controls::tree::TreeViewItem(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(__vwsn_this_)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"SmallImages/DownArrowLong_Green", false), true).Obj())), ::vl::WString(L"V", false))))));
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_35.Obj())->Children()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_36));
}
(this->__vwsn_precompile_37 = ::vl::Ptr<::vl::presentation::controls::tree::MemoryNodeProvider>(new ::vl::presentation::controls::tree::MemoryNodeProvider(::vl::Ptr<::vl::presentation::controls::tree::TreeViewItem>(new ::vl::presentation::controls::tree::TreeViewItem(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(__vwsn_this_)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"SmallImages/UpArrowLong_Green", false), true).Obj())), ::vl::WString(L"^", false))))));
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_35.Obj())->Children()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_37));
}
(this->__vwsn_precompile_38 = ::vl::Ptr<::vl::presentation::controls::tree::MemoryNodeProvider>(new ::vl::presentation::controls::tree::MemoryNodeProvider(::vl::Ptr<::vl::presentation::controls::tree::TreeViewItem>(new ::vl::presentation::controls::tree::TreeViewItem(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(__vwsn_this_)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"SmallImages/LeftArrowLong_Green", false), true).Obj())), ::vl::WString(L"<", false))))));
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_35.Obj())->Children()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_38));
}
(this->__vwsn_precompile_39 = ::vl::Ptr<::vl::presentation::controls::tree::MemoryNodeProvider>(new ::vl::presentation::controls::tree::MemoryNodeProvider(::vl::Ptr<::vl::presentation::controls::tree::TreeViewItem>(new ::vl::presentation::controls::tree::TreeViewItem(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(__vwsn_this_)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"SmallImages/RightArrowLong_Green", false), true).Obj())), ::vl::WString(L">", false))))));
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_35.Obj())->Children()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_39));
}
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_27.Obj())->Children()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_35));
}
(this->__vwsn_precompile_40 = ::vl::Ptr<::vl::presentation::controls::tree::MemoryNodeProvider>(new ::vl::presentation::controls::tree::MemoryNodeProvider(::vl::Ptr<::vl::presentation::controls::tree::TreeViewItem>(new ::vl::presentation::controls::tree::TreeViewItem(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(__vwsn_this_)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"SmallImages/Plus_Grey", false), true).Obj())), ::vl::WString(L"Grey+", false))))));
(this->__vwsn_precompile_41 = ::vl::Ptr<::vl::presentation::controls::tree::MemoryNodeProvider>(new ::vl::presentation::controls::tree::MemoryNodeProvider(::vl::Ptr<::vl::presentation::controls::tree::TreeViewItem>(new ::vl::presentation::controls::tree::TreeViewItem(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(__vwsn_this_)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"SmallImages/DownArrowLong_Grey", false), true).Obj())), ::vl::WString(L"V", false))))));
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_40.Obj())->Children()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_41));
}
(this->__vwsn_precompile_42 = ::vl::Ptr<::vl::presentation::controls::tree::MemoryNodeProvider>(new ::vl::presentation::controls::tree::MemoryNodeProvider(::vl::Ptr<::vl::presentation::controls::tree::TreeViewItem>(new ::vl::presentation::controls::tree::TreeViewItem(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(__vwsn_this_)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"SmallImages/UpArrowLong_Grey", false), true).Obj())), ::vl::WString(L"^", false))))));
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_40.Obj())->Children()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_42));
}
(this->__vwsn_precompile_43 = ::vl::Ptr<::vl::presentation::controls::tree::MemoryNodeProvider>(new ::vl::presentation::controls::tree::MemoryNodeProvider(::vl::Ptr<::vl::presentation::controls::tree::TreeViewItem>(new ::vl::presentation::controls::tree::TreeViewItem(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(__vwsn_this_)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"SmallImages/LeftArrowLong_Grey", false), true).Obj())), ::vl::WString(L"<", false))))));
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_40.Obj())->Children()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_43));
}
(this->__vwsn_precompile_44 = ::vl::Ptr<::vl::presentation::controls::tree::MemoryNodeProvider>(new ::vl::presentation::controls::tree::MemoryNodeProvider(::vl::Ptr<::vl::presentation::controls::tree::TreeViewItem>(new ::vl::presentation::controls::tree::TreeViewItem(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(__vwsn_this_)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"SmallImages/RightArrowLong_Grey", false), true).Obj())), ::vl::WString(L">", false))))));
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_40.Obj())->Children()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_44));
}
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_27.Obj())->Children()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_40));
}
(this->__vwsn_precompile_45 = ::vl::Ptr<::vl::presentation::controls::tree::MemoryNodeProvider>(new ::vl::presentation::controls::tree::MemoryNodeProvider(::vl::Ptr<::vl::presentation::controls::tree::TreeViewItem>(new ::vl::presentation::controls::tree::TreeViewItem(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(__vwsn_this_)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"SmallImages/Plus_Orange", false), true).Obj())), ::vl::WString(L"Orange+", false))))));
(this->__vwsn_precompile_46 = ::vl::Ptr<::vl::presentation::controls::tree::MemoryNodeProvider>(new ::vl::presentation::controls::tree::MemoryNodeProvider(::vl::Ptr<::vl::presentation::controls::tree::TreeViewItem>(new ::vl::presentation::controls::tree::TreeViewItem(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(__vwsn_this_)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"SmallImages/DownArrowLong_Orange", false), true).Obj())), ::vl::WString(L"V", false))))));
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_45.Obj())->Children()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_46));
}
(this->__vwsn_precompile_47 = ::vl::Ptr<::vl::presentation::controls::tree::MemoryNodeProvider>(new ::vl::presentation::controls::tree::MemoryNodeProvider(::vl::Ptr<::vl::presentation::controls::tree::TreeViewItem>(new ::vl::presentation::controls::tree::TreeViewItem(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(__vwsn_this_)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"SmallImages/UpArrowLong_Orange", false), true).Obj())), ::vl::WString(L"^", false))))));
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_45.Obj())->Children()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_47));
}
(this->__vwsn_precompile_48 = ::vl::Ptr<::vl::presentation::controls::tree::MemoryNodeProvider>(new ::vl::presentation::controls::tree::MemoryNodeProvider(::vl::Ptr<::vl::presentation::controls::tree::TreeViewItem>(new ::vl::presentation::controls::tree::TreeViewItem(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(__vwsn_this_)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"SmallImages/LeftArrowLong_Orange", false), true).Obj())), ::vl::WString(L"<", false))))));
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_45.Obj())->Children()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_48));
}
(this->__vwsn_precompile_49 = ::vl::Ptr<::vl::presentation::controls::tree::MemoryNodeProvider>(new ::vl::presentation::controls::tree::MemoryNodeProvider(::vl::Ptr<::vl::presentation::controls::tree::TreeViewItem>(new ::vl::presentation::controls::tree::TreeViewItem(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(__vwsn_this_)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"SmallImages/RightArrowLong_Orange", false), true).Obj())), ::vl::WString(L">", false))))));
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_45.Obj())->Children()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_49));
}
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_27.Obj())->Children()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_45));
}
{
(::vl::__vwsn::This(this->self)->nodesToBind = this->__vwsn_precompile_27);
}
{
::vl::__vwsn::This(this->self)->SetText(::vl::WString(L"TreeView", false));
}
(this->__vwsn_precompile_0 = new ::vl::presentation::compositions::GuiTableComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetCellPadding(::vl::__vwsn::Parse<::vl::vint32_t>(::vl::WString(L"5", false)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetRowsAndColumns(static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(2));
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetRowOption(static_cast<::vl::vint32_t>(0), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(1.0); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetColumnOption(static_cast<::vl::vint32_t>(0), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(0.5); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetColumnOption(static_cast<::vl::vint32_t>(1), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(0.5); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_1 = new ::vl::presentation::compositions::GuiCellComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetSite(static_cast<::vl::vint32_t>(0), static_cast<::vl::vint32_t>(0), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateTreeViewStyle();
(this->treeView = new ::vl::presentation::controls::GuiTreeView(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(this->treeView)->SetVerticalAlwaysVisible(::vl::__vwsn::Parse<bool>(::vl::WString(L"false", false)));
}
{
::vl::__vwsn::This(this->treeView)->SetHorizontalAlwaysVisible(::vl::__vwsn::Parse<bool>(::vl::WString(L"false", false)));
}
{
::vl::__vwsn::This(this->treeView)->SetAlt(::vl::WString(L"L", false));
}
(this->__vwsn_precompile_24 = ::vl::__vwsn::This(this->treeView)->GetBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_24)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_2 = ::vl::Ptr<::vl::presentation::controls::tree::MemoryNodeProvider>(new ::vl::presentation::controls::tree::MemoryNodeProvider(::vl::Ptr<::vl::presentation::controls::tree::TreeViewItem>(new ::vl::presentation::controls::tree::TreeViewItem(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(__vwsn_this_)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"SmallImages/Plus_Blue", false), true).Obj())), ::vl::WString(L"Blue+", false))))));
(this->__vwsn_precompile_3 = ::vl::Ptr<::vl::presentation::controls::tree::MemoryNodeProvider>(new ::vl::presentation::controls::tree::MemoryNodeProvider(::vl::Ptr<::vl::presentation::controls::tree::TreeViewItem>(new ::vl::presentation::controls::tree::TreeViewItem(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(__vwsn_this_)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"SmallImages/ArrowCurve_Blue_Left", false), true).Obj())), ::vl::WString(L"<--", false))))));
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_2.Obj())->Children()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_3));
}
(this->__vwsn_precompile_4 = ::vl::Ptr<::vl::presentation::controls::tree::MemoryNodeProvider>(new ::vl::presentation::controls::tree::MemoryNodeProvider(::vl::Ptr<::vl::presentation::controls::tree::TreeViewItem>(new ::vl::presentation::controls::tree::TreeViewItem(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(__vwsn_this_)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"SmallImages/ArrowCurve_Blue_Right", false), true).Obj())), ::vl::WString(L"-->", false))))));
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_2.Obj())->Children()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_4));
}
(this->__vwsn_precompile_5 = ::vl::Ptr<::vl::presentation::controls::tree::MemoryNodeProvider>(new ::vl::presentation::controls::tree::MemoryNodeProvider(::vl::Ptr<::vl::presentation::controls::tree::TreeViewItem>(new ::vl::presentation::controls::tree::TreeViewItem(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(__vwsn_this_)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"SmallImages/DownArrowLong_Blue", false), true).Obj())), ::vl::WString(L"V", false))))));
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_2.Obj())->Children()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_5));
}
(this->__vwsn_precompile_6 = ::vl::Ptr<::vl::presentation::controls::tree::MemoryNodeProvider>(new ::vl::presentation::controls::tree::MemoryNodeProvider(::vl::Ptr<::vl::presentation::controls::tree::TreeViewItem>(new ::vl::presentation::controls::tree::TreeViewItem(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(__vwsn_this_)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"SmallImages/UpArrowLong_Blue", false), true).Obj())), ::vl::WString(L"^", false))))));
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_2.Obj())->Children()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_6));
}
(this->__vwsn_precompile_7 = ::vl::Ptr<::vl::presentation::controls::tree::MemoryNodeProvider>(new ::vl::presentation::controls::tree::MemoryNodeProvider(::vl::Ptr<::vl::presentation::controls::tree::TreeViewItem>(new ::vl::presentation::controls::tree::TreeViewItem(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(__vwsn_this_)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"SmallImages/LeftArrowLong_Blue", false), true).Obj())), ::vl::WString(L"<", false))))));
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_2.Obj())->Children()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_7));
}
(this->__vwsn_precompile_8 = ::vl::Ptr<::vl::presentation::controls::tree::MemoryNodeProvider>(new ::vl::presentation::controls::tree::MemoryNodeProvider(::vl::Ptr<::vl::presentation::controls::tree::TreeViewItem>(new ::vl::presentation::controls::tree::TreeViewItem(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(__vwsn_this_)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"SmallImages/RightArrowLong_Blue", false), true).Obj())), ::vl::WString(L">", false))))));
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_2.Obj())->Children()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_8));
}
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(::vl::__vwsn::This(this->treeView)->Nodes().Obj())->Children()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_2));
}
(this->__vwsn_precompile_9 = ::vl::Ptr<::vl::presentation::controls::tree::MemoryNodeProvider>(new ::vl::presentation::controls::tree::MemoryNodeProvider(::vl::Ptr<::vl::presentation::controls::tree::TreeViewItem>(new ::vl::presentation::controls::tree::TreeViewItem(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(__vwsn_this_)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"SmallImages/Plus_Green", false), true).Obj())), ::vl::WString(L"Green+", false))))));
(this->__vwsn_precompile_10 = ::vl::Ptr<::vl::presentation::controls::tree::MemoryNodeProvider>(new ::vl::presentation::controls::tree::MemoryNodeProvider(::vl::Ptr<::vl::presentation::controls::tree::TreeViewItem>(new ::vl::presentation::controls::tree::TreeViewItem(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(__vwsn_this_)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"SmallImages/DownArrowLong_Green", false), true).Obj())), ::vl::WString(L"V", false))))));
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_9.Obj())->Children()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_10));
}
(this->__vwsn_precompile_11 = ::vl::Ptr<::vl::presentation::controls::tree::MemoryNodeProvider>(new ::vl::presentation::controls::tree::MemoryNodeProvider(::vl::Ptr<::vl::presentation::controls::tree::TreeViewItem>(new ::vl::presentation::controls::tree::TreeViewItem(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(__vwsn_this_)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"SmallImages/UpArrowLong_Green", false), true).Obj())), ::vl::WString(L"^", false))))));
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_9.Obj())->Children()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_11));
}
(this->__vwsn_precompile_12 = ::vl::Ptr<::vl::presentation::controls::tree::MemoryNodeProvider>(new ::vl::presentation::controls::tree::MemoryNodeProvider(::vl::Ptr<::vl::presentation::controls::tree::TreeViewItem>(new ::vl::presentation::controls::tree::TreeViewItem(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(__vwsn_this_)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"SmallImages/LeftArrowLong_Green", false), true).Obj())), ::vl::WString(L"<", false))))));
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_9.Obj())->Children()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_12));
}
(this->__vwsn_precompile_13 = ::vl::Ptr<::vl::presentation::controls::tree::MemoryNodeProvider>(new ::vl::presentation::controls::tree::MemoryNodeProvider(::vl::Ptr<::vl::presentation::controls::tree::TreeViewItem>(new ::vl::presentation::controls::tree::TreeViewItem(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(__vwsn_this_)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"SmallImages/RightArrowLong_Green", false), true).Obj())), ::vl::WString(L">", false))))));
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_9.Obj())->Children()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_13));
}
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(::vl::__vwsn::This(this->treeView)->Nodes().Obj())->Children()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_9));
}
(this->__vwsn_precompile_14 = ::vl::Ptr<::vl::presentation::controls::tree::MemoryNodeProvider>(new ::vl::presentation::controls::tree::MemoryNodeProvider(::vl::Ptr<::vl::presentation::controls::tree::TreeViewItem>(new ::vl::presentation::controls::tree::TreeViewItem(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(__vwsn_this_)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"SmallImages/Plus_Grey", false), true).Obj())), ::vl::WString(L"Grey+", false))))));
(this->__vwsn_precompile_15 = ::vl::Ptr<::vl::presentation::controls::tree::MemoryNodeProvider>(new ::vl::presentation::controls::tree::MemoryNodeProvider(::vl::Ptr<::vl::presentation::controls::tree::TreeViewItem>(new ::vl::presentation::controls::tree::TreeViewItem(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(__vwsn_this_)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"SmallImages/DownArrowLong_Grey", false), true).Obj())), ::vl::WString(L"V", false))))));
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_14.Obj())->Children()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_15));
}
(this->__vwsn_precompile_16 = ::vl::Ptr<::vl::presentation::controls::tree::MemoryNodeProvider>(new ::vl::presentation::controls::tree::MemoryNodeProvider(::vl::Ptr<::vl::presentation::controls::tree::TreeViewItem>(new ::vl::presentation::controls::tree::TreeViewItem(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(__vwsn_this_)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"SmallImages/UpArrowLong_Grey", false), true).Obj())), ::vl::WString(L"^", false))))));
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_14.Obj())->Children()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_16));
}
(this->__vwsn_precompile_17 = ::vl::Ptr<::vl::presentation::controls::tree::MemoryNodeProvider>(new ::vl::presentation::controls::tree::MemoryNodeProvider(::vl::Ptr<::vl::presentation::controls::tree::TreeViewItem>(new ::vl::presentation::controls::tree::TreeViewItem(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(__vwsn_this_)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"SmallImages/LeftArrowLong_Grey", false), true).Obj())), ::vl::WString(L"<", false))))));
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_14.Obj())->Children()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_17));
}
(this->__vwsn_precompile_18 = ::vl::Ptr<::vl::presentation::controls::tree::MemoryNodeProvider>(new ::vl::presentation::controls::tree::MemoryNodeProvider(::vl::Ptr<::vl::presentation::controls::tree::TreeViewItem>(new ::vl::presentation::controls::tree::TreeViewItem(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(__vwsn_this_)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"SmallImages/RightArrowLong_Grey", false), true).Obj())), ::vl::WString(L">", false))))));
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_14.Obj())->Children()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_18));
}
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(::vl::__vwsn::This(this->treeView)->Nodes().Obj())->Children()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_14));
}
(this->__vwsn_precompile_19 = ::vl::Ptr<::vl::presentation::controls::tree::MemoryNodeProvider>(new ::vl::presentation::controls::tree::MemoryNodeProvider(::vl::Ptr<::vl::presentation::controls::tree::TreeViewItem>(new ::vl::presentation::controls::tree::TreeViewItem(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(__vwsn_this_)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"SmallImages/Plus_Orange", false), true).Obj())), ::vl::WString(L"Orange+", false))))));
(this->__vwsn_precompile_20 = ::vl::Ptr<::vl::presentation::controls::tree::MemoryNodeProvider>(new ::vl::presentation::controls::tree::MemoryNodeProvider(::vl::Ptr<::vl::presentation::controls::tree::TreeViewItem>(new ::vl::presentation::controls::tree::TreeViewItem(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(__vwsn_this_)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"SmallImages/DownArrowLong_Orange", false), true).Obj())), ::vl::WString(L"V", false))))));
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_19.Obj())->Children()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_20));
}
(this->__vwsn_precompile_21 = ::vl::Ptr<::vl::presentation::controls::tree::MemoryNodeProvider>(new ::vl::presentation::controls::tree::MemoryNodeProvider(::vl::Ptr<::vl::presentation::controls::tree::TreeViewItem>(new ::vl::presentation::controls::tree::TreeViewItem(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(__vwsn_this_)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"SmallImages/UpArrowLong_Orange", false), true).Obj())), ::vl::WString(L"^", false))))));
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_19.Obj())->Children()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_21));
}
(this->__vwsn_precompile_22 = ::vl::Ptr<::vl::presentation::controls::tree::MemoryNodeProvider>(new ::vl::presentation::controls::tree::MemoryNodeProvider(::vl::Ptr<::vl::presentation::controls::tree::TreeViewItem>(new ::vl::presentation::controls::tree::TreeViewItem(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(__vwsn_this_)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"SmallImages/LeftArrowLong_Orange", false), true).Obj())), ::vl::WString(L"<", false))))));
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_19.Obj())->Children()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_22));
}
(this->__vwsn_precompile_23 = ::vl::Ptr<::vl::presentation::controls::tree::MemoryNodeProvider>(new ::vl::presentation::controls::tree::MemoryNodeProvider(::vl::Ptr<::vl::presentation::controls::tree::TreeViewItem>(new ::vl::presentation::controls::tree::TreeViewItem(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(::vl::__vwsn::This(__vwsn_this_)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"SmallImages/RightArrowLong_Orange", false), true).Obj())), ::vl::WString(L">", false))))));
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_19.Obj())->Children()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_23));
}
{
::vl::__vwsn::This(::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(::vl::__vwsn::This(this->treeView)->Nodes().Obj())->Children()).Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_19));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(::vl::__vwsn::This(this->treeView)->GetBoundsComposition()));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_1));
}
(this->__vwsn_precompile_25 = new ::vl::presentation::compositions::GuiCellComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_25)->SetSite(static_cast<::vl::vint32_t>(0), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateTreeViewStyle();
(this->bindableTreeView = new ::vl::presentation::controls::GuiBindableTreeView(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(this->bindableTreeView)->SetChildrenProperty(LAMBDA(::vl_workflow_global::__vwsnf101_Demo_demo_TreeViewTabPageConstructor___vwsn_initialize_instance__(this)));
}
{
::vl::__vwsn::This(this->bindableTreeView)->SetImageProperty(LAMBDA(::vl_workflow_global::__vwsnf102_Demo_demo_TreeViewTabPageConstructor___vwsn_initialize_instance__(this)));
}
{
::vl::__vwsn::This(this->bindableTreeView)->SetTextProperty(LAMBDA(::vl_workflow_global::__vwsnf103_Demo_demo_TreeViewTabPageConstructor___vwsn_initialize_instance__(this)));
}
{
::vl::__vwsn::This(this->bindableTreeView)->SetVerticalAlwaysVisible(::vl::__vwsn::Parse<bool>(::vl::WString(L"false", false)));
}
{
::vl::__vwsn::This(this->bindableTreeView)->SetHorizontalAlwaysVisible(::vl::__vwsn::Parse<bool>(::vl::WString(L"false", false)));
}
{
::vl::__vwsn::This(this->bindableTreeView)->SetAlt(::vl::WString(L"L", false));
}
(this->__vwsn_precompile_26 = ::vl::__vwsn::This(this->bindableTreeView)->GetBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_26)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_25)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(::vl::__vwsn::This(this->bindableTreeView)->GetBoundsComposition()));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_25));
}
{
::vl::__vwsn::This(::vl::__vwsn::This(this->self)->GetContainerComposition())->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_0));
}
}
TreeViewTabPageConstructor::TreeViewTabPageConstructor()
{
}
/***********************************************************************
Class (::demo::TreeViewTabPage)
***********************************************************************/
TreeViewTabPage::TreeViewTabPage()
: ::vl::presentation::controls::GuiTabPage(::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateCustomControlStyle())
{
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"demo::TreeViewTabPage", 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_initialize_instance_(this);
this->__vwsn_instance_ctor_();
}
void TreeViewTabPage::__vwsn_instance_ctor_()
{
::vl::__vwsn::This(this->bindableTreeView)->SetItemSource(::vl::__vwsn::Box(this->nodesToBind));
}
TreeViewTabPage::~TreeViewTabPage()
{
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::controls::GuiCustomControl*>(this));
}
/***********************************************************************
Class (::darkskin::BottomScrollButtonTemplateConstructor)
***********************************************************************/
}
namespace darkskin
{
void BottomScrollButtonTemplateConstructor::__vwsn_initialize_instance_(::darkskin::BottomScrollButtonTemplate* __vwsn_this_)
{
(this->self = __vwsn_this_);
{
::vl::__vwsn::This(this->self)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
(this->__vwsn_precompile_0 = new ::vl::presentation::compositions::GuiTableComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetRowsAndColumns(static_cast<::vl::vint32_t>(3), static_cast<::vl::vint32_t>(3));
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetRowOption(static_cast<::vl::vint32_t>(0), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(0.5); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetRowOption(static_cast<::vl::vint32_t>(1), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Absolute; __vwsn_temp__.absolute = static_cast<::vl::vint32_t>(5); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetRowOption(static_cast<::vl::vint32_t>(2), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(0.5); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetColumnOption(static_cast<::vl::vint32_t>(0), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(0.5); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetColumnOption(static_cast<::vl::vint32_t>(1), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Absolute; __vwsn_temp__.absolute = static_cast<::vl::vint32_t>(9); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetColumnOption(static_cast<::vl::vint32_t>(2), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(0.5); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_1 = new ::vl::presentation::compositions::GuiCellComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetSite(static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1));
}
(this->__vwsn_precompile_2 = ::vl::Ptr<::vl::presentation::elements::GuiPolygonElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiPolygonElement>()));
{
[&]()->decltype(auto){ auto __vwsn_temp_x0 = ::vl::__vwsn::Box(::vl::Ptr<::vl::reflection::description::IValueReadonlyList>((::vl::__vwsn::CreateList().Add([&](){ ::vl::presentation::Point __vwsn_temp__; __vwsn_temp__.x = static_cast<::vl::vint32_t>(0); __vwsn_temp__.y = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }()).Add([&](){ ::vl::presentation::Point __vwsn_temp__; __vwsn_temp__.x = static_cast<::vl::vint32_t>(4); __vwsn_temp__.y = static_cast<::vl::vint32_t>(4); return __vwsn_temp__; }()).Add([&](){ ::vl::presentation::Point __vwsn_temp__; __vwsn_temp__.x = static_cast<::vl::vint32_t>(8); __vwsn_temp__.y = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }())).list)); ::vl::collections::Array<::vl::presentation::Point> __vwsn_temp_0; ::vl::reflection::description::UnboxParameter(__vwsn_temp_x0, __vwsn_temp_0); return ::vl::__vwsn::This(this->__vwsn_precompile_2.Obj())->SetPointsArray(__vwsn_temp_0); }();
}
{
::vl::__vwsn::This(this->__vwsn_precompile_2.Obj())->SetSize([&](){ ::vl::presentation::Size __vwsn_temp__; __vwsn_temp__.x = static_cast<::vl::vint32_t>(9); __vwsn_temp__.y = static_cast<::vl::vint32_t>(5); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_2));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_1));
}
{
::vl::__vwsn::This(this->self)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_0));
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc36_Demo_darkskin_BottomScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf104_Demo_darkskin_BottomScrollButtonTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc37_Demo_darkskin_BottomScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf105_Demo_darkskin_BottomScrollButtonTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
}
BottomScrollButtonTemplateConstructor::BottomScrollButtonTemplateConstructor()
{
}
/***********************************************************************
Class (::darkskin::BottomScrollButtonTemplate)
***********************************************************************/
BottomScrollButtonTemplate::BottomScrollButtonTemplate()
{
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"darkskin::BottomScrollButtonTemplate", 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_initialize_instance_(this);
}
BottomScrollButtonTemplate::~BottomScrollButtonTemplate()
{
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::templates::GuiTemplate*>(this));
}
/***********************************************************************
Class (::darkskin::ButtonTemplateConstructor)
***********************************************************************/
void ButtonTemplateConstructor::__vwsn_initialize_instance_(::darkskin::ButtonTemplate* __vwsn_this_)
{
(this->self = __vwsn_this_);
{
::vl::__vwsn::This(this->self)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
(this->__vwsn_precompile_0 = ::vl::Ptr<::vl::presentation::elements::GuiSolidBackgroundElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidBackgroundElement>()));
{
::vl::__vwsn::This(this->self)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_0));
}
(this->__vwsn_precompile_1 = new ::vl::presentation::compositions::GuiBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_2 = ::vl::Ptr<::vl::presentation::elements::GuiSolidBorderElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidBorderElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_2));
}
{
::vl::__vwsn::This(this->self)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_1));
}
(this->__vwsn_precompile_3 = new ::vl::presentation::compositions::GuiBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_3)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_3)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(3); __vwsn_temp__.top = static_cast<::vl::vint32_t>(1); __vwsn_temp__.right = static_cast<::vl::vint32_t>(3); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(1); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_4 = ::vl::Ptr<::vl::presentation::elements::GuiSolidLabelElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidLabelElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_4.Obj())->SetVerticalAlignment(::vl::presentation::Alignment::Center);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_4.Obj())->SetHorizontalAlignment(::vl::presentation::Alignment::Center);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_3)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_4));
}
{
::vl::__vwsn::This(this->self)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_3));
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc38_Demo_darkskin_ButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf106_Demo_darkskin_ButtonTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc39_Demo_darkskin_ButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf107_Demo_darkskin_ButtonTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc40_Demo_darkskin_ButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf108_Demo_darkskin_ButtonTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc41_Demo_darkskin_ButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf109_Demo_darkskin_ButtonTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc42_Demo_darkskin_ButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf110_Demo_darkskin_ButtonTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
}
ButtonTemplateConstructor::ButtonTemplateConstructor()
{
}
/***********************************************************************
Class (::darkskin::ButtonTemplate)
***********************************************************************/
ButtonTemplate::ButtonTemplate()
{
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"darkskin::ButtonTemplate", 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_initialize_instance_(this);
}
ButtonTemplate::~ButtonTemplate()
{
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::templates::GuiTemplate*>(this));
}
/***********************************************************************
Class (::darkskin::CheckBoxTemplateConstructor)
***********************************************************************/
void CheckBoxTemplateConstructor::__vwsn_initialize_instance_(::darkskin::CheckBoxTemplate* __vwsn_this_)
{
(this->self = __vwsn_this_);
{
::vl::__vwsn::This(this->self)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
(this->__vwsn_precompile_0 = new ::vl::presentation::compositions::GuiTableComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetRowsAndColumns(static_cast<::vl::vint32_t>(3), static_cast<::vl::vint32_t>(2));
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetRowOption(static_cast<::vl::vint32_t>(0), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(1.0); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetRowOption(static_cast<::vl::vint32_t>(1), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Absolute; __vwsn_temp__.absolute = static_cast<::vl::vint32_t>(17); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetRowOption(static_cast<::vl::vint32_t>(2), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(1.0); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetColumnOption(static_cast<::vl::vint32_t>(0), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Absolute; __vwsn_temp__.absolute = static_cast<::vl::vint32_t>(17); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetColumnOption(static_cast<::vl::vint32_t>(1), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(1.0); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_1 = new ::vl::presentation::compositions::GuiCellComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetSite(static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(0), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1));
}
(this->__vwsn_precompile_2 = new ::vl::presentation::compositions::GuiBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_2)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_2)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(2); __vwsn_temp__.top = static_cast<::vl::vint32_t>(2); __vwsn_temp__.right = static_cast<::vl::vint32_t>(2); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(2); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_3 = ::vl::Ptr<::vl::presentation::elements::GuiSolidBackgroundElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidBackgroundElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_2)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_3));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_2));
}
(this->__vwsn_precompile_4 = new ::vl::presentation::compositions::GuiBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_4)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_4)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(2); __vwsn_temp__.top = static_cast<::vl::vint32_t>(2); __vwsn_temp__.right = static_cast<::vl::vint32_t>(2); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(2); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_5 = ::vl::Ptr<::vl::presentation::elements::GuiSolidBorderElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidBorderElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_4)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_5));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_4));
}
(this->__vwsn_precompile_6 = new ::vl::presentation::compositions::GuiBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_6)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_6)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_7 = ::vl::Ptr<::vl::presentation::elements::GuiSolidLabelElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidLabelElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_7.Obj())->SetFont([&](){ ::vl::presentation::FontProperties __vwsn_temp__; __vwsn_temp__.fontFamily = ::vl::WString(L"Webdings", false); __vwsn_temp__.size = static_cast<::vl::vint32_t>(16); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_7.Obj())->SetVerticalAlignment(::vl::presentation::Alignment::Center);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_7.Obj())->SetHorizontalAlignment(::vl::presentation::Alignment::Center);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_7.Obj())->SetText(::vl::WString(L"a", false));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_6)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_7));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_6));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_1));
}
(this->__vwsn_precompile_8 = new ::vl::presentation::compositions::GuiCellComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_8)->SetSite(static_cast<::vl::vint32_t>(0), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(3), static_cast<::vl::vint32_t>(1));
}
(this->__vwsn_precompile_9 = new ::vl::presentation::compositions::GuiBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_9)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_9)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(3); __vwsn_temp__.top = static_cast<::vl::vint32_t>(1); __vwsn_temp__.right = static_cast<::vl::vint32_t>(3); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(1); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_10 = ::vl::Ptr<::vl::presentation::elements::GuiSolidLabelElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidLabelElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_10.Obj())->SetVerticalAlignment(::vl::presentation::Alignment::Center);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_10.Obj())->SetHorizontalAlignment(::vl::presentation::Alignment::Left);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_9)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_10));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_8)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_9));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_8));
}
{
::vl::__vwsn::This(this->self)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_0));
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc43_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf111_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc44_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf112_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc45_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf113_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc46_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf114_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc47_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf115_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc48_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf116_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc49_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf117_Demo_darkskin_CheckBoxTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
}
CheckBoxTemplateConstructor::CheckBoxTemplateConstructor()
{
}
/***********************************************************************
Class (::darkskin::CheckBoxTemplate)
***********************************************************************/
CheckBoxTemplate::CheckBoxTemplate()
{
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"darkskin::CheckBoxTemplate", 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_initialize_instance_(this);
}
CheckBoxTemplate::~CheckBoxTemplate()
{
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::templates::GuiTemplate*>(this));
}
/***********************************************************************
Class (::darkskin::CheckItemBackgroundTemplateConstructor)
***********************************************************************/
void CheckItemBackgroundTemplateConstructor::__vwsn_initialize_instance_(::darkskin::CheckItemBackgroundTemplate* __vwsn_this_)
{
(this->self = __vwsn_this_);
{
::vl::__vwsn::This(this->self)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
(this->__vwsn_precompile_0 = ::vl::Ptr<::vl::presentation::elements::GuiSolidBackgroundElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidBackgroundElement>()));
{
::vl::__vwsn::This(this->self)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_0));
}
(this->container = new ::vl::presentation::compositions::GuiBoundsComposition());
{
::vl::__vwsn::This(this->container)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->container)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(2); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(1); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->self)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->container));
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc50_Demo_darkskin_CheckItemBackgroundTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf118_Demo_darkskin_CheckItemBackgroundTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
::vl::__vwsn::This(this->self)->SetContainerComposition(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->container));
}
}
CheckItemBackgroundTemplateConstructor::CheckItemBackgroundTemplateConstructor()
{
}
/***********************************************************************
Class (::darkskin::CheckItemBackgroundTemplate)
***********************************************************************/
CheckItemBackgroundTemplate::CheckItemBackgroundTemplate()
{
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"darkskin::CheckItemBackgroundTemplate", 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_initialize_instance_(this);
}
CheckItemBackgroundTemplate::~CheckItemBackgroundTemplate()
{
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::templates::GuiTemplate*>(this));
}
/***********************************************************************
Class (::darkskin::ComboBoxTemplateConstructor)
***********************************************************************/
void ComboBoxTemplateConstructor::__vwsn_initialize_instance_(::darkskin::ComboBoxTemplate* __vwsn_this_)
{
(this->self = __vwsn_this_);
{
::vl::__vwsn::This(this->self)->SetDatePickerTemplate(LAMBDA(::vl_workflow_global::__vwsnf119_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance__(this)));
}
{
::vl::__vwsn::This(this->self)->SetSubMenuTemplate(LAMBDA(::vl_workflow_global::__vwsnf120_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance__(this)));
}
{
::vl::__vwsn::This(this->self)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
(this->__vwsn_precompile_0 = ::vl::Ptr<::vl::presentation::elements::GuiSolidBackgroundElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidBackgroundElement>()));
{
::vl::__vwsn::This(this->self)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_0));
}
(this->__vwsn_precompile_1 = new ::vl::presentation::compositions::GuiBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_2 = ::vl::Ptr<::vl::presentation::elements::GuiSolidBorderElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidBorderElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_2.Obj())->SetColor(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#434346", false)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_2));
}
(this->container = new ::vl::presentation::compositions::GuiBoundsComposition());
{
::vl::__vwsn::This(this->container)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->container)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(1); __vwsn_temp__.top = static_cast<::vl::vint32_t>(1); __vwsn_temp__.right = static_cast<::vl::vint32_t>(11); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(1); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_3 = new ::vl::presentation::compositions::GuiBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_3)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_3)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(2); __vwsn_temp__.top = static_cast<::vl::vint32_t>(2); __vwsn_temp__.right = static_cast<::vl::vint32_t>(2); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(2); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_4 = ::vl::Ptr<::vl::presentation::elements::GuiSolidLabelElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidLabelElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_4.Obj())->SetEllipse(::vl::__vwsn::Parse<bool>(::vl::WString(L"true", false)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_4.Obj())->SetVerticalAlignment(::vl::presentation::Alignment::Center);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_4.Obj())->SetHorizontalAlignment(::vl::presentation::Alignment::Left);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_3)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_4));
}
{
::vl::__vwsn::This(this->container)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_3));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->container));
}
(this->__vwsn_precompile_5 = new ::vl::presentation::compositions::GuiTableComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_5)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_5)->SetPreferredMinSize([&](){ ::vl::presentation::Size __vwsn_temp__; __vwsn_temp__.x = static_cast<::vl::vint32_t>(9); __vwsn_temp__.y = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_5)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = (- static_cast<::vl::vint32_t>(1)); __vwsn_temp__.top = static_cast<::vl::vint32_t>(1); __vwsn_temp__.right = static_cast<::vl::vint32_t>(1); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(1); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_5)->SetRowsAndColumns(static_cast<::vl::vint32_t>(3), static_cast<::vl::vint32_t>(3));
::vl::__vwsn::This(this->__vwsn_precompile_5)->SetRowOption(static_cast<::vl::vint32_t>(0), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(0.5); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_5)->SetRowOption(static_cast<::vl::vint32_t>(1), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Absolute; __vwsn_temp__.absolute = static_cast<::vl::vint32_t>(3); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_5)->SetRowOption(static_cast<::vl::vint32_t>(2), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(0.5); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_5)->SetColumnOption(static_cast<::vl::vint32_t>(0), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(0.5); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_5)->SetColumnOption(static_cast<::vl::vint32_t>(1), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Absolute; __vwsn_temp__.absolute = static_cast<::vl::vint32_t>(5); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_5)->SetColumnOption(static_cast<::vl::vint32_t>(2), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(0.5); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_6 = ::vl::Ptr<::vl::presentation::elements::GuiSolidBackgroundElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidBackgroundElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_5)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_6));
}
(this->__vwsn_precompile_7 = new ::vl::presentation::compositions::GuiCellComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_7)->SetSite(static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1));
}
(this->__vwsn_precompile_8 = ::vl::Ptr<::vl::presentation::elements::GuiPolygonElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiPolygonElement>()));
{
[&]()->decltype(auto){ auto __vwsn_temp_x0 = ::vl::__vwsn::Box(::vl::Ptr<::vl::reflection::description::IValueReadonlyList>((::vl::__vwsn::CreateList().Add([&](){ ::vl::presentation::Point __vwsn_temp__; __vwsn_temp__.x = static_cast<::vl::vint32_t>(0); __vwsn_temp__.y = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }()).Add([&](){ ::vl::presentation::Point __vwsn_temp__; __vwsn_temp__.x = static_cast<::vl::vint32_t>(2); __vwsn_temp__.y = static_cast<::vl::vint32_t>(2); return __vwsn_temp__; }()).Add([&](){ ::vl::presentation::Point __vwsn_temp__; __vwsn_temp__.x = static_cast<::vl::vint32_t>(4); __vwsn_temp__.y = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }())).list)); ::vl::collections::Array<::vl::presentation::Point> __vwsn_temp_0; ::vl::reflection::description::UnboxParameter(__vwsn_temp_x0, __vwsn_temp_0); return ::vl::__vwsn::This(this->__vwsn_precompile_8.Obj())->SetPointsArray(__vwsn_temp_0); }();
}
{
::vl::__vwsn::This(this->__vwsn_precompile_8.Obj())->SetSize([&](){ ::vl::presentation::Size __vwsn_temp__; __vwsn_temp__.x = static_cast<::vl::vint32_t>(5); __vwsn_temp__.y = static_cast<::vl::vint32_t>(3); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_7)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_8));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_5)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_7));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_5));
}
{
::vl::__vwsn::This(this->self)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_1));
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc51_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf121_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc52_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf122_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc53_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf123_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc54_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf124_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc55_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf125_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc56_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf126_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc57_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf127_Demo_darkskin_ComboBoxTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
::vl::__vwsn::This(this->self)->SetContainerComposition(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->container));
}
}
ComboBoxTemplateConstructor::ComboBoxTemplateConstructor()
{
}
/***********************************************************************
Class (::darkskin::ComboBoxTemplate)
***********************************************************************/
ComboBoxTemplate::ComboBoxTemplate()
{
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"darkskin::ComboBoxTemplate", 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_initialize_instance_(this);
}
ComboBoxTemplate::~ComboBoxTemplate()
{
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::templates::GuiTemplate*>(this));
}
/***********************************************************************
Class (::darkskin::CustomControlTemplateConstructor)
***********************************************************************/
void CustomControlTemplateConstructor::__vwsn_initialize_instance_(::darkskin::CustomControlTemplate* __vwsn_this_)
{
(this->__vwsn_precompile_0 = __vwsn_this_);
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
}
CustomControlTemplateConstructor::CustomControlTemplateConstructor()
{
}
/***********************************************************************
Class (::darkskin::CustomControlTemplate)
***********************************************************************/
CustomControlTemplate::CustomControlTemplate()
{
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"darkskin::CustomControlTemplate", 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_initialize_instance_(this);
}
CustomControlTemplate::~CustomControlTemplate()
{
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::templates::GuiTemplate*>(this));
}
/***********************************************************************
Class (::darkskin::ThemeConstructor)
***********************************************************************/
void ThemeConstructor::__vwsn_initialize_instance_(::darkskin::Theme* __vwsn_this_)
{
(this->__vwsn_precompile_0 = __vwsn_this_);
{
(::vl::__vwsn::This(this->__vwsn_precompile_0)->progressBar = LAMBDA(::vl_workflow_global::__vwsnf128_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__(this)));
}
{
(::vl::__vwsn::This(this->__vwsn_precompile_0)->vTracker = LAMBDA(::vl_workflow_global::__vwsnf129_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__(this)));
}
{
(::vl::__vwsn::This(this->__vwsn_precompile_0)->hTracker = LAMBDA(::vl_workflow_global::__vwsnf130_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__(this)));
}
{
(::vl::__vwsn::This(this->__vwsn_precompile_0)->vScroll = LAMBDA(::vl_workflow_global::__vwsnf131_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__(this)));
}
{
(::vl::__vwsn::This(this->__vwsn_precompile_0)->hScroll = LAMBDA(::vl_workflow_global::__vwsnf132_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__(this)));
}
{
(::vl::__vwsn::This(this->__vwsn_precompile_0)->datePicker = LAMBDA(::vl_workflow_global::__vwsnf133_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__(this)));
}
{
(::vl::__vwsn::This(this->__vwsn_precompile_0)->radioButton = LAMBDA(::vl_workflow_global::__vwsnf134_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__(this)));
}
{
(::vl::__vwsn::This(this->__vwsn_precompile_0)->checkBox = LAMBDA(::vl_workflow_global::__vwsnf135_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__(this)));
}
{
(::vl::__vwsn::This(this->__vwsn_precompile_0)->button = LAMBDA(::vl_workflow_global::__vwsnf136_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__(this)));
}
{
(::vl::__vwsn::This(this->__vwsn_precompile_0)->toolBarSplitter = LAMBDA(::vl_workflow_global::__vwsnf137_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__(this)));
}
{
(::vl::__vwsn::This(this->__vwsn_precompile_0)->toolBarSplitButton = LAMBDA(::vl_workflow_global::__vwsnf138_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__(this)));
}
{
(::vl::__vwsn::This(this->__vwsn_precompile_0)->toolBarDropdownButton = LAMBDA(::vl_workflow_global::__vwsnf139_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__(this)));
}
{
(::vl::__vwsn::This(this->__vwsn_precompile_0)->toolBarButton = LAMBDA(::vl_workflow_global::__vwsnf140_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__(this)));
}
{
(::vl::__vwsn::This(this->__vwsn_precompile_0)->toolBar = LAMBDA(::vl_workflow_global::__vwsnf141_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__(this)));
}
{
(::vl::__vwsn::This(this->__vwsn_precompile_0)->menuItemButton = LAMBDA(::vl_workflow_global::__vwsnf142_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__(this)));
}
{
(::vl::__vwsn::This(this->__vwsn_precompile_0)->menuBarButton = LAMBDA(::vl_workflow_global::__vwsnf143_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__(this)));
}
{
(::vl::__vwsn::This(this->__vwsn_precompile_0)->menuSplitter = LAMBDA(::vl_workflow_global::__vwsnf144_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__(this)));
}
{
(::vl::__vwsn::This(this->__vwsn_precompile_0)->menuBar = LAMBDA(::vl_workflow_global::__vwsnf145_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__(this)));
}
{
(::vl::__vwsn::This(this->__vwsn_precompile_0)->menu = LAMBDA(::vl_workflow_global::__vwsnf146_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__(this)));
}
{
(::vl::__vwsn::This(this->__vwsn_precompile_0)->singlelineTextBox = LAMBDA(::vl_workflow_global::__vwsnf147_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__(this)));
}
{
(::vl::__vwsn::This(this->__vwsn_precompile_0)->multilineTextBox = LAMBDA(::vl_workflow_global::__vwsnf148_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__(this)));
}
{
(::vl::__vwsn::This(this->__vwsn_precompile_0)->tab = LAMBDA(::vl_workflow_global::__vwsnf149_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__(this)));
}
{
(::vl::__vwsn::This(this->__vwsn_precompile_0)->groupBox = LAMBDA(::vl_workflow_global::__vwsnf150_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__(this)));
}
{
(::vl::__vwsn::This(this->__vwsn_precompile_0)->scrollView = LAMBDA(::vl_workflow_global::__vwsnf151_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__(this)));
}
{
(::vl::__vwsn::This(this->__vwsn_precompile_0)->shortcutKey = LAMBDA(::vl_workflow_global::__vwsnf152_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__(this)));
}
{
(::vl::__vwsn::This(this->__vwsn_precompile_0)->label = LAMBDA(::vl_workflow_global::__vwsnf153_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__(this)));
}
{
(::vl::__vwsn::This(this->__vwsn_precompile_0)->tooltip = LAMBDA(::vl_workflow_global::__vwsnf154_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__(this)));
}
{
(::vl::__vwsn::This(this->__vwsn_precompile_0)->customControl = LAMBDA(::vl_workflow_global::__vwsnf155_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__(this)));
}
{
(::vl::__vwsn::This(this->__vwsn_precompile_0)->window = LAMBDA(::vl_workflow_global::__vwsnf156_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__(this)));
}
{
(::vl::__vwsn::This(this->__vwsn_precompile_0)->comboBox = LAMBDA(::vl_workflow_global::__vwsnf157_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__(this)));
}
{
(::vl::__vwsn::This(this->__vwsn_precompile_0)->documentLabel = LAMBDA(::vl_workflow_global::__vwsnf158_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__(this)));
}
{
(::vl::__vwsn::This(this->__vwsn_precompile_0)->documentViewer = LAMBDA(::vl_workflow_global::__vwsnf159_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__(this)));
}
{
(::vl::__vwsn::This(this->__vwsn_precompile_0)->documentTextBox = LAMBDA(::vl_workflow_global::__vwsnf160_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__(this)));
}
{
(::vl::__vwsn::This(this->__vwsn_precompile_0)->treeView = LAMBDA(::vl_workflow_global::__vwsnf161_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__(this)));
}
{
(::vl::__vwsn::This(this->__vwsn_precompile_0)->listView = LAMBDA(::vl_workflow_global::__vwsnf162_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__(this)));
}
{
(::vl::__vwsn::This(this->__vwsn_precompile_0)->textList = LAMBDA(::vl_workflow_global::__vwsnf163_Demo_darkskin_ThemeConstructor___vwsn_initialize_instance__(this)));
}
}
ThemeConstructor::ThemeConstructor()
{
}
/***********************************************************************
Class (::darkskin::Theme)
***********************************************************************/
Theme::Theme()
{
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"darkskin::Theme", 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_initialize_instance_(this);
}
Theme::~Theme()
{
this->FinalizeGeneralInstance(static_cast<::vl::presentation::controls::GuiInstanceRootObject*>(this));
}
/***********************************************************************
Class (::darkskin::DatePickerTemplateConstructor)
***********************************************************************/
void DatePickerTemplateConstructor::__vwsn_initialize_instance_(::darkskin::DatePickerTemplate* __vwsn_this_)
{
(this->self = __vwsn_this_);
{
::vl::__vwsn::This(this->self)->SetSecondaryTextColor(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#999999", false)));
}
{
::vl::__vwsn::This(this->self)->SetPrimaryTextColor(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#FFFFFF", false)));
}
{
::vl::__vwsn::This(this->self)->SetDateComboBoxTemplate(LAMBDA(::vl_workflow_global::__vwsnf164_Demo_darkskin_DatePickerTemplateConstructor___vwsn_initialize_instance__(this)));
}
{
::vl::__vwsn::This(this->self)->SetDateTextListTemplate(LAMBDA(::vl_workflow_global::__vwsnf165_Demo_darkskin_DatePickerTemplateConstructor___vwsn_initialize_instance__(this)));
}
{
::vl::__vwsn::This(this->self)->SetDateButtonTemplate(LAMBDA(::vl_workflow_global::__vwsnf166_Demo_darkskin_DatePickerTemplateConstructor___vwsn_initialize_instance__(this)));
}
{
::vl::__vwsn::This(this->self)->SetBackgroundColor(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#2D2D30", false)));
}
{
::vl::__vwsn::This(this->self)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
}
DatePickerTemplateConstructor::DatePickerTemplateConstructor()
{
}
/***********************************************************************
Class (::darkskin::DatePickerTemplate)
***********************************************************************/
DatePickerTemplate::DatePickerTemplate()
{
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"darkskin::DatePickerTemplate", 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_initialize_instance_(this);
}
DatePickerTemplate::~DatePickerTemplate()
{
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::templates::GuiTemplate*>(this));
}
/***********************************************************************
Class (::darkskin::DocumentLabelTemplateConstructor)
***********************************************************************/
void DocumentLabelTemplateConstructor::__vwsn_initialize_instance_(::darkskin::DocumentLabelTemplate* __vwsn_this_)
{
(this->self = __vwsn_this_);
{
::vl::__vwsn::This(this->self)->SetCaretColor(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#FFFFFF", false)));
}
{
::vl::__vwsn::This(this->self)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->self)->SetBaselineDocument(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::DocumentModel>(::vl::__vwsn::This(__vwsn_this_)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"DarkSkin/BaselineDocument", false), true).Obj())));
}
}
DocumentLabelTemplateConstructor::DocumentLabelTemplateConstructor()
{
}
/***********************************************************************
Class (::darkskin::DocumentLabelTemplate)
***********************************************************************/
DocumentLabelTemplate::DocumentLabelTemplate()
{
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"darkskin::DocumentLabelTemplate", 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_initialize_instance_(this);
}
DocumentLabelTemplate::~DocumentLabelTemplate()
{
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::templates::GuiTemplate*>(this));
}
/***********************************************************************
Class (::darkskin::DocumentTextBoxTemplateConstructor)
***********************************************************************/
void DocumentTextBoxTemplateConstructor::__vwsn_initialize_instance_(::darkskin::DocumentTextBoxTemplate* __vwsn_this_)
{
(this->self = __vwsn_this_);
{
::vl::__vwsn::This(this->self)->SetCaretColor(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#FFFFFF", false)));
}
{
::vl::__vwsn::This(this->self)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
(this->__vwsn_precompile_0 = ::vl::Ptr<::vl::presentation::elements::GuiSolidBackgroundElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidBackgroundElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_0.Obj())->SetColor(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#252526", false)));
}
{
::vl::__vwsn::This(this->self)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_0));
}
(this->container = new ::vl::presentation::compositions::GuiBoundsComposition());
{
::vl::__vwsn::This(this->container)->SetInternalMargin([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(1); __vwsn_temp__.top = static_cast<::vl::vint32_t>(1); __vwsn_temp__.right = static_cast<::vl::vint32_t>(1); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(1); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->container)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->container)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_1 = ::vl::Ptr<::vl::presentation::elements::GuiSolidBorderElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidBorderElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_1.Obj())->SetColor(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#3F3F46", false)));
}
{
::vl::__vwsn::This(this->container)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_1));
}
{
::vl::__vwsn::This(this->self)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->container));
}
{
::vl::__vwsn::This(this->self)->SetContainerComposition(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->container));
}
{
::vl::__vwsn::This(this->self)->SetBaselineDocument(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::DocumentModel>(::vl::__vwsn::This(__vwsn_this_)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"DarkSkin/BaselineDocument", false), true).Obj())));
}
}
DocumentTextBoxTemplateConstructor::DocumentTextBoxTemplateConstructor()
{
}
/***********************************************************************
Class (::darkskin::DocumentTextBoxTemplate)
***********************************************************************/
DocumentTextBoxTemplate::DocumentTextBoxTemplate()
{
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"darkskin::DocumentTextBoxTemplate", 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_initialize_instance_(this);
}
DocumentTextBoxTemplate::~DocumentTextBoxTemplate()
{
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::templates::GuiTemplate*>(this));
}
/***********************************************************************
Class (::darkskin::DocumentViewerTemplateConstructor)
***********************************************************************/
void DocumentViewerTemplateConstructor::__vwsn_initialize_instance_(::darkskin::DocumentViewerTemplate* __vwsn_this_)
{
(this->self = __vwsn_this_);
{
::vl::__vwsn::This(this->self)->SetDefaultScrollSize(::vl::__vwsn::Parse<::vl::vint32_t>(::vl::WString(L"20", false)));
}
{
::vl::__vwsn::This(this->self)->SetVScrollTemplate(LAMBDA(::vl_workflow_global::__vwsnf167_Demo_darkskin_DocumentViewerTemplateConstructor___vwsn_initialize_instance__(this)));
}
{
::vl::__vwsn::This(this->self)->SetHScrollTemplate(LAMBDA(::vl_workflow_global::__vwsnf168_Demo_darkskin_DocumentViewerTemplateConstructor___vwsn_initialize_instance__(this)));
}
{
::vl::__vwsn::This(this->self)->SetCaretColor(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#FFFFFF", false)));
}
{
::vl::__vwsn::This(this->self)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
(this->__vwsn_precompile_0 = ::vl::Ptr<::vl::presentation::elements::GuiSolidBackgroundElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidBackgroundElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_0.Obj())->SetColor(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#252526", false)));
}
{
::vl::__vwsn::This(this->self)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_0));
}
(this->container = new ::vl::presentation::compositions::GuiBoundsComposition());
{
::vl::__vwsn::This(this->container)->SetInternalMargin([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(1); __vwsn_temp__.top = static_cast<::vl::vint32_t>(1); __vwsn_temp__.right = static_cast<::vl::vint32_t>(1); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(1); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->container)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->container)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_1 = ::vl::Ptr<::vl::presentation::elements::GuiSolidBorderElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidBorderElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_1.Obj())->SetColor(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#3F3F46", false)));
}
{
::vl::__vwsn::This(this->container)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_1));
}
{
::vl::__vwsn::This(this->self)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->container));
}
{
::vl::__vwsn::This(this->self)->SetContainerComposition(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->container));
}
{
::vl::__vwsn::This(this->self)->SetBaselineDocument(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::DocumentModel>(::vl::__vwsn::This(__vwsn_this_)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"DarkSkin/BaselineDocument", false), true).Obj())));
}
}
DocumentViewerTemplateConstructor::DocumentViewerTemplateConstructor()
{
}
/***********************************************************************
Class (::darkskin::DocumentViewerTemplate)
***********************************************************************/
DocumentViewerTemplate::DocumentViewerTemplate()
{
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"darkskin::DocumentViewerTemplate", 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_initialize_instance_(this);
}
DocumentViewerTemplate::~DocumentViewerTemplate()
{
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::templates::GuiTemplate*>(this));
}
/***********************************************************************
Class (::darkskin::ExpandingDecoratorTemplateConstructor)
***********************************************************************/
void ExpandingDecoratorTemplateConstructor::__vwsn_initialize_instance_(::darkskin::ExpandingDecoratorTemplate* __vwsn_this_)
{
(this->self = __vwsn_this_);
{
::vl::__vwsn::This(this->self)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
(this->__vwsn_precompile_0 = new ::vl::presentation::compositions::GuiTableComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetRowsAndColumns(static_cast<::vl::vint32_t>(3), static_cast<::vl::vint32_t>(3));
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetRowOption(static_cast<::vl::vint32_t>(0), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(0.5); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetRowOption(static_cast<::vl::vint32_t>(1), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Absolute; __vwsn_temp__.absolute = static_cast<::vl::vint32_t>(9); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetRowOption(static_cast<::vl::vint32_t>(2), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(0.5); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetColumnOption(static_cast<::vl::vint32_t>(0), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(0.5); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetColumnOption(static_cast<::vl::vint32_t>(1), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Absolute; __vwsn_temp__.absolute = static_cast<::vl::vint32_t>(7); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetColumnOption(static_cast<::vl::vint32_t>(2), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(0.5); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_1 = new ::vl::presentation::compositions::GuiCellComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetSite(static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1));
}
(this->__vwsn_precompile_2 = new ::vl::presentation::compositions::GuiBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_2)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
(this->__vwsn_precompile_3 = ::vl::Ptr<::vl::presentation::elements::GuiPolygonElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiPolygonElement>()));
{
[&]()->decltype(auto){ auto __vwsn_temp_x0 = ::vl::__vwsn::Box(::vl::Ptr<::vl::reflection::description::IValueReadonlyList>((::vl::__vwsn::CreateList().Add([&](){ ::vl::presentation::Point __vwsn_temp__; __vwsn_temp__.x = static_cast<::vl::vint32_t>(1); __vwsn_temp__.y = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }()).Add([&](){ ::vl::presentation::Point __vwsn_temp__; __vwsn_temp__.x = static_cast<::vl::vint32_t>(5); __vwsn_temp__.y = static_cast<::vl::vint32_t>(4); return __vwsn_temp__; }()).Add([&](){ ::vl::presentation::Point __vwsn_temp__; __vwsn_temp__.x = static_cast<::vl::vint32_t>(1); __vwsn_temp__.y = static_cast<::vl::vint32_t>(8); return __vwsn_temp__; }())).list)); ::vl::collections::Array<::vl::presentation::Point> __vwsn_temp_0; ::vl::reflection::description::UnboxParameter(__vwsn_temp_x0, __vwsn_temp_0); return ::vl::__vwsn::This(this->__vwsn_precompile_3.Obj())->SetPointsArray(__vwsn_temp_0); }();
}
{
::vl::__vwsn::This(this->__vwsn_precompile_3.Obj())->SetSize([&](){ ::vl::presentation::Size __vwsn_temp__; __vwsn_temp__.x = static_cast<::vl::vint32_t>(7); __vwsn_temp__.y = static_cast<::vl::vint32_t>(9); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_2)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_3));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_2));
}
(this->__vwsn_precompile_4 = new ::vl::presentation::compositions::GuiBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_4)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
(this->__vwsn_precompile_5 = ::vl::Ptr<::vl::presentation::elements::GuiPolygonElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiPolygonElement>()));
{
[&]()->decltype(auto){ auto __vwsn_temp_x0 = ::vl::__vwsn::Box(::vl::Ptr<::vl::reflection::description::IValueReadonlyList>((::vl::__vwsn::CreateList().Add([&](){ ::vl::presentation::Point __vwsn_temp__; __vwsn_temp__.x = static_cast<::vl::vint32_t>(5); __vwsn_temp__.y = static_cast<::vl::vint32_t>(2); return __vwsn_temp__; }()).Add([&](){ ::vl::presentation::Point __vwsn_temp__; __vwsn_temp__.x = static_cast<::vl::vint32_t>(5); __vwsn_temp__.y = static_cast<::vl::vint32_t>(7); return __vwsn_temp__; }()).Add([&](){ ::vl::presentation::Point __vwsn_temp__; __vwsn_temp__.x = static_cast<::vl::vint32_t>(0); __vwsn_temp__.y = static_cast<::vl::vint32_t>(7); return __vwsn_temp__; }())).list)); ::vl::collections::Array<::vl::presentation::Point> __vwsn_temp_0; ::vl::reflection::description::UnboxParameter(__vwsn_temp_x0, __vwsn_temp_0); return ::vl::__vwsn::This(this->__vwsn_precompile_5.Obj())->SetPointsArray(__vwsn_temp_0); }();
}
{
::vl::__vwsn::This(this->__vwsn_precompile_5.Obj())->SetSize([&](){ ::vl::presentation::Size __vwsn_temp__; __vwsn_temp__.x = static_cast<::vl::vint32_t>(7); __vwsn_temp__.y = static_cast<::vl::vint32_t>(9); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_4)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_5));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_4));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_1));
}
{
::vl::__vwsn::This(this->self)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_0));
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc58_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf169_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc59_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf170_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc60_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf171_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc61_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf172_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc62_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf173_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc63_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf174_Demo_darkskin_ExpandingDecoratorTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
}
ExpandingDecoratorTemplateConstructor::ExpandingDecoratorTemplateConstructor()
{
}
/***********************************************************************
Class (::darkskin::ExpandingDecoratorTemplate)
***********************************************************************/
ExpandingDecoratorTemplate::ExpandingDecoratorTemplate()
{
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"darkskin::ExpandingDecoratorTemplate", 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_initialize_instance_(this);
}
ExpandingDecoratorTemplate::~ExpandingDecoratorTemplate()
{
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::templates::GuiTemplate*>(this));
}
/***********************************************************************
Class (::darkskin::GroupBoxTemplateConstructor)
***********************************************************************/
void GroupBoxTemplateConstructor::__vwsn_initialize_instance_(::darkskin::GroupBoxTemplate* __vwsn_this_)
{
(this->self = __vwsn_this_);
{
::vl::__vwsn::This(this->self)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
(this->__vwsn_precompile_0 = ::vl::Ptr<::vl::presentation::elements::GuiSolidBackgroundElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidBackgroundElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_0.Obj())->SetColor(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#2D2D30", false)));
}
{
::vl::__vwsn::This(this->self)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_0));
}
(this->__vwsn_precompile_1 = new ::vl::presentation::compositions::GuiBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
(this->__vwsn_precompile_2 = ::vl::Ptr<::vl::presentation::elements::GuiSolidBorderElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidBorderElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_2.Obj())->SetColor(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#3F3F46", false)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_2));
}
(this->container = new ::vl::presentation::compositions::GuiBoundsComposition());
{
::vl::__vwsn::This(this->container)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->container)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(1); __vwsn_temp__.top = static_cast<::vl::vint32_t>(5); __vwsn_temp__.right = static_cast<::vl::vint32_t>(1); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(1); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->container));
}
{
::vl::__vwsn::This(this->self)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_1));
}
(this->titleBounds = new ::vl::presentation::compositions::GuiBoundsComposition());
{
::vl::__vwsn::This(this->titleBounds)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->titleBounds)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(5); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = (- static_cast<::vl::vint32_t>(1)); __vwsn_temp__.bottom = (- static_cast<::vl::vint32_t>(1)); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_3 = ::vl::Ptr<::vl::presentation::elements::GuiSolidBackgroundElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidBackgroundElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_3.Obj())->SetColor(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#2D2D30", false)));
}
{
::vl::__vwsn::This(this->titleBounds)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_3));
}
(this->__vwsn_precompile_4 = new ::vl::presentation::compositions::GuiBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_4)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_4)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(2); __vwsn_temp__.top = static_cast<::vl::vint32_t>(2); __vwsn_temp__.right = static_cast<::vl::vint32_t>(2); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(2); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_5 = ::vl::Ptr<::vl::presentation::elements::GuiSolidLabelElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidLabelElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_5.Obj())->SetColor(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#C7C7C7", false)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_5.Obj())->SetVerticalAlignment(::vl::presentation::Alignment::Center);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_4)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_5));
}
{
::vl::__vwsn::This(this->titleBounds)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_4));
}
{
::vl::__vwsn::This(this->self)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->titleBounds));
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc64_Demo_darkskin_GroupBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf175_Demo_darkskin_GroupBoxTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc65_Demo_darkskin_GroupBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf176_Demo_darkskin_GroupBoxTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc66_Demo_darkskin_GroupBoxTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf177_Demo_darkskin_GroupBoxTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
::vl::__vwsn::This(this->self)->SetContainerComposition(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->container));
}
}
GroupBoxTemplateConstructor::GroupBoxTemplateConstructor()
{
}
/***********************************************************************
Class (::darkskin::GroupBoxTemplate)
***********************************************************************/
GroupBoxTemplate::GroupBoxTemplate()
{
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"darkskin::GroupBoxTemplate", 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_initialize_instance_(this);
}
GroupBoxTemplate::~GroupBoxTemplate()
{
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::templates::GuiTemplate*>(this));
}
/***********************************************************************
Class (::darkskin::HScrollHandleTemplateConstructor)
***********************************************************************/
void HScrollHandleTemplateConstructor::__vwsn_initialize_instance_(::darkskin::HScrollHandleTemplate* __vwsn_this_)
{
(this->self = __vwsn_this_);
{
::vl::__vwsn::This(this->self)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
(this->__vwsn_precompile_0 = new ::vl::presentation::compositions::GuiBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(4); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(4); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_1 = ::vl::Ptr<::vl::presentation::elements::GuiSolidBackgroundElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidBackgroundElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_1));
}
{
::vl::__vwsn::This(this->self)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_0));
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc67_Demo_darkskin_HScrollHandleTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf178_Demo_darkskin_HScrollHandleTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
}
HScrollHandleTemplateConstructor::HScrollHandleTemplateConstructor()
{
}
/***********************************************************************
Class (::darkskin::HScrollHandleTemplate)
***********************************************************************/
HScrollHandleTemplate::HScrollHandleTemplate()
{
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"darkskin::HScrollHandleTemplate", 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_initialize_instance_(this);
}
HScrollHandleTemplate::~HScrollHandleTemplate()
{
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::templates::GuiTemplate*>(this));
}
/***********************************************************************
Class (::darkskin::HScrollTemplateConstructor)
***********************************************************************/
void HScrollTemplateConstructor::__vwsn_initialize_instance_(::darkskin::HScrollTemplate* __vwsn_this_)
{
(this->self = __vwsn_this_);
{
::vl::__vwsn::This(this->self)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
(this->__vwsn_precompile_0 = ::vl::Ptr<::vl::presentation::elements::GuiSolidBackgroundElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidBackgroundElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_0.Obj())->SetColor(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#3D3D42", false)));
}
{
::vl::__vwsn::This(this->self)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_0));
}
(this->__vwsn_precompile_1 = new ::vl::presentation::compositions::GuiSideAlignedComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetMaxRatio(::vl::__vwsn::Parse<double>(::vl::WString(L"0.5", false)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetMaxLength(::vl::__vwsn::Parse<::vl::vint32_t>(::vl::WString(L"20", false)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetDirection(::vl::presentation::compositions::GuiSideAlignedComposition::Direction::Left);
}
{
auto __vwsn_controlStyle_ = new ::vl::presentation::templates::GuiButtonTemplate_StyleProvider(LAMBDA(::vl_workflow_global::__vwsnf179_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance__(this)));
(this->__vwsn_precompile_2 = new ::vl::presentation::controls::GuiButton(__vwsn_controlStyle_));
}
(this->__vwsn_precompile_3 = ::vl::__vwsn::This(this->__vwsn_precompile_2)->GetBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_3)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(::vl::__vwsn::This(this->__vwsn_precompile_2)->GetBoundsComposition()));
}
{
::vl::__vwsn::This(this->self)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_1));
}
(this->__vwsn_precompile_4 = new ::vl::presentation::compositions::GuiSideAlignedComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_4)->SetMaxRatio(::vl::__vwsn::Parse<double>(::vl::WString(L"0.5", false)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_4)->SetMaxLength(::vl::__vwsn::Parse<::vl::vint32_t>(::vl::WString(L"20", false)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_4)->SetDirection(::vl::presentation::compositions::GuiSideAlignedComposition::Direction::Right);
}
{
auto __vwsn_controlStyle_ = new ::vl::presentation::templates::GuiButtonTemplate_StyleProvider(LAMBDA(::vl_workflow_global::__vwsnf180_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance__(this)));
(this->__vwsn_precompile_5 = new ::vl::presentation::controls::GuiButton(__vwsn_controlStyle_));
}
(this->__vwsn_precompile_6 = ::vl::__vwsn::This(this->__vwsn_precompile_5)->GetBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_6)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_4)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(::vl::__vwsn::This(this->__vwsn_precompile_5)->GetBoundsComposition()));
}
{
::vl::__vwsn::This(this->self)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_4));
}
(this->handleContainer = new ::vl::presentation::compositions::GuiBoundsComposition());
{
::vl::__vwsn::This(this->handleContainer)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->handleContainer)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(20); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(20); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_7 = new ::vl::presentation::compositions::GuiBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_7)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->handleContainer)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_7));
}
(this->__vwsn_precompile_8 = new ::vl::presentation::compositions::GuiBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_8)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->handleContainer)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_8));
}
(this->handle = new ::vl::presentation::compositions::GuiPartialViewComposition());
{
auto __vwsn_controlStyle_ = new ::vl::presentation::templates::GuiButtonTemplate_StyleProvider(LAMBDA(::vl_workflow_global::__vwsnf181_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance__(this)));
(this->__vwsn_precompile_9 = new ::vl::presentation::controls::GuiButton(__vwsn_controlStyle_));
}
(this->__vwsn_precompile_10 = ::vl::__vwsn::This(this->__vwsn_precompile_9)->GetBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_10)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->handle)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(::vl::__vwsn::This(this->__vwsn_precompile_9)->GetBoundsComposition()));
}
{
::vl::__vwsn::This(this->handleContainer)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->handle));
}
{
::vl::__vwsn::This(this->self)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->handleContainer));
}
{
auto __vwsn_event_handler_ = LAMBDA(::vl_workflow_global::__vwsnf182_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance__(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(this->__vwsn_precompile_2)->Clicked, __vwsn_event_handler_);
}
{
auto __vwsn_event_handler_ = LAMBDA(::vl_workflow_global::__vwsnf183_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance__(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(this->__vwsn_precompile_5)->Clicked, __vwsn_event_handler_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc68_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf184_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_event_handler_ = LAMBDA(::vl_workflow_global::__vwsnf185_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance__(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(this->__vwsn_precompile_7)->GetEventReceiver()->leftButtonDown, __vwsn_event_handler_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc69_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf186_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_event_handler_ = LAMBDA(::vl_workflow_global::__vwsnf187_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance__(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(this->__vwsn_precompile_8)->GetEventReceiver()->leftButtonDown, __vwsn_event_handler_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc70_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf188_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc71_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf189_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_event_handler_ = LAMBDA(::vl_workflow_global::__vwsnf190_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance__(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(this->handle)->GetEventReceiver()->leftButtonDown, __vwsn_event_handler_);
}
{
auto __vwsn_event_handler_ = LAMBDA(::vl_workflow_global::__vwsnf191_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance__(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(this->handle)->GetEventReceiver()->leftButtonUp, __vwsn_event_handler_);
}
{
auto __vwsn_event_handler_ = LAMBDA(::vl_workflow_global::__vwsnf192_Demo_darkskin_HScrollTemplateConstructor___vwsn_initialize_instance__(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(this->handle)->GetEventReceiver()->mouseMove, __vwsn_event_handler_);
}
{
::vl::__vwsn::This(this->self)->SetContainerComposition(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->self));
}
}
HScrollTemplateConstructor::HScrollTemplateConstructor()
{
}
/***********************************************************************
Class (::darkskin::HScrollTemplate)
***********************************************************************/
HScrollTemplate::HScrollTemplate()
{
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"darkskin::HScrollTemplate", 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_initialize_instance_(this);
}
HScrollTemplate::~HScrollTemplate()
{
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::templates::GuiTemplate*>(this));
}
/***********************************************************************
Class (::darkskin::HTrackerTemplateConstructor)
***********************************************************************/
void HTrackerTemplateConstructor::__vwsn_initialize_instance_(::darkskin::HTrackerTemplate* __vwsn_this_)
{
(this->self = __vwsn_this_);
{
::vl::__vwsn::This(this->self)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
(this->__vwsn_precompile_0 = ::vl::Ptr<::vl::presentation::elements::GuiSolidBackgroundElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidBackgroundElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_0.Obj())->SetColor(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#3F3F47", false)));
}
{
::vl::__vwsn::This(this->self)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_0));
}
(this->__vwsn_precompile_1 = new ::vl::presentation::compositions::GuiBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_2 = ::vl::Ptr<::vl::presentation::elements::GuiSolidBorderElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidBorderElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_2.Obj())->SetColor(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#55545A", false)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_2));
}
(this->__vwsn_precompile_3 = new ::vl::presentation::compositions::GuiTableComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_3)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_3)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(6); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(6); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_3)->SetRowsAndColumns(static_cast<::vl::vint32_t>(3), static_cast<::vl::vint32_t>(1));
::vl::__vwsn::This(this->__vwsn_precompile_3)->SetRowOption(static_cast<::vl::vint32_t>(0), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(0.5); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_3)->SetRowOption(static_cast<::vl::vint32_t>(1), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Absolute; __vwsn_temp__.absolute = static_cast<::vl::vint32_t>(4); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_3)->SetRowOption(static_cast<::vl::vint32_t>(2), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(0.5); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_3)->SetColumnOption(static_cast<::vl::vint32_t>(0), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(1.0); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_4 = new ::vl::presentation::compositions::GuiCellComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_4)->SetSite(static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(0), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1));
}
(this->__vwsn_precompile_5 = ::vl::Ptr<::vl::presentation::elements::GuiSolidBorderElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidBorderElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_5.Obj())->SetColor(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#55545A", false)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_4)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_5));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_3)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_4));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_3));
}
(this->handle = new ::vl::presentation::compositions::GuiBoundsComposition());
{
::vl::__vwsn::This(this->handle)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->handle)->SetPreferredMinSize([&](){ ::vl::presentation::Size __vwsn_temp__; __vwsn_temp__.x = static_cast<::vl::vint32_t>(12); __vwsn_temp__.y = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
{
auto __vwsn_controlStyle_ = new ::vl::presentation::templates::GuiButtonTemplate_StyleProvider(LAMBDA(::vl_workflow_global::__vwsnf193_Demo_darkskin_HTrackerTemplateConstructor___vwsn_initialize_instance__(this)));
(this->__vwsn_precompile_6 = new ::vl::presentation::controls::GuiButton(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_6)->SetFont([&](){ ::vl::presentation::FontProperties __vwsn_temp__; __vwsn_temp__.size = static_cast<::vl::vint32_t>(1); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_7 = ::vl::__vwsn::This(this->__vwsn_precompile_6)->GetBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_7)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->handle)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(::vl::__vwsn::This(this->__vwsn_precompile_6)->GetBoundsComposition()));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->handle));
}
{
::vl::__vwsn::This(this->self)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_1));
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc72_Demo_darkskin_HTrackerTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf194_Demo_darkskin_HTrackerTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_event_handler_ = LAMBDA(::vl_workflow_global::__vwsnf195_Demo_darkskin_HTrackerTemplateConstructor___vwsn_initialize_instance__(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(this->handle)->GetEventReceiver()->leftButtonDown, __vwsn_event_handler_);
}
{
auto __vwsn_event_handler_ = LAMBDA(::vl_workflow_global::__vwsnf196_Demo_darkskin_HTrackerTemplateConstructor___vwsn_initialize_instance__(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(this->handle)->GetEventReceiver()->leftButtonUp, __vwsn_event_handler_);
}
{
auto __vwsn_event_handler_ = LAMBDA(::vl_workflow_global::__vwsnf197_Demo_darkskin_HTrackerTemplateConstructor___vwsn_initialize_instance__(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(this->handle)->GetEventReceiver()->mouseMove, __vwsn_event_handler_);
}
{
::vl::__vwsn::This(this->self)->SetContainerComposition(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->self));
}
}
HTrackerTemplateConstructor::HTrackerTemplateConstructor()
{
}
/***********************************************************************
Class (::darkskin::HTrackerTemplate)
***********************************************************************/
HTrackerTemplate::HTrackerTemplate()
{
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"darkskin::HTrackerTemplate", 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_initialize_instance_(this);
}
HTrackerTemplate::~HTrackerTemplate()
{
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::templates::GuiTemplate*>(this));
}
/***********************************************************************
Class (::darkskin::ItemBackgroundTemplateConstructor)
***********************************************************************/
void ItemBackgroundTemplateConstructor::__vwsn_initialize_instance_(::darkskin::ItemBackgroundTemplate* __vwsn_this_)
{
(this->self = __vwsn_this_);
{
::vl::__vwsn::This(this->self)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
(this->__vwsn_precompile_0 = ::vl::Ptr<::vl::presentation::elements::GuiSolidBackgroundElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidBackgroundElement>()));
{
::vl::__vwsn::This(this->self)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_0));
}
(this->container = new ::vl::presentation::compositions::GuiBoundsComposition());
{
::vl::__vwsn::This(this->container)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->container)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(3); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(3); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->self)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->container));
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc73_Demo_darkskin_ItemBackgroundTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf198_Demo_darkskin_ItemBackgroundTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
::vl::__vwsn::This(this->self)->SetContainerComposition(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->container));
}
}
ItemBackgroundTemplateConstructor::ItemBackgroundTemplateConstructor()
{
}
/***********************************************************************
Class (::darkskin::ItemBackgroundTemplate)
***********************************************************************/
ItemBackgroundTemplate::ItemBackgroundTemplate()
{
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"darkskin::ItemBackgroundTemplate", 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_initialize_instance_(this);
}
ItemBackgroundTemplate::~ItemBackgroundTemplate()
{
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::templates::GuiTemplate*>(this));
}
/***********************************************************************
Class (::darkskin::LabelTemplateConstructor)
***********************************************************************/
void LabelTemplateConstructor::__vwsn_initialize_instance_(::darkskin::LabelTemplate* __vwsn_this_)
{
(this->self = __vwsn_this_);
{
::vl::__vwsn::This(this->self)->SetDefaultTextColor(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#F1F1F1", false)));
}
{
::vl::__vwsn::This(this->self)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
(this->__vwsn_precompile_0 = ::vl::Ptr<::vl::presentation::elements::GuiSolidLabelElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidLabelElement>()));
{
::vl::__vwsn::This(this->self)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_0));
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc74_Demo_darkskin_LabelTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf199_Demo_darkskin_LabelTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc75_Demo_darkskin_LabelTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf200_Demo_darkskin_LabelTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc76_Demo_darkskin_LabelTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf201_Demo_darkskin_LabelTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
}
LabelTemplateConstructor::LabelTemplateConstructor()
{
}
/***********************************************************************
Class (::darkskin::LabelTemplate)
***********************************************************************/
LabelTemplate::LabelTemplate()
{
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"darkskin::LabelTemplate", 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_initialize_instance_(this);
}
LabelTemplate::~LabelTemplate()
{
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::templates::GuiTemplate*>(this));
}
/***********************************************************************
Class (::darkskin::LeftScrollButtonTemplateConstructor)
***********************************************************************/
void LeftScrollButtonTemplateConstructor::__vwsn_initialize_instance_(::darkskin::LeftScrollButtonTemplate* __vwsn_this_)
{
(this->self = __vwsn_this_);
{
::vl::__vwsn::This(this->self)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
(this->__vwsn_precompile_0 = new ::vl::presentation::compositions::GuiTableComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetRowsAndColumns(static_cast<::vl::vint32_t>(3), static_cast<::vl::vint32_t>(3));
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetRowOption(static_cast<::vl::vint32_t>(0), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(0.5); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetRowOption(static_cast<::vl::vint32_t>(1), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Absolute; __vwsn_temp__.absolute = static_cast<::vl::vint32_t>(9); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetRowOption(static_cast<::vl::vint32_t>(2), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(0.5); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetColumnOption(static_cast<::vl::vint32_t>(0), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(0.5); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetColumnOption(static_cast<::vl::vint32_t>(1), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Absolute; __vwsn_temp__.absolute = static_cast<::vl::vint32_t>(5); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetColumnOption(static_cast<::vl::vint32_t>(2), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(0.5); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_1 = new ::vl::presentation::compositions::GuiCellComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetSite(static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1));
}
(this->__vwsn_precompile_2 = ::vl::Ptr<::vl::presentation::elements::GuiPolygonElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiPolygonElement>()));
{
[&]()->decltype(auto){ auto __vwsn_temp_x0 = ::vl::__vwsn::Box(::vl::Ptr<::vl::reflection::description::IValueReadonlyList>((::vl::__vwsn::CreateList().Add([&](){ ::vl::presentation::Point __vwsn_temp__; __vwsn_temp__.x = static_cast<::vl::vint32_t>(4); __vwsn_temp__.y = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }()).Add([&](){ ::vl::presentation::Point __vwsn_temp__; __vwsn_temp__.x = static_cast<::vl::vint32_t>(0); __vwsn_temp__.y = static_cast<::vl::vint32_t>(4); return __vwsn_temp__; }()).Add([&](){ ::vl::presentation::Point __vwsn_temp__; __vwsn_temp__.x = static_cast<::vl::vint32_t>(4); __vwsn_temp__.y = static_cast<::vl::vint32_t>(8); return __vwsn_temp__; }())).list)); ::vl::collections::Array<::vl::presentation::Point> __vwsn_temp_0; ::vl::reflection::description::UnboxParameter(__vwsn_temp_x0, __vwsn_temp_0); return ::vl::__vwsn::This(this->__vwsn_precompile_2.Obj())->SetPointsArray(__vwsn_temp_0); }();
}
{
::vl::__vwsn::This(this->__vwsn_precompile_2.Obj())->SetSize([&](){ ::vl::presentation::Size __vwsn_temp__; __vwsn_temp__.x = static_cast<::vl::vint32_t>(5); __vwsn_temp__.y = static_cast<::vl::vint32_t>(9); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_2));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_1));
}
{
::vl::__vwsn::This(this->self)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_0));
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc77_Demo_darkskin_LeftScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf202_Demo_darkskin_LeftScrollButtonTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc78_Demo_darkskin_LeftScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf203_Demo_darkskin_LeftScrollButtonTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
}
LeftScrollButtonTemplateConstructor::LeftScrollButtonTemplateConstructor()
{
}
/***********************************************************************
Class (::darkskin::LeftScrollButtonTemplate)
***********************************************************************/
LeftScrollButtonTemplate::LeftScrollButtonTemplate()
{
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"darkskin::LeftScrollButtonTemplate", 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_initialize_instance_(this);
}
LeftScrollButtonTemplate::~LeftScrollButtonTemplate()
{
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::templates::GuiTemplate*>(this));
}
/***********************************************************************
Class (::darkskin::ListViewColumnHeaderTemplateConstructor)
***********************************************************************/
void ListViewColumnHeaderTemplateConstructor::__vwsn_initialize_instance_(::darkskin::ListViewColumnHeaderTemplate* __vwsn_this_)
{
(this->self = __vwsn_this_);
{
::vl::__vwsn::This(this->self)->SetSubMenuTemplate(LAMBDA(::vl_workflow_global::__vwsnf204_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance__(this)));
}
{
::vl::__vwsn::This(this->self)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
(this->__vwsn_precompile_0 = ::vl::Ptr<::vl::presentation::elements::GuiSolidBackgroundElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidBackgroundElement>()));
{
::vl::__vwsn::This(this->self)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_0));
}
(this->__vwsn_precompile_1 = new ::vl::presentation::compositions::GuiBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetPreferredMinSize([&](){ ::vl::presentation::Size __vwsn_temp__; __vwsn_temp__.x = static_cast<::vl::vint32_t>(1); __vwsn_temp__.y = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = (- static_cast<::vl::vint32_t>(1)); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_2 = ::vl::Ptr<::vl::presentation::elements::GuiSolidBorderElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidBorderElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_2.Obj())->SetColor(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#404042", false)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_2));
}
{
::vl::__vwsn::This(this->self)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_1));
}
(this->__vwsn_precompile_3 = new ::vl::presentation::compositions::GuiBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_3)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_3)->SetPreferredMinSize([&](){ ::vl::presentation::Size __vwsn_temp__; __vwsn_temp__.x = static_cast<::vl::vint32_t>(0); __vwsn_temp__.y = static_cast<::vl::vint32_t>(1); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_3)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = (- static_cast<::vl::vint32_t>(1)); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_4 = ::vl::Ptr<::vl::presentation::elements::GuiSolidBorderElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidBorderElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_4.Obj())->SetColor(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#404042", false)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_3)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_4));
}
{
::vl::__vwsn::This(this->self)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_3));
}
(this->__vwsn_precompile_5 = new ::vl::presentation::compositions::GuiBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_5)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_5)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(1); __vwsn_temp__.top = static_cast<::vl::vint32_t>(1); __vwsn_temp__.right = static_cast<::vl::vint32_t>(11); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(1); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_6 = new ::vl::presentation::compositions::GuiBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_6)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_6)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(8); __vwsn_temp__.top = static_cast<::vl::vint32_t>(5); __vwsn_temp__.right = static_cast<::vl::vint32_t>(5); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(5); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_7 = ::vl::Ptr<::vl::presentation::elements::GuiSolidLabelElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidLabelElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_7.Obj())->SetEllipse(::vl::__vwsn::Parse<bool>(::vl::WString(L"true", false)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_7.Obj())->SetVerticalAlignment(::vl::presentation::Alignment::Center);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_7.Obj())->SetHorizontalAlignment(::vl::presentation::Alignment::Left);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_6)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_7));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_5)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_6));
}
{
::vl::__vwsn::This(this->self)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_5));
}
(this->__vwsn_precompile_8 = new ::vl::presentation::compositions::GuiBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_8)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_8)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = (- static_cast<::vl::vint32_t>(1)); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
{
auto __vwsn_controlStyle_ = new ::vl::presentation::templates::GuiSelectableButtonTemplate_StyleProvider(LAMBDA(::vl_workflow_global::__vwsnf205_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance__(this)));
(this->buttonArrow = new ::vl::presentation::controls::GuiSelectableButton(__vwsn_controlStyle_));
}
(this->__vwsn_precompile_9 = ::vl::__vwsn::This(this->buttonArrow)->GetBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_9)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_8)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(::vl::__vwsn::This(this->buttonArrow)->GetBoundsComposition()));
}
{
::vl::__vwsn::This(this->self)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_8));
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc79_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf206_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc80_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf207_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc81_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf208_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc82_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf209_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc83_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf210_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc84_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf211_Demo_darkskin_ListViewColumnHeaderTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
::vl::__vwsn::This(this->self)->SetSubMenuHost(static_cast<::vl::presentation::controls::GuiButton*>(this->buttonArrow));
}
}
ListViewColumnHeaderTemplateConstructor::ListViewColumnHeaderTemplateConstructor()
{
}
/***********************************************************************
Class (::darkskin::ListViewColumnHeaderTemplate)
***********************************************************************/
ListViewColumnHeaderTemplate::ListViewColumnHeaderTemplate()
{
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"darkskin::ListViewColumnHeaderTemplate", 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_initialize_instance_(this);
}
ListViewColumnHeaderTemplate::~ListViewColumnHeaderTemplate()
{
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::templates::GuiTemplate*>(this));
}
/***********************************************************************
Class (::darkskin::ListViewTemplateConstructor)
***********************************************************************/
void ListViewTemplateConstructor::__vwsn_initialize_instance_(::darkskin::ListViewTemplate* __vwsn_this_)
{
(this->self = __vwsn_this_);
{
::vl::__vwsn::This(this->self)->SetItemSeparatorColor(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#F1F1F1", false)));
}
{
::vl::__vwsn::This(this->self)->SetColumnHeaderTemplate(LAMBDA(::vl_workflow_global::__vwsnf212_Demo_darkskin_ListViewTemplateConstructor___vwsn_initialize_instance__(this)));
}
{
::vl::__vwsn::This(this->self)->SetSecondaryTextColor(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#F1F1F1", false)));
}
{
::vl::__vwsn::This(this->self)->SetPrimaryTextColor(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#F1F1F1", false)));
}
{
::vl::__vwsn::This(this->self)->SetBackgroundTemplate(LAMBDA(::vl_workflow_global::__vwsnf213_Demo_darkskin_ListViewTemplateConstructor___vwsn_initialize_instance__(this)));
}
{
::vl::__vwsn::This(this->self)->SetDefaultScrollSize(::vl::__vwsn::Parse<::vl::vint32_t>(::vl::WString(L"20", false)));
}
{
::vl::__vwsn::This(this->self)->SetVScrollTemplate(LAMBDA(::vl_workflow_global::__vwsnf214_Demo_darkskin_ListViewTemplateConstructor___vwsn_initialize_instance__(this)));
}
{
::vl::__vwsn::This(this->self)->SetHScrollTemplate(LAMBDA(::vl_workflow_global::__vwsnf215_Demo_darkskin_ListViewTemplateConstructor___vwsn_initialize_instance__(this)));
}
{
::vl::__vwsn::This(this->self)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
(this->__vwsn_precompile_0 = ::vl::Ptr<::vl::presentation::elements::GuiSolidBackgroundElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidBackgroundElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_0.Obj())->SetColor(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#252526", false)));
}
{
::vl::__vwsn::This(this->self)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_0));
}
(this->container = new ::vl::presentation::compositions::GuiBoundsComposition());
{
::vl::__vwsn::This(this->container)->SetInternalMargin([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(1); __vwsn_temp__.top = static_cast<::vl::vint32_t>(1); __vwsn_temp__.right = static_cast<::vl::vint32_t>(1); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(1); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->container)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->container)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_1 = ::vl::Ptr<::vl::presentation::elements::GuiSolidBorderElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidBorderElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_1.Obj())->SetColor(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#3F3F46", false)));
}
{
::vl::__vwsn::This(this->container)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_1));
}
{
::vl::__vwsn::This(this->self)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->container));
}
{
::vl::__vwsn::This(this->self)->SetContainerComposition(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->container));
}
}
ListViewTemplateConstructor::ListViewTemplateConstructor()
{
}
/***********************************************************************
Class (::darkskin::ListViewTemplate)
***********************************************************************/
ListViewTemplate::ListViewTemplate()
{
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"darkskin::ListViewTemplate", 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_initialize_instance_(this);
}
ListViewTemplate::~ListViewTemplate()
{
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::templates::GuiTemplate*>(this));
}
/***********************************************************************
Class (::darkskin::MenuBarButtonTemplateConstructor)
***********************************************************************/
void MenuBarButtonTemplateConstructor::__vwsn_initialize_instance_(::darkskin::MenuBarButtonTemplate* __vwsn_this_)
{
(this->self = __vwsn_this_);
{
::vl::__vwsn::This(this->self)->SetSubMenuTemplate(LAMBDA(::vl_workflow_global::__vwsnf216_Demo_darkskin_MenuBarButtonTemplateConstructor___vwsn_initialize_instance__(this)));
}
{
::vl::__vwsn::This(this->self)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
(this->__vwsn_precompile_0 = ::vl::Ptr<::vl::presentation::elements::GuiSolidBackgroundElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidBackgroundElement>()));
{
::vl::__vwsn::This(this->self)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_0));
}
(this->__vwsn_precompile_1 = new ::vl::presentation::compositions::GuiBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(10); __vwsn_temp__.top = static_cast<::vl::vint32_t>(3); __vwsn_temp__.right = static_cast<::vl::vint32_t>(10); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(3); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_2 = ::vl::Ptr<::vl::presentation::elements::GuiSolidLabelElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidLabelElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_2.Obj())->SetVerticalAlignment(::vl::presentation::Alignment::Center);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_2.Obj())->SetHorizontalAlignment(::vl::presentation::Alignment::Center);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_2));
}
{
::vl::__vwsn::This(this->self)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_1));
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc85_Demo_darkskin_MenuBarButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf217_Demo_darkskin_MenuBarButtonTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc86_Demo_darkskin_MenuBarButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf218_Demo_darkskin_MenuBarButtonTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc87_Demo_darkskin_MenuBarButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf219_Demo_darkskin_MenuBarButtonTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc88_Demo_darkskin_MenuBarButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf220_Demo_darkskin_MenuBarButtonTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
}
MenuBarButtonTemplateConstructor::MenuBarButtonTemplateConstructor()
{
}
/***********************************************************************
Class (::darkskin::MenuBarButtonTemplate)
***********************************************************************/
MenuBarButtonTemplate::MenuBarButtonTemplate()
{
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"darkskin::MenuBarButtonTemplate", 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_initialize_instance_(this);
}
MenuBarButtonTemplate::~MenuBarButtonTemplate()
{
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::templates::GuiTemplate*>(this));
}
/***********************************************************************
Class (::darkskin::MenuItemButtonTemplateConstructor)
***********************************************************************/
void MenuItemButtonTemplateConstructor::__vwsn_initialize_instance_(::darkskin::MenuItemButtonTemplate* __vwsn_this_)
{
(this->self = __vwsn_this_);
{
::vl::__vwsn::This(this->self)->SetSubMenuTemplate(LAMBDA(::vl_workflow_global::__vwsnf221_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance__(this)));
}
{
::vl::__vwsn::This(this->self)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
(this->__vwsn_precompile_0 = ::vl::Ptr<::vl::presentation::elements::GuiSolidBackgroundElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidBackgroundElement>()));
{
::vl::__vwsn::This(this->self)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_0));
}
(this->__vwsn_precompile_1 = new ::vl::presentation::compositions::GuiTableComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetRowsAndColumns(static_cast<::vl::vint32_t>(5), static_cast<::vl::vint32_t>(10));
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetRowOption(static_cast<::vl::vint32_t>(0), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Absolute; __vwsn_temp__.absolute = static_cast<::vl::vint32_t>(4); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetRowOption(static_cast<::vl::vint32_t>(1), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(0.5); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetRowOption(static_cast<::vl::vint32_t>(2), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::MinSize; return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetRowOption(static_cast<::vl::vint32_t>(3), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(0.5); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetRowOption(static_cast<::vl::vint32_t>(4), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Absolute; __vwsn_temp__.absolute = static_cast<::vl::vint32_t>(4); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetColumnOption(static_cast<::vl::vint32_t>(0), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Absolute; __vwsn_temp__.absolute = static_cast<::vl::vint32_t>(2); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetColumnOption(static_cast<::vl::vint32_t>(1), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Absolute; __vwsn_temp__.absolute = static_cast<::vl::vint32_t>(24); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetColumnOption(static_cast<::vl::vint32_t>(2), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Absolute; __vwsn_temp__.absolute = static_cast<::vl::vint32_t>(8); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetColumnOption(static_cast<::vl::vint32_t>(3), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::MinSize; return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetColumnOption(static_cast<::vl::vint32_t>(4), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Absolute; __vwsn_temp__.absolute = static_cast<::vl::vint32_t>(24); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetColumnOption(static_cast<::vl::vint32_t>(5), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(1.0); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetColumnOption(static_cast<::vl::vint32_t>(6), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::MinSize; return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetColumnOption(static_cast<::vl::vint32_t>(7), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Absolute; __vwsn_temp__.absolute = static_cast<::vl::vint32_t>(4); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetColumnOption(static_cast<::vl::vint32_t>(8), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::MinSize; return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetColumnOption(static_cast<::vl::vint32_t>(9), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Absolute; __vwsn_temp__.absolute = static_cast<::vl::vint32_t>(8); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_2 = new ::vl::presentation::compositions::GuiCellComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_2)->SetSite(static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(3), static_cast<::vl::vint32_t>(1));
}
(this->__vwsn_precompile_3 = ::vl::Ptr<::vl::presentation::elements::GuiImageFrameElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiImageFrameElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_2)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_3));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_2));
}
(this->__vwsn_precompile_4 = new ::vl::presentation::compositions::GuiCellComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_4)->SetSite(static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(3), static_cast<::vl::vint32_t>(3), static_cast<::vl::vint32_t>(1));
}
(this->__vwsn_precompile_5 = new ::vl::presentation::compositions::GuiSharedSizeItemComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_5)->SetSharedWidth(::vl::__vwsn::Parse<bool>(::vl::WString(L"true", false)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_5)->SetGroup(::vl::WString(L"MenuItem-Text", false));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_5)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_6 = ::vl::Ptr<::vl::presentation::elements::GuiSolidLabelElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidLabelElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_6.Obj())->SetVerticalAlignment(::vl::presentation::Alignment::Center);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_6.Obj())->SetHorizontalAlignment(::vl::presentation::Alignment::Left);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_5)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_6));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_4)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_5));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_4));
}
(this->__vwsn_precompile_7 = new ::vl::presentation::compositions::GuiCellComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_7)->SetSite(static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(6), static_cast<::vl::vint32_t>(3), static_cast<::vl::vint32_t>(1));
}
(this->__vwsn_precompile_8 = new ::vl::presentation::compositions::GuiSharedSizeItemComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_8)->SetSharedWidth(::vl::__vwsn::Parse<bool>(::vl::WString(L"true", false)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_8)->SetGroup(::vl::WString(L"MenuItem-Shortcut", false));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_8)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_9 = ::vl::Ptr<::vl::presentation::elements::GuiSolidLabelElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidLabelElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_9.Obj())->SetVerticalAlignment(::vl::presentation::Alignment::Center);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_9.Obj())->SetHorizontalAlignment(::vl::presentation::Alignment::Right);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_8)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_9));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_7)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_8));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_7));
}
(this->__vwsn_precompile_10 = new ::vl::presentation::compositions::GuiCellComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_10)->SetSite(static_cast<::vl::vint32_t>(2), static_cast<::vl::vint32_t>(8), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1));
}
(this->__vwsn_precompile_11 = ::vl::Ptr<::vl::presentation::elements::GuiPolygonElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiPolygonElement>()));
{
[&]()->decltype(auto){ auto __vwsn_temp_x0 = ::vl::__vwsn::Box(::vl::Ptr<::vl::reflection::description::IValueReadonlyList>((::vl::__vwsn::CreateList().Add([&](){ ::vl::presentation::Point __vwsn_temp__; __vwsn_temp__.x = static_cast<::vl::vint32_t>(0); __vwsn_temp__.y = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }()).Add([&](){ ::vl::presentation::Point __vwsn_temp__; __vwsn_temp__.x = static_cast<::vl::vint32_t>(3); __vwsn_temp__.y = static_cast<::vl::vint32_t>(3); return __vwsn_temp__; }()).Add([&](){ ::vl::presentation::Point __vwsn_temp__; __vwsn_temp__.x = static_cast<::vl::vint32_t>(0); __vwsn_temp__.y = static_cast<::vl::vint32_t>(6); return __vwsn_temp__; }())).list)); ::vl::collections::Array<::vl::presentation::Point> __vwsn_temp_0; ::vl::reflection::description::UnboxParameter(__vwsn_temp_x0, __vwsn_temp_0); return ::vl::__vwsn::This(this->__vwsn_precompile_11.Obj())->SetPointsArray(__vwsn_temp_0); }();
}
{
::vl::__vwsn::This(this->__vwsn_precompile_11.Obj())->SetSize([&](){ ::vl::presentation::Size __vwsn_temp__; __vwsn_temp__.x = static_cast<::vl::vint32_t>(4); __vwsn_temp__.y = static_cast<::vl::vint32_t>(7); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_10)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_11));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_10));
}
{
::vl::__vwsn::This(this->self)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_1));
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc89_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf222_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc90_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf223_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc91_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf224_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc92_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf225_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc93_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf226_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc94_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf227_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc95_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf228_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc96_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf229_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc97_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf230_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc98_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf231_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc99_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf232_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc100_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf233_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc101_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf234_Demo_darkskin_MenuItemButtonTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
}
MenuItemButtonTemplateConstructor::MenuItemButtonTemplateConstructor()
{
}
/***********************************************************************
Class (::darkskin::MenuItemButtonTemplate)
***********************************************************************/
MenuItemButtonTemplate::MenuItemButtonTemplate()
{
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"darkskin::MenuItemButtonTemplate", 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_initialize_instance_(this);
}
MenuItemButtonTemplate::~MenuItemButtonTemplate()
{
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::templates::GuiTemplate*>(this));
}
/***********************************************************************
Class (::darkskin::MenuSplitterTemplateConstructor)
***********************************************************************/
void MenuSplitterTemplateConstructor::__vwsn_initialize_instance_(::darkskin::MenuSplitterTemplate* __vwsn_this_)
{
(this->__vwsn_precompile_0 = __vwsn_this_);
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
(this->__vwsn_precompile_1 = ::vl::Ptr<::vl::presentation::elements::GuiSolidBackgroundElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidBackgroundElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_1.Obj())->SetColor(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#1B1B1C", false)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_1));
}
(this->__vwsn_precompile_2 = new ::vl::presentation::compositions::GuiBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_2)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_2)->SetPreferredMinSize([&](){ ::vl::presentation::Size __vwsn_temp__; __vwsn_temp__.x = static_cast<::vl::vint32_t>(0); __vwsn_temp__.y = static_cast<::vl::vint32_t>(1); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_2)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(1); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(1); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_3 = ::vl::Ptr<::vl::presentation::elements::GuiSolidBackgroundElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidBackgroundElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_3.Obj())->SetColor(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#333337", false)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_2)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_3));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_2));
}
}
MenuSplitterTemplateConstructor::MenuSplitterTemplateConstructor()
{
}
/***********************************************************************
Class (::darkskin::MenuSplitterTemplate)
***********************************************************************/
MenuSplitterTemplate::MenuSplitterTemplate()
{
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"darkskin::MenuSplitterTemplate", 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_initialize_instance_(this);
}
MenuSplitterTemplate::~MenuSplitterTemplate()
{
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::templates::GuiTemplate*>(this));
}
/***********************************************************************
Class (::darkskin::MultilineTextBoxTemplateConstructor)
***********************************************************************/
void MultilineTextBoxTemplateConstructor::__vwsn_initialize_instance_(::darkskin::MultilineTextBoxTemplate* __vwsn_this_)
{
(this->self = __vwsn_this_);
{
::vl::__vwsn::This(this->self)->SetDefaultScrollSize(::vl::__vwsn::Parse<::vl::vint32_t>(::vl::WString(L"20", false)));
}
{
::vl::__vwsn::This(this->self)->SetVScrollTemplate(LAMBDA(::vl_workflow_global::__vwsnf235_Demo_darkskin_MultilineTextBoxTemplateConstructor___vwsn_initialize_instance__(this)));
}
{
::vl::__vwsn::This(this->self)->SetHScrollTemplate(LAMBDA(::vl_workflow_global::__vwsnf236_Demo_darkskin_MultilineTextBoxTemplateConstructor___vwsn_initialize_instance__(this)));
}
{
::vl::__vwsn::This(this->self)->SetTextColor([&](){ ::vl::presentation::elements::text::ColorEntry __vwsn_temp__; __vwsn_temp__.normal = [&](){ ::vl::presentation::elements::text::ColorItem __vwsn_temp__; __vwsn_temp__.text = ::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#FFFFFF", false)); __vwsn_temp__.background = ::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#00000000", false)); return __vwsn_temp__; }(); __vwsn_temp__.selectedFocused = [&](){ ::vl::presentation::elements::text::ColorItem __vwsn_temp__; __vwsn_temp__.text = ::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#FFFFFF", false)); __vwsn_temp__.background = ::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#007ACC", false)); return __vwsn_temp__; }(); __vwsn_temp__.selectedUnfocused = [&](){ ::vl::presentation::elements::text::ColorItem __vwsn_temp__; __vwsn_temp__.text = ::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#FFFFFF", false)); __vwsn_temp__.background = ::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#007ACC", false)); return __vwsn_temp__; }(); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->self)->SetCaretColor(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#FFFFFF", false)));
}
{
::vl::__vwsn::This(this->self)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
(this->__vwsn_precompile_0 = ::vl::Ptr<::vl::presentation::elements::GuiSolidBackgroundElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidBackgroundElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_0.Obj())->SetColor(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#252526", false)));
}
{
::vl::__vwsn::This(this->self)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_0));
}
(this->container = new ::vl::presentation::compositions::GuiBoundsComposition());
{
::vl::__vwsn::This(this->container)->SetInternalMargin([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(1); __vwsn_temp__.top = static_cast<::vl::vint32_t>(1); __vwsn_temp__.right = static_cast<::vl::vint32_t>(1); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(1); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->container)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->container)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_1 = ::vl::Ptr<::vl::presentation::elements::GuiSolidBorderElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidBorderElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_1.Obj())->SetColor(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#3F3F46", false)));
}
{
::vl::__vwsn::This(this->container)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_1));
}
{
::vl::__vwsn::This(this->self)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->container));
}
{
::vl::__vwsn::This(this->self)->SetContainerComposition(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->container));
}
}
MultilineTextBoxTemplateConstructor::MultilineTextBoxTemplateConstructor()
{
}
/***********************************************************************
Class (::darkskin::MultilineTextBoxTemplate)
***********************************************************************/
MultilineTextBoxTemplate::MultilineTextBoxTemplate()
{
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"darkskin::MultilineTextBoxTemplate", 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_initialize_instance_(this);
}
MultilineTextBoxTemplate::~MultilineTextBoxTemplate()
{
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::templates::GuiTemplate*>(this));
}
/***********************************************************************
Class (::darkskin::ProgressBarTemplateConstructor)
***********************************************************************/
void ProgressBarTemplateConstructor::__vwsn_initialize_instance_(::darkskin::ProgressBarTemplate* __vwsn_this_)
{
(this->self = __vwsn_this_);
{
::vl::__vwsn::This(this->self)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
(this->__vwsn_precompile_0 = ::vl::Ptr<::vl::presentation::elements::GuiSolidBackgroundElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidBackgroundElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_0.Obj())->SetColor(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#3F3F47", false)));
}
{
::vl::__vwsn::This(this->self)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_0));
}
(this->__vwsn_precompile_1 = new ::vl::presentation::compositions::GuiBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_2 = ::vl::Ptr<::vl::presentation::elements::GuiSolidBorderElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidBorderElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_2.Obj())->SetColor(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#55545A", false)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_2));
}
(this->container = new ::vl::presentation::compositions::GuiBoundsComposition());
{
::vl::__vwsn::This(this->container)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->container)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(1); __vwsn_temp__.top = static_cast<::vl::vint32_t>(1); __vwsn_temp__.right = static_cast<::vl::vint32_t>(1); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(1); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_3 = new ::vl::presentation::compositions::GuiBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_3)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
(this->__vwsn_precompile_4 = ::vl::Ptr<::vl::presentation::elements::GuiSolidBackgroundElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidBackgroundElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_4.Obj())->SetColor(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#07B023", false)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_3)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_4));
}
{
::vl::__vwsn::This(this->container)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_3));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->container));
}
{
::vl::__vwsn::This(this->self)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_1));
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc102_Demo_darkskin_ProgressBarTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf237_Demo_darkskin_ProgressBarTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
::vl::__vwsn::This(this->self)->SetContainerComposition(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->container));
}
}
ProgressBarTemplateConstructor::ProgressBarTemplateConstructor()
{
}
/***********************************************************************
Class (::darkskin::ProgressBarTemplate)
***********************************************************************/
ProgressBarTemplate::ProgressBarTemplate()
{
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"darkskin::ProgressBarTemplate", 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_initialize_instance_(this);
}
ProgressBarTemplate::~ProgressBarTemplate()
{
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::templates::GuiTemplate*>(this));
}
/***********************************************************************
Class (::darkskin::RadioButtonTemplateConstructor)
***********************************************************************/
void RadioButtonTemplateConstructor::__vwsn_initialize_instance_(::darkskin::RadioButtonTemplate* __vwsn_this_)
{
(this->self = __vwsn_this_);
{
::vl::__vwsn::This(this->self)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
(this->__vwsn_precompile_0 = new ::vl::presentation::compositions::GuiTableComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetRowsAndColumns(static_cast<::vl::vint32_t>(3), static_cast<::vl::vint32_t>(2));
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetRowOption(static_cast<::vl::vint32_t>(0), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(1.0); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetRowOption(static_cast<::vl::vint32_t>(1), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Absolute; __vwsn_temp__.absolute = static_cast<::vl::vint32_t>(17); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetRowOption(static_cast<::vl::vint32_t>(2), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(1.0); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetColumnOption(static_cast<::vl::vint32_t>(0), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Absolute; __vwsn_temp__.absolute = static_cast<::vl::vint32_t>(17); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetColumnOption(static_cast<::vl::vint32_t>(1), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(1.0); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_1 = new ::vl::presentation::compositions::GuiCellComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetSite(static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(0), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1));
}
(this->__vwsn_precompile_2 = new ::vl::presentation::compositions::GuiBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_2)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_2)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(2); __vwsn_temp__.top = static_cast<::vl::vint32_t>(2); __vwsn_temp__.right = static_cast<::vl::vint32_t>(2); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(2); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_3 = ::vl::Ptr<::vl::presentation::elements::GuiSolidBackgroundElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidBackgroundElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_3.Obj())->SetShape(::vl::presentation::elements::ElementShape::Ellipse);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_2)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_3));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_2));
}
(this->__vwsn_precompile_4 = new ::vl::presentation::compositions::GuiBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_4)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_4)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(2); __vwsn_temp__.top = static_cast<::vl::vint32_t>(2); __vwsn_temp__.right = static_cast<::vl::vint32_t>(2); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(2); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_5 = ::vl::Ptr<::vl::presentation::elements::GuiSolidBorderElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidBorderElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_5.Obj())->SetShape(::vl::presentation::elements::ElementShape::Ellipse);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_4)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_5));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_4));
}
(this->__vwsn_precompile_6 = new ::vl::presentation::compositions::GuiBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_6)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_6)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(5); __vwsn_temp__.top = static_cast<::vl::vint32_t>(5); __vwsn_temp__.right = static_cast<::vl::vint32_t>(5); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(5); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_7 = ::vl::Ptr<::vl::presentation::elements::GuiSolidBackgroundElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidBackgroundElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_7.Obj())->SetShape(::vl::presentation::elements::ElementShape::Ellipse);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_6)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_7));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_6));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_1));
}
(this->__vwsn_precompile_8 = new ::vl::presentation::compositions::GuiCellComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_8)->SetSite(static_cast<::vl::vint32_t>(0), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(3), static_cast<::vl::vint32_t>(1));
}
(this->__vwsn_precompile_9 = new ::vl::presentation::compositions::GuiBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_9)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_9)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(3); __vwsn_temp__.top = static_cast<::vl::vint32_t>(1); __vwsn_temp__.right = static_cast<::vl::vint32_t>(3); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(1); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_10 = ::vl::Ptr<::vl::presentation::elements::GuiSolidLabelElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidLabelElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_10.Obj())->SetVerticalAlignment(::vl::presentation::Alignment::Center);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_10.Obj())->SetHorizontalAlignment(::vl::presentation::Alignment::Left);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_9)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_10));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_8)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_9));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_8));
}
{
::vl::__vwsn::This(this->self)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_0));
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc103_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf238_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc104_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf239_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc105_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf240_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc106_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf241_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc107_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf242_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc108_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf243_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc109_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf244_Demo_darkskin_RadioButtonTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
}
RadioButtonTemplateConstructor::RadioButtonTemplateConstructor()
{
}
/***********************************************************************
Class (::darkskin::RadioButtonTemplate)
***********************************************************************/
RadioButtonTemplate::RadioButtonTemplate()
{
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"darkskin::RadioButtonTemplate", 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_initialize_instance_(this);
}
RadioButtonTemplate::~RadioButtonTemplate()
{
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::templates::GuiTemplate*>(this));
}
/***********************************************************************
Class (::darkskin::RightScrollButtonTemplateConstructor)
***********************************************************************/
void RightScrollButtonTemplateConstructor::__vwsn_initialize_instance_(::darkskin::RightScrollButtonTemplate* __vwsn_this_)
{
(this->self = __vwsn_this_);
{
::vl::__vwsn::This(this->self)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
(this->__vwsn_precompile_0 = new ::vl::presentation::compositions::GuiTableComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetRowsAndColumns(static_cast<::vl::vint32_t>(3), static_cast<::vl::vint32_t>(3));
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetRowOption(static_cast<::vl::vint32_t>(0), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(0.5); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetRowOption(static_cast<::vl::vint32_t>(1), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Absolute; __vwsn_temp__.absolute = static_cast<::vl::vint32_t>(9); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetRowOption(static_cast<::vl::vint32_t>(2), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(0.5); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetColumnOption(static_cast<::vl::vint32_t>(0), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(0.5); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetColumnOption(static_cast<::vl::vint32_t>(1), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Absolute; __vwsn_temp__.absolute = static_cast<::vl::vint32_t>(5); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetColumnOption(static_cast<::vl::vint32_t>(2), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(0.5); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_1 = new ::vl::presentation::compositions::GuiCellComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetSite(static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1));
}
(this->__vwsn_precompile_2 = ::vl::Ptr<::vl::presentation::elements::GuiPolygonElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiPolygonElement>()));
{
[&]()->decltype(auto){ auto __vwsn_temp_x0 = ::vl::__vwsn::Box(::vl::Ptr<::vl::reflection::description::IValueReadonlyList>((::vl::__vwsn::CreateList().Add([&](){ ::vl::presentation::Point __vwsn_temp__; __vwsn_temp__.x = static_cast<::vl::vint32_t>(0); __vwsn_temp__.y = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }()).Add([&](){ ::vl::presentation::Point __vwsn_temp__; __vwsn_temp__.x = static_cast<::vl::vint32_t>(4); __vwsn_temp__.y = static_cast<::vl::vint32_t>(4); return __vwsn_temp__; }()).Add([&](){ ::vl::presentation::Point __vwsn_temp__; __vwsn_temp__.x = static_cast<::vl::vint32_t>(0); __vwsn_temp__.y = static_cast<::vl::vint32_t>(8); return __vwsn_temp__; }())).list)); ::vl::collections::Array<::vl::presentation::Point> __vwsn_temp_0; ::vl::reflection::description::UnboxParameter(__vwsn_temp_x0, __vwsn_temp_0); return ::vl::__vwsn::This(this->__vwsn_precompile_2.Obj())->SetPointsArray(__vwsn_temp_0); }();
}
{
::vl::__vwsn::This(this->__vwsn_precompile_2.Obj())->SetSize([&](){ ::vl::presentation::Size __vwsn_temp__; __vwsn_temp__.x = static_cast<::vl::vint32_t>(5); __vwsn_temp__.y = static_cast<::vl::vint32_t>(9); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_2));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_1));
}
{
::vl::__vwsn::This(this->self)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_0));
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc110_Demo_darkskin_RightScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf245_Demo_darkskin_RightScrollButtonTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc111_Demo_darkskin_RightScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf246_Demo_darkskin_RightScrollButtonTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
}
RightScrollButtonTemplateConstructor::RightScrollButtonTemplateConstructor()
{
}
/***********************************************************************
Class (::darkskin::RightScrollButtonTemplate)
***********************************************************************/
RightScrollButtonTemplate::RightScrollButtonTemplate()
{
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"darkskin::RightScrollButtonTemplate", 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_initialize_instance_(this);
}
RightScrollButtonTemplate::~RightScrollButtonTemplate()
{
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::templates::GuiTemplate*>(this));
}
/***********************************************************************
Class (::darkskin::ScrollViewTemplateConstructor)
***********************************************************************/
void ScrollViewTemplateConstructor::__vwsn_initialize_instance_(::darkskin::ScrollViewTemplate* __vwsn_this_)
{
(this->self = __vwsn_this_);
{
::vl::__vwsn::This(this->self)->SetDefaultScrollSize(::vl::__vwsn::Parse<::vl::vint32_t>(::vl::WString(L"20", false)));
}
{
::vl::__vwsn::This(this->self)->SetVScrollTemplate(LAMBDA(::vl_workflow_global::__vwsnf247_Demo_darkskin_ScrollViewTemplateConstructor___vwsn_initialize_instance__(this)));
}
{
::vl::__vwsn::This(this->self)->SetHScrollTemplate(LAMBDA(::vl_workflow_global::__vwsnf248_Demo_darkskin_ScrollViewTemplateConstructor___vwsn_initialize_instance__(this)));
}
{
::vl::__vwsn::This(this->self)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
(this->__vwsn_precompile_0 = ::vl::Ptr<::vl::presentation::elements::GuiSolidBackgroundElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidBackgroundElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_0.Obj())->SetColor(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#252526", false)));
}
{
::vl::__vwsn::This(this->self)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_0));
}
(this->container = new ::vl::presentation::compositions::GuiBoundsComposition());
{
::vl::__vwsn::This(this->container)->SetInternalMargin([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(1); __vwsn_temp__.top = static_cast<::vl::vint32_t>(1); __vwsn_temp__.right = static_cast<::vl::vint32_t>(1); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(1); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->container)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->container)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_1 = ::vl::Ptr<::vl::presentation::elements::GuiSolidBorderElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidBorderElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_1.Obj())->SetColor(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#3F3F46", false)));
}
{
::vl::__vwsn::This(this->container)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_1));
}
{
::vl::__vwsn::This(this->self)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->container));
}
{
::vl::__vwsn::This(this->self)->SetContainerComposition(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->container));
}
}
ScrollViewTemplateConstructor::ScrollViewTemplateConstructor()
{
}
/***********************************************************************
Class (::darkskin::ScrollViewTemplate)
***********************************************************************/
ScrollViewTemplate::ScrollViewTemplate()
{
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"darkskin::ScrollViewTemplate", 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_initialize_instance_(this);
}
ScrollViewTemplate::~ScrollViewTemplate()
{
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::templates::GuiTemplate*>(this));
}
/***********************************************************************
Class (::darkskin::ShortcutKeyTemplateConstructor)
***********************************************************************/
void ShortcutKeyTemplateConstructor::__vwsn_initialize_instance_(::darkskin::ShortcutKeyTemplate* __vwsn_this_)
{
(this->self = __vwsn_this_);
{
::vl::__vwsn::This(this->self)->SetDefaultTextColor(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#F1F1F1", false)));
}
{
::vl::__vwsn::This(this->self)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
(this->__vwsn_precompile_0 = ::vl::Ptr<::vl::presentation::elements::GuiSolidBorderElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidBorderElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_0.Obj())->SetColor(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#3F3F46", false)));
}
{
::vl::__vwsn::This(this->self)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_0));
}
(this->__vwsn_precompile_1 = new ::vl::presentation::compositions::GuiBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(1); __vwsn_temp__.top = static_cast<::vl::vint32_t>(1); __vwsn_temp__.right = static_cast<::vl::vint32_t>(1); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(1); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_2 = ::vl::Ptr<::vl::presentation::elements::GuiSolidBackgroundElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidBackgroundElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_2.Obj())->SetColor(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#252526", false)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_2));
}
(this->__vwsn_precompile_3 = new ::vl::presentation::compositions::GuiBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_3)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_3)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(1); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_4 = ::vl::Ptr<::vl::presentation::elements::GuiSolidLabelElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidLabelElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_3)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_4));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_3));
}
{
::vl::__vwsn::This(this->self)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_1));
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc112_Demo_darkskin_ShortcutKeyTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf249_Demo_darkskin_ShortcutKeyTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc113_Demo_darkskin_ShortcutKeyTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf250_Demo_darkskin_ShortcutKeyTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc114_Demo_darkskin_ShortcutKeyTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf251_Demo_darkskin_ShortcutKeyTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
}
ShortcutKeyTemplateConstructor::ShortcutKeyTemplateConstructor()
{
}
/***********************************************************************
Class (::darkskin::ShortcutKeyTemplate)
***********************************************************************/
ShortcutKeyTemplate::ShortcutKeyTemplate()
{
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"darkskin::ShortcutKeyTemplate", 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_initialize_instance_(this);
}
ShortcutKeyTemplate::~ShortcutKeyTemplate()
{
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::templates::GuiTemplate*>(this));
}
/***********************************************************************
Class (::darkskin::SinglelineTextBoxTemplateConstructor)
***********************************************************************/
void SinglelineTextBoxTemplateConstructor::__vwsn_initialize_instance_(::darkskin::SinglelineTextBoxTemplate* __vwsn_this_)
{
(this->self = __vwsn_this_);
{
::vl::__vwsn::This(this->self)->SetTextColor([&](){ ::vl::presentation::elements::text::ColorEntry __vwsn_temp__; __vwsn_temp__.normal = [&](){ ::vl::presentation::elements::text::ColorItem __vwsn_temp__; __vwsn_temp__.text = ::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#FFFFFF", false)); __vwsn_temp__.background = ::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#00000000", false)); return __vwsn_temp__; }(); __vwsn_temp__.selectedFocused = [&](){ ::vl::presentation::elements::text::ColorItem __vwsn_temp__; __vwsn_temp__.text = ::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#FFFFFF", false)); __vwsn_temp__.background = ::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#007ACC", false)); return __vwsn_temp__; }(); __vwsn_temp__.selectedUnfocused = [&](){ ::vl::presentation::elements::text::ColorItem __vwsn_temp__; __vwsn_temp__.text = ::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#FFFFFF", false)); __vwsn_temp__.background = ::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#007ACC", false)); return __vwsn_temp__; }(); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->self)->SetCaretColor(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#FFFFFF", false)));
}
{
::vl::__vwsn::This(this->self)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
(this->__vwsn_precompile_0 = ::vl::Ptr<::vl::presentation::elements::GuiSolidBackgroundElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidBackgroundElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_0.Obj())->SetColor(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#252526", false)));
}
{
::vl::__vwsn::This(this->self)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_0));
}
(this->container = new ::vl::presentation::compositions::GuiBoundsComposition());
{
::vl::__vwsn::This(this->container)->SetInternalMargin([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(1); __vwsn_temp__.top = static_cast<::vl::vint32_t>(1); __vwsn_temp__.right = static_cast<::vl::vint32_t>(1); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(1); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->container)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->container)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_1 = ::vl::Ptr<::vl::presentation::elements::GuiSolidBorderElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidBorderElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_1.Obj())->SetColor(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#3F3F46", false)));
}
{
::vl::__vwsn::This(this->container)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_1));
}
{
::vl::__vwsn::This(this->self)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->container));
}
{
::vl::__vwsn::This(this->self)->SetContainerComposition(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->container));
}
}
SinglelineTextBoxTemplateConstructor::SinglelineTextBoxTemplateConstructor()
{
}
/***********************************************************************
Class (::darkskin::SinglelineTextBoxTemplate)
***********************************************************************/
SinglelineTextBoxTemplate::SinglelineTextBoxTemplate()
{
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"darkskin::SinglelineTextBoxTemplate", 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_initialize_instance_(this);
}
SinglelineTextBoxTemplate::~SinglelineTextBoxTemplate()
{
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::templates::GuiTemplate*>(this));
}
/***********************************************************************
Class (::darkskin::TabDropdownTemplateConstructor)
***********************************************************************/
void TabDropdownTemplateConstructor::__vwsn_initialize_instance_(::darkskin::TabDropdownTemplate* __vwsn_this_)
{
(this->self = __vwsn_this_);
{
::vl::__vwsn::This(this->self)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
(this->__vwsn_precompile_0 = ::vl::Ptr<::vl::presentation::elements::GuiSolidBackgroundElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidBackgroundElement>()));
{
::vl::__vwsn::This(this->self)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_0));
}
(this->__vwsn_precompile_1 = new ::vl::presentation::compositions::GuiTableComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetRowsAndColumns(static_cast<::vl::vint32_t>(3), static_cast<::vl::vint32_t>(3));
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetRowOption(static_cast<::vl::vint32_t>(0), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(0.5); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetRowOption(static_cast<::vl::vint32_t>(1), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Absolute; __vwsn_temp__.absolute = static_cast<::vl::vint32_t>(5); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetRowOption(static_cast<::vl::vint32_t>(2), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(0.5); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetColumnOption(static_cast<::vl::vint32_t>(0), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(0.5); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetColumnOption(static_cast<::vl::vint32_t>(1), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Absolute; __vwsn_temp__.absolute = static_cast<::vl::vint32_t>(9); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetColumnOption(static_cast<::vl::vint32_t>(2), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(0.5); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_2 = new ::vl::presentation::compositions::GuiCellComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_2)->SetSite(static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1));
}
(this->__vwsn_precompile_3 = ::vl::Ptr<::vl::presentation::elements::GuiPolygonElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiPolygonElement>()));
{
[&]()->decltype(auto){ auto __vwsn_temp_x0 = ::vl::__vwsn::Box(::vl::Ptr<::vl::reflection::description::IValueReadonlyList>((::vl::__vwsn::CreateList().Add([&](){ ::vl::presentation::Point __vwsn_temp__; __vwsn_temp__.x = static_cast<::vl::vint32_t>(0); __vwsn_temp__.y = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }()).Add([&](){ ::vl::presentation::Point __vwsn_temp__; __vwsn_temp__.x = static_cast<::vl::vint32_t>(4); __vwsn_temp__.y = static_cast<::vl::vint32_t>(4); return __vwsn_temp__; }()).Add([&](){ ::vl::presentation::Point __vwsn_temp__; __vwsn_temp__.x = static_cast<::vl::vint32_t>(8); __vwsn_temp__.y = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }())).list)); ::vl::collections::Array<::vl::presentation::Point> __vwsn_temp_0; ::vl::reflection::description::UnboxParameter(__vwsn_temp_x0, __vwsn_temp_0); return ::vl::__vwsn::This(this->__vwsn_precompile_3.Obj())->SetPointsArray(__vwsn_temp_0); }();
}
{
::vl::__vwsn::This(this->__vwsn_precompile_3.Obj())->SetBackgroundColor(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#FFFFFF", false)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_3.Obj())->SetBorderColor(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#FFFFFF", false)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_3.Obj())->SetSize([&](){ ::vl::presentation::Size __vwsn_temp__; __vwsn_temp__.x = static_cast<::vl::vint32_t>(9); __vwsn_temp__.y = static_cast<::vl::vint32_t>(5); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_2)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_3));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_2));
}
{
::vl::__vwsn::This(this->self)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_1));
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc115_Demo_darkskin_TabDropdownTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf252_Demo_darkskin_TabDropdownTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
}
TabDropdownTemplateConstructor::TabDropdownTemplateConstructor()
{
}
/***********************************************************************
Class (::darkskin::TabDropdownTemplate)
***********************************************************************/
TabDropdownTemplate::TabDropdownTemplate()
{
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"darkskin::TabDropdownTemplate", 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_initialize_instance_(this);
}
TabDropdownTemplate::~TabDropdownTemplate()
{
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::templates::GuiTemplate*>(this));
}
/***********************************************************************
Class (::darkskin::TabHeaderTemplateConstructor)
***********************************************************************/
void TabHeaderTemplateConstructor::__vwsn_initialize_instance_(::darkskin::TabHeaderTemplate* __vwsn_this_)
{
(this->self = __vwsn_this_);
{
::vl::__vwsn::This(this->self)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
(this->__vwsn_precompile_0 = ::vl::Ptr<::vl::presentation::elements::GuiSolidBackgroundElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidBackgroundElement>()));
{
::vl::__vwsn::This(this->self)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_0));
}
(this->__vwsn_precompile_1 = new ::vl::presentation::compositions::GuiBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(6); __vwsn_temp__.top = static_cast<::vl::vint32_t>(3); __vwsn_temp__.right = static_cast<::vl::vint32_t>(6); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(3); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_2 = ::vl::Ptr<::vl::presentation::elements::GuiSolidLabelElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidLabelElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_2.Obj())->SetVerticalAlignment(::vl::presentation::Alignment::Center);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_2.Obj())->SetHorizontalAlignment(::vl::presentation::Alignment::Center);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_2));
}
{
::vl::__vwsn::This(this->self)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_1));
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc116_Demo_darkskin_TabHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf253_Demo_darkskin_TabHeaderTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc117_Demo_darkskin_TabHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf254_Demo_darkskin_TabHeaderTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc118_Demo_darkskin_TabHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf255_Demo_darkskin_TabHeaderTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc119_Demo_darkskin_TabHeaderTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf256_Demo_darkskin_TabHeaderTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
}
TabHeaderTemplateConstructor::TabHeaderTemplateConstructor()
{
}
/***********************************************************************
Class (::darkskin::TabHeaderTemplate)
***********************************************************************/
TabHeaderTemplate::TabHeaderTemplate()
{
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"darkskin::TabHeaderTemplate", 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_initialize_instance_(this);
}
TabHeaderTemplate::~TabHeaderTemplate()
{
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::templates::GuiTemplate*>(this));
}
/***********************************************************************
Class (::darkskin::TabTemplateConstructor)
***********************************************************************/
void TabTemplateConstructor::__vwsn_initialize_instance_(::darkskin::TabTemplate* __vwsn_this_)
{
(this->self = __vwsn_this_);
{
::vl::__vwsn::This(this->self)->SetHeaderPadding(::vl::__vwsn::Parse<::vl::vint32_t>(::vl::WString(L"2", false)));
}
{
::vl::__vwsn::This(this->self)->SetMenuItemTemplate(LAMBDA(::vl_workflow_global::__vwsnf257_Demo_darkskin_TabTemplateConstructor___vwsn_initialize_instance__(this)));
}
{
::vl::__vwsn::This(this->self)->SetMenuTemplate(LAMBDA(::vl_workflow_global::__vwsnf258_Demo_darkskin_TabTemplateConstructor___vwsn_initialize_instance__(this)));
}
{
::vl::__vwsn::This(this->self)->SetDropdownTemplate(LAMBDA(::vl_workflow_global::__vwsnf259_Demo_darkskin_TabTemplateConstructor___vwsn_initialize_instance__(this)));
}
{
::vl::__vwsn::This(this->self)->SetHeaderTemplate(LAMBDA(::vl_workflow_global::__vwsnf260_Demo_darkskin_TabTemplateConstructor___vwsn_initialize_instance__(this)));
}
{
::vl::__vwsn::This(this->self)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
(this->__vwsn_precompile_0 = new ::vl::presentation::compositions::GuiTableComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetRowsAndColumns(static_cast<::vl::vint32_t>(3), static_cast<::vl::vint32_t>(1));
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetRowOption(static_cast<::vl::vint32_t>(0), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::MinSize; return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetRowOption(static_cast<::vl::vint32_t>(1), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Absolute; __vwsn_temp__.absolute = static_cast<::vl::vint32_t>(2); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetRowOption(static_cast<::vl::vint32_t>(2), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(1.0); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetColumnOption(static_cast<::vl::vint32_t>(0), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(1.0); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_1 = ::vl::Ptr<::vl::presentation::elements::GuiSolidBackgroundElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidBackgroundElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_1.Obj())->SetColor(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#2D2D30", false)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_1));
}
(this->__vwsn_precompile_2 = new ::vl::presentation::compositions::GuiCellComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_2)->SetSite(static_cast<::vl::vint32_t>(0), static_cast<::vl::vint32_t>(0), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1));
}
(this->header = new ::vl::presentation::compositions::GuiBoundsComposition());
{
::vl::__vwsn::This(this->header)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->header)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_2)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->header));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_2));
}
(this->__vwsn_precompile_3 = new ::vl::presentation::compositions::GuiCellComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_3)->SetSite(static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(0), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1));
}
(this->__vwsn_precompile_4 = ::vl::Ptr<::vl::presentation::elements::GuiSolidBackgroundElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidBackgroundElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_4.Obj())->SetColor(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#007ACC", false)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_3)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_4));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_3));
}
(this->__vwsn_precompile_5 = new ::vl::presentation::compositions::GuiCellComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_5)->SetSite(static_cast<::vl::vint32_t>(2), static_cast<::vl::vint32_t>(0), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1));
}
(this->__vwsn_precompile_6 = ::vl::Ptr<::vl::presentation::elements::GuiSolidBorderElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidBorderElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_6.Obj())->SetColor(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#434346", false)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_5)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_6));
}
(this->container = new ::vl::presentation::compositions::GuiBoundsComposition());
{
::vl::__vwsn::This(this->container)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->container)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(1); __vwsn_temp__.top = static_cast<::vl::vint32_t>(1); __vwsn_temp__.right = static_cast<::vl::vint32_t>(1); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(1); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_5)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->container));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_5));
}
{
::vl::__vwsn::This(this->self)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_0));
}
{
::vl::__vwsn::This(this->self)->SetContainerComposition(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->container));
}
{
::vl::__vwsn::This(this->self)->SetHeaderComposition(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->header));
}
}
TabTemplateConstructor::TabTemplateConstructor()
{
}
/***********************************************************************
Class (::darkskin::TabTemplate)
***********************************************************************/
TabTemplate::TabTemplate()
{
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"darkskin::TabTemplate", 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_initialize_instance_(this);
}
TabTemplate::~TabTemplate()
{
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::templates::GuiTemplate*>(this));
}
/***********************************************************************
Class (::darkskin::TextListTemplateConstructor)
***********************************************************************/
void TextListTemplateConstructor::__vwsn_initialize_instance_(::darkskin::TextListTemplate* __vwsn_this_)
{
(this->self = __vwsn_this_);
{
::vl::__vwsn::This(this->self)->SetRadioBulletTemplate(LAMBDA(::vl_workflow_global::__vwsnf261_Demo_darkskin_TextListTemplateConstructor___vwsn_initialize_instance__(this)));
}
{
::vl::__vwsn::This(this->self)->SetCheckBulletTemplate(LAMBDA(::vl_workflow_global::__vwsnf262_Demo_darkskin_TextListTemplateConstructor___vwsn_initialize_instance__(this)));
}
{
::vl::__vwsn::This(this->self)->SetBackgroundTemplate(LAMBDA(::vl_workflow_global::__vwsnf263_Demo_darkskin_TextListTemplateConstructor___vwsn_initialize_instance__(this)));
}
{
::vl::__vwsn::This(this->self)->SetDefaultScrollSize(::vl::__vwsn::Parse<::vl::vint32_t>(::vl::WString(L"20", false)));
}
{
::vl::__vwsn::This(this->self)->SetVScrollTemplate(LAMBDA(::vl_workflow_global::__vwsnf264_Demo_darkskin_TextListTemplateConstructor___vwsn_initialize_instance__(this)));
}
{
::vl::__vwsn::This(this->self)->SetHScrollTemplate(LAMBDA(::vl_workflow_global::__vwsnf265_Demo_darkskin_TextListTemplateConstructor___vwsn_initialize_instance__(this)));
}
{
::vl::__vwsn::This(this->self)->SetTextColor(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#F1F1F1", false)));
}
{
::vl::__vwsn::This(this->self)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
(this->__vwsn_precompile_0 = ::vl::Ptr<::vl::presentation::elements::GuiSolidBackgroundElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidBackgroundElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_0.Obj())->SetColor(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#252526", false)));
}
{
::vl::__vwsn::This(this->self)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_0));
}
(this->container = new ::vl::presentation::compositions::GuiBoundsComposition());
{
::vl::__vwsn::This(this->container)->SetInternalMargin([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(1); __vwsn_temp__.top = static_cast<::vl::vint32_t>(1); __vwsn_temp__.right = static_cast<::vl::vint32_t>(1); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(1); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->container)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->container)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_1 = ::vl::Ptr<::vl::presentation::elements::GuiSolidBorderElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidBorderElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_1.Obj())->SetColor(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#3F3F46", false)));
}
{
::vl::__vwsn::This(this->container)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_1));
}
{
::vl::__vwsn::This(this->self)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->container));
}
{
::vl::__vwsn::This(this->self)->SetContainerComposition(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->container));
}
}
TextListTemplateConstructor::TextListTemplateConstructor()
{
}
/***********************************************************************
Class (::darkskin::TextListTemplate)
***********************************************************************/
TextListTemplate::TextListTemplate()
{
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"darkskin::TextListTemplate", 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_initialize_instance_(this);
}
TextListTemplate::~TextListTemplate()
{
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::templates::GuiTemplate*>(this));
}
/***********************************************************************
Class (::darkskin::ToolstripSplitArrowTemplateConstructor)
***********************************************************************/
void ToolstripSplitArrowTemplateConstructor::__vwsn_initialize_instance_(::darkskin::ToolstripSplitArrowTemplate* __vwsn_this_)
{
(this->self = __vwsn_this_);
{
::vl::__vwsn::This(this->self)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
(this->__vwsn_precompile_0 = new ::vl::presentation::compositions::GuiTableComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetPreferredMinSize([&](){ ::vl::presentation::Size __vwsn_temp__; __vwsn_temp__.x = static_cast<::vl::vint32_t>(9); __vwsn_temp__.y = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(1); __vwsn_temp__.top = static_cast<::vl::vint32_t>(1); __vwsn_temp__.right = static_cast<::vl::vint32_t>(1); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(1); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetRowsAndColumns(static_cast<::vl::vint32_t>(3), static_cast<::vl::vint32_t>(3));
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetRowOption(static_cast<::vl::vint32_t>(0), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(0.5); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetRowOption(static_cast<::vl::vint32_t>(1), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Absolute; __vwsn_temp__.absolute = static_cast<::vl::vint32_t>(3); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetRowOption(static_cast<::vl::vint32_t>(2), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(0.5); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetColumnOption(static_cast<::vl::vint32_t>(0), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(0.5); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetColumnOption(static_cast<::vl::vint32_t>(1), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Absolute; __vwsn_temp__.absolute = static_cast<::vl::vint32_t>(5); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetColumnOption(static_cast<::vl::vint32_t>(2), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(0.5); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_1 = ::vl::Ptr<::vl::presentation::elements::GuiSolidBackgroundElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidBackgroundElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_1));
}
(this->__vwsn_precompile_2 = new ::vl::presentation::compositions::GuiCellComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_2)->SetSite(static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1));
}
(this->__vwsn_precompile_3 = ::vl::Ptr<::vl::presentation::elements::GuiPolygonElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiPolygonElement>()));
{
[&]()->decltype(auto){ auto __vwsn_temp_x0 = ::vl::__vwsn::Box(::vl::Ptr<::vl::reflection::description::IValueReadonlyList>((::vl::__vwsn::CreateList().Add([&](){ ::vl::presentation::Point __vwsn_temp__; __vwsn_temp__.x = static_cast<::vl::vint32_t>(0); __vwsn_temp__.y = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }()).Add([&](){ ::vl::presentation::Point __vwsn_temp__; __vwsn_temp__.x = static_cast<::vl::vint32_t>(2); __vwsn_temp__.y = static_cast<::vl::vint32_t>(2); return __vwsn_temp__; }()).Add([&](){ ::vl::presentation::Point __vwsn_temp__; __vwsn_temp__.x = static_cast<::vl::vint32_t>(4); __vwsn_temp__.y = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }())).list)); ::vl::collections::Array<::vl::presentation::Point> __vwsn_temp_0; ::vl::reflection::description::UnboxParameter(__vwsn_temp_x0, __vwsn_temp_0); return ::vl::__vwsn::This(this->__vwsn_precompile_3.Obj())->SetPointsArray(__vwsn_temp_0); }();
}
{
::vl::__vwsn::This(this->__vwsn_precompile_3.Obj())->SetSize([&](){ ::vl::presentation::Size __vwsn_temp__; __vwsn_temp__.x = static_cast<::vl::vint32_t>(5); __vwsn_temp__.y = static_cast<::vl::vint32_t>(3); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_2)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_3));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_2));
}
{
::vl::__vwsn::This(this->self)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_0));
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc120_Demo_darkskin_ToolstripSplitArrowTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf266_Demo_darkskin_ToolstripSplitArrowTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc121_Demo_darkskin_ToolstripSplitArrowTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf267_Demo_darkskin_ToolstripSplitArrowTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc122_Demo_darkskin_ToolstripSplitArrowTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf268_Demo_darkskin_ToolstripSplitArrowTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
}
ToolstripSplitArrowTemplateConstructor::ToolstripSplitArrowTemplateConstructor()
{
}
/***********************************************************************
Class (::darkskin::ToolstripSplitArrowTemplate)
***********************************************************************/
ToolstripSplitArrowTemplate::ToolstripSplitArrowTemplate()
{
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"darkskin::ToolstripSplitArrowTemplate", 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_initialize_instance_(this);
}
ToolstripSplitArrowTemplate::~ToolstripSplitArrowTemplate()
{
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::templates::GuiTemplate*>(this));
}
/***********************************************************************
Class (::darkskin::ToolstripButtonTemplateConstructor)
***********************************************************************/
void ToolstripButtonTemplateConstructor::__vwsn_initialize_instance_(::darkskin::ToolstripButtonTemplate* __vwsn_this_)
{
(this->self = __vwsn_this_);
{
::vl::__vwsn::This(this->self)->SetSubMenuTemplate(LAMBDA(::vl_workflow_global::__vwsnf269_Demo_darkskin_ToolstripButtonTemplateConstructor___vwsn_initialize_instance__(this)));
}
{
::vl::__vwsn::This(this->self)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
(this->__vwsn_precompile_0 = new ::vl::presentation::compositions::GuiBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_1 = ::vl::Ptr<::vl::presentation::elements::GuiSolidBorderElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidBorderElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_1));
}
{
::vl::__vwsn::This(this->self)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_0));
}
(this->__vwsn_precompile_2 = new ::vl::presentation::compositions::GuiBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_2)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_2)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(1); __vwsn_temp__.top = static_cast<::vl::vint32_t>(1); __vwsn_temp__.right = static_cast<::vl::vint32_t>(1); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(1); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_3 = ::vl::Ptr<::vl::presentation::elements::GuiSolidBackgroundElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidBackgroundElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_2)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_3));
}
(this->container = new ::vl::presentation::compositions::GuiBoundsComposition());
{
::vl::__vwsn::This(this->container)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->container)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(3); __vwsn_temp__.top = static_cast<::vl::vint32_t>(3); __vwsn_temp__.right = static_cast<::vl::vint32_t>(3); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(3); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_4 = ::vl::Ptr<::vl::presentation::elements::GuiImageFrameElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiImageFrameElement>()));
{
::vl::__vwsn::This(this->container)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_4));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_2)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->container));
}
{
::vl::__vwsn::This(this->self)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_2));
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc123_Demo_darkskin_ToolstripButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf270_Demo_darkskin_ToolstripButtonTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc124_Demo_darkskin_ToolstripButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf271_Demo_darkskin_ToolstripButtonTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc125_Demo_darkskin_ToolstripButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf272_Demo_darkskin_ToolstripButtonTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc126_Demo_darkskin_ToolstripButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf273_Demo_darkskin_ToolstripButtonTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc127_Demo_darkskin_ToolstripButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf274_Demo_darkskin_ToolstripButtonTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
::vl::__vwsn::This(this->self)->SetContainerComposition(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->container));
}
}
ToolstripButtonTemplateConstructor::ToolstripButtonTemplateConstructor()
{
}
/***********************************************************************
Class (::darkskin::ToolstripButtonTemplate)
***********************************************************************/
ToolstripButtonTemplate::ToolstripButtonTemplate()
{
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"darkskin::ToolstripButtonTemplate", 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_initialize_instance_(this);
}
ToolstripButtonTemplate::~ToolstripButtonTemplate()
{
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::templates::GuiTemplate*>(this));
}
/***********************************************************************
Class (::darkskin::ToolstripDropdownButtonTemplateConstructor)
***********************************************************************/
void ToolstripDropdownButtonTemplateConstructor::__vwsn_initialize_instance_(::darkskin::ToolstripDropdownButtonTemplate* __vwsn_this_)
{
(this->self = __vwsn_this_);
{
::vl::__vwsn::This(this->self)->SetSubMenuTemplate(LAMBDA(::vl_workflow_global::__vwsnf275_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance__(this)));
}
{
::vl::__vwsn::This(this->self)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
(this->__vwsn_precompile_0 = new ::vl::presentation::compositions::GuiBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_1 = ::vl::Ptr<::vl::presentation::elements::GuiSolidBorderElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidBorderElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_1));
}
{
::vl::__vwsn::This(this->self)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_0));
}
(this->__vwsn_precompile_2 = new ::vl::presentation::compositions::GuiBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_2)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_2)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(1); __vwsn_temp__.top = static_cast<::vl::vint32_t>(1); __vwsn_temp__.right = static_cast<::vl::vint32_t>(11); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(1); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_3 = ::vl::Ptr<::vl::presentation::elements::GuiSolidBackgroundElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidBackgroundElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_2)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_3));
}
(this->container = new ::vl::presentation::compositions::GuiBoundsComposition());
{
::vl::__vwsn::This(this->container)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->container)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(3); __vwsn_temp__.top = static_cast<::vl::vint32_t>(3); __vwsn_temp__.right = static_cast<::vl::vint32_t>(3); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(3); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_4 = ::vl::Ptr<::vl::presentation::elements::GuiImageFrameElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiImageFrameElement>()));
{
::vl::__vwsn::This(this->container)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_4));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_2)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->container));
}
{
::vl::__vwsn::This(this->self)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_2));
}
(this->__vwsn_precompile_5 = new ::vl::presentation::compositions::GuiTableComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_5)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_5)->SetPreferredMinSize([&](){ ::vl::presentation::Size __vwsn_temp__; __vwsn_temp__.x = static_cast<::vl::vint32_t>(9); __vwsn_temp__.y = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_5)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = (- static_cast<::vl::vint32_t>(1)); __vwsn_temp__.top = static_cast<::vl::vint32_t>(1); __vwsn_temp__.right = static_cast<::vl::vint32_t>(1); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(1); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_5)->SetRowsAndColumns(static_cast<::vl::vint32_t>(3), static_cast<::vl::vint32_t>(3));
::vl::__vwsn::This(this->__vwsn_precompile_5)->SetRowOption(static_cast<::vl::vint32_t>(0), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(0.5); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_5)->SetRowOption(static_cast<::vl::vint32_t>(1), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Absolute; __vwsn_temp__.absolute = static_cast<::vl::vint32_t>(3); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_5)->SetRowOption(static_cast<::vl::vint32_t>(2), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(0.5); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_5)->SetColumnOption(static_cast<::vl::vint32_t>(0), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(0.5); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_5)->SetColumnOption(static_cast<::vl::vint32_t>(1), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Absolute; __vwsn_temp__.absolute = static_cast<::vl::vint32_t>(5); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_5)->SetColumnOption(static_cast<::vl::vint32_t>(2), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(0.5); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_6 = ::vl::Ptr<::vl::presentation::elements::GuiSolidBackgroundElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidBackgroundElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_5)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_6));
}
(this->__vwsn_precompile_7 = new ::vl::presentation::compositions::GuiCellComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_7)->SetSite(static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1));
}
(this->__vwsn_precompile_8 = ::vl::Ptr<::vl::presentation::elements::GuiPolygonElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiPolygonElement>()));
{
[&]()->decltype(auto){ auto __vwsn_temp_x0 = ::vl::__vwsn::Box(::vl::Ptr<::vl::reflection::description::IValueReadonlyList>((::vl::__vwsn::CreateList().Add([&](){ ::vl::presentation::Point __vwsn_temp__; __vwsn_temp__.x = static_cast<::vl::vint32_t>(0); __vwsn_temp__.y = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }()).Add([&](){ ::vl::presentation::Point __vwsn_temp__; __vwsn_temp__.x = static_cast<::vl::vint32_t>(2); __vwsn_temp__.y = static_cast<::vl::vint32_t>(2); return __vwsn_temp__; }()).Add([&](){ ::vl::presentation::Point __vwsn_temp__; __vwsn_temp__.x = static_cast<::vl::vint32_t>(4); __vwsn_temp__.y = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }())).list)); ::vl::collections::Array<::vl::presentation::Point> __vwsn_temp_0; ::vl::reflection::description::UnboxParameter(__vwsn_temp_x0, __vwsn_temp_0); return ::vl::__vwsn::This(this->__vwsn_precompile_8.Obj())->SetPointsArray(__vwsn_temp_0); }();
}
{
::vl::__vwsn::This(this->__vwsn_precompile_8.Obj())->SetSize([&](){ ::vl::presentation::Size __vwsn_temp__; __vwsn_temp__.x = static_cast<::vl::vint32_t>(5); __vwsn_temp__.y = static_cast<::vl::vint32_t>(3); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_7)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_8));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_5)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_7));
}
{
::vl::__vwsn::This(this->self)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_5));
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc128_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf276_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc129_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf277_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc130_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf278_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc131_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf279_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc132_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf280_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc133_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf281_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc134_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf282_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc135_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf283_Demo_darkskin_ToolstripDropdownButtonTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
::vl::__vwsn::This(this->self)->SetContainerComposition(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->container));
}
}
ToolstripDropdownButtonTemplateConstructor::ToolstripDropdownButtonTemplateConstructor()
{
}
/***********************************************************************
Class (::darkskin::ToolstripDropdownButtonTemplate)
***********************************************************************/
ToolstripDropdownButtonTemplate::ToolstripDropdownButtonTemplate()
{
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"darkskin::ToolstripDropdownButtonTemplate", 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_initialize_instance_(this);
}
ToolstripDropdownButtonTemplate::~ToolstripDropdownButtonTemplate()
{
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::templates::GuiTemplate*>(this));
}
/***********************************************************************
Class (::darkskin::ToolstripMenuTemplateConstructor)
***********************************************************************/
void ToolstripMenuTemplateConstructor::__vwsn_initialize_instance_(::darkskin::ToolstripMenuTemplate* __vwsn_this_)
{
(this->__vwsn_precompile_0 = __vwsn_this_);
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
(this->__vwsn_precompile_1 = ::vl::Ptr<::vl::presentation::elements::GuiSolidBackgroundElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidBackgroundElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_1.Obj())->SetColor(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#1B1B1C", false)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_1));
}
(this->container = new ::vl::presentation::compositions::GuiBoundsComposition());
{
::vl::__vwsn::This(this->container)->SetInternalMargin([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(3); __vwsn_temp__.top = static_cast<::vl::vint32_t>(3); __vwsn_temp__.right = static_cast<::vl::vint32_t>(3); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(3); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->container)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->container)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_2 = ::vl::Ptr<::vl::presentation::elements::GuiSolidBorderElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidBorderElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_2.Obj())->SetColor(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#333337", false)));
}
{
::vl::__vwsn::This(this->container)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_2));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->container));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetContainerComposition(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->container));
}
}
ToolstripMenuTemplateConstructor::ToolstripMenuTemplateConstructor()
{
}
/***********************************************************************
Class (::darkskin::ToolstripMenuTemplate)
***********************************************************************/
ToolstripMenuTemplate::ToolstripMenuTemplate()
{
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"darkskin::ToolstripMenuTemplate", 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_initialize_instance_(this);
}
ToolstripMenuTemplate::~ToolstripMenuTemplate()
{
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::templates::GuiTemplate*>(this));
}
/***********************************************************************
Class (::darkskin::ToolstripSplitButtonTemplateConstructor)
***********************************************************************/
void ToolstripSplitButtonTemplateConstructor::__vwsn_initialize_instance_(::darkskin::ToolstripSplitButtonTemplate* __vwsn_this_)
{
(this->self = __vwsn_this_);
{
::vl::__vwsn::This(this->self)->SetSubMenuTemplate(LAMBDA(::vl_workflow_global::__vwsnf284_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance__(this)));
}
{
::vl::__vwsn::This(this->self)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
(this->__vwsn_precompile_0 = new ::vl::presentation::compositions::GuiBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_1 = ::vl::Ptr<::vl::presentation::elements::GuiSolidBorderElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidBorderElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_1));
}
{
::vl::__vwsn::This(this->self)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_0));
}
(this->__vwsn_precompile_2 = new ::vl::presentation::compositions::GuiBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_2)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_2)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(1); __vwsn_temp__.top = static_cast<::vl::vint32_t>(1); __vwsn_temp__.right = static_cast<::vl::vint32_t>(11); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(1); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_3 = ::vl::Ptr<::vl::presentation::elements::GuiSolidBackgroundElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidBackgroundElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_2)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_3));
}
(this->container = new ::vl::presentation::compositions::GuiBoundsComposition());
{
::vl::__vwsn::This(this->container)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->container)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(3); __vwsn_temp__.top = static_cast<::vl::vint32_t>(3); __vwsn_temp__.right = static_cast<::vl::vint32_t>(3); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(3); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_4 = ::vl::Ptr<::vl::presentation::elements::GuiImageFrameElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiImageFrameElement>()));
{
::vl::__vwsn::This(this->container)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_4));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_2)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->container));
}
{
::vl::__vwsn::This(this->self)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_2));
}
(this->__vwsn_precompile_5 = new ::vl::presentation::compositions::GuiBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_5)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_5)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = (- static_cast<::vl::vint32_t>(1)); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_6 = new ::vl::presentation::compositions::GuiBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_6)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_6)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(1); __vwsn_temp__.top = static_cast<::vl::vint32_t>(1); __vwsn_temp__.right = static_cast<::vl::vint32_t>(1); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(1); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_7 = ::vl::Ptr<::vl::presentation::elements::GuiSolidBackgroundElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidBackgroundElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_6)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_7));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_5)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_6));
}
{
auto __vwsn_controlStyle_ = new ::vl::presentation::templates::GuiSelectableButtonTemplate_StyleProvider(LAMBDA(::vl_workflow_global::__vwsnf285_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance__(this)));
(this->buttonArrow = new ::vl::presentation::controls::GuiSelectableButton(__vwsn_controlStyle_));
}
(this->__vwsn_precompile_8 = ::vl::__vwsn::This(this->buttonArrow)->GetBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_8)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_5)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(::vl::__vwsn::This(this->buttonArrow)->GetBoundsComposition()));
}
{
::vl::__vwsn::This(this->self)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_5));
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc136_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf286_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc137_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf287_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc138_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf288_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc139_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf289_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc140_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf290_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc141_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf291_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc142_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf292_Demo_darkskin_ToolstripSplitButtonTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
::vl::__vwsn::This(this->self)->SetContainerComposition(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->container));
}
{
::vl::__vwsn::This(this->self)->SetSubMenuHost(static_cast<::vl::presentation::controls::GuiButton*>(this->buttonArrow));
}
}
ToolstripSplitButtonTemplateConstructor::ToolstripSplitButtonTemplateConstructor()
{
}
/***********************************************************************
Class (::darkskin::ToolstripSplitButtonTemplate)
***********************************************************************/
ToolstripSplitButtonTemplate::ToolstripSplitButtonTemplate()
{
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"darkskin::ToolstripSplitButtonTemplate", 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_initialize_instance_(this);
}
ToolstripSplitButtonTemplate::~ToolstripSplitButtonTemplate()
{
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::templates::GuiTemplate*>(this));
}
/***********************************************************************
Class (::darkskin::ToolstripSplitterTemplateConstructor)
***********************************************************************/
void ToolstripSplitterTemplateConstructor::__vwsn_initialize_instance_(::darkskin::ToolstripSplitterTemplate* __vwsn_this_)
{
(this->__vwsn_precompile_0 = __vwsn_this_);
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
(this->__vwsn_precompile_1 = ::vl::Ptr<::vl::presentation::elements::GuiSolidBackgroundElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidBackgroundElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_1.Obj())->SetColor(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#2D2D30", false)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_1));
}
(this->__vwsn_precompile_2 = new ::vl::presentation::compositions::GuiBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_2)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_2)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(3); __vwsn_temp__.top = static_cast<::vl::vint32_t>(1); __vwsn_temp__.right = static_cast<::vl::vint32_t>(3); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(1); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_3 = ::vl::Ptr<::vl::presentation::elements::Gui3DSplitterElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::Gui3DSplitterElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_3.Obj())->SetColor2(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#464648", false)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_3.Obj())->SetColor1(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#222224", false)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_3.Obj())->SetDirection(::vl::presentation::elements::Gui3DSplitterElement::Direction::Vertical);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_2)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_3));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_2));
}
}
ToolstripSplitterTemplateConstructor::ToolstripSplitterTemplateConstructor()
{
}
/***********************************************************************
Class (::darkskin::ToolstripSplitterTemplate)
***********************************************************************/
ToolstripSplitterTemplate::ToolstripSplitterTemplate()
{
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"darkskin::ToolstripSplitterTemplate", 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_initialize_instance_(this);
}
ToolstripSplitterTemplate::~ToolstripSplitterTemplate()
{
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::templates::GuiTemplate*>(this));
}
/***********************************************************************
Class (::darkskin::ToolstripTemplateConstructor)
***********************************************************************/
void ToolstripTemplateConstructor::__vwsn_initialize_instance_(::darkskin::ToolstripTemplate* __vwsn_this_)
{
(this->__vwsn_precompile_0 = __vwsn_this_);
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetInternalMargin([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(2); __vwsn_temp__.top = static_cast<::vl::vint32_t>(2); __vwsn_temp__.right = static_cast<::vl::vint32_t>(2); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(2); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
(this->__vwsn_precompile_1 = ::vl::Ptr<::vl::presentation::elements::GuiSolidBackgroundElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidBackgroundElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_1.Obj())->SetColor(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#2D2D30", false)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_1));
}
}
ToolstripTemplateConstructor::ToolstripTemplateConstructor()
{
}
/***********************************************************************
Class (::darkskin::ToolstripTemplate)
***********************************************************************/
ToolstripTemplate::ToolstripTemplate()
{
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"darkskin::ToolstripTemplate", 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_initialize_instance_(this);
}
ToolstripTemplate::~ToolstripTemplate()
{
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::templates::GuiTemplate*>(this));
}
/***********************************************************************
Class (::darkskin::TooltipTemplateConstructor)
***********************************************************************/
void TooltipTemplateConstructor::__vwsn_initialize_instance_(::darkskin::TooltipTemplate* __vwsn_this_)
{
(this->__vwsn_precompile_0 = __vwsn_this_);
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
(this->__vwsn_precompile_1 = ::vl::Ptr<::vl::presentation::elements::GuiSolidBackgroundElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidBackgroundElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_1.Obj())->SetColor(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#2D2D30", false)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_1));
}
(this->__vwsn_precompile_2 = new ::vl::presentation::compositions::GuiBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_2)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_2)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_3 = ::vl::Ptr<::vl::presentation::elements::GuiSolidBorderElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidBorderElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_3.Obj())->SetColor(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#017ACC", false)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_2)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_3));
}
(this->container = new ::vl::presentation::compositions::GuiBoundsComposition());
{
::vl::__vwsn::This(this->container)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->container)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(1); __vwsn_temp__.top = static_cast<::vl::vint32_t>(1); __vwsn_temp__.right = static_cast<::vl::vint32_t>(1); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(1); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_2)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->container));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_2));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetContainerComposition(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->container));
}
}
TooltipTemplateConstructor::TooltipTemplateConstructor()
{
}
/***********************************************************************
Class (::darkskin::TooltipTemplate)
***********************************************************************/
TooltipTemplate::TooltipTemplate()
{
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"darkskin::TooltipTemplate", 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_initialize_instance_(this);
}
TooltipTemplate::~TooltipTemplate()
{
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::templates::GuiTemplate*>(this));
}
/***********************************************************************
Class (::darkskin::TopScrollButtonTemplateConstructor)
***********************************************************************/
void TopScrollButtonTemplateConstructor::__vwsn_initialize_instance_(::darkskin::TopScrollButtonTemplate* __vwsn_this_)
{
(this->self = __vwsn_this_);
{
::vl::__vwsn::This(this->self)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
(this->__vwsn_precompile_0 = new ::vl::presentation::compositions::GuiTableComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetRowsAndColumns(static_cast<::vl::vint32_t>(3), static_cast<::vl::vint32_t>(3));
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetRowOption(static_cast<::vl::vint32_t>(0), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(0.5); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetRowOption(static_cast<::vl::vint32_t>(1), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Absolute; __vwsn_temp__.absolute = static_cast<::vl::vint32_t>(5); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetRowOption(static_cast<::vl::vint32_t>(2), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(0.5); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetColumnOption(static_cast<::vl::vint32_t>(0), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(0.5); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetColumnOption(static_cast<::vl::vint32_t>(1), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Absolute; __vwsn_temp__.absolute = static_cast<::vl::vint32_t>(9); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetColumnOption(static_cast<::vl::vint32_t>(2), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(0.5); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_1 = new ::vl::presentation::compositions::GuiCellComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetSite(static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1));
}
(this->__vwsn_precompile_2 = ::vl::Ptr<::vl::presentation::elements::GuiPolygonElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiPolygonElement>()));
{
[&]()->decltype(auto){ auto __vwsn_temp_x0 = ::vl::__vwsn::Box(::vl::Ptr<::vl::reflection::description::IValueReadonlyList>((::vl::__vwsn::CreateList().Add([&](){ ::vl::presentation::Point __vwsn_temp__; __vwsn_temp__.x = static_cast<::vl::vint32_t>(0); __vwsn_temp__.y = static_cast<::vl::vint32_t>(4); return __vwsn_temp__; }()).Add([&](){ ::vl::presentation::Point __vwsn_temp__; __vwsn_temp__.x = static_cast<::vl::vint32_t>(4); __vwsn_temp__.y = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }()).Add([&](){ ::vl::presentation::Point __vwsn_temp__; __vwsn_temp__.x = static_cast<::vl::vint32_t>(8); __vwsn_temp__.y = static_cast<::vl::vint32_t>(4); return __vwsn_temp__; }())).list)); ::vl::collections::Array<::vl::presentation::Point> __vwsn_temp_0; ::vl::reflection::description::UnboxParameter(__vwsn_temp_x0, __vwsn_temp_0); return ::vl::__vwsn::This(this->__vwsn_precompile_2.Obj())->SetPointsArray(__vwsn_temp_0); }();
}
{
::vl::__vwsn::This(this->__vwsn_precompile_2.Obj())->SetSize([&](){ ::vl::presentation::Size __vwsn_temp__; __vwsn_temp__.x = static_cast<::vl::vint32_t>(9); __vwsn_temp__.y = static_cast<::vl::vint32_t>(5); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_2));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_1));
}
{
::vl::__vwsn::This(this->self)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_0));
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc143_Demo_darkskin_TopScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf293_Demo_darkskin_TopScrollButtonTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc144_Demo_darkskin_TopScrollButtonTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf294_Demo_darkskin_TopScrollButtonTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
}
TopScrollButtonTemplateConstructor::TopScrollButtonTemplateConstructor()
{
}
/***********************************************************************
Class (::darkskin::TopScrollButtonTemplate)
***********************************************************************/
TopScrollButtonTemplate::TopScrollButtonTemplate()
{
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"darkskin::TopScrollButtonTemplate", 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_initialize_instance_(this);
}
TopScrollButtonTemplate::~TopScrollButtonTemplate()
{
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::templates::GuiTemplate*>(this));
}
/***********************************************************************
Class (::darkskin::TreeViewTemplateConstructor)
***********************************************************************/
void TreeViewTemplateConstructor::__vwsn_initialize_instance_(::darkskin::TreeViewTemplate* __vwsn_this_)
{
(this->self = __vwsn_this_);
{
::vl::__vwsn::This(this->self)->SetExpandingDecoratorTemplate(LAMBDA(::vl_workflow_global::__vwsnf295_Demo_darkskin_TreeViewTemplateConstructor___vwsn_initialize_instance__(this)));
}
{
::vl::__vwsn::This(this->self)->SetBackgroundTemplate(LAMBDA(::vl_workflow_global::__vwsnf296_Demo_darkskin_TreeViewTemplateConstructor___vwsn_initialize_instance__(this)));
}
{
::vl::__vwsn::This(this->self)->SetDefaultScrollSize(::vl::__vwsn::Parse<::vl::vint32_t>(::vl::WString(L"20", false)));
}
{
::vl::__vwsn::This(this->self)->SetVScrollTemplate(LAMBDA(::vl_workflow_global::__vwsnf297_Demo_darkskin_TreeViewTemplateConstructor___vwsn_initialize_instance__(this)));
}
{
::vl::__vwsn::This(this->self)->SetHScrollTemplate(LAMBDA(::vl_workflow_global::__vwsnf298_Demo_darkskin_TreeViewTemplateConstructor___vwsn_initialize_instance__(this)));
}
{
::vl::__vwsn::This(this->self)->SetTextColor(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#F1F1F1", false)));
}
{
::vl::__vwsn::This(this->self)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
(this->__vwsn_precompile_0 = ::vl::Ptr<::vl::presentation::elements::GuiSolidBackgroundElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidBackgroundElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_0.Obj())->SetColor(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#252526", false)));
}
{
::vl::__vwsn::This(this->self)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_0));
}
(this->container = new ::vl::presentation::compositions::GuiBoundsComposition());
{
::vl::__vwsn::This(this->container)->SetInternalMargin([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(1); __vwsn_temp__.top = static_cast<::vl::vint32_t>(1); __vwsn_temp__.right = static_cast<::vl::vint32_t>(1); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(1); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->container)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->container)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_1 = ::vl::Ptr<::vl::presentation::elements::GuiSolidBorderElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidBorderElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_1.Obj())->SetColor(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#3F3F46", false)));
}
{
::vl::__vwsn::This(this->container)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_1));
}
{
::vl::__vwsn::This(this->self)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->container));
}
{
::vl::__vwsn::This(this->self)->SetContainerComposition(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->container));
}
}
TreeViewTemplateConstructor::TreeViewTemplateConstructor()
{
}
/***********************************************************************
Class (::darkskin::TreeViewTemplate)
***********************************************************************/
TreeViewTemplate::TreeViewTemplate()
{
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"darkskin::TreeViewTemplate", 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_initialize_instance_(this);
}
TreeViewTemplate::~TreeViewTemplate()
{
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::templates::GuiTemplate*>(this));
}
/***********************************************************************
Class (::darkskin::VScrollHandleTemplateConstructor)
***********************************************************************/
void VScrollHandleTemplateConstructor::__vwsn_initialize_instance_(::darkskin::VScrollHandleTemplate* __vwsn_this_)
{
(this->self = __vwsn_this_);
{
::vl::__vwsn::This(this->self)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
(this->__vwsn_precompile_0 = new ::vl::presentation::compositions::GuiBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(4); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(4); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_1 = ::vl::Ptr<::vl::presentation::elements::GuiSolidBackgroundElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidBackgroundElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_1));
}
{
::vl::__vwsn::This(this->self)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_0));
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc145_Demo_darkskin_VScrollHandleTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf299_Demo_darkskin_VScrollHandleTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
}
VScrollHandleTemplateConstructor::VScrollHandleTemplateConstructor()
{
}
/***********************************************************************
Class (::darkskin::VScrollHandleTemplate)
***********************************************************************/
VScrollHandleTemplate::VScrollHandleTemplate()
{
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"darkskin::VScrollHandleTemplate", 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_initialize_instance_(this);
}
VScrollHandleTemplate::~VScrollHandleTemplate()
{
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::templates::GuiTemplate*>(this));
}
/***********************************************************************
Class (::darkskin::VScrollTemplateConstructor)
***********************************************************************/
void VScrollTemplateConstructor::__vwsn_initialize_instance_(::darkskin::VScrollTemplate* __vwsn_this_)
{
(this->self = __vwsn_this_);
{
::vl::__vwsn::This(this->self)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
(this->__vwsn_precompile_0 = ::vl::Ptr<::vl::presentation::elements::GuiSolidBackgroundElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidBackgroundElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_0.Obj())->SetColor(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#3D3D42", false)));
}
{
::vl::__vwsn::This(this->self)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_0));
}
(this->__vwsn_precompile_1 = new ::vl::presentation::compositions::GuiSideAlignedComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetMaxRatio(::vl::__vwsn::Parse<double>(::vl::WString(L"0.5", false)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetMaxLength(::vl::__vwsn::Parse<::vl::vint32_t>(::vl::WString(L"20", false)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetDirection(::vl::presentation::compositions::GuiSideAlignedComposition::Direction::Top);
}
{
auto __vwsn_controlStyle_ = new ::vl::presentation::templates::GuiButtonTemplate_StyleProvider(LAMBDA(::vl_workflow_global::__vwsnf300_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance__(this)));
(this->__vwsn_precompile_2 = new ::vl::presentation::controls::GuiButton(__vwsn_controlStyle_));
}
(this->__vwsn_precompile_3 = ::vl::__vwsn::This(this->__vwsn_precompile_2)->GetBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_3)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(::vl::__vwsn::This(this->__vwsn_precompile_2)->GetBoundsComposition()));
}
{
::vl::__vwsn::This(this->self)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_1));
}
(this->__vwsn_precompile_4 = new ::vl::presentation::compositions::GuiSideAlignedComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_4)->SetMaxRatio(::vl::__vwsn::Parse<double>(::vl::WString(L"0.5", false)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_4)->SetMaxLength(::vl::__vwsn::Parse<::vl::vint32_t>(::vl::WString(L"20", false)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_4)->SetDirection(::vl::presentation::compositions::GuiSideAlignedComposition::Direction::Bottom);
}
{
auto __vwsn_controlStyle_ = new ::vl::presentation::templates::GuiButtonTemplate_StyleProvider(LAMBDA(::vl_workflow_global::__vwsnf301_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance__(this)));
(this->__vwsn_precompile_5 = new ::vl::presentation::controls::GuiButton(__vwsn_controlStyle_));
}
(this->__vwsn_precompile_6 = ::vl::__vwsn::This(this->__vwsn_precompile_5)->GetBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_6)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_4)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(::vl::__vwsn::This(this->__vwsn_precompile_5)->GetBoundsComposition()));
}
{
::vl::__vwsn::This(this->self)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_4));
}
(this->handleContainer = new ::vl::presentation::compositions::GuiBoundsComposition());
{
::vl::__vwsn::This(this->handleContainer)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->handleContainer)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(20); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(20); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_7 = new ::vl::presentation::compositions::GuiBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_7)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->handleContainer)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_7));
}
(this->__vwsn_precompile_8 = new ::vl::presentation::compositions::GuiBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_8)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->handleContainer)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_8));
}
(this->handle = new ::vl::presentation::compositions::GuiPartialViewComposition());
{
auto __vwsn_controlStyle_ = new ::vl::presentation::templates::GuiButtonTemplate_StyleProvider(LAMBDA(::vl_workflow_global::__vwsnf302_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance__(this)));
(this->__vwsn_precompile_9 = new ::vl::presentation::controls::GuiButton(__vwsn_controlStyle_));
}
(this->__vwsn_precompile_10 = ::vl::__vwsn::This(this->__vwsn_precompile_9)->GetBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_10)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->handle)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(::vl::__vwsn::This(this->__vwsn_precompile_9)->GetBoundsComposition()));
}
{
::vl::__vwsn::This(this->handleContainer)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->handle));
}
{
::vl::__vwsn::This(this->self)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->handleContainer));
}
{
auto __vwsn_event_handler_ = LAMBDA(::vl_workflow_global::__vwsnf303_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance__(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(this->__vwsn_precompile_2)->Clicked, __vwsn_event_handler_);
}
{
auto __vwsn_event_handler_ = LAMBDA(::vl_workflow_global::__vwsnf304_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance__(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(this->__vwsn_precompile_5)->Clicked, __vwsn_event_handler_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc146_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf305_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_event_handler_ = LAMBDA(::vl_workflow_global::__vwsnf306_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance__(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(this->__vwsn_precompile_7)->GetEventReceiver()->leftButtonDown, __vwsn_event_handler_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc147_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf307_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_event_handler_ = LAMBDA(::vl_workflow_global::__vwsnf308_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance__(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(this->__vwsn_precompile_8)->GetEventReceiver()->leftButtonDown, __vwsn_event_handler_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc148_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf309_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc149_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf310_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_event_handler_ = LAMBDA(::vl_workflow_global::__vwsnf311_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance__(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(this->handle)->GetEventReceiver()->leftButtonDown, __vwsn_event_handler_);
}
{
auto __vwsn_event_handler_ = LAMBDA(::vl_workflow_global::__vwsnf312_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance__(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(this->handle)->GetEventReceiver()->leftButtonUp, __vwsn_event_handler_);
}
{
auto __vwsn_event_handler_ = LAMBDA(::vl_workflow_global::__vwsnf313_Demo_darkskin_VScrollTemplateConstructor___vwsn_initialize_instance__(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(this->handle)->GetEventReceiver()->mouseMove, __vwsn_event_handler_);
}
{
::vl::__vwsn::This(this->self)->SetContainerComposition(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->self));
}
}
VScrollTemplateConstructor::VScrollTemplateConstructor()
{
}
/***********************************************************************
Class (::darkskin::VScrollTemplate)
***********************************************************************/
VScrollTemplate::VScrollTemplate()
{
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"darkskin::VScrollTemplate", 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_initialize_instance_(this);
}
VScrollTemplate::~VScrollTemplate()
{
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::templates::GuiTemplate*>(this));
}
/***********************************************************************
Class (::darkskin::VTrackerTemplateConstructor)
***********************************************************************/
void VTrackerTemplateConstructor::__vwsn_initialize_instance_(::darkskin::VTrackerTemplate* __vwsn_this_)
{
(this->self = __vwsn_this_);
{
::vl::__vwsn::This(this->self)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
(this->__vwsn_precompile_0 = ::vl::Ptr<::vl::presentation::elements::GuiSolidBackgroundElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidBackgroundElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_0.Obj())->SetColor(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#3F3F47", false)));
}
{
::vl::__vwsn::This(this->self)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_0));
}
(this->__vwsn_precompile_1 = new ::vl::presentation::compositions::GuiBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_2 = ::vl::Ptr<::vl::presentation::elements::GuiSolidBorderElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidBorderElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_2.Obj())->SetColor(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#55545A", false)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_2));
}
(this->__vwsn_precompile_3 = new ::vl::presentation::compositions::GuiTableComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_3)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_3)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(6); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(6); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_3)->SetRowsAndColumns(static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(3));
::vl::__vwsn::This(this->__vwsn_precompile_3)->SetRowOption(static_cast<::vl::vint32_t>(0), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(1.0); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_3)->SetColumnOption(static_cast<::vl::vint32_t>(0), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(0.5); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_3)->SetColumnOption(static_cast<::vl::vint32_t>(1), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Absolute; __vwsn_temp__.absolute = static_cast<::vl::vint32_t>(4); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_3)->SetColumnOption(static_cast<::vl::vint32_t>(2), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(0.5); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_4 = new ::vl::presentation::compositions::GuiCellComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_4)->SetSite(static_cast<::vl::vint32_t>(0), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1));
}
(this->__vwsn_precompile_5 = ::vl::Ptr<::vl::presentation::elements::GuiSolidBorderElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidBorderElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_5.Obj())->SetColor(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#55545A", false)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_4)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_5));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_3)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_4));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_3));
}
(this->handle = new ::vl::presentation::compositions::GuiBoundsComposition());
{
::vl::__vwsn::This(this->handle)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->handle)->SetPreferredMinSize([&](){ ::vl::presentation::Size __vwsn_temp__; __vwsn_temp__.x = static_cast<::vl::vint32_t>(0); __vwsn_temp__.y = static_cast<::vl::vint32_t>(12); return __vwsn_temp__; }());
}
{
auto __vwsn_controlStyle_ = new ::vl::presentation::templates::GuiButtonTemplate_StyleProvider(LAMBDA(::vl_workflow_global::__vwsnf314_Demo_darkskin_VTrackerTemplateConstructor___vwsn_initialize_instance__(this)));
(this->__vwsn_precompile_6 = new ::vl::presentation::controls::GuiButton(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_6)->SetFont([&](){ ::vl::presentation::FontProperties __vwsn_temp__; __vwsn_temp__.size = static_cast<::vl::vint32_t>(1); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_7 = ::vl::__vwsn::This(this->__vwsn_precompile_6)->GetBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_7)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->handle)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(::vl::__vwsn::This(this->__vwsn_precompile_6)->GetBoundsComposition()));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->handle));
}
{
::vl::__vwsn::This(this->self)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_1));
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc150_Demo_darkskin_VTrackerTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf315_Demo_darkskin_VTrackerTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_event_handler_ = LAMBDA(::vl_workflow_global::__vwsnf316_Demo_darkskin_VTrackerTemplateConstructor___vwsn_initialize_instance__(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(this->handle)->GetEventReceiver()->leftButtonDown, __vwsn_event_handler_);
}
{
auto __vwsn_event_handler_ = LAMBDA(::vl_workflow_global::__vwsnf317_Demo_darkskin_VTrackerTemplateConstructor___vwsn_initialize_instance__(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(this->handle)->GetEventReceiver()->leftButtonUp, __vwsn_event_handler_);
}
{
auto __vwsn_event_handler_ = LAMBDA(::vl_workflow_global::__vwsnf318_Demo_darkskin_VTrackerTemplateConstructor___vwsn_initialize_instance__(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(this->handle)->GetEventReceiver()->mouseMove, __vwsn_event_handler_);
}
{
::vl::__vwsn::This(this->self)->SetContainerComposition(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->self));
}
}
VTrackerTemplateConstructor::VTrackerTemplateConstructor()
{
}
/***********************************************************************
Class (::darkskin::VTrackerTemplate)
***********************************************************************/
VTrackerTemplate::VTrackerTemplate()
{
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"darkskin::VTrackerTemplate", 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_initialize_instance_(this);
}
VTrackerTemplate::~VTrackerTemplate()
{
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::templates::GuiTemplate*>(this));
}
/***********************************************************************
Class (::darkskin::WindowTemplateConstructor)
***********************************************************************/
void WindowTemplateConstructor::__vwsn_initialize_instance_(::darkskin::WindowTemplate* __vwsn_this_)
{
(this->self = __vwsn_this_);
{
::vl::__vwsn::This(this->self)->SetTooltipTemplate(LAMBDA(::vl_workflow_global::__vwsnf319_Demo_darkskin_WindowTemplateConstructor___vwsn_initialize_instance__(this)));
}
{
::vl::__vwsn::This(this->self)->SetCustomizedBorder(::vl::__vwsn::Parse<bool>(::vl::WString(L"true", false)));
}
{
::vl::__vwsn::This(this->self)->SetTitleBarOption(::vl::presentation::templates::BoolOption::AlwaysTrue);
}
{
::vl::__vwsn::This(this->self)->SetIconVisibleOption(::vl::presentation::templates::BoolOption::AlwaysTrue);
}
{
::vl::__vwsn::This(this->self)->SetSizeBoxOption(::vl::presentation::templates::BoolOption::AlwaysTrue);
}
{
::vl::__vwsn::This(this->self)->SetBorderOption(::vl::presentation::templates::BoolOption::AlwaysTrue);
}
{
::vl::__vwsn::This(this->self)->SetMinimizedBoxOption(::vl::presentation::templates::BoolOption::AlwaysTrue);
}
{
::vl::__vwsn::This(this->self)->SetMaximizedBoxOption(::vl::presentation::templates::BoolOption::AlwaysTrue);
}
{
::vl::__vwsn::This(this->self)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
(this->__vwsn_precompile_0 = ::vl::Ptr<::vl::presentation::elements::GuiSolidBackgroundElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidBackgroundElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_0.Obj())->SetColor(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#2D2D30", false)));
}
{
::vl::__vwsn::This(this->self)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_0));
}
(this->__vwsn_precompile_1 = new ::vl::presentation::compositions::GuiBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_2 = ::vl::Ptr<::vl::presentation::elements::GuiSolidBorderElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidBorderElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_2.Obj())->SetColor(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#017ACC", false)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_2));
}
(this->__vwsn_precompile_3 = new ::vl::presentation::compositions::GuiTableComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_3)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_3)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_3)->SetRowsAndColumns(static_cast<::vl::vint32_t>(4), static_cast<::vl::vint32_t>(6));
::vl::__vwsn::This(this->__vwsn_precompile_3)->SetRowOption(static_cast<::vl::vint32_t>(0), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Absolute; __vwsn_temp__.absolute = static_cast<::vl::vint32_t>(8); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_3)->SetRowOption(static_cast<::vl::vint32_t>(1), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::MinSize; return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_3)->SetRowOption(static_cast<::vl::vint32_t>(2), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(1.0); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_3)->SetRowOption(static_cast<::vl::vint32_t>(3), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Absolute; __vwsn_temp__.absolute = static_cast<::vl::vint32_t>(8); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_3)->SetColumnOption(static_cast<::vl::vint32_t>(0), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Absolute; __vwsn_temp__.absolute = static_cast<::vl::vint32_t>(8); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_3)->SetColumnOption(static_cast<::vl::vint32_t>(1), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(1.0); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_3)->SetColumnOption(static_cast<::vl::vint32_t>(2), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::MinSize; return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_3)->SetColumnOption(static_cast<::vl::vint32_t>(3), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::MinSize; return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_3)->SetColumnOption(static_cast<::vl::vint32_t>(4), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::MinSize; return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_3)->SetColumnOption(static_cast<::vl::vint32_t>(5), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Absolute; __vwsn_temp__.absolute = static_cast<::vl::vint32_t>(8); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_4 = new ::vl::presentation::compositions::GuiCellComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_4)->SetAssociatedHitTestResult(::vl::presentation::INativeWindowListener::HitTestResult::BorderLeftTop);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_4)->SetSite(static_cast<::vl::vint32_t>(0), static_cast<::vl::vint32_t>(0), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_3)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_4));
}
(this->__vwsn_precompile_5 = new ::vl::presentation::compositions::GuiCellComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_5)->SetAssociatedHitTestResult(::vl::presentation::INativeWindowListener::HitTestResult::BorderRightTop);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_5)->SetSite(static_cast<::vl::vint32_t>(0), static_cast<::vl::vint32_t>(5), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_3)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_5));
}
(this->__vwsn_precompile_6 = new ::vl::presentation::compositions::GuiCellComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_6)->SetAssociatedHitTestResult(::vl::presentation::INativeWindowListener::HitTestResult::BorderLeftBottom);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_6)->SetSite(static_cast<::vl::vint32_t>(3), static_cast<::vl::vint32_t>(0), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_3)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_6));
}
(this->__vwsn_precompile_7 = new ::vl::presentation::compositions::GuiCellComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_7)->SetAssociatedHitTestResult(::vl::presentation::INativeWindowListener::HitTestResult::BorderRightBottom);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_7)->SetSite(static_cast<::vl::vint32_t>(3), static_cast<::vl::vint32_t>(5), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_3)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_7));
}
(this->__vwsn_precompile_8 = new ::vl::presentation::compositions::GuiCellComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_8)->SetAssociatedHitTestResult(::vl::presentation::INativeWindowListener::HitTestResult::BorderLeft);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_8)->SetSite(static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(0), static_cast<::vl::vint32_t>(2), static_cast<::vl::vint32_t>(1));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_3)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_8));
}
(this->__vwsn_precompile_9 = new ::vl::presentation::compositions::GuiCellComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_9)->SetAssociatedHitTestResult(::vl::presentation::INativeWindowListener::HitTestResult::BorderRight);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_9)->SetSite(static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(5), static_cast<::vl::vint32_t>(2), static_cast<::vl::vint32_t>(1));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_3)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_9));
}
(this->__vwsn_precompile_10 = new ::vl::presentation::compositions::GuiCellComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_10)->SetAssociatedHitTestResult(::vl::presentation::INativeWindowListener::HitTestResult::BorderTop);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_10)->SetSite(static_cast<::vl::vint32_t>(0), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(4));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_3)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_10));
}
(this->__vwsn_precompile_11 = new ::vl::presentation::compositions::GuiCellComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_11)->SetAssociatedHitTestResult(::vl::presentation::INativeWindowListener::HitTestResult::BorderBottom);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_11)->SetSite(static_cast<::vl::vint32_t>(3), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(4));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_3)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_11));
}
(this->__vwsn_precompile_12 = new ::vl::presentation::compositions::GuiCellComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_12)->SetAssociatedHitTestResult(::vl::presentation::INativeWindowListener::HitTestResult::ButtonMinimum);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_12)->SetSite(static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(2), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1));
}
{
auto __vwsn_controlStyle_ = new ::vl::presentation::templates::GuiButtonTemplate_StyleProvider(LAMBDA(::vl_workflow_global::__vwsnf320_Demo_darkskin_WindowTemplateConstructor___vwsn_initialize_instance__(this)));
(this->__vwsn_precompile_13 = new ::vl::presentation::controls::GuiButton(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_13)->SetFont([&](){ ::vl::presentation::FontProperties __vwsn_temp__; __vwsn_temp__.fontFamily = ::vl::WString(L"Webdings", false); __vwsn_temp__.size = static_cast<::vl::vint32_t>(16); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_14 = ::vl::__vwsn::This(this->__vwsn_precompile_13)->GetBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_14)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(1); __vwsn_temp__.top = static_cast<::vl::vint32_t>(1); __vwsn_temp__.right = static_cast<::vl::vint32_t>(1); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(1); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_13)->SetText(::vl::WString(L" 0 ", false));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_12)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(::vl::__vwsn::This(this->__vwsn_precompile_13)->GetBoundsComposition()));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_3)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_12));
}
(this->__vwsn_precompile_15 = new ::vl::presentation::compositions::GuiCellComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_15)->SetAssociatedHitTestResult(::vl::presentation::INativeWindowListener::HitTestResult::ButtonMaximum);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_15)->SetSite(static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(3), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1));
}
{
auto __vwsn_controlStyle_ = new ::vl::presentation::templates::GuiButtonTemplate_StyleProvider(LAMBDA(::vl_workflow_global::__vwsnf321_Demo_darkskin_WindowTemplateConstructor___vwsn_initialize_instance__(this)));
(this->__vwsn_precompile_16 = new ::vl::presentation::controls::GuiButton(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_16)->SetFont([&](){ ::vl::presentation::FontProperties __vwsn_temp__; __vwsn_temp__.fontFamily = ::vl::WString(L"Webdings", false); __vwsn_temp__.size = static_cast<::vl::vint32_t>(16); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_17 = ::vl::__vwsn::This(this->__vwsn_precompile_16)->GetBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_17)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(1); __vwsn_temp__.top = static_cast<::vl::vint32_t>(1); __vwsn_temp__.right = static_cast<::vl::vint32_t>(1); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(1); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_15)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(::vl::__vwsn::This(this->__vwsn_precompile_16)->GetBoundsComposition()));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_3)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_15));
}
(this->__vwsn_precompile_18 = new ::vl::presentation::compositions::GuiCellComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_18)->SetAssociatedHitTestResult(::vl::presentation::INativeWindowListener::HitTestResult::ButtonClose);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_18)->SetSite(static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(4), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1));
}
{
auto __vwsn_controlStyle_ = new ::vl::presentation::templates::GuiButtonTemplate_StyleProvider(LAMBDA(::vl_workflow_global::__vwsnf322_Demo_darkskin_WindowTemplateConstructor___vwsn_initialize_instance__(this)));
(this->__vwsn_precompile_19 = new ::vl::presentation::controls::GuiButton(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_19)->SetFont([&](){ ::vl::presentation::FontProperties __vwsn_temp__; __vwsn_temp__.fontFamily = ::vl::WString(L"Webdings", false); __vwsn_temp__.size = static_cast<::vl::vint32_t>(16); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_20 = ::vl::__vwsn::This(this->__vwsn_precompile_19)->GetBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_20)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(1); __vwsn_temp__.top = static_cast<::vl::vint32_t>(1); __vwsn_temp__.right = static_cast<::vl::vint32_t>(1); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(1); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_19)->SetText(::vl::WString(L" r ", false));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_18)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(::vl::__vwsn::This(this->__vwsn_precompile_19)->GetBoundsComposition()));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_3)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_18));
}
(this->__vwsn_precompile_21 = new ::vl::presentation::compositions::GuiCellComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_21)->SetAssociatedHitTestResult(::vl::presentation::INativeWindowListener::HitTestResult::Title);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_21)->SetSite(static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1));
}
(this->__vwsn_precompile_22 = new ::vl::presentation::compositions::GuiBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_22)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_22)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(5); __vwsn_temp__.top = static_cast<::vl::vint32_t>(5); __vwsn_temp__.right = static_cast<::vl::vint32_t>(5); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(5); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_23 = ::vl::Ptr<::vl::presentation::elements::GuiSolidLabelElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidLabelElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_23.Obj())->SetFont([&](){ ::vl::presentation::FontProperties __vwsn_temp__; __vwsn_temp__.fontFamily = ::vl::WString(L"Segoe WP SemiLight", false); __vwsn_temp__.size = static_cast<::vl::vint32_t>(14); __vwsn_temp__.antialias = true; return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_23.Obj())->SetColor(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#999999", false)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_22)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_23));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_21)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_22));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_3)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_21));
}
(this->__vwsn_precompile_24 = new ::vl::presentation::compositions::GuiCellComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_24)->SetAssociatedHitTestResult(::vl::presentation::INativeWindowListener::HitTestResult::Client);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_24)->SetSite(static_cast<::vl::vint32_t>(2), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(4));
}
(this->container = new ::vl::presentation::compositions::GuiBoundsComposition());
{
::vl::__vwsn::This(this->container)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->container)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_24)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->container));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_3)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_24));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_3));
}
{
::vl::__vwsn::This(this->self)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_1));
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc151_Demo_darkskin_WindowTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf323_Demo_darkskin_WindowTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc152_Demo_darkskin_WindowTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf324_Demo_darkskin_WindowTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
::vl::__vwsn::This(this->self)->SetContainerComposition(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->container));
}
}
WindowTemplateConstructor::WindowTemplateConstructor()
{
}
/***********************************************************************
Class (::darkskin::WindowTemplate)
***********************************************************************/
WindowTemplate::WindowTemplate()
{
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"darkskin::WindowTemplate", 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_initialize_instance_(this);
}
WindowTemplate::~WindowTemplate()
{
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::templates::GuiTemplate*>(this));
}
/***********************************************************************
Class (::demo::DateEditorConstructor)
***********************************************************************/
}
namespace demo
{
void DateEditorConstructor::__vwsn_initialize_instance_(::demo::DateEditor* __vwsn_this_)
{
(this->self = __vwsn_this_);
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateComboBoxStyle();
(this->comboBox = new ::vl::presentation::controls::GuiDateComboBox(__vwsn_controlStyle_, new ::vl::presentation::controls::GuiDatePicker(::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateDatePickerStyle())));
}
(this->__vwsn_precompile_0 = ::vl::__vwsn::This(this->comboBox)->GetBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->self)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(::vl::__vwsn::This(this->comboBox)->GetBoundsComposition()));
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc153_Demo_demo_DateEditorConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf325_Demo_demo_DateEditorConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc154_Demo_demo_DateEditorConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf326_Demo_demo_DateEditorConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
::vl::__vwsn::This(this->self)->SetFocusControl(static_cast<::vl::presentation::controls::GuiControl*>(this->comboBox));
}
}
DateEditorConstructor::DateEditorConstructor()
{
}
/***********************************************************************
Class (::demo::DateEditor)
***********************************************************************/
DateEditor::DateEditor()
{
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"demo::DateEditor", 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_initialize_instance_(this);
}
DateEditor::~DateEditor()
{
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::templates::GuiTemplate*>(this));
}
/***********************************************************************
Class (::demo::DateFilterConstructor)
***********************************************************************/
void DateFilterConstructor::__vwsn_initialize_instance_(::demo::DateFilter* __vwsn_this_)
{
(this->self = __vwsn_this_);
(this->__vwsn_precompile_0 = new ::vl::presentation::compositions::GuiTableComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetCellPadding(::vl::__vwsn::Parse<::vl::vint32_t>(::vl::WString(L"5", false)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetRowsAndColumns(static_cast<::vl::vint32_t>(2), static_cast<::vl::vint32_t>(2));
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetRowOption(static_cast<::vl::vint32_t>(0), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::MinSize; return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetRowOption(static_cast<::vl::vint32_t>(1), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::MinSize; return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetColumnOption(static_cast<::vl::vint32_t>(0), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::MinSize; return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetColumnOption(static_cast<::vl::vint32_t>(1), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::MinSize; return __vwsn_temp__; }());
}
(this->__vwsn_precompile_1 = new ::vl::presentation::compositions::GuiCellComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetSite(static_cast<::vl::vint32_t>(0), static_cast<::vl::vint32_t>(0), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateCheckBoxStyle();
(this->checkFrom = new ::vl::presentation::controls::GuiSelectableButton(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(this->checkFrom)->SetText(::vl::WString(L"From:", false));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(::vl::__vwsn::This(this->checkFrom)->GetBoundsComposition()));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_1));
}
(this->__vwsn_precompile_2 = new ::vl::presentation::compositions::GuiCellComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_2)->SetSite(static_cast<::vl::vint32_t>(0), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateComboBoxStyle();
(this->dateFrom = new ::vl::presentation::controls::GuiDateComboBox(__vwsn_controlStyle_, new ::vl::presentation::controls::GuiDatePicker(::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateDatePickerStyle())));
}
{
::vl::__vwsn::This(this->dateFrom)->SetSelectedDate(::vl::__vwsn::Parse<::vl::DateTime>(::vl::WString(L"1988-01-01 00:00:00.000", false)));
}
(this->__vwsn_precompile_3 = ::vl::__vwsn::This(this->dateFrom)->GetBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_3)->SetPreferredMinSize([&](){ ::vl::presentation::Size __vwsn_temp__; __vwsn_temp__.x = static_cast<::vl::vint32_t>(120); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_2)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(::vl::__vwsn::This(this->dateFrom)->GetBoundsComposition()));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_2));
}
(this->__vwsn_precompile_4 = new ::vl::presentation::compositions::GuiCellComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_4)->SetSite(static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(0), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateCheckBoxStyle();
(this->checkTo = new ::vl::presentation::controls::GuiSelectableButton(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(this->checkTo)->SetText(::vl::WString(L"To:", false));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_4)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(::vl::__vwsn::This(this->checkTo)->GetBoundsComposition()));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_4));
}
(this->__vwsn_precompile_5 = new ::vl::presentation::compositions::GuiCellComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_5)->SetSite(static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateComboBoxStyle();
(this->dateTo = new ::vl::presentation::controls::GuiDateComboBox(__vwsn_controlStyle_, new ::vl::presentation::controls::GuiDatePicker(::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateDatePickerStyle())));
}
{
::vl::__vwsn::This(this->dateTo)->SetSelectedDate(::vl::__vwsn::Parse<::vl::DateTime>(::vl::WString(L"2000-01-01 00:00:00.000", false)));
}
(this->__vwsn_precompile_6 = ::vl::__vwsn::This(this->dateTo)->GetBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_6)->SetPreferredMinSize([&](){ ::vl::presentation::Size __vwsn_temp__; __vwsn_temp__.x = static_cast<::vl::vint32_t>(120); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_5)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(::vl::__vwsn::This(this->dateTo)->GetBoundsComposition()));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_5));
}
{
::vl::__vwsn::This(::vl::__vwsn::This(this->self)->GetContainerComposition())->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_0));
}
{
auto __vwsn_event_handler_ = LAMBDA(::vl_workflow_global::__vwsnf327_Demo_demo_DateFilterConstructor___vwsn_initialize_instance__(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(this->checkFrom)->SelectedChanged, __vwsn_event_handler_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc155_Demo_demo_DateFilterConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf328_Demo_demo_DateFilterConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_event_handler_ = LAMBDA(::vl_workflow_global::__vwsnf329_Demo_demo_DateFilterConstructor___vwsn_initialize_instance__(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(this->dateFrom)->SelectedDateChanged, __vwsn_event_handler_);
}
{
auto __vwsn_event_handler_ = LAMBDA(::vl_workflow_global::__vwsnf330_Demo_demo_DateFilterConstructor___vwsn_initialize_instance__(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(this->checkTo)->SelectedChanged, __vwsn_event_handler_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc156_Demo_demo_DateFilterConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf331_Demo_demo_DateFilterConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_event_handler_ = LAMBDA(::vl_workflow_global::__vwsnf332_Demo_demo_DateFilterConstructor___vwsn_initialize_instance__(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(this->dateTo)->SelectedDateChanged, __vwsn_event_handler_);
}
}
DateFilterConstructor::DateFilterConstructor()
{
}
/***********************************************************************
Class (::demo::DateFilter)
***********************************************************************/
void DateFilter::UpdateFilter()
{
if ((this->callback != nullptr))
{
::vl::__vwsn::This(this->callback)->OnProcessorChanged();
}
}
::vl::Ptr<::vl::presentation::controls::list::IDataFilter> DateFilter::GetFilter()
{
return this->__vwsn_prop_Filter;
}
void DateFilter::SetFilter(::vl::Ptr<::vl::presentation::controls::list::IDataFilter> __vwsn_value_)
{
(this->__vwsn_prop_Filter = __vwsn_value_);
}
DateFilter::DateFilter()
: ::vl::presentation::controls::GuiCustomControl(::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateCustomControlStyle())
{
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"demo::DateFilter", 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_initialize_instance_(this);
this->__vwsn_instance_ctor_();
}
void DateFilter::__vwsn_instance_ctor_()
{
this->SetFilter(::vl::Ptr<::vl::presentation::controls::list::IDataFilter>(new ::vl_workflow_global::__vwsnc157_Demo_demo_DateFilter___vwsn_instance_ctor___vl_presentation_controls_list_IDataFilter(this)));
}
DateFilter::~DateFilter()
{
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::controls::GuiCustomControl*>(this));
}
/***********************************************************************
Class (::demo::TextEditorConstructor)
***********************************************************************/
void TextEditorConstructor::__vwsn_initialize_instance_(::demo::TextEditor* __vwsn_this_)
{
(this->self = __vwsn_this_);
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateTextBoxStyle();
(this->textBox = new ::vl::presentation::controls::GuiSinglelineTextBox(__vwsn_controlStyle_));
}
(this->__vwsn_precompile_0 = ::vl::__vwsn::This(this->textBox)->GetBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->self)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(::vl::__vwsn::This(this->textBox)->GetBoundsComposition()));
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc158_Demo_demo_TextEditorConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf333_Demo_demo_TextEditorConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc159_Demo_demo_TextEditorConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf334_Demo_demo_TextEditorConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
::vl::__vwsn::This(this->self)->SetFocusControl(static_cast<::vl::presentation::controls::GuiControl*>(this->textBox));
}
}
TextEditorConstructor::TextEditorConstructor()
{
}
/***********************************************************************
Class (::demo::TextEditor)
***********************************************************************/
TextEditor::TextEditor()
{
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"demo::TextEditor", 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_initialize_instance_(this);
}
TextEditor::~TextEditor()
{
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::templates::GuiTemplate*>(this));
}
/***********************************************************************
Class (::demo::CategoryDisplayerConstructor)
***********************************************************************/
void CategoryDisplayerConstructor::__vwsn_initialize_instance_(::demo::CategoryDisplayer* __vwsn_this_)
{
(this->self = __vwsn_this_);
(this->__vwsn_precompile_0 = new ::vl::presentation::compositions::GuiTableComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(2); __vwsn_temp__.top = static_cast<::vl::vint32_t>(2); __vwsn_temp__.right = static_cast<::vl::vint32_t>(2); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(2); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetRowsAndColumns(static_cast<::vl::vint32_t>(3), static_cast<::vl::vint32_t>(4));
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetRowOption(static_cast<::vl::vint32_t>(0), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(0.5); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetRowOption(static_cast<::vl::vint32_t>(1), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Absolute; __vwsn_temp__.absolute = static_cast<::vl::vint32_t>(16); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetRowOption(static_cast<::vl::vint32_t>(2), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(0.5); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetColumnOption(static_cast<::vl::vint32_t>(0), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Absolute; __vwsn_temp__.absolute = static_cast<::vl::vint32_t>(2); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetColumnOption(static_cast<::vl::vint32_t>(1), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Absolute; __vwsn_temp__.absolute = static_cast<::vl::vint32_t>(16); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetColumnOption(static_cast<::vl::vint32_t>(2), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Absolute; __vwsn_temp__.absolute = static_cast<::vl::vint32_t>(2); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetColumnOption(static_cast<::vl::vint32_t>(3), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(1.0); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_1 = new ::vl::presentation::compositions::GuiCellComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetSite(static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1));
}
(this->__vwsn_precompile_2 = ::vl::Ptr<::vl::presentation::elements::GuiSolidBorderElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidBorderElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_2.Obj())->SetColor(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#000000", false)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_2));
}
(this->__vwsn_precompile_3 = new ::vl::presentation::compositions::GuiBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_3)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(1); __vwsn_temp__.top = static_cast<::vl::vint32_t>(1); __vwsn_temp__.right = static_cast<::vl::vint32_t>(1); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(1); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_4 = ::vl::Ptr<::vl::presentation::elements::GuiSolidBackgroundElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidBackgroundElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_3)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_4));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_3));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_1));
}
(this->__vwsn_precompile_5 = new ::vl::presentation::compositions::GuiCellComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_5)->SetSite(static_cast<::vl::vint32_t>(0), static_cast<::vl::vint32_t>(3), static_cast<::vl::vint32_t>(3), static_cast<::vl::vint32_t>(1));
}
(this->__vwsn_precompile_6 = ::vl::Ptr<::vl::presentation::elements::GuiSolidLabelElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidLabelElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_6.Obj())->SetEllipse(::vl::__vwsn::Parse<bool>(::vl::WString(L"true", false)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_6.Obj())->SetColor(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#FF8000", false)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_6.Obj())->SetVerticalAlignment(::vl::presentation::Alignment::Center);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_6.Obj())->SetHorizontalAlignment(::vl::presentation::Alignment::Left);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_5)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_6));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_5));
}
{
::vl::__vwsn::This(::vl::__vwsn::This(this->self)->GetContainerComposition())->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_0));
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc160_Demo_demo_CategoryDisplayerConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf335_Demo_demo_CategoryDisplayerConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc161_Demo_demo_CategoryDisplayerConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf336_Demo_demo_CategoryDisplayerConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc162_Demo_demo_CategoryDisplayerConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf337_Demo_demo_CategoryDisplayerConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
}
CategoryDisplayerConstructor::CategoryDisplayerConstructor()
{
}
/***********************************************************************
Class (::demo::CategoryDisplayer)
***********************************************************************/
::demo::MyCategory CategoryDisplayer::GetCategory()
{
return this->__vwsn_prop_Category;
}
void CategoryDisplayer::SetCategory(::demo::MyCategory __vwsn_value_)
{
if ((this->__vwsn_prop_Category != __vwsn_value_))
{
(this->__vwsn_prop_Category = __vwsn_value_);
::vl::__vwsn::EventInvoke(this->CategoryChanged)();
}
}
CategoryDisplayer::CategoryDisplayer()
: ::vl::presentation::controls::GuiCustomControl(::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateCustomControlStyle())
{
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"demo::CategoryDisplayer", 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_initialize_instance_(this);
}
CategoryDisplayer::~CategoryDisplayer()
{
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::controls::GuiCustomControl*>(this));
}
/***********************************************************************
Class (::demo::CategoryEditorConstructor)
***********************************************************************/
void CategoryEditorConstructor::__vwsn_initialize_instance_(::demo::CategoryEditor* __vwsn_this_)
{
(this->self = __vwsn_this_);
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateTextListStyle();
(this->__vwsn_precompile_0 = new ::vl::presentation::controls::GuiBindableTextList(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetItemTemplate(LAMBDA(::vl_workflow_global::__vwsnf338_Demo_demo_CategoryEditorConstructor___vwsn_initialize_instance__(this)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetVerticalAlwaysVisible(::vl::__vwsn::Parse<bool>(::vl::WString(L"false", false)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetHorizontalAlwaysVisible(::vl::__vwsn::Parse<bool>(::vl::WString(L"false", false)));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateComboBoxStyle();
(this->comboBox = new ::vl::presentation::controls::GuiComboBoxListControl(__vwsn_controlStyle_, this->__vwsn_precompile_0));
}
{
::vl::__vwsn::This(this->comboBox)->SetItemTemplate(LAMBDA(::vl_workflow_global::__vwsnf339_Demo_demo_CategoryEditorConstructor___vwsn_initialize_instance__(this)));
}
(this->__vwsn_precompile_1 = ::vl::__vwsn::This(this->comboBox)->GetBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->self)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(::vl::__vwsn::This(this->comboBox)->GetBoundsComposition()));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetItemSource(::vl::Ptr<::vl::reflection::description::IValueEnumerable>(::vl::__vwsn::This(this->self)->items));
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc163_Demo_demo_CategoryEditorConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf340_Demo_demo_CategoryEditorConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc164_Demo_demo_CategoryEditorConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf341_Demo_demo_CategoryEditorConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
}
CategoryEditorConstructor::CategoryEditorConstructor()
{
}
/***********************************************************************
Class (::demo::CategoryEditor)
***********************************************************************/
CategoryEditor::CategoryEditor()
{
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"demo::CategoryEditor", 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_initialize_instance_(this);
}
CategoryEditor::~CategoryEditor()
{
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::templates::GuiTemplate*>(this));
}
/***********************************************************************
Class (::demo::CategoryItemTemplateConstructor)
***********************************************************************/
void CategoryItemTemplateConstructor::__vwsn_initialize_instance_(::demo::CategoryItemTemplate* __vwsn_this_)
{
(this->self = __vwsn_this_);
(this->SelectedCategory = ::vl::__vwsn::This(__vwsn_this_)->GetSelectedCategory());
{
::vl::__vwsn::This(this->self)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
(this->__vwsn_precompile_0 = new ::demo::CategoryDisplayer());
(this->__vwsn_precompile_1 = ::vl::__vwsn::This(this->__vwsn_precompile_0)->GetBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->self)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(::vl::__vwsn::This(this->__vwsn_precompile_0)->GetBoundsComposition()));
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc165_Demo_demo_CategoryItemTemplateConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf342_Demo_demo_CategoryItemTemplateConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetCategory(this->SelectedCategory);
}
}
CategoryItemTemplateConstructor::CategoryItemTemplateConstructor()
{
}
/***********************************************************************
Class (::demo::CategoryItemTemplate)
***********************************************************************/
::demo::MyCategory CategoryItemTemplate::GetSelectedCategory()
{
return this->__vwsn_parameter_SelectedCategory;
}
CategoryItemTemplate::CategoryItemTemplate(::demo::MyCategory __vwsn_ctor_parameter_SelectedCategory)
{
(this->__vwsn_parameter_SelectedCategory = __vwsn_ctor_parameter_SelectedCategory);
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"demo::CategoryItemTemplate", 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_initialize_instance_(this);
}
CategoryItemTemplate::~CategoryItemTemplate()
{
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::templates::GuiTemplate*>(this));
}
/***********************************************************************
Class (::demo::CategoryVisualizerConstructor)
***********************************************************************/
void CategoryVisualizerConstructor::__vwsn_initialize_instance_(::demo::CategoryVisualizer* __vwsn_this_)
{
(this->self = __vwsn_this_);
(this->__vwsn_precompile_0 = new ::demo::CategoryDisplayer());
(this->__vwsn_precompile_1 = ::vl::__vwsn::This(this->__vwsn_precompile_0)->GetBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->self)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(::vl::__vwsn::This(this->__vwsn_precompile_0)->GetBoundsComposition()));
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc166_Demo_demo_CategoryVisualizerConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf343_Demo_demo_CategoryVisualizerConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc167_Demo_demo_CategoryVisualizerConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf344_Demo_demo_CategoryVisualizerConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
}
CategoryVisualizerConstructor::CategoryVisualizerConstructor()
{
}
/***********************************************************************
Class (::demo::CategoryVisualizer)
***********************************************************************/
CategoryVisualizer::CategoryVisualizer()
{
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"demo::CategoryVisualizer", 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_initialize_instance_(this);
}
CategoryVisualizer::~CategoryVisualizer()
{
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::templates::GuiTemplate*>(this));
}
/***********************************************************************
Class (::demo::GenderDisplayerConstructor)
***********************************************************************/
void GenderDisplayerConstructor::__vwsn_initialize_instance_(::demo::GenderDisplayer* __vwsn_this_)
{
(this->self = __vwsn_this_);
(this->__vwsn_precompile_0 = new ::vl::presentation::compositions::GuiBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElement);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(2); __vwsn_temp__.top = static_cast<::vl::vint32_t>(2); __vwsn_temp__.right = static_cast<::vl::vint32_t>(2); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(2); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_1 = ::vl::Ptr<::vl::presentation::elements::GuiImageFrameElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiImageFrameElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_1.Obj())->SetVerticalAlignment(::vl::presentation::Alignment::Center);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_1.Obj())->SetHorizontalAlignment(::vl::presentation::Alignment::Left);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_1));
}
{
::vl::__vwsn::This(::vl::__vwsn::This(this->self)->GetContainerComposition())->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_0));
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc168_Demo_demo_GenderDisplayerConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf345_Demo_demo_GenderDisplayerConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
}
GenderDisplayerConstructor::GenderDisplayerConstructor()
{
}
/***********************************************************************
Class (::demo::GenderDisplayer)
***********************************************************************/
::demo::MyGender GenderDisplayer::GetGender()
{
return this->__vwsn_prop_Gender;
}
void GenderDisplayer::SetGender(::demo::MyGender __vwsn_value_)
{
if ((this->__vwsn_prop_Gender != __vwsn_value_))
{
(this->__vwsn_prop_Gender = __vwsn_value_);
::vl::__vwsn::EventInvoke(this->GenderChanged)();
}
}
GenderDisplayer::GenderDisplayer()
: ::vl::presentation::controls::GuiCustomControl(::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateCustomControlStyle())
{
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"demo::GenderDisplayer", 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_initialize_instance_(this);
}
GenderDisplayer::~GenderDisplayer()
{
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::controls::GuiCustomControl*>(this));
}
/***********************************************************************
Class (::demo::GenderEditorConstructor)
***********************************************************************/
void GenderEditorConstructor::__vwsn_initialize_instance_(::demo::GenderEditor* __vwsn_this_)
{
(this->self = __vwsn_this_);
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateTextListStyle();
(this->__vwsn_precompile_0 = new ::vl::presentation::controls::GuiBindableTextList(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetItemTemplate(LAMBDA(::vl_workflow_global::__vwsnf346_Demo_demo_GenderEditorConstructor___vwsn_initialize_instance__(this)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetVerticalAlwaysVisible(::vl::__vwsn::Parse<bool>(::vl::WString(L"false", false)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetHorizontalAlwaysVisible(::vl::__vwsn::Parse<bool>(::vl::WString(L"false", false)));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateComboBoxStyle();
(this->comboBox = new ::vl::presentation::controls::GuiComboBoxListControl(__vwsn_controlStyle_, this->__vwsn_precompile_0));
}
{
::vl::__vwsn::This(this->comboBox)->SetItemTemplate(LAMBDA(::vl_workflow_global::__vwsnf347_Demo_demo_GenderEditorConstructor___vwsn_initialize_instance__(this)));
}
(this->__vwsn_precompile_1 = ::vl::__vwsn::This(this->comboBox)->GetBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->self)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(::vl::__vwsn::This(this->comboBox)->GetBoundsComposition()));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetItemSource(::vl::Ptr<::vl::reflection::description::IValueEnumerable>(::vl::__vwsn::This(this->self)->items));
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc169_Demo_demo_GenderEditorConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf348_Demo_demo_GenderEditorConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc170_Demo_demo_GenderEditorConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf349_Demo_demo_GenderEditorConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
}
GenderEditorConstructor::GenderEditorConstructor()
{
}
/***********************************************************************
Class (::demo::GenderEditor)
***********************************************************************/
GenderEditor::GenderEditor()
{
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"demo::GenderEditor", 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_initialize_instance_(this);
}
GenderEditor::~GenderEditor()
{
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::templates::GuiTemplate*>(this));
}
/***********************************************************************
Class (::demo::GenderItemTemplateConstructor)
***********************************************************************/
void GenderItemTemplateConstructor::__vwsn_initialize_instance_(::demo::GenderItemTemplate* __vwsn_this_)
{
(this->__vwsn_precompile_0 = __vwsn_this_);
(this->SelectedGender = ::vl::__vwsn::This(__vwsn_this_)->GetSelectedGender());
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetMinSizeLimitation(::vl::presentation::compositions::GuiGraphicsComposition::MinSizeLimitation::LimitToElementAndChildren);
}
(this->__vwsn_precompile_1 = new ::demo::GenderDisplayer());
(this->__vwsn_precompile_2 = ::vl::__vwsn::This(this->__vwsn_precompile_1)->GetBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_2)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(::vl::__vwsn::This(this->__vwsn_precompile_1)->GetBoundsComposition()));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetGender(this->SelectedGender);
}
}
GenderItemTemplateConstructor::GenderItemTemplateConstructor()
{
}
/***********************************************************************
Class (::demo::GenderItemTemplate)
***********************************************************************/
::demo::MyGender GenderItemTemplate::GetSelectedGender()
{
return this->__vwsn_parameter_SelectedGender;
}
GenderItemTemplate::GenderItemTemplate(::demo::MyGender __vwsn_ctor_parameter_SelectedGender)
{
(this->__vwsn_parameter_SelectedGender = __vwsn_ctor_parameter_SelectedGender);
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"demo::GenderItemTemplate", 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_initialize_instance_(this);
}
GenderItemTemplate::~GenderItemTemplate()
{
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::templates::GuiTemplate*>(this));
}
/***********************************************************************
Class (::demo::GenderVisualizerConstructor)
***********************************************************************/
void GenderVisualizerConstructor::__vwsn_initialize_instance_(::demo::GenderVisualizer* __vwsn_this_)
{
(this->self = __vwsn_this_);
(this->__vwsn_precompile_0 = new ::demo::GenderDisplayer());
(this->__vwsn_precompile_1 = ::vl::__vwsn::This(this->__vwsn_precompile_0)->GetBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->self)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(::vl::__vwsn::This(this->__vwsn_precompile_0)->GetBoundsComposition()));
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc171_Demo_demo_GenderVisualizerConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf350_Demo_demo_GenderVisualizerConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
}
GenderVisualizerConstructor::GenderVisualizerConstructor()
{
}
/***********************************************************************
Class (::demo::GenderVisualizer)
***********************************************************************/
GenderVisualizer::GenderVisualizer()
{
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"demo::GenderVisualizer", 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_initialize_instance_(this);
}
GenderVisualizer::~GenderVisualizer()
{
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::templates::GuiTemplate*>(this));
}
/***********************************************************************
Class (::demo::HyperlinkWindowConstructor)
***********************************************************************/
void HyperlinkWindowConstructor::__vwsn_initialize_instance_(::demo::HyperlinkWindow* __vwsn_this_)
{
(this->self = __vwsn_this_);
{
::vl::__vwsn::This(this->self)->SetShowInTaskBar(::vl::__vwsn::Parse<bool>(::vl::WString(L"false", false)));
}
{
::vl::__vwsn::This(this->self)->SetMaximizedBox(::vl::__vwsn::Parse<bool>(::vl::WString(L"false", false)));
}
{
::vl::__vwsn::This(this->self)->SetMinimizedBox(::vl::__vwsn::Parse<bool>(::vl::WString(L"false", false)));
}
{
::vl::__vwsn::This(this->self)->SetSizeBox(::vl::__vwsn::Parse<bool>(::vl::WString(L"false", false)));
}
(this->__vwsn_precompile_11 = ::vl::__vwsn::This(this->self)->GetBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_11)->SetPreferredMinSize([&](){ ::vl::presentation::Size __vwsn_temp__; __vwsn_temp__.x = static_cast<::vl::vint32_t>(320); __vwsn_temp__.y = static_cast<::vl::vint32_t>(80); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->self)->SetClientSize([&](){ ::vl::presentation::Size __vwsn_temp__; __vwsn_temp__.x = static_cast<::vl::vint32_t>(320); __vwsn_temp__.y = static_cast<::vl::vint32_t>(80); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->self)->SetText(::vl::WString(L"Hyperlink", false));
}
(this->__vwsn_precompile_0 = new ::vl::presentation::compositions::GuiTableComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetBorderVisible(::vl::__vwsn::Parse<bool>(::vl::WString(L"true", false)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetCellPadding(::vl::__vwsn::Parse<::vl::vint32_t>(::vl::WString(L"5", false)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetRowsAndColumns(static_cast<::vl::vint32_t>(3), static_cast<::vl::vint32_t>(4));
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetRowOption(static_cast<::vl::vint32_t>(0), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::MinSize; return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetRowOption(static_cast<::vl::vint32_t>(1), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(1.0); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetRowOption(static_cast<::vl::vint32_t>(2), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::MinSize; return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetColumnOption(static_cast<::vl::vint32_t>(0), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::MinSize; return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetColumnOption(static_cast<::vl::vint32_t>(1), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(1.0); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetColumnOption(static_cast<::vl::vint32_t>(2), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::MinSize; return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetColumnOption(static_cast<::vl::vint32_t>(3), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::MinSize; return __vwsn_temp__; }());
}
(this->__vwsn_precompile_1 = new ::vl::presentation::compositions::GuiCellComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetSite(static_cast<::vl::vint32_t>(0), static_cast<::vl::vint32_t>(0), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1));
}
(this->__vwsn_precompile_2 = ::vl::Ptr<::vl::presentation::elements::GuiSolidLabelElement>(::vl::reflection::description::Element_Constructor<::vl::presentation::elements::GuiSolidLabelElement>()));
{
::vl::__vwsn::This(this->__vwsn_precompile_2.Obj())->SetHorizontalAlignment(::vl::presentation::Alignment::Center);
}
{
::vl::__vwsn::This(this->__vwsn_precompile_2.Obj())->SetText(::vl::WString(L"Url: ", false));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetOwnedElement(::vl::Ptr<::vl::presentation::elements::IGuiGraphicsElement>(this->__vwsn_precompile_2));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_1));
}
(this->__vwsn_precompile_3 = new ::vl::presentation::compositions::GuiCellComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_3)->SetSite(static_cast<::vl::vint32_t>(0), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(3));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateTextBoxStyle();
(this->textUrl = new ::vl::presentation::controls::GuiSinglelineTextBox(__vwsn_controlStyle_));
}
(this->__vwsn_precompile_4 = ::vl::__vwsn::This(this->textUrl)->GetBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_4)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_3)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(::vl::__vwsn::This(this->textUrl)->GetBoundsComposition()));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_3));
}
(this->__vwsn_precompile_5 = new ::vl::presentation::compositions::GuiCellComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_5)->SetSite(static_cast<::vl::vint32_t>(2), static_cast<::vl::vint32_t>(2), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateButtonStyle();
(this->__vwsn_precompile_6 = new ::vl::presentation::controls::GuiButton(__vwsn_controlStyle_));
}
(this->__vwsn_precompile_7 = ::vl::__vwsn::This(this->__vwsn_precompile_6)->GetBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_7)->SetPreferredMinSize([&](){ ::vl::presentation::Size __vwsn_temp__; __vwsn_temp__.x = static_cast<::vl::vint32_t>(100); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_6)->SetText(::vl::WString(L"OK", false));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_5)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(::vl::__vwsn::This(this->__vwsn_precompile_6)->GetBoundsComposition()));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_5));
}
(this->__vwsn_precompile_8 = new ::vl::presentation::compositions::GuiCellComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_8)->SetSite(static_cast<::vl::vint32_t>(2), static_cast<::vl::vint32_t>(3), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateButtonStyle();
(this->__vwsn_precompile_9 = new ::vl::presentation::controls::GuiButton(__vwsn_controlStyle_));
}
(this->__vwsn_precompile_10 = ::vl::__vwsn::This(this->__vwsn_precompile_9)->GetBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_10)->SetPreferredMinSize([&](){ ::vl::presentation::Size __vwsn_temp__; __vwsn_temp__.x = static_cast<::vl::vint32_t>(100); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_9)->SetText(::vl::WString(L"Cancel", false));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_8)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(::vl::__vwsn::This(this->__vwsn_precompile_9)->GetBoundsComposition()));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_8));
}
{
::vl::__vwsn::This(::vl::__vwsn::This(this->self)->GetContainerComposition())->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_0));
}
{
auto __vwsn_event_handler_ = LAMBDA(::vl_workflow_global::__vwsnf351_Demo_demo_HyperlinkWindowConstructor___vwsn_initialize_instance__(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(this->__vwsn_precompile_6)->Clicked, __vwsn_event_handler_);
}
{
auto __vwsn_event_handler_ = LAMBDA(::vl_workflow_global::__vwsnf352_Demo_demo_HyperlinkWindowConstructor___vwsn_initialize_instance__(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(this->__vwsn_precompile_9)->Clicked, __vwsn_event_handler_);
}
}
HyperlinkWindowConstructor::HyperlinkWindowConstructor()
{
}
/***********************************************************************
Class (::demo::HyperlinkWindow)
***********************************************************************/
::vl::Nullable<::vl::WString> HyperlinkWindow::GetUrl()
{
return this->__vwsn_prop_Url;
}
void HyperlinkWindow::SetUrl(const ::vl::Nullable<::vl::WString>& __vwsn_value_)
{
if ((this->__vwsn_prop_Url != __vwsn_value_))
{
(this->__vwsn_prop_Url = __vwsn_value_);
::vl::__vwsn::EventInvoke(this->UrlChanged)();
}
}
HyperlinkWindow::HyperlinkWindow()
: ::vl::presentation::controls::GuiWindow(::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateWindowStyle())
{
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"demo::HyperlinkWindow", 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_initialize_instance_(this);
}
HyperlinkWindow::~HyperlinkWindow()
{
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::controls::GuiControlHost*>(this));
}
/***********************************************************************
Class (::demo::TextBoxTabPageConstructor)
***********************************************************************/
void TextBoxTabPageConstructor::__vwsn_initialize_instance_(::demo::TextBoxTabPage* __vwsn_this_)
{
(this->self = __vwsn_this_);
{
::vl::__vwsn::This(this->self)->SetText(::vl::WString(L"TextBox", false));
}
(this->__vwsn_precompile_0 = new ::vl::presentation::compositions::GuiTableComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetCellPadding(::vl::__vwsn::Parse<::vl::vint32_t>(::vl::WString(L"5", false)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetRowsAndColumns(static_cast<::vl::vint32_t>(2), static_cast<::vl::vint32_t>(4));
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetRowOption(static_cast<::vl::vint32_t>(0), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(1.0); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetRowOption(static_cast<::vl::vint32_t>(1), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::MinSize; return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetColumnOption(static_cast<::vl::vint32_t>(0), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::MinSize; return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetColumnOption(static_cast<::vl::vint32_t>(1), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::MinSize; return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetColumnOption(static_cast<::vl::vint32_t>(2), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::MinSize; return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetColumnOption(static_cast<::vl::vint32_t>(3), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(1.0); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_1 = new ::vl::presentation::compositions::GuiCellComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->SetSite(static_cast<::vl::vint32_t>(0), static_cast<::vl::vint32_t>(0), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(4));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateTabStyle();
(this->__vwsn_precompile_2 = new ::vl::presentation::controls::GuiTab(__vwsn_controlStyle_));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateCustomControlStyle();
(this->__vwsn_precompile_4 = new ::vl::presentation::controls::GuiTabPage(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_4)->SetText(::vl::WString(L"TextBox", false));
}
(this->__vwsn_precompile_5 = new ::vl::presentation::compositions::GuiTableComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_5)->SetCellPadding(::vl::__vwsn::Parse<::vl::vint32_t>(::vl::WString(L"5", false)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_5)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_5)->SetRowsAndColumns(static_cast<::vl::vint32_t>(2), static_cast<::vl::vint32_t>(1));
::vl::__vwsn::This(this->__vwsn_precompile_5)->SetRowOption(static_cast<::vl::vint32_t>(0), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::MinSize; return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_5)->SetRowOption(static_cast<::vl::vint32_t>(1), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(1.0); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_5)->SetColumnOption(static_cast<::vl::vint32_t>(0), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(1.0); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_6 = new ::vl::presentation::compositions::GuiCellComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_6)->SetSite(static_cast<::vl::vint32_t>(0), static_cast<::vl::vint32_t>(0), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateTextBoxStyle();
(this->textBoxS = new ::vl::presentation::controls::GuiSinglelineTextBox(__vwsn_controlStyle_));
}
(this->__vwsn_precompile_7 = ::vl::__vwsn::This(this->textBoxS)->GetBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_7)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->textBoxS)->SetText(::vl::WString(L"Archer", false));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_6)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(::vl::__vwsn::This(this->textBoxS)->GetBoundsComposition()));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_5)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_6));
}
(this->__vwsn_precompile_8 = new ::vl::presentation::compositions::GuiCellComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_8)->SetSite(static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(0), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateMultilineTextBoxStyle();
(this->textBoxM = new ::vl::presentation::controls::GuiMultilineTextBox(__vwsn_controlStyle_));
}
(this->__vwsn_precompile_9 = ::vl::__vwsn::This(this->textBoxM)->GetBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_9)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_8)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(::vl::__vwsn::This(this->textBoxM)->GetBoundsComposition()));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_5)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_8));
}
{
::vl::__vwsn::This(::vl::__vwsn::This(this->__vwsn_precompile_4)->GetContainerComposition())->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_5));
}
{
auto __vwsn_collection_ = ::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_2)->GetPages());
::vl::__vwsn::This(__vwsn_collection_.Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_4));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateCustomControlStyle();
(this->__vwsn_precompile_10 = new ::vl::presentation::controls::GuiTabPage(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_10)->SetText(::vl::WString(L"Document", false));
}
(this->__vwsn_precompile_11 = new ::vl::presentation::compositions::GuiTableComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_11)->SetCellPadding(::vl::__vwsn::Parse<::vl::vint32_t>(::vl::WString(L"5", false)));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_11)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_11)->SetRowsAndColumns(static_cast<::vl::vint32_t>(2), static_cast<::vl::vint32_t>(2));
::vl::__vwsn::This(this->__vwsn_precompile_11)->SetRowOption(static_cast<::vl::vint32_t>(0), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::MinSize; return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_11)->SetRowOption(static_cast<::vl::vint32_t>(1), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(1.0); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_11)->SetColumnOption(static_cast<::vl::vint32_t>(0), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(0.5); return __vwsn_temp__; }());
::vl::__vwsn::This(this->__vwsn_precompile_11)->SetColumnOption(static_cast<::vl::vint32_t>(1), [&](){ ::vl::presentation::compositions::GuiCellOption __vwsn_temp__; __vwsn_temp__.composeType = ::vl::presentation::compositions::GuiCellOption::ComposeType::Percentage; __vwsn_temp__.percentage = static_cast<double>(0.5); return __vwsn_temp__; }());
}
(this->__vwsn_precompile_12 = new ::vl::presentation::compositions::GuiCellComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_12)->SetSite(static_cast<::vl::vint32_t>(0), static_cast<::vl::vint32_t>(0), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(2));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateDocumentTextBoxStyle();
(this->documentTextBox = new ::vl::presentation::controls::GuiDocumentLabel(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(this->documentTextBox)->SetEditMode(::vl::presentation::controls::GuiDocumentCommonInterface::EditMode::Editable);
}
(this->__vwsn_precompile_13 = ::vl::__vwsn::This(this->documentTextBox)->GetBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_13)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->documentTextBox)->SetText(::vl::WString(L"Archer", false));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_12)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(::vl::__vwsn::This(this->documentTextBox)->GetBoundsComposition()));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_11)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_12));
}
(this->__vwsn_precompile_14 = new ::vl::presentation::compositions::GuiCellComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_14)->SetSite(static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(0), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateDocumentViewerStyle();
(this->documentViewer = new ::vl::presentation::controls::GuiDocumentViewer(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(this->documentViewer)->SetEditMode(::vl::presentation::controls::GuiDocumentCommonInterface::EditMode::Editable);
}
(this->__vwsn_precompile_15 = ::vl::__vwsn::This(this->documentViewer)->GetBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_15)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_14)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(::vl::__vwsn::This(this->documentViewer)->GetBoundsComposition()));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_11)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_14));
}
(this->__vwsn_precompile_16 = new ::vl::presentation::compositions::GuiCellComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_16)->SetSite(static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateDocumentLabelStyle();
(this->documentLabel = new ::vl::presentation::controls::GuiDocumentLabel(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(this->documentLabel)->SetEditMode(::vl::presentation::controls::GuiDocumentCommonInterface::EditMode::Editable);
}
(this->__vwsn_precompile_17 = ::vl::__vwsn::This(this->documentLabel)->GetBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_17)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_16)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(::vl::__vwsn::This(this->documentLabel)->GetBoundsComposition()));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_11)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_16));
}
{
::vl::__vwsn::This(::vl::__vwsn::This(this->__vwsn_precompile_10)->GetContainerComposition())->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_11));
}
{
auto __vwsn_collection_ = ::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueList>(::vl::__vwsn::This(this->__vwsn_precompile_2)->GetPages());
::vl::__vwsn::This(__vwsn_collection_.Obj())->Add(::vl::__vwsn::Box(this->__vwsn_precompile_10));
}
(this->__vwsn_precompile_3 = ::vl::__vwsn::This(this->__vwsn_precompile_2)->GetBoundsComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_3)->SetAlignmentToParent([&](){ ::vl::presentation::Margin __vwsn_temp__; __vwsn_temp__.left = static_cast<::vl::vint32_t>(0); __vwsn_temp__.top = static_cast<::vl::vint32_t>(0); __vwsn_temp__.right = static_cast<::vl::vint32_t>(0); __vwsn_temp__.bottom = static_cast<::vl::vint32_t>(0); return __vwsn_temp__; }());
}
{
::vl::__vwsn::This(this->__vwsn_precompile_1)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(::vl::__vwsn::This(this->__vwsn_precompile_2)->GetBoundsComposition()));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_1));
}
(this->__vwsn_precompile_18 = new ::vl::presentation::compositions::GuiCellComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_18)->SetSite(static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(0), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateButtonStyle();
(this->__vwsn_precompile_19 = new ::vl::presentation::controls::GuiButton(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_19)->SetText(::vl::WString(L"Make Font Larger", false));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_18)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(::vl::__vwsn::This(this->__vwsn_precompile_19)->GetBoundsComposition()));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_18));
}
(this->__vwsn_precompile_20 = new ::vl::presentation::compositions::GuiCellComposition());
{
::vl::__vwsn::This(this->__vwsn_precompile_20)->SetSite(static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1), static_cast<::vl::vint32_t>(1));
}
{
auto __vwsn_controlStyle_ = ::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateButtonStyle();
(this->__vwsn_precompile_21 = new ::vl::presentation::controls::GuiButton(__vwsn_controlStyle_));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_21)->SetText(::vl::WString(L"Make Font Smaller", false));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_20)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(::vl::__vwsn::This(this->__vwsn_precompile_21)->GetBoundsComposition()));
}
{
::vl::__vwsn::This(this->__vwsn_precompile_0)->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_20));
}
{
::vl::__vwsn::This(::vl::__vwsn::This(this->self)->GetContainerComposition())->AddChild(static_cast<::vl::presentation::compositions::GuiGraphicsComposition*>(this->__vwsn_precompile_0));
}
{
::vl::__vwsn::This(this->textBoxM)->SetText(::vl::__vwsn::This(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiTextData>(::vl::__vwsn::This(__vwsn_this_)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"TextBoxComponents/Text", false), true).Obj())).Obj())->GetText());
}
{
::vl::__vwsn::This(this->documentViewer)->SetDocument(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::DocumentModel>(::vl::__vwsn::This(__vwsn_this_)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"TextBoxComponents/DocFixed", false), true).Obj())));
}
{
::vl::__vwsn::This(this->documentLabel)->SetDocument(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::DocumentModel>(::vl::__vwsn::This(__vwsn_this_)->ResolveResource(::vl::WString(L"res", false), ::vl::WString(L"TextBoxComponents/DocRelative", false), true).Obj())));
}
{
auto __vwsn_event_handler_ = LAMBDA(::vl_workflow_global::__vwsnf353_Demo_demo_TextBoxTabPageConstructor___vwsn_initialize_instance__(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(this->__vwsn_precompile_19)->Clicked, __vwsn_event_handler_);
}
{
auto __vwsn_created_subscription_ = ::vl::Ptr<::vl::reflection::description::IValueSubscription>(new ::vl_workflow_global::__vwsnc172_Demo_demo_TextBoxTabPageConstructor___vwsn_initialize_instance___vl_reflection_description_IValueSubscription(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(__vwsn_created_subscription_.Obj())->ValueChanged, LAMBDA(::vl_workflow_global::__vwsnf354_Demo_demo_TextBoxTabPageConstructor___vwsn_initialize_instance__(this)));
::vl::__vwsn::This(__vwsn_this_)->AddSubscription(__vwsn_created_subscription_);
}
{
auto __vwsn_event_handler_ = LAMBDA(::vl_workflow_global::__vwsnf355_Demo_demo_TextBoxTabPageConstructor___vwsn_initialize_instance__(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(this->__vwsn_precompile_21)->Clicked, __vwsn_event_handler_);
}
{
auto __vwsn_event_handler_ = LAMBDA(::vl_workflow_global::__vwsnf356_Demo_demo_TextBoxTabPageConstructor___vwsn_initialize_instance__(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(this->self)->OnMakeFontLarger, __vwsn_event_handler_);
}
{
auto __vwsn_event_handler_ = LAMBDA(::vl_workflow_global::__vwsnf357_Demo_demo_TextBoxTabPageConstructor___vwsn_initialize_instance__(this));
::vl::__vwsn::EventAttach(::vl::__vwsn::This(this->self)->OnMakeFontSmaller, __vwsn_event_handler_);
}
}
TextBoxTabPageConstructor::TextBoxTabPageConstructor()
{
}
/***********************************************************************
Class (::demo::TextBoxTabPage)
***********************************************************************/
void TextBoxTabPage::UpdateFont(::vl::presentation::FontProperties newFont)
{
::vl::__vwsn::This(this->textBoxS)->SetFont(newFont);
::vl::__vwsn::This(this->textBoxM)->SetFont(newFont);
::vl::__vwsn::This(this->documentTextBox)->SetFont(newFont);
::vl::__vwsn::This(this->documentViewer)->SetFont(newFont);
::vl::__vwsn::This(this->documentLabel)->SetFont(newFont);
}
TextBoxTabPage::TextBoxTabPage()
: ::vl::presentation::controls::GuiTabPage(::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateCustomControlStyle())
{
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"demo::TextBoxTabPage", 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_initialize_instance_(this);
}
TextBoxTabPage::~TextBoxTabPage()
{
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::controls::GuiCustomControl*>(this));
}
/***********************************************************************
Class (::demo::MyTextItem)
***********************************************************************/
::vl::WString MyTextItem::GetName()
{
return this->__vwsn_prop_Name;
}
void MyTextItem::SetName(const ::vl::WString& __vwsn_value_)
{
(this->__vwsn_prop_Name = __vwsn_value_);
}
bool MyTextItem::GetChecked()
{
return this->__vwsn_prop_Checked;
}
void MyTextItem::SetChecked(bool __vwsn_value_)
{
(this->__vwsn_prop_Checked = __vwsn_value_);
}
MyTextItem::MyTextItem()
{
}
/***********************************************************************
Class (::demo::MyDataItem)
***********************************************************************/
::vl::WString MyDataItem::GetName()
{
return this->__vwsn_prop_Name;
}
void MyDataItem::SetName(const ::vl::WString& __vwsn_value_)
{
(this->__vwsn_prop_Name = __vwsn_value_);
}
::demo::MyGender MyDataItem::GetGender()
{
return this->__vwsn_prop_Gender;
}
void MyDataItem::SetGender(::demo::MyGender __vwsn_value_)
{
(this->__vwsn_prop_Gender = __vwsn_value_);
}
::demo::MyCategory MyDataItem::GetCategory()
{
return this->__vwsn_prop_Category;
}
void MyDataItem::SetCategory(::demo::MyCategory __vwsn_value_)
{
(this->__vwsn_prop_Category = __vwsn_value_);
}
::vl::DateTime MyDataItem::GetBirthday()
{
return this->__vwsn_prop_Birthday;
}
void MyDataItem::SetBirthday(::vl::DateTime __vwsn_value_)
{
(this->__vwsn_prop_Birthday = __vwsn_value_);
}
::vl::WString MyDataItem::GetWebsite()
{
return this->__vwsn_prop_Website;
}
void MyDataItem::SetWebsite(const ::vl::WString& __vwsn_value_)
{
(this->__vwsn_prop_Website = __vwsn_value_);
}
::vl::Ptr<::vl::presentation::GuiImageData> MyDataItem::GetLargeImage()
{
return this->__vwsn_prop_LargeImage;
}
void MyDataItem::SetLargeImage(::vl::Ptr<::vl::presentation::GuiImageData> __vwsn_value_)
{
(this->__vwsn_prop_LargeImage = __vwsn_value_);
}
::vl::Ptr<::vl::presentation::GuiImageData> MyDataItem::GetSmallImage()
{
return this->__vwsn_prop_SmallImage;
}
void MyDataItem::SetSmallImage(::vl::Ptr<::vl::presentation::GuiImageData> __vwsn_value_)
{
(this->__vwsn_prop_SmallImage = __vwsn_value_);
}
MyDataItem::MyDataItem()
{
}
MyDataItem::MyDataItem(const ::vl::WString& name, ::demo::MyGender gender, ::demo::MyCategory category, ::vl::DateTime birthday, const ::vl::WString& website)
{
this->SetName(name);
this->SetGender(gender);
this->SetCategory(category);
this->SetBirthday(birthday);
this->SetWebsite(website);
}
/***********************************************************************
Class (::ScrollTemplateScript)
***********************************************************************/
}
void ScrollTemplateScript::SetScroll(::vl::vint32_t totalPixels, ::vl::vint32_t newOffset, ::vl::presentation::templates::GuiScrollTemplate* scrollTemplate)
{
auto totalSize = ::vl::__vwsn::This(scrollTemplate)->GetTotalSize();
auto ratio = (static_cast<double>(newOffset) / static_cast<double>(totalPixels));
auto newPosition = static_cast<::vl::vint32_t>(::vl::reflection::description::Math::RoundI((ratio * static_cast<double>(totalSize))));
auto offset1 = static_cast<::vl::vint32_t>(::vl::reflection::description::Math::RoundI(((static_cast<double>(newPosition) / static_cast<double>(totalSize)) * static_cast<double>(totalPixels))));
auto offset2 = static_cast<::vl::vint32_t>(::vl::reflection::description::Math::RoundI(((static_cast<double>((newPosition + static_cast<::vl::vint32_t>(1))) / static_cast<double>(totalSize)) * static_cast<double>(totalPixels))));
auto delta1 = (offset1 - newOffset);
auto delta2 = (offset2 - newOffset);
if ((delta1 < static_cast<::vl::vint32_t>(0)))
{
(delta1 = (- delta1));
}
if ((delta2 < static_cast<::vl::vint32_t>(0)))
{
(delta2 = (- delta2));
}
if ((delta1 < delta2))
{
::vl::__vwsn::This(::vl::__vwsn::This(scrollTemplate)->GetCommands())->SetPosition(newPosition);
}
else
{
::vl::__vwsn::This(::vl::__vwsn::This(scrollTemplate)->GetCommands())->SetPosition((newPosition + static_cast<::vl::vint32_t>(1)));
}
}
ScrollTemplateScript::ScrollTemplateScript()
{
}
#undef GLOBAL_SYMBOL
#undef GLOBAL_NAME
#undef GLOBAL_OBJ
#undef USERIMPL
#if defined( _MSC_VER)
#pragma warning(pop)
#elif defined(__GNUC__)
#pragma GCC diagnostic pop
#elif defined(__clang__)
#pragma clang diagnostic pop
#endif
|
353dda82ae2c040d1086da083788187f899438b3
|
eb238bda644eba7c8895c9bf2ae94703c02ca0d3
|
/hama/pipes/MatrixMultiplication/cpu-MatrixMultiplication/DenseDoubleVector.cc
|
731b2d4518182a3921155e7a2499c184b9d94257
|
[
"Apache-2.0"
] |
permissive
|
millecker/applications
|
6fff7cc0e6a90873e856da36c6299d79497aaa59
|
118843d4e94773c1b39f1e919cbc2092f59216ff
|
refs/heads/master
| 2021-01-17T03:03:48.138641
| 2014-10-21T08:05:48
| 2014-10-21T08:05:48
| 10,477,645
| 5
| 1
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 6,450
|
cc
|
DenseDoubleVector.cc
|
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "hadoop/StringUtils.hh"
#include "hadoop/Splitter.hh"
#include "DenseDoubleVector.hh"
#include <limits>
#include <vector>
#include <stdlib.h>
#include <string>
#include <iostream>
using std::string;
using std::cout;
using HadoopUtils::Splitter;
namespace math {
DenseDoubleVector::DenseDoubleVector(int len) : vector(new double[len]), size(len) {
}
DenseDoubleVector::DenseDoubleVector(int len, double val) : vector(new double[len]), size(len) {
for (int i=0; i<len; i++)
vector[i] = val;
}
DenseDoubleVector::DenseDoubleVector(int len, double arr[]) : vector(arr), size(len) {
}
DenseDoubleVector::DenseDoubleVector(const string values) {
//cout << "DenseDoubleVector values: " << values << "\n";
Splitter split ( values, "," );
size = split.size();
vector = new double[size];
//cout << "DenseDoubleVector value size: " << size << "\n";
for ( Splitter::size_type i = 0; i < split.size(); i++ )
vector[i] = HadoopUtils::toDouble(split[i]);
}
DenseDoubleVector::~DenseDoubleVector() {
free(vector);
}
int DenseDoubleVector::getLength() {
return size;
}
int DenseDoubleVector::getDimension() {
return getLength();
}
void DenseDoubleVector::set(int index, double value) {
vector[index] = value;
}
double DenseDoubleVector::get(int index) {
return vector[index];
}
DenseDoubleVector* DenseDoubleVector::add(DenseDoubleVector *v) {
DenseDoubleVector *newv = new DenseDoubleVector(v->getLength());
for (int i = 0; i < v->getLength(); i++) {
newv->set(i, this->get(i) + v->get(i));
}
return newv;
}
DenseDoubleVector* DenseDoubleVector::add(double scalar) {
DenseDoubleVector *newv = new DenseDoubleVector(this->getLength());
for (int i = 0; i < this->getLength(); i++) {
newv->set(i, this->get(i) + scalar);
}
return newv;
}
DenseDoubleVector* DenseDoubleVector::subtract(DenseDoubleVector *v) {
DenseDoubleVector *newv = new DenseDoubleVector(v->getLength());
for (int i = 0; i < v->getLength(); i++) {
newv->set(i, this->get(i) - v->get(i));
}
return newv;
}
DenseDoubleVector* DenseDoubleVector::subtract(double v) {
DenseDoubleVector *newv = new DenseDoubleVector(size);
for (int i = 0; i < size; i++) {
newv->set(i, vector[i] - v);
}
return newv;
}
DenseDoubleVector* DenseDoubleVector::subtractFrom(double v) {
DenseDoubleVector *newv = new DenseDoubleVector(size);
for (int i = 0; i < size; i++) {
newv->set(i, v - vector[i]);
}
return newv;
}
DenseDoubleVector* DenseDoubleVector::multiply(double scalar) {
DenseDoubleVector *v = new DenseDoubleVector(size);
for (int i = 0; i < size; i++) {
v->set(i, this->get(i) * scalar);
}
return v;
}
DenseDoubleVector* DenseDoubleVector::divide(double scalar) {
DenseDoubleVector *v = new DenseDoubleVector(size);
for (int i = 0; i < size; i++) {
v->set(i, this->get(i) / scalar);
}
return v;
}
/*
DenseDoubleVector* pow(int x) {
DenseDoubleVector *v = new DenseDoubleVector(size);
for (int i = 0; i < size; i++) {
double value = 0.0;
// it is faster to multiply when we having ^2
if (x == 2) {
value = vector[i] * vector[i];
}
else {
value = pow(vector[i], x);
}
v->set(i, value);
}
return v;
}
DenseDoubleVector* sqrt() {
DenseDoubleVector *v = new DenseDoubleVector(size);
for (int i = 0; i < size; i++) {
v->set(i, sqrt(vector[i]));
}
return v;
}
*/
double DenseDoubleVector::sum() {
double sum = 0.0;
for (int i = 0; i < size; i++) {
sum += vector[i];
}
return sum;
}
/*
DenseDoubleVector* abs() {
DenseDoubleVector *v = new DenseDoubleVector(size);
for (int i = 0; i < size; i++) {
v->set(i, abs(vector[i]));
}
return v;
}
*/
double DenseDoubleVector::dot(DenseDoubleVector *s) {
double dotProduct = 0.0;
for (int i = 0; i < size; i++) {
dotProduct += this->get(i) * s->get(i);
}
return dotProduct;
}
double DenseDoubleVector::max() {
double max = std::numeric_limits<double>::min();
for (int i = 0; i < size; i++) {
double d = vector[i];
if (d > max) {
max = d;
}
}
return max;
}
int DenseDoubleVector::maxIndex() {
double max = std::numeric_limits<double>::min();
int maxIndex = 0;
for (int i = 0; i < size; i++) {
double d = vector[i];
if (d > max) {
max = d;
maxIndex = i;
}
}
return maxIndex;
}
double DenseDoubleVector::min() {
double min = std::numeric_limits<double>::max();
for (int i = 0; i < size; i++) {
double d = vector[i];
if (d < min) {
min = d;
}
}
return min;
}
int DenseDoubleVector::minIndex() {
double min = std::numeric_limits<double>::max();
int minIndex = 0;
for (int i = 0; i < size; i++) {
double d = vector[i];
if (d < min) {
min = d;
minIndex = i;
}
}
return minIndex;
}
double* DenseDoubleVector::toArray() {
return vector;
}
string DenseDoubleVector::toString() {
string str;
string delimiter = ",";
for (int i = 0; i < size; i++)
if (i==0)
str += HadoopUtils::toString(vector[i]);
else
str += delimiter + HadoopUtils::toString(vector[i]);
return str;
}
} //namespace math
|
86fd444728c6efcd148a5fea5a20371e11f276b1
|
28eb1465e79e64a15cc33a95b1c2b04be2bd5397
|
/lw1_8/lw1_8/lw1_8.cpp
|
9e573971a920a826b30991656ccdc2b164719ff7
|
[] |
no_license
|
AkshachRd/comb-math
|
2131161627b3c7f1cda3f35019a1cea310f8833a
|
a5022be766e416a8bcb25c473fb66a8d1b39c533
|
refs/heads/master
| 2023-03-07T15:02:57.754545
| 2021-02-27T09:27:04
| 2021-02-27T09:27:04
| 330,078,365
| 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 1,550
|
cpp
|
lw1_8.cpp
|
#include <iostream>
#include <optional>
#include <algorithm>
#include <vector>
struct Backpack
{
int n;
int t;
int s;
std::vector<int> w;
std::vector<int> c;
};
Backpack ReadInput()
{
Backpack b;
std::cin >> b.n >> b.t >> b.s;
b.w.resize(b.n);
b.c.resize(b.n);
for (int i = 0; i < b.n; ++i)
{
int first, second;
std::cin >> first >> second;
b.w[i] = first;
b.c[i] = second;
}
return b;
}
void GenerateAllSubsetsOfASet(std::vector<int>& vec, int n)
{
while (vec[n] != 1)
{
//std::reverse_copy(vec.begin(), vec.end() - 1, std::ostream_iterator<int>(std::cout, " "));
int i = 0;
while (vec[i] == 1)
{
vec[i] = 0;
++i;
}
vec[i] = 1;
}
}
int main()
{
Backpack b = ReadInput();
std::vector<int> vec;
vec.resize(b.n + 1, 0);
int sumW = 0, sumC = 0;
while (vec[b.n] != 1)
{
sumW = 0;
sumC = 0;
for (int i = 0; i < b.n; ++i)
{
if (vec[i] == 1)
{
sumW += b.w[i];
sumC += b.c[i];
}
}
if ((sumW > 0 && sumW <= b.t) && (sumC > 0 && sumC >= b.s))
{
break;
}
int i = 0;
while (vec[i] == 1)
{
vec[i] = 0;
++i;
}
vec[i] = 1;
}
std::cout << sumW << std::endl;
for (int i = 0; i < b.n; ++i)
{
std::cout << vec[i];
}
return 0;
}
|
e3b3ea924ea8d0b323d020c4653b8bfb3e5b34aa
|
68160bdfb8f5759b0f89b7a41af720d85fa8ee1b
|
/Mario Fernandes DX11/geometry.h
|
2f68b1b5abf237c81c3365e000689bbfded47656
|
[] |
no_license
|
rafaeu9/Mario_Fernandes_DX11
|
77d0dd09c9c3795ce7654f02e7ec6bf29803a1d5
|
35f6e990caf6cf58594da5908cfd7f2e4f872ef6
|
refs/heads/main
| 2023-02-12T20:28:02.318340
| 2021-01-08T15:55:15
| 2021-01-08T15:55:15
| 304,364,691
| 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 1,280
|
h
|
geometry.h
|
#pragma once
#include<d3d11.h>
#include "text2D.h"
class geometry
{
public:
geometry(ID3D11Device* D3DDevice, ID3D11DeviceContext* ImmediateContext);
~geometry();
HRESULT AddTexture(char* filename);
void Draw(XMMATRIX* view, XMMATRIX* projection);
void SetXPos(float num) { m_x = num; };
void SetYPos(float num) { m_y = num; };
void SetZPos(float num) { m_z = num; };
void SetXRot(float num) { m_xAngle = num; };
void SetYRot(float num) { m_yAngle = num; };
void SetZRot(float num) { m_zAngle = num; };
void SetScale(float num) { m_scale = num; };
float GetXPos() { return m_x; };
float GetYPos() { return m_y; };
float GetZPos() { return m_z; };
float GetXRot() { return m_xAngle; };
float GetYRot() { return m_yAngle; };
float GetZRot() { return m_zAngle; };
float GetScale() { return m_scale; };
void ModXPos(float num) { m_x += num; };
void ModYPos(float num) { m_y += num; };
void ModZPos(float num) { m_z += num; };
void ModXRot(float num) { m_xAngle += num; };
void ModYRot(float num) { m_yAngle += num; };
void ModZRot(float num) { m_zAngle += num; };
void ModScale(float num) { m_scale += num; };
void LookAt_XZ(float x, float y);
private:
float m_x, m_y, m_z;
float m_xAngle, m_yAngle, m_zAngle;
float m_scale = 1;
};
|
ccf2e3d0dc65d51f56c8fc206755f219a4a37313
|
9a178749f94cf69fe78e673a81cf8eb7db6fcb0e
|
/Src/Singleton.h
|
6c10a74dd8239f6b4dc30b6d946fa38ea32f2e44
|
[
"MIT"
] |
permissive
|
jdaudel/singleton
|
0f2c6af39491e13eab2369d01c1e4c781f83080e
|
d4eea6dc34ebd8bff2a63f93b20dc0e655620226
|
refs/heads/master
| 2020-04-18T10:47:14.232472
| 2019-01-25T03:33:35
| 2019-01-25T03:33:35
| 167,478,471
| 1
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 3,248
|
h
|
Singleton.h
|
#ifndef _SINGLETON_H_
#define _SINGLETON_H_
#include <assert.h>
#include <cstdlib>
#define ASSERT_MSG( expr, msg )\
if (expr == false) ERROR_MSG( msg );
#define ASSERT( expr ) \
if (expr == false ) ERROR_MSG( "Error" );
#define ERROR_MSG( msg )\
assert( false );
#define API_SINGLETON(T)\
class SingletonTraits {\
public:\
SingletonTraits() { ASSERT( mInstance == nullptr ); }\
~SingletonTraits() { ASSERT( mInstance == nullptr ); }\
static void create();\
static T* mInstance;\
};\
SingletonTraits singletonTraits
#define API_DYNAMIC_SINGLETON(T)\
class SingletonTraits {\
public:\
SingletonTraits() {}\
~SingletonTraits() {}\
static void create();\
static void set( T* inst );\
static T* mInstance;\
};\
SingletonTraits singletonTraits
#define DEFINE_SINGLETON( T ) \
void T::SingletonTraits::create()\
{\
static_singleton_impl< T, StaticCreatePolicy< T > >::create();\
}\
T* T::SingletonTraits::mInstance = nullptr;\
singleton_impl< T >::State singleton_impl< T >::mState = singleton_impl<T>::State::Uninitialized;
#define DEFINE_DYNAMIC_SINGLETON( T ) \
void T::SingletonTraits::create()\
{\
ERROR_MSG( "Dynamic Singleton was not set." );\
}\
T* T::SingletonTraits::mInstance = nullptr;
template<class T>
inline T* getSingleton() {
using traits = T::SingletonTraits;
if (traits::mInstance == nullptr)
{
traits::create();
}
return( traits::mInstance );
}
class SingletonStack
{
public:
API_SINGLETON( SingletonStack );
SingletonStack()
{
// have singleton stack get cleaned up on exit
::atexit( onExit );
}
using TFunc = void(*)();
void registerSingleton( TFunc func );
static void onExit();
private:
};
template< typename T >
class StaticCreatePolicy
{
public:
static T* create()
{
return(new T());
}
};
class DynamicCreatePolicy
{};
class BasicThreadPolicy;
template< typename T >
class singleton_impl
{
public:
enum class State
{
Uninitialized,
Constructing,
Constructed,
Destroyed,
};
static void destroy()
{
T* inst = T::SingletonTraits::mInstance;
T::SingletonTraits::mInstance = nullptr;
delete inst;
}
protected:
static State mState;
};
template<typename T, typename TCreatePolicy,
typename TThreadPolicy = BasicThreadPolicy>
class static_singleton_impl
: public singleton_impl<T>
{
public:
static void create()
{
using traits = T::SingletonTraits;
T*& instance = traits::mInstance;
State& state = mState;
if (state == State::Constructing)
{
// Cyclic construction was found
ERROR_MSG( "Cyclic singleton dependency detected");
}
else if (state == State::Destroyed)
{
// Accessing a dead singleton
ERROR_MSG( "Accessing dead singleton");
}
else if (state == State::Uninitialized)
{
// must be in uninitialized state
ASSERT(state == State::Uninitialized);
// set constructing state
state = State::Constructing;
instance = TCreatePolicy::create();
// after instance has completed construction, register it on the
// singleton stack
state = State::Constructed;
getSingleton<SingletonStack>()->registerSingleton(destroy);
}
else
{
ERROR_MSG("Invalid Singleton State.");
}
}
};
template< typename T>
void setSingleton(T* inst)
{
T::SingletonTraits::mInstance = inst;
}
#endif
|
87e8d4f485eb3330badb533148a783ffbd4e0826
|
7f322d3a2257c902a6f85b11937f1afaf3817391
|
/counting_bits.cpp
|
657fb9b4bb411358bb537d721572f396346dd756
|
[] |
no_license
|
iit2018062/top_liked_42_questions_in_DS
|
e3a434f6691b1e4ca842c028dea72c0fbd242229
|
2501f022f171135d0727d2ccb37205cb1960e472
|
refs/heads/main
| 2022-12-30T17:12:47.784024
| 2020-10-13T07:05:19
| 2020-10-13T07:05:19
| 303,616,457
| 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 359
|
cpp
|
counting_bits.cpp
|
class Solution {
public:
int helper(int n)
{
int c=0;
while(n)
{
n&=(n-1);
c++;
}
return c;
}
vector<int> countBits(int num) {
vector<int>tmp;
for(int i=0;i<=num;i++)
{
tmp.push_back(helper(i));
}
return tmp;
}
};
|
487fbbf7809acc3f4f86487b7957814e5d1c07c2
|
0eff74b05b60098333ad66cf801bdd93becc9ea4
|
/second/download/squid/gumtree/squid_repos_function_2090_squid-3.4.14.cpp
|
57307b0de00f870a30944675b6af9937c427b98b
|
[] |
no_license
|
niuxu18/logTracker-old
|
97543445ea7e414ed40bdc681239365d33418975
|
f2b060f13a0295387fe02187543db124916eb446
|
refs/heads/master
| 2021-09-13T21:39:37.686481
| 2017-12-11T03:36:34
| 2017-12-11T03:36:34
| null | 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 94
|
cpp
|
squid_repos_function_2090_squid-3.4.14.cpp
|
bool
HttpStateData::doneWithServer() const
{
return !Comm::IsConnOpen(serverConnection);
}
|
18bc30b992f057a7faa7bada6fe7365f61776d11
|
6b2a8dd202fdce77c971c412717e305e1caaac51
|
/solutions_5640146288377856_1/C++/Aj5774/BattleField.cpp
|
e20983e90c49f9b8088b10cd10327d4c4e260008
|
[] |
no_license
|
alexandraback/datacollection
|
0bc67a9ace00abbc843f4912562f3a064992e0e9
|
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
|
refs/heads/master
| 2021-01-24T18:27:24.417992
| 2017-05-23T09:23:38
| 2017-05-23T09:23:38
| 84,313,442
| 2
| 4
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 1,243
|
cpp
|
BattleField.cpp
|
#include <stdio.h>
#include <iostream>
#include <cmath>
#include <algorithm>
#include <vector>
#include <stdlib.h>
#include <string.h>
#include <bits/stdc++.h> //include every c++ library
//fgets(array_name,array_size,stdin);
//FLT_MAX FLT_MIN INT_MAX INT_MIN DBL_MAX DBL_MIN
#define mod 1000000007
#define ll long long int
using namespace std;
struct point
{
ll X;
ll Y;
};
bool operator<(point const& n1, point const& n2)
{
return n1.X<n2.X || (n1.X==n2.X && n1.Y<n2.Y);
}
void check(ll A[], ll N)
{
ll i;
for(i=0; i<N; i++)
printf("%lld ",A[i]);
printf("\n");
}
int main()
{
ll T,z;
freopen("A-large.in","r",stdin);
freopen("outlarge","w",stdout);
scanf("%lld",&T);
for(z=1; z<=T; z++)
{
ll R,C,W, i, j, ans = 0;
scanf("%lld%lld%lld",&R,&C,&W);
while(C>W){
C = C - W;
ans = ans+ R;
}
if( C == W){
ans = ans + R + W - 1;
}
else if( C == 1){
ans = ans + W ;
}
else{
ans = ans + W ;
}
printf("Case #%lld: %lld\n",z,ans);
}
return 0;
}
|
6c7b6a867f0dbb2821e7c458b1433831b5c9c03b
|
11de74dbf0af2121e0b2219a5e52a8af306a8a09
|
/usr_operators/Correlator/correlator.h
|
6212a01e8f68ef0d2d7b0184983ff5be44fcb032
|
[
"BSD-3-Clause"
] |
permissive
|
sandsmark/replicode
|
d01d46761f082b3e7b55a3b314e77e2b5d7bb20e
|
da7146d78b0a8d0472f6e9ade8384e73882b04b1
|
refs/heads/master
| 2021-10-11T18:14:06.089559
| 2021-10-10T12:41:09
| 2021-10-10T12:41:09
| 12,087,734
| 29
| 7
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 6,717
|
h
|
correlator.h
|
#ifndef correlator_h
#define correlator_h
#include "../types.h"
#include "r_exec/overlay.h"
// switch to use WinEpi instead of LSTM for finding correlations
#define USE_WINEPI
extern "C" {
r_exec::Controller REPLICODE_EXPORT *correlator(r_code::View *view);
}
////////////////////////////////////////////////////////////////////////////////
//#include <iostream>
//#include <fstream>
#include <string>
#include <map>
#include <set>
#include <algorithm>
#include <iterator>
#include <utility> // pair
#include <math.h>
#include <CoreLibrary/base.h>
#include <r_code/object.h>
#ifdef USE_WINEPI
#include "winepi.h"
#else
#include "CorrelatorCore.h"
#endif
class State:
public core::_Object
{
public:
double confidence;
virtual void trace() = 0;
};
// Set of time-invariant objects.
// reads as "if objects then states hold".
class IPGMContext:
public State
{
public:
std::vector<P<r_code::Code> > objects;
std::vector<P<State> > states;
void trace()
{
std::cout << "IPGMContext\n";
std::cout << "Objects\n";
for (uint64_t i = 0; i < objects.size(); ++i) {
objects[i]->trace();
}
std::cout << "States\n";
for (uint64_t i = 0; i < states.size(); ++i) {
states[i]->trace();
}
}
};
// Pattern that hold under some context.
// Read as "left implies right".
class Pattern:
public State
{
public:
std::vector<P<r_code::Code> > left;
std::vector<P<r_code::Code> > right;
void trace()
{
std::cout << "Pattern\n";
std::cout << "Left\n";
for (uint64_t i = 0; i < left.size(); ++i) {
left[i]->trace();
}
std::cout << "Right\n";
for (uint64_t i = 0; i < right.size(); ++i) {
right[i]->trace();
}
}
};
class CorrelatorOutput
{
public:
std::vector<P<State> > states; // changed from vector<P<IPGMContext>>
void trace()
{
std::cout << "CorrelatorOutput: " << states.size() << " states" << std::endl;
for (uint64_t i = 0; i < states.size(); ++i) {
states[i]->trace();
}
}
};
#ifdef USE_WINEPI
//typedef uint64_t timestamp_t;
//typedef P<r_code::Code> event_t;
typedef std::vector<std::pair<timestamp_t, event_t> > Episode;
class Correlator
{
private:
Episode episode;
size_t episode_start; // index of start of current episode
WinEpi winepi;
public:
Correlator();
void take_input(r_code::View* input);
CorrelatorOutput* get_output(bool useEntireHistory = false);
void dump(std::ostream& out = std::cout, std::string(*oid2str)(uint64_t) = NULL) const;
};
#else // USE_WINEPI
// Lots of typedefs, not because I'm too lazy to type "std::" all the time,
// but because this makes it easier to change container types;
// also, it makes the code easier to follow
typedef std::vector<double> LSTMState; // values of LSTM output nodes; length=32 always!
typedef std::vector<LSTMState> LSTMInput;
struct Source { // an antecedent of an event
P<r_code::Code> source; // the Replicode source object
uint16_t deltaTime; // #timesteps this antecedent preceeds the event
};
typedef std::vector<Source> Sources;
struct JacobianRule { // target <- [source_1,..,source_n]
double confidence;
P<r_code::Code> target; // begin of a container of (at least) 32 floating point number
Sources sources; // a container of Source structs
};
typedef std::vector<JacobianRule> JacobianRules;
typedef std::vector<LSTMState> JacobianSlice; // N vectors of size 32
//typedef std::vector<JacobianSlice> JacobianMatrix3D; // 3D Jacobian matrix
typedef std::list<P<r_code::Code> > SmallWorld;
typedef std::vector<SmallWorld> SmallWorlds;
typedef std::vector<P<State> > Correlations;
typedef uint64_t OID_t; // object identifier type
typedef uint64_t enc_t; // binary encoding type
typedef std::vector<enc_t> Episode;
typedef std::map<OID_t, enc_t> Table_OID2Enc;
typedef std::map<enc_t, P<r_code::Code> > Table_Enc2Obj;
class Correlator
{
private:
Episode episode; // chronological list of binary encodings of observed objects
Table_Enc2Obj enc2obj; // binary encoding => object (P<Code>)
Table_OID2Enc oid2enc; // object identifier => binary encoding
uint64_t episode_start; // index of start of current episode
CorrelatorCore corcor; // holds and maintains the learning core
// finds a sparse binary encoding of the provided identifier
// sets is_new to false iff an encoding already exists
// currently, the encoding is generated randomly,
// but in the future we may implement a better algorithm
enc_t encode(OID_t id, bool& is_new);
// extracts rules of the form Target <= {(Src_1,Dt_1),..,(Src_n,Dt_n)}
// for deltaTimes Dt_1 < .. < Dt_n
// Note: expensive function!
void extract_rules(JacobianRules& rules, uint64_t episode_size);
// returns the object whose binary encoding best matches
// the contents of the container starting at "first"
// in case of ties, returns an unspecified best match
// returns NULL iff enc2obj is empty
// NOTE: assumes there are (at least) 32 elements accessible from "first"
template<class InputIterator>
r_code::Code* findBestMatch(InputIterator first, double& bestMatch) const;
public:
Correlator();
// stores the object pointed to by the provided View
// runtime: O(log N) where N = size of episode so far
void take_input(r_code::View* input);
// trains the correlator on the episode so far and
// returns the found correlations
// useEntireHistory determines whether to use entire episode
// or only from last call to get_output
// Note: expensive function!
CorrelatorOutput* get_output(bool useEntireHistory = false);
// dump a listing of object IDs and their encodings to some output
// the oid2str function can be used to provide a way of printing objects
void dump(std::ostream& out = std::cout, std::string(*oid2str)(OID_t) = NULL) const;
// magic numbers!!1
static uint16_t NUM_BLOCKS; // #hidden blocks in LSTM network
static uint16_t CELLS_PER_BLOCK; // #cells per block
static uint64_t NUM_EPOCHS; // max number of epochs to train
static double TRAIN_TIME_SEC; // time-out for training in seconds
static double MSE_THR; // time-out threshold for mean-squared error of training
static double LEARNING_RATE;
static double MOMENTUM;
static uint64_t SLICE_SIZE; // size of Jacobian matrix slices
static double OBJECT_THR; // threshold for matching LSTM output to a Replicode object
static double RULE_THR; // threshold for Jacobian rule confidence
};
#endif // USE_WINEPI
#endif
|
8d2b7b65030df803cdae319e19266ea4bbe2ffca
|
e359db0e752a11c5d677e3a82574065831bab447
|
/app/example/scrollable_container_example/generated/fonts/src/Font_RobotoCondensed_Regular_20_4bpp.cpp
|
b48ed6cbfd2c52e37f36bdd05af05b14cc88f55b
|
[] |
no_license
|
chichtlm/TouchGFX
|
694936495ba49b4baba4fb56fd1165f424518c94
|
09cfdf466ae98fa61f54d55548248134a007871f
|
refs/heads/master
| 2020-05-10T00:07:11.813953
| 2016-12-14T06:55:22
| 2016-12-14T06:55:22
| null | 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 9,340
|
cpp
|
Font_RobotoCondensed_Regular_20_4bpp.cpp
|
#include <touchgfx/hal/Types.hpp>
FONT_LOCATION_FLASH_PRAGMA
KEEP extern const uint8_t unicodes_RobotoCondensed_Regular_20_4bpp[] FONT_LOCATION_FLASH_ATTRIBUTE = {
// Unicode: [0x0020, space]
// (Has no glyph data)
// Unicode: [0x002C, comma]
0xC0,0x0C,0xFE,0xF0,0x3B,0x5F,0xE6,0x00,
// Unicode: [0x002E, period]
0x00,0xA0,0x5F,0xFA,0x05,
// Unicode: [0x0043, C]
0x00,0x80,0xFE,0x9E,0x01,0x00,0xFC,0x9C,0xFC,0x0D,0x70,0xAF,0x00,0xA0,0x7F,0xD0,
0x2F,0x00,0x30,0xBF,0xF0,0x0F,0x00,0x10,0x8A,0xF1,0x0E,0x00,0x00,0x00,0xF1,0x0E,
0x00,0x00,0x00,0xF1,0x0E,0x00,0x00,0x00,0xF1,0x0E,0x00,0x00,0x00,0xF1,0x0E,0x00,
0x00,0x00,0xF0,0x0F,0x00,0x10,0x7A,0xD0,0x2F,0x00,0x30,0xBF,0x70,0xAF,0x00,0xA0,
0x7F,0x00,0xFC,0x9C,0xFC,0x0D,0x00,0x80,0xFE,0x9E,0x01,
// Unicode: [0x0044, D]
0xFA,0xFF,0xDF,0x06,0x00,0xFA,0x9B,0xE9,0xAF,0x00,0xFA,0x05,0x00,0xFC,0x06,0xFA,
0x05,0x00,0xF3,0x0E,0xFA,0x05,0x00,0xC0,0x2F,0xFA,0x05,0x00,0xA0,0x5F,0xFA,0x05,
0x00,0x90,0x6F,0xFA,0x05,0x00,0x90,0x6F,0xFA,0x05,0x00,0x90,0x6F,0xFA,0x05,0x00,
0xA0,0x5F,0xFA,0x05,0x00,0xC0,0x3F,0xFA,0x05,0x00,0xF2,0x0E,0xFA,0x05,0x00,0xFB,
0x06,0xFA,0x8B,0xD9,0xAF,0x00,0xFA,0xFF,0xDF,0x06,0x00,
// Unicode: [0x004C, L]
0xFA,0x05,0x00,0x00,0xFA,0x05,0x00,0x00,0xFA,0x05,0x00,0x00,0xFA,0x05,0x00,0x00,
0xFA,0x05,0x00,0x00,0xFA,0x05,0x00,0x00,0xFA,0x05,0x00,0x00,0xFA,0x05,0x00,0x00,
0xFA,0x05,0x00,0x00,0xFA,0x05,0x00,0x00,0xFA,0x05,0x00,0x00,0xFA,0x05,0x00,0x00,
0xFA,0x05,0x00,0x00,0xFA,0x8B,0x88,0x78,0xFA,0xFF,0xFF,0xEF,
// Unicode: [0x004D, M]
0xFA,0x0F,0x00,0x00,0x80,0xFF,0xA2,0xFF,0x04,0x00,0x00,0xFD,0x2F,0xFA,0x8F,0x00,
0x00,0xF1,0xFF,0xA2,0xEF,0x0D,0x00,0x50,0xEF,0x2F,0xFA,0xFA,0x01,0x00,0xFA,0xFB,
0xA2,0x6F,0x5F,0x00,0xE0,0xBB,0x2F,0xFA,0xE3,0x0A,0x20,0x6F,0xFB,0xA2,0x3F,0xEA,
0x00,0xF7,0xC1,0x2F,0xFA,0x54,0x2F,0xB0,0x0C,0xFC,0xA2,0x4F,0xF1,0x07,0x8F,0xC0,
0x2F,0xFA,0x04,0xBC,0xF4,0x03,0xFD,0xA2,0x4F,0x70,0x9F,0x0E,0xD0,0x2F,0xFA,0x04,
0xF2,0x9F,0x00,0xFD,0xA2,0x4F,0x00,0xFD,0x05,0xD0,0x2F,0xFA,0x04,0x90,0x0F,0x00,
0xFD,0x02,
// Unicode: [0x004E, N]
0xFA,0x09,0x00,0x30,0xCF,0xFA,0x1F,0x00,0x30,0xCF,0xFA,0x9F,0x00,0x30,0xCF,0xFA,
0xFF,0x01,0x30,0xCF,0xFA,0xF9,0x08,0x30,0xCF,0xFA,0xC5,0x1F,0x30,0xCF,0xFA,0x45,
0x8F,0x30,0xCF,0xFA,0x05,0xEC,0x30,0xCF,0xFA,0x05,0xF5,0x37,0xCF,0xFA,0x05,0xD0,
0x3E,0xCF,0xFA,0x05,0x50,0xAF,0xCF,0xFA,0x05,0x00,0xFD,0xCF,0xFA,0x05,0x00,0xF6,
0xCF,0xFA,0x05,0x00,0xE0,0xCF,0xFA,0x05,0x00,0x60,0xCF,
// Unicode: [0x0050, P]
0xFA,0xFF,0xFF,0x4C,0x00,0xFA,0x9B,0xA9,0xFF,0x05,0xFA,0x05,0x00,0xF4,0x0E,0xFA,
0x05,0x00,0xD0,0x3F,0xFA,0x05,0x00,0xB0,0x4F,0xFA,0x05,0x00,0xC0,0x3F,0xFA,0x05,
0x00,0xF3,0x0E,0xFA,0x8B,0xA8,0xFF,0x05,0xFA,0xFF,0xFF,0x4C,0x00,0xFA,0x05,0x00,
0x00,0x00,0xFA,0x05,0x00,0x00,0x00,0xFA,0x05,0x00,0x00,0x00,0xFA,0x05,0x00,0x00,
0x00,0xFA,0x05,0x00,0x00,0x00,0xFA,0x05,0x00,0x00,0x00,
// Unicode: [0x0053, S]
0x00,0x91,0xFE,0x8D,0x00,0x10,0xFE,0x9C,0xFD,0x0B,0x90,0x8F,0x00,0xB0,0x6F,0xD0,
0x2F,0x00,0x40,0xBF,0xC0,0x3F,0x00,0x10,0x56,0x80,0xCF,0x01,0x00,0x00,0x00,0xFC,
0x8E,0x01,0x00,0x00,0x70,0xFE,0xAF,0x01,0x00,0x00,0x50,0xFD,0x1D,0x00,0x00,0x00,
0xB0,0x8F,0x71,0x05,0x00,0x30,0xCF,0xF1,0x0E,0x00,0x30,0xDF,0xC0,0x5F,0x00,0x80,
0x9F,0x30,0xFE,0x8B,0xFB,0x2E,0x00,0x91,0xFE,0xAE,0x01,
// Unicode: [0x0056, V]
0xFA,0x07,0x00,0x00,0xF8,0x58,0xBF,0x00,0x00,0xC0,0x4F,0xF1,0x0F,0x00,0x00,0xFF,
0x00,0xFC,0x03,0x00,0xF4,0x0B,0x70,0x7F,0x00,0x80,0x6F,0x00,0xF3,0x0B,0x00,0xFC,
0x01,0x00,0xFE,0x00,0xF0,0x0D,0x00,0xA0,0x3F,0x40,0x8F,0x00,0x00,0xF5,0x07,0xF8,
0x04,0x00,0x10,0xBF,0xC0,0x0F,0x00,0x00,0xC0,0x0E,0xBF,0x00,0x00,0x00,0xF7,0xF7,
0x06,0x00,0x00,0x30,0xEF,0x2F,0x00,0x00,0x00,0xE0,0xDF,0x00,0x00,0x00,0x00,0xFA,
0x09,0x00,0x00,
// Unicode: [0x0061, a]
0x00,0xC5,0xDF,0x08,0x00,0xF5,0x9E,0xFD,0x09,0xC0,0x3F,0x10,0xFF,0x00,0x65,0x00,
0xD0,0x2F,0x00,0x00,0x00,0xFC,0x03,0x80,0xFD,0xFF,0x3F,0xB0,0xAF,0x34,0xFD,0x13,
0xEF,0x00,0xC0,0x3F,0xF1,0x0E,0x10,0xFE,0x03,0xFD,0x9B,0xDE,0x3F,0x20,0xFB,0x4D,
0xF9,0x06,
// Unicode: [0x0062, b]
0xFD,0x01,0x00,0x00,0xFD,0x01,0x00,0x00,0xFD,0x01,0x00,0x00,0xFD,0x01,0x00,0x00,
0xFD,0x01,0x00,0x00,0xFD,0xC4,0xDF,0x04,0xFD,0xAF,0xFB,0x1F,0xFD,0x06,0x90,0x8F,
0xFD,0x01,0x20,0xCF,0xFD,0x01,0x00,0xEF,0xFD,0x01,0x00,0xFF,0xFD,0x01,0x00,0xEF,
0xFD,0x01,0x20,0xDF,0xFD,0x05,0x70,0x9F,0xFD,0xAE,0xFA,0x2F,0xED,0xD3,0xDF,0x04,
// Unicode: [0x0063, c]
0x00,0xC4,0xEF,0x09,0x00,0xF4,0xAF,0xFC,0x0B,0xD0,0x4F,0x00,0xFC,0x22,0xDF,0x00,
0x70,0x5E,0xF3,0x0B,0x00,0x00,0x40,0xBF,0x00,0x00,0x00,0xF3,0x0B,0x00,0x00,0x20,
0xDF,0x00,0x40,0x3A,0xD0,0x3F,0x00,0xFB,0x03,0xF4,0x9E,0xFB,0x0B,0x00,0xC4,0xEF,
0x09,0x00,
// Unicode: [0x0064, d]
0x00,0x00,0x00,0xF6,0x08,0x00,0x00,0x60,0x8F,0x00,0x00,0x00,0xF6,0x08,0x00,0x00,
0x60,0x8F,0x00,0x00,0x00,0xF6,0x08,0x60,0xFD,0x7A,0x8F,0x40,0xFF,0xCA,0xFF,0x08,
0xFB,0x06,0xB0,0x8F,0xF0,0x0F,0x00,0xF6,0x28,0xDF,0x00,0x60,0x8F,0xF3,0x0C,0x00,
0xF6,0x28,0xCF,0x00,0x60,0x8F,0xF0,0x0E,0x00,0xF6,0x08,0xFC,0x03,0x90,0x8F,0x50,
0xDF,0x97,0xFF,0x08,0x60,0xFE,0x5B,0x8F,
// Unicode: [0x0065, e]
0x00,0xC3,0xEF,0x09,0x00,0xF3,0xAF,0xFC,0x0B,0xC0,0x3F,0x00,0xFC,0x13,0xEF,0x22,
0x92,0x5F,0xF2,0xFF,0xFF,0xFF,0x37,0xDF,0x55,0x55,0x25,0xF3,0x0D,0x00,0x00,0x10,
0xFF,0x00,0x00,0x00,0xC0,0x7F,0x00,0x50,0x00,0xF3,0xAF,0xD9,0x1F,0x00,0xB3,0xFF,
0x4C,0x00,
// Unicode: [0x0066, f]
0x00,0xA1,0xEE,0x01,0xA0,0xDF,0x0A,0x00,0xFF,0x00,0x00,0xF2,0x0D,0x00,0x20,0xDF,
0x00,0x80,0xFF,0xFF,0x0A,0x83,0xEF,0x47,0x00,0xF2,0x0D,0x00,0x20,0xDF,0x00,0x00,
0xF2,0x0D,0x00,0x20,0xDF,0x00,0x00,0xF2,0x0D,0x00,0x20,0xDF,0x00,0x00,0xF2,0x0D,
0x00,0x20,0xDF,0x00,0x00,0xF2,0x0D,0x00,
// Unicode: [0x0067, g]
0x00,0xE6,0xAF,0xF3,0x09,0xF5,0xAF,0xEC,0x9F,0xC0,0x5F,0x00,0xFA,0x09,0xEF,0x00,
0x60,0x9F,0xF2,0x0C,0x00,0xF6,0x39,0xCF,0x00,0x60,0x9F,0xF3,0x0C,0x00,0xF6,0x19,
0xEF,0x00,0x60,0x9F,0xE0,0x3F,0x00,0xF9,0x09,0xF6,0xAF,0xFB,0x9F,0x00,0xE7,0xBF,
0xF7,0x09,0x00,0x00,0x70,0x8F,0x00,0x01,0x00,0xFD,0x04,0xF1,0xAC,0xFE,0x0B,0x10,
0xD8,0xEF,0x08,0x00,
// Unicode: [0x0068, h]
0xFE,0x01,0x00,0x00,0xFE,0x01,0x00,0x00,0xFE,0x01,0x00,0x00,0xFE,0x01,0x00,0x00,
0xFE,0x01,0x00,0x00,0xFE,0xB3,0xDF,0x04,0xFE,0xAD,0xFB,0x1F,0xFE,0x05,0xB0,0x6F,
0xFE,0x01,0x70,0x8F,0xFE,0x01,0x60,0x9F,0xFE,0x01,0x60,0x9F,0xFE,0x01,0x60,0x9F,
0xFE,0x01,0x60,0x9F,0xFE,0x01,0x60,0x9F,0xFE,0x01,0x60,0x9F,0xFE,0x01,0x60,0x9F,
// Unicode: [0x0069, i]
0xFB,0xB4,0x3F,0x00,0x00,0x00,0x00,0xB0,0x4F,0xFB,0xB4,0x4F,0xFB,0xB4,0x4F,0xFB,
0xB4,0x4F,0xFB,0xB4,0x4F,0xFB,0xB4,0x4F,
// Unicode: [0x006C, l]
0xFB,0xB4,0x4F,0xFB,0xB4,0x4F,0xFB,0xB4,0x4F,0xFB,0xB4,0x4F,0xFB,0xB4,0x4F,0xFB,
0xB4,0x4F,0xFB,0xB4,0x4F,0xFB,0xB4,0x4F,
// Unicode: [0x006D, m]
0xFD,0xB1,0xDF,0x03,0xF9,0x5E,0xD0,0xCF,0xCA,0xEF,0xC9,0xFA,0x2F,0xFD,0x05,0xE0,
0xCF,0x00,0xF9,0xD8,0x1F,0x00,0xFA,0x07,0x50,0xAF,0xFD,0x01,0x80,0x6F,0x00,0xF3,
0xDB,0x1F,0x00,0xF8,0x06,0x30,0xCF,0xFD,0x01,0x80,0x6F,0x00,0xF3,0xDC,0x1F,0x00,
0xF8,0x06,0x30,0xCF,0xFD,0x01,0x80,0x6F,0x00,0xF3,0xDC,0x1F,0x00,0xF8,0x06,0x30,
0xCF,0xFD,0x01,0x80,0x6F,0x00,0xF3,0x0C,
// Unicode: [0x006E, n]
0xFE,0xA1,0xDF,0x04,0xFE,0xAC,0xFB,0x1F,0xFE,0x06,0xB0,0x6F,0xFE,0x01,0x70,0x9F,
0xFE,0x01,0x60,0x9F,0xFE,0x01,0x60,0x9F,0xFE,0x01,0x60,0x9F,0xFE,0x01,0x60,0x9F,
0xFE,0x01,0x60,0x9F,0xFE,0x01,0x60,0x9F,0xFE,0x01,0x60,0x9F,
// Unicode: [0x006F, o]
0x00,0xC3,0xEF,0x1A,0x00,0xF3,0xAF,0xFB,0x0D,0xC0,0x4F,0x00,0xF9,0x18,0xEF,0x00,
0x30,0xDF,0xF3,0x0C,0x00,0xF0,0x4F,0xBF,0x00,0x00,0xFF,0xF3,0x0C,0x00,0xF0,0x1F,
0xEF,0x00,0x20,0xDF,0xD0,0x4F,0x00,0xF9,0x08,0xF4,0x9F,0xFB,0x1E,0x00,0xC4,0xEF,
0x1A,0x00,
// Unicode: [0x0070, p]
0xFD,0xD4,0xCF,0x03,0xFD,0x7E,0xF8,0x1F,0xFD,0x04,0x80,0x7F,0xFD,0x01,0x30,0xCF,
0xFD,0x01,0x10,0xEF,0xFD,0x01,0x00,0xFF,0xFD,0x01,0x00,0xEF,0xFD,0x01,0x20,0xDF,
0xFD,0x04,0x80,0x9F,0xFD,0x9E,0xFA,0x2F,0xFD,0xD5,0xDF,0x04,0xFD,0x01,0x00,0x00,
0xFD,0x01,0x00,0x00,0xFD,0x01,0x00,0x00,0xFD,0x01,0x00,0x00,
// Unicode: [0x0071, q]
0x00,0xE6,0xAF,0xF5,0x08,0xF5,0xAF,0xEC,0x8F,0xC0,0x5F,0x00,0xFB,0x08,0xEF,0x00,
0x70,0x8F,0xF2,0x0C,0x00,0xF7,0x38,0xCF,0x00,0x70,0x8F,0xF3,0x0C,0x00,0xF7,0x18,
0xDF,0x00,0x70,0x8F,0xE0,0x3F,0x00,0xFA,0x08,0xF6,0x9E,0xFB,0x8F,0x00,0xE7,0xAF,
0xF8,0x08,0x00,0x00,0x70,0x8F,0x00,0x00,0x00,0xF7,0x08,0x00,0x00,0x70,0x8F,0x00,
0x00,0x00,0xF7,0x08,
// Unicode: [0x0072, r]
0x00,0x00,0xD0,0x2F,0xDD,0xFD,0xBD,0xD8,0x7F,0x00,0xFD,0x01,0xD0,0x1F,0x00,0xFD,
0x01,0xD0,0x1F,0x00,0xFD,0x01,0xD0,0x1F,0x00,0xFD,0x01,0xD0,0x1F,0x00,
// Unicode: [0x0073, s]
0x00,0xD8,0xDF,0x05,0x90,0xCF,0xE8,0x6F,0xF0,0x0E,0x30,0xCF,0xF0,0x1F,0x00,0x45,
0x70,0xEF,0x05,0x00,0x00,0xD5,0xEF,0x05,0x00,0x00,0xE5,0x7F,0x61,0x03,0x20,0xEF,
0xF3,0x0C,0x00,0xEF,0xC0,0xBF,0xC7,0x8F,0x00,0xD8,0xDF,0x07,
// Unicode: [0x0074, t]
0x20,0x58,0x00,0x50,0xAF,0x00,0x50,0xAF,0x00,0xFB,0xFF,0x5F,0x94,0xCF,0x27,0x50,
0xAF,0x00,0x50,0xAF,0x00,0x50,0xAF,0x00,0x50,0xAF,0x00,0x50,0xAF,0x00,0x40,0xAF,
0x00,0x30,0xBF,0x00,0x10,0xFF,0x5A,0x00,0xE5,0x7F,
// Unicode: [0x0075, u]
0xFE,0x01,0x60,0x9F,0xFE,0x01,0x60,0x9F,0xFE,0x01,0x60,0x9F,0xFE,0x01,0x60,0x9F,
0xFE,0x01,0x60,0x9F,0xFE,0x01,0x60,0x9F,0xFE,0x01,0x60,0x9F,0xFD,0x02,0x60,0x9F,
0xFA,0x06,0xA0,0x9F,0xF4,0x9F,0xDC,0x9F,0x70,0xFE,0x39,0x9F,
// Unicode: [0x0076, v]
0xF8,0x08,0x00,0xFB,0x34,0xBF,0x00,0xF0,0x0F,0xE0,0x0F,0x30,0xBF,0x00,0xFA,0x03,
0xF6,0x06,0x50,0x7F,0xA0,0x2F,0x00,0xF1,0x0A,0xDE,0x00,0x00,0xEC,0xF2,0x08,0x00,
0x80,0x8F,0x4F,0x00,0x00,0xF3,0xFE,0x00,0x00,0x00,0xFE,0x0B,0x00,0x00,0xA0,0x6F,
0x00,0x00
};
|
4eec3c7f60c3f8cef1a938db258730184d30200e
|
bf13447efc118007939c6a90f347c75d4d099560
|
/src/test/kill_test/kill_testor.h
|
31946ecec63d4f3a224588b1e72971a6128b0465
|
[
"Apache-2.0"
] |
permissive
|
Carmot/pegasus
|
f48aac7a934d0fe5c3284a254507e1633ea3f037
|
ada3d787c3be551eef7ad9380aaa972e6d74c155
|
refs/heads/master
| 2021-05-07T19:21:25.872047
| 2017-10-30T14:53:56
| 2017-10-30T14:53:56
| 108,864,567
| 0
| 0
| null | 2017-10-30T14:46:01
| 2017-10-30T14:46:00
| null |
UTF-8
|
C++
| false
| false
| 2,078
|
h
|
kill_testor.h
|
// Copyright (c) 2017, Xiaomi, Inc. All rights reserved.
// This source code is licensed under the Apache License Version 2.0, which
// can be found in the LICENSE file in the root directory of this source tree.
#pragma once
#include "job.h"
#include "killer_handler.h"
#include "killer_handler_shell.h"
#include <fstream>
#include <vector>
#include <unordered_map>
#include <string>
#include <memory>
namespace pegasus {
namespace test {
// generate cnt number belong to [a, b],
// if cnt > (b - a + 1), then just return the numbers between a ~ b
void generate_random(std::vector<int> &res, int cnt, int a, int b);
// generate one number belong to [a, b]
int generate_one_number(int a, int b);
class kill_testor
{
public:
kill_testor();
~kill_testor();
// run once
void run();
// kill meta_cnt meta-job, replica_cnt replica-job and zk_cnt zookeeper-job
bool kill(int meta_cnt, int replica_cnt, int zk_cnt);
// start all jobs that have been stopped
bool start();
void set_killer_handler(std::shared_ptr<killer_handler> ptr) { this->_killer_handler = ptr; }
void set_log_file(const std::string &filename) { _log_filename = filename; }
private:
bool kill_job_by_index(job_type type, int index);
bool start_job_by_index(job_type type, int index);
private:
std::shared_ptr<killer_handler> _killer_handler;
// sleep time after kill/recover
uint32_t _sleep_time_before_recover_seconds;
// total number of meta/replica/zookeeper
int32_t _total_meta_count;
int32_t _total_replica_count;
int32_t _total_zookeeper_count;
// max count of the meta/replica/zookeeper that can be killed
int32_t _replica_killed_max_count;
int32_t _meta_killed_max_count;
int32_t _zk_killed_max_count;
std::vector<job_type> _job_types;
// path of the log filename, default is ./kill_history.txt
std::string _log_filename;
// log handler
std::shared_ptr<std::ofstream> _log_handler;
int64_t kill_round;
std::vector<std::vector<int>> _job_index_to_kill;
};
}
} // end namespace
|
8f9ba6f906867df52fb311513ae52c67d15c9b9c
|
cc0356eafe9106aafa9fc366754be69955002eeb
|
/Source/Chess/Core/Utils.cpp
|
e263f91960b7624398291e951f2271c7f59bc485
|
[] |
no_license
|
Yann4/Chess
|
caf348fc0dffc8d2990651ea3cb6b23cd2c8fed3
|
5fc0ea570619f3ed1487b5bf087bb5d3adbcd68f
|
refs/heads/master
| 2023-03-15T11:07:37.290139
| 2021-03-08T17:04:12
| 2021-03-08T17:04:12
| 342,361,391
| 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 1,090
|
cpp
|
Utils.cpp
|
#include "Utils.h"
namespace Chess
{
using namespace Constants;
std::string Utils::PieceName(int8 piece)
{
std::string pieceName = IsColour(piece, Piece::Black) ? "Black " : "White ";
if (IsType(piece, Piece::Pawn))
{
pieceName += "Pawn";
}
else if (IsType(piece, Piece::Rook))
{
pieceName += "Rook";
}
else if (IsType(piece, Piece::Bishop))
{
pieceName += "Bishop";
}
else if (IsType(piece, Piece::Knight))
{
pieceName += "Knight";
}
else if (IsType(piece, Piece::King))
{
pieceName += "King";
}
else if (IsType(piece, Piece::Queen))
{
pieceName += "Queen";
}
return pieceName;
}
std::string Utils::AlgebraicName(int8 piece)
{
if (IsType(piece, Piece::Pawn))
{
return "";
}
else if (IsType(piece, Piece::Rook))
{
return "R";
}
else if (IsType(piece, Piece::Bishop))
{
return "B";
}
else if (IsType(piece, Piece::Knight))
{
return "N";
}
else if (IsType(piece, Piece::King))
{
return "K";
}
else if (IsType(piece, Piece::Queen))
{
return "Q";
}
return "ERROR";
}
}
|
0682ed094ca6b4c2c3391a951377d5810fb64797
|
ec1d7371d30427dda4ae30481defed147a7ba1ec
|
/KC_Dev/00b6.cpp
|
d44fd5348478536bd43b53e70398a3ba7811ec4e
|
[] |
no_license
|
whdgmawkd/algorithm_training
|
9aab4a02a75e3cae03b8b9cc3cf6ea0426871ec5
|
81320b32c7fe74adb5316eb66bb409eac830d7c7
|
refs/heads/master
| 2022-08-06T12:04:07.197419
| 2020-05-31T14:23:48
| 2020-05-31T14:23:48
| 110,798,425
| 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 297
|
cpp
|
00b6.cpp
|
#include <stdio.h>
#define __ULL unsigned long long
__ULL rst=1;
__ULL solve(__ULL n) {
if (n == 0)
return 1;
__ULL total=0;
for (__ULL i = 0;i < n;i++) {
total += solve(i)*solve(n - 1 - i);
}
return total;
}
int main(void) {
__ULL n;
scanf_s("%lld", &n);
printf("%lld\n", solve(n));
}
|
4e98f421163ce69fe4722b442e4faa68993a126c
|
bbf7afd56bef961ae7187bb79381059a903f405e
|
/easy-total-master/gateway/LogGate/TimeTick.cpp
|
c403c8426c19144cb3dafcbf5eb20d83d5c359d2
|
[
"Apache-2.0"
] |
permissive
|
huyufan/work-docment
|
a23f560550cedeb02dfec1240532f0d76dd0e259
|
b94095c57ee702671009f16a2ed70792086b65f2
|
refs/heads/master
| 2021-01-24T14:47:06.204432
| 2017-05-26T03:57:50
| 2017-05-26T03:57:50
| 68,578,548
| 1
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 635
|
cpp
|
TimeTick.cpp
|
#include <list>
#include "LogGate.h"
#include "NetProcessor.h"
//主线程
void LogGate::v_timetick(QWORD usec)
{
DWORD cur = usec/1000/1000;
_close_iter tmp_close;
NetProcessor *clo = 0;
{
ScopeWriteLock swl(_close_critical);
for (_close_iter it = _close_list.begin(); it != _close_list.end(); )
{
tmp_close = it++;
if (tmp_close->second + 3 <= cur)
{
clo = tmp_close->first;
v_CloseNp(clo);
XDBG("[%s],_close_list 删除连接,%s(%llu),%p", serverName, clo->name(), clo->id(), clo);
_close_list.erase(tmp_close);
SAFE_DELETE(clo);
}
}
}
}
|
948c65c78de8bb4582637a8fe7f6a620d4f9dec5
|
b75842b25932071ab1a098913bb2b09b0f9c7231
|
/C++/Array/Find two repeating elements in array/WithoutPreservingPosition.cpp
|
d76b4d8c783e6370cb11fcc4d0b7577ab2460ad4
|
[] |
no_license
|
Ketan-Suthar/DataStructure
|
489c9a9cccb93dcce30a795bcdfeb4b8c7eed604
|
278ad5b70feefde5d5eb8cba7b82ed2c333f575a
|
refs/heads/master
| 2022-11-04T20:16:47.164023
| 2022-10-17T06:52:44
| 2022-10-17T06:52:44
| 199,179,496
| 8
| 8
| null | 2022-10-17T06:52:45
| 2019-07-27T15:05:34
|
C++
|
UTF-8
|
C++
| false
| false
| 792
|
cpp
|
WithoutPreservingPosition.cpp
|
#include <bits/stdc++.h>
using namespace std;
int main()
{
int t;
cin>>t;
while(t--)
{
int n;
cin>>n;
int arr[n];
int i=0;
for(i=0;i<n+2;i++) cin>>arr[i];
int xy=0;
for(i=0;i<n+2;i++)
xy ^= arr[i];
for(i=1;i<=n;i++)
xy ^= i;
int x=0,y=0;
int set_bit = (xy & (~(xy-1)));
// cout<<set_bit<<" ";
for(i=0;i<n+2;i++)
{
if(arr[i] & set_bit)
x ^= arr[i];
else
y ^= arr[i];
}
for(i=1;i<=n;i++)
{
if(i & set_bit)
x ^= i;
else
y ^= i;
}
cout<<x<<' '<<y<<'\n';
}
return 0;
}
|
d74ff14ca1da1a13a0aa3f8c497eca1220ac010a
|
26f9fdff3c246e3a68ff9b0bb4f8f0a9a67bce1c
|
/dynamic_OWSC (copy)/2.2/nut
|
7891c5778afae44fb0f84d726698d42dba8e5fa6
|
[] |
no_license
|
JBrakefield/My_olaFlow
|
6c0aaa0dda8d8e69c127281fc9484f3cded258ea
|
a812362928f2466f4e2632d2636dce97a0a3b9f6
|
refs/heads/master
| 2020-04-08T14:00:49.750205
| 2019-01-10T19:48:55
| 2019-01-10T19:48:55
| 159,418,163
| 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 171,765
|
nut
|
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 5.x |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "2.2";
object nut;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 2 -1 0 0 0 0];
internalField nonuniform List<scalar>
12160
(
1.36113e-09
1.50667e-09
5.90142e-08
1.42611e-09
8.74827e-08
5.99439e-08
1.46446e-09
1.58902e-07
8.32279e-08
8.13366e-08
1.54615e-09
4.55872e-08
1.33641e-07
7.96175e-08
8.6825e-08
1.65513e-09
3.18089e-08
5.19593e-08
1.3713e-07
7.46509e-08
1.01481e-07
1.78521e-09
2.76454e-08
3.28304e-08
4.5795e-08
1.51634e-07
5.26865e-08
7.76574e-08
1.94572e-09
2.57786e-08
2.73829e-08
3.41283e-08
5.48645e-08
1.02528e-07
2.48424e-08
6.11663e-09
2.15799e-09
2.33339e-08
2.5486e-08
2.96155e-08
3.97439e-08
6.54045e-08
3.83897e-08
7.5501e-09
1.38636e-08
2.45419e-09
2.07328e-08
2.35273e-08
2.70077e-08
3.18785e-08
5.67317e-08
3.44538e-08
9.52953e-09
1.38238e-08
1.68824e-08
2.90254e-09
1.80113e-08
2.08284e-08
2.4518e-08
2.71082e-08
4.03364e-08
4.43215e-08
1.37147e-08
1.0578e-08
2.12075e-08
8.90443e-09
3.64449e-09
1.55589e-08
1.80546e-08
2.11953e-08
2.421e-08
3.10859e-08
3.52139e-08
2.26904e-08
8.61383e-09
7.92174e-08
7.95078e-09
8.65522e-09
5.00638e-09
1.36692e-08
1.5505e-08
1.80551e-08
2.13572e-08
2.69091e-08
2.83937e-08
1.52033e-07
8.37757e-09
3.85281e-08
5.49899e-09
6.23721e-09
5.32927e-09
7.8771e-09
1.24849e-08
1.35308e-08
1.51826e-08
1.81691e-08
2.33314e-08
2.43825e-08
3.85835e-08
8.39373e-09
2.55206e-08
3.97854e-09
1.88375e-08
6.43856e-09
9.02321e-09
1.27909e-08
1.21222e-08
1.23093e-08
1.29616e-08
1.49524e-08
1.93399e-08
2.13077e-08
1.93641e-08
7.97601e-09
2.20425e-08
4.38694e-09
9.84436e-09
5.83498e-09
5.21476e-09
5.31036e-09
1.11816e-08
1.27184e-08
1.18659e-08
1.15671e-08
1.24789e-08
1.55031e-08
1.73451e-08
1.30567e-08
1.01541e-08
1.7739e-08
5.90668e-09
4.82458e-09
6.20336e-09
1.42027e-08
1.53854e-08
7.8283e-09
1.46814e-08
1.22681e-08
1.09644e-08
1.09821e-08
1.26247e-08
1.32075e-08
9.76056e-09
2.16598e-08
1.34193e-08
9.15296e-09
4.18408e-09
1.14564e-08
7.17459e-09
4.39956e-09
6.4124e-09
1.9492e-08
1.38312e-08
1.11384e-08
1.03198e-08
1.09317e-08
1.03095e-08
7.99075e-09
2.21462e-07
9.66055e-09
2.33647e-08
3.86987e-09
1.43888e-08
9.58348e-09
4.97028e-09
6.03812e-09
3.10174e-08
1.73569e-08
1.22331e-08
1.03362e-08
1.00466e-08
8.74273e-09
7.06462e-09
2.68434e-08
1.21606e-08
3.27734e-08
3.73722e-09
8.3452e-09
1.55659e-08
1.06109e-08
6.43965e-09
4.75379e-08
2.38967e-08
1.45305e-08
1.10545e-08
9.68654e-09
8.06122e-09
6.70758e-09
1.76691e-08
2.40244e-08
3.4377e-08
4.1699e-09
7.02458e-09
1.89571e-08
2.01269e-08
7.85837e-09
3.00022e-08
2.8171e-08
1.77607e-08
1.24893e-08
9.75048e-09
7.87305e-09
6.86913e-09
1.53836e-08
8.82832e-08
5.37779e-08
1.10296e-08
8.1942e-09
1.37793e-08
1.81299e-08
1.05761e-08
1.83761e-08
2.18703e-08
1.97241e-08
1.42503e-08
1.02754e-08
8.02436e-09
7.61657e-09
1.52354e-08
4.78447e-08
1.00998e-07
5.10387e-08
5.40256e-09
1.01949e-08
1.94847e-08
1.0842e-08
1.34619e-08
1.57413e-08
1.74498e-08
1.47955e-08
1.11683e-08
8.57912e-09
9.09274e-09
1.6165e-08
3.03368e-08
1.8767e-07
3.00555e-08
1.11787e-08
7.02816e-08
2.48495e-08
6.97588e-09
1.10582e-08
1.22305e-08
1.38063e-08
1.34971e-08
1.17482e-08
8.97263e-09
1.16027e-08
1.85603e-08
2.37891e-08
6.55832e-08
4.4973e-08
1.85045e-08
8.35778e-09
1.20171e-08
4.55006e-09
9.8229e-09
1.02656e-08
1.12652e-08
1.16105e-08
1.12366e-08
8.81014e-09
1.4007e-08
2.26764e-08
1.81106e-08
4.02026e-08
1.24811e-07
1.53046e-08
7.63867e-09
1.19552e-08
3.29068e-09
9.28211e-09
9.21432e-09
9.71087e-09
1.00257e-08
9.90916e-09
8.36535e-09
1.44642e-08
3.13928e-08
1.50959e-08
3.29424e-08
2.67868e-08
1.46808e-08
1.56886e-08
1.22793e-08
2.57758e-09
9.1786e-09
8.74758e-09
8.86621e-09
8.88087e-09
8.6877e-09
7.92425e-09
1.18649e-08
6.01106e-08
1.41772e-08
3.90983e-08
1.65791e-08
1.54959e-08
1.44473e-08
1.03951e-08
2.14071e-09
9.48749e-09
8.68366e-09
8.47319e-09
8.17914e-09
7.86837e-09
7.50224e-09
9.09629e-09
1.02359e-07
1.44653e-08
4.74292e-08
1.31081e-08
1.74193e-08
7.26695e-09
1.47691e-08
1.85897e-09
1.02316e-08
8.97475e-09
8.43122e-09
7.8294e-09
7.41358e-09
7.1783e-09
7.24191e-09
3.03102e-08
1.62965e-08
1.8575e-08
1.16237e-08
2.4095e-08
4.5894e-09
2.04243e-08
1.67171e-09
1.1523e-08
9.64091e-09
8.70478e-09
7.79929e-09
7.20906e-09
6.98639e-09
6.08033e-09
1.63659e-08
1.85277e-08
1.22606e-08
1.32662e-08
1.49097e-08
3.53793e-09
1.34454e-08
1.54582e-09
1.3582e-08
1.07523e-08
9.34386e-09
8.05352e-09
7.21938e-09
6.79766e-09
5.48191e-09
1.09322e-08
1.89916e-08
1.04719e-08
1.63778e-08
7.17249e-09
3.19457e-09
7.57657e-09
1.46248e-09
1.68973e-08
1.24967e-08
1.04259e-08
8.59595e-09
7.42639e-09
6.75649e-09
5.37823e-09
8.46499e-09
1.96348e-08
1.0111e-08
1.85789e-08
4.63152e-09
3.08321e-09
4.11865e-09
1.41071e-09
2.24637e-08
1.51832e-08
1.20719e-08
9.4159e-09
7.88102e-09
6.87575e-09
5.70897e-09
8.06692e-09
2.21631e-08
1.0834e-08
1.50133e-08
3.46127e-09
2.96983e-09
2.81566e-09
1.38385e-09
3.28617e-08
1.92759e-08
1.44726e-08
1.06346e-08
8.78115e-09
7.1697e-09
6.57158e-09
9.07864e-09
2.19857e-08
1.11419e-08
1.07101e-08
3.08032e-09
2.93281e-09
2.89954e-09
1.37969e-09
5.34904e-08
2.53623e-08
1.77767e-08
1.23975e-08
1.00891e-08
7.59883e-09
8.12154e-09
1.15981e-08
1.74309e-08
9.83406e-09
6.84361e-09
3.96712e-09
3.00633e-09
3.18633e-09
1.39623e-09
6.07393e-08
3.24277e-08
2.18064e-08
1.46522e-08
1.17526e-08
8.56978e-09
1.10788e-08
1.68986e-08
1.35435e-08
8.84343e-09
7.49577e-09
7.40614e-09
3.4391e-09
3.6225e-09
1.43155e-09
3.91545e-08
3.528e-08
2.52536e-08
1.70975e-08
1.3657e-08
1.05271e-08
1.75699e-08
2.83868e-08
1.09263e-08
9.14222e-09
1.01384e-08
4.46655e-09
3.93888e-09
4.81625e-09
1.48919e-09
2.67832e-08
3.01519e-08
2.55029e-08
1.90076e-08
1.52058e-08
1.3739e-08
2.93019e-08
3.66342e-08
9.54507e-09
1.17866e-08
8.51609e-09
2.81373e-09
3.96952e-09
9.32911e-09
1.56743e-09
2.05409e-08
2.35595e-08
2.26199e-08
1.92584e-08
1.56349e-08
1.86647e-08
2.47971e-08
2.13644e-08
8.33269e-09
1.72355e-08
5.76825e-09
2.85308e-09
3.75218e-09
2.33257e-08
1.67566e-09
1.67876e-08
1.91749e-08
1.92127e-08
1.7868e-08
1.55802e-08
2.81696e-08
1.75515e-08
1.42454e-08
8.02691e-09
2.15553e-08
3.81611e-09
3.86434e-09
3.21177e-09
9.50872e-09
1.49906e-08
1.88195e-09
1.62523e-08
1.63455e-08
1.60142e-08
1.51415e-08
3.62392e-08
1.58197e-08
1.14401e-08
8.56092e-09
2.16243e-08
3.03757e-09
5.65054e-09
2.80912e-09
7.08464e-09
1.4599e-08
1.26404e-08
2.49977e-09
1.42942e-08
1.44308e-08
1.41506e-08
2.82448e-08
1.58035e-08
1.0058e-08
9.97375e-09
1.89802e-08
3.03464e-09
1.28102e-08
2.40075e-09
5.96362e-09
1.29518e-08
1.244e-08
1.26711e-08
3.10568e-09
1.33062e-08
1.28606e-08
1.97484e-08
1.62195e-08
9.57149e-09
1.22984e-08
1.37407e-08
3.15062e-09
1.66818e-08
2.21216e-09
4.92581e-09
1.25289e-08
1.10591e-08
1.24806e-08
1.31455e-08
4.94291e-09
1.17399e-08
1.51462e-08
1.65455e-08
9.90378e-09
1.70148e-08
8.72809e-09
3.31994e-09
6.85239e-09
2.29501e-09
4.55512e-09
1.07773e-08
1.11219e-08
1.07102e-08
1.2487e-08
2.0688e-08
4.25833e-09
1.26918e-08
1.65569e-08
1.1162e-08
2.64142e-08
6.37091e-09
3.58333e-09
4.95637e-09
2.72226e-09
5.11731e-09
1.12367e-08
9.33018e-09
1.06614e-08
1.03921e-08
1.55021e-08
1.4652e-08
3.11938e-09
1.6738e-08
1.35864e-08
3.62257e-08
5.2481e-09
3.93589e-09
4.1721e-09
3.12462e-09
6.38432e-09
1.68057e-08
9.13773e-09
8.61394e-09
1.00333e-08
1.04365e-08
8.84921e-09
7.54501e-09
1.62715e-09
1.67384e-08
3.78179e-08
4.8542e-09
4.42459e-09
4.04609e-09
3.24719e-09
6.98543e-09
2.06746e-08
1.71952e-08
7.98008e-09
8.13741e-09
8.99699e-09
6.82849e-09
7.27515e-09
6.02507e-09
1.04909e-09
4.14183e-08
4.93443e-09
5.01293e-09
4.09839e-09
3.58033e-09
5.83435e-09
4.9157e-08
2.56027e-08
1.54439e-08
7.18725e-09
6.90536e-09
6.04249e-09
6.99378e-09
6.23466e-09
4.73817e-09
6.17925e-10
5.18549e-09
5.97303e-09
4.42601e-09
4.65055e-09
7.39047e-09
5.44026e-09
5.01803e-08
3.34356e-08
1.27932e-08
6.16668e-09
4.93842e-09
6.1655e-09
9.40432e-09
1.60963e-08
1.36037e-08
3.48444e-08
7.57169e-09
5.2386e-09
6.75559e-09
6.29957e-09
1.03487e-08
6.09971e-09
4.51069e-08
3.54553e-08
9.82044e-09
5.9281e-09
1.01184e-08
1.95299e-08
3.70769e-08
2.8791e-08
2.16636e-07
0.000102437
6.04572e-09
9.35021e-09
6.7409e-09
6.07228e-09
2.59607e-08
7.72344e-08
3.60786e-08
2.77711e-08
2.60075e-08
8.44774e-08
1.76324e-07
2.45586e-07
1.70089e-07
3.25014e-07
0.000116261
0.000505915
6.4397e-05
9.49007e-09
7.8907e-09
8.89965e-09
6.67546e-09
5.24658e-07
2.83261e-06
2.95688e-07
2.21032e-07
9.75489e-07
1.6012e-06
2.3418e-06
2.05715e-06
4.49927e-07
0.0001626
0.000414997
0.000727078
0.000573808
7.72992e-05
8.61839e-09
9.19424e-09
7.16939e-09
1.47679e-07
1.39141e-05
8.24425e-05
2.46521e-05
1.44377e-05
1.79346e-05
1.72568e-05
1.35567e-05
1.90336e-06
0.000164068
0.000413499
0.000642356
0.000840691
0.000782804
0.000568416
8.41545e-05
7.90484e-09
3.68369e-08
5.84141e-06
0.000171768
0.000841643
0.000311679
0.00042999
0.000141145
0.000105888
2.32125e-05
0.00010931
0.000372422
0.000548926
0.000770693
0.000929223
0.000872122
0.000805146
0.00068086
9.50755e-05
9.18405e-09
1.71056e-06
9.93013e-05
0.00127849
0.00461934
0.00190233
0.00187427
0.00105978
0.00091984
4.0457e-05
0.000291489
0.000477577
0.000680625
0.000869879
0.000974985
0.000949578
0.00087836
0.000821011
0.000805642
0.000104287
3.51944e-07
3.75134e-05
0.00120811
0.00523186
0.00589085
0.00419903
0.00318552
0.00177631
5.22994e-05
0.000213213
0.000435718
0.000603822
0.000791998
0.000923126
0.000641429
0.000989548
0.000953524
0.000891227
0.000841097
0.00083401
0.000115042
1.23765e-05
0.000623104
0.00495614
0.00511745
0.00558836
0.00584521
0.00370096
0.00140992
0.000108982
0.0003861
0.000570389
0.000736472
0.000850798
0.000696583
0.00169779
0.000750528
0.00169831
0.00157519
0.0015756
0.00100388
0.000973665
0.000916384
0.000867322
0.000870314
0.000128441
0.000263764
0.00429178
0.00519784
0.00434482
0.00526165
0.00573284
0.00370404
0.000545212
0.000210515
0.000530404
0.000730622
0.000802121
0.00074239
0.00125907
0.00190584
0.00152013
0.00101391
0.00190642
0.00210306
0.00210412
0.00152005
0.00141168
0.0014116
0.00102769
0.00100325
0.000947463
0.000901139
0.000914701
0.000146391
0.0035634
0.00487363
0.00421124
0.00390345
0.00435886
0.00431771
0.00292457
0.000330885
0.000388387
0.000690971
0.000817572
0.000767525
0.000952286
0.00132286
0.00132268
0.00140968
0.00140986
0.00165671
0.00138624
0.00102956
0.000741022
0.00165662
0.00180651
0.00180684
0.00138588
0.00129737
0.0012971
0.001052
0.00103835
0.000982938
0.000943168
0.000964646
0.000167055
0.00433791
0.00430563
0.00352443
0.00344205
0.00332361
0.00403245
0.00202424
0.000416946
0.000568042
0.000822838
0.000806582
0.000612885
0.00151213
0.00151236
0.00156543
0.0015659
0.00121173
0.00121244
0.00131776
0.00131791
0.0014732
0.00126014
0.00123117
0.00126482
0.00125095
0.00104183
0.000780629
0.00172358
0.00172369
0.00169414
0.00169437
0.00147287
0.00159535
0.0015955
0.00125971
0.00123447
0.00126457
0.00124689
0.00120482
0.00117514
0.00119593
0.00121477
0.0012045
0.00118132
0.00119575
0.00121002
0.00108032
0.0010725
0.00102033
0.0009892
0.00101601
0.000196091
0.00409943
0.00355702
0.0033253
0.00316757
0.00308499
0.00400922
0.00212566
0.00071003
0.000660696
0.000823969
0.000459586
0.00164128
0.00164173
0.0016914
0.00169231
0.00139701
0.00139721
0.00143346
0.00143387
0.00112742
0.00110131
0.00112592
0.00115313
0.00114674
0.00108804
0.00110742
0.00112921
0.00112596
0.00115317
0.00114685
0.00108815
0.00123475
0.00122863
0.00121917
0.00122178
0.00123561
0.00122867
0.001219
0.00122175
0.00134319
0.00128722
0.00132394
0.00132407
0.00113013
0.00115639
0.00113841
0.00115842
0.00105514
0.000834496
0.00162934
0.00162977
0.00166722
0.00166736
0.00156986
0.00157003
0.00153355
0.00153387
0.00134295
0.00129045
0.00132372
0.00132115
0.0014147
0.00137538
0.00144404
0.00137649
0.0014146
0.00138543
0.00144412
0.00137715
0.00112965
0.00116094
0.00113821
0.00115531
0.00109562
0.00113863
0.00109535
0.00113414
0.00110692
0.0011037
0.00105582
0.00103285
0.00106362
0.000229177
0.00335804
0.00313297
0.00328014
0.00302582
0.00306605
0.00383269
0.00255467
0.00111136
0.000739725
0.000397515
0.00172833
0.00172892
0.00177757
0.00177821
0.00149226
0.00149265
0.00152567
0.00152627
0.00127814
0.00128226
0.00127712
0.00128352
0.00128061
0.00128242
0.00128145
0.00128352
0.00131668
0.00131891
0.0013001
0.00130843
0.00132247
0.00131907
0.00130542
0.00130861
0.0010691
0.00111909
0.00110512
0.00102342
0.00113299
0.00111207
0.00107493
0.00112057
0.00102359
0.00110504
0.00113282
0.00111201
0.00119135
0.00116903
0.00118578
0.00116143
0.00119221
0.00116899
0.00118568
0.00116138
0.00120233
0.00118949
0.0011785
0.00122319
0.00107383
0.00113226
0.00108362
0.00113372
0.00106848
0.00088852
0.00144814
0.00144865
0.00155547
0.00155587
0.00146892
0.00146932
0.00150344
0.00150374
0.00139595
0.00142222
0.00141499
0.0014351
0.00139853
0.00142229
0.00141669
0.00143514
0.00136607
0.0012552
0.00139522
0.00139374
0.001416
0.00130592
0.00136771
0.00126459
0.00139506
0.00139466
0.00141599
0.00130608
0.00120204
0.00119253
0.00117839
0.00122051
0.00125068
0.00126165
0.00125058
0.00126147
0.00107359
0.00113691
0.00108359
0.00113076
0.00104345
0.00111592
0.00104325
0.00111146
0.00112909
0.00112702
0.00108327
0.00107186
0.00103455
0.00027342
0.00262726
0.00285789
0.0031769
0.00285339
0.00288354
0.00351289
0.00311386
0.00174235
0.00072134
0.00165966
0.00166027
0.00164641
0.00164716
0.0015303
0.00153042
0.00156044
0.00156065
0.00134533
0.00135759
0.00134558
0.00135914
0.00135083
0.00135789
0.00134949
0.00135912
0.00137417
0.00139558
0.00136006
0.00137851
0.00137964
0.0013958
0.00136441
0.00137867
0.00123296
0.0012085
0.00122408
0.00120392
0.00123588
0.00120855
0.00122928
0.00120393
0.0012305
0.0012025
0.00123603
0.00120737
0.0012365
0.00120252
0.0012418
0.00120761
0.00113982
0.0011531
0.00111482
0.0011952
0.00107979
0.00093016
0.00112903
0.00112956
0.00122289
0.0012233
0.00121208
0.00121208
0.00134403
0.00134428
0.00124425
0.00129366
0.0012966
0.00131871
0.00125067
0.00129363
0.00130409
0.00131888
0.00135703
0.00137017
0.00133811
0.00135511
0.00136113
0.00137039
0.00134503
0.00135515
0.00133013
0.00133025
0.0013509
0.00135072
0.00133308
0.0013302
0.0013527
0.00135067
0.00120432
0.001342
0.00135539
0.00120248
0.00135297
0.00135392
0.00121313
0.00134362
0.00135516
0.00120254
0.00135404
0.00135381
0.00113968
0.00115491
0.00111481
0.00119196
0.00117033
0.00120376
0.00117028
0.00120462
0.00114727
0.00114549
0.00110114
0.00110601
0.000959681
0.000323836
0.00145029
0.0025514
0.00291511
0.00263039
0.00264506
0.00333856
0.00343413
0.00247432
0.000507937
0.00149434
0.00149458
0.00150338
0.00150389
0.00143605
0.00143632
0.00145696
0.00145714
0.00125546
0.00122919
0.00126261
0.00123024
0.001261
0.00122941
0.00126701
0.00123025
0.00129064
0.00128216
0.00127231
0.00124328
0.00129612
0.00128227
0.00127702
0.00124339
0.00122095
0.001179
0.00122646
0.00117895
0.00110175
0.000958243
0.000944441
0.000945241
0.000944944
0.000945493
0.000890508
0.000890525
0.00102032
0.00102013
0.00105367
0.00105762
0.00104867
0.00107637
0.00106368
0.00105793
0.00105787
0.00107649
0.00114511
0.00119407
0.00112414
0.00117367
0.00115308
0.00119424
0.00113139
0.00117356
0.00117035
0.00115225
0.00121259
0.00119801
0.00117703
0.00115213
0.00121948
0.00119821
0.00129968
0.0012831
0.00124815
0.0012511
0.00130385
0.00128317
0.00125511
0.00125112
0.00117378
0.00115607
0.0011141
0.00114179
0.000894265
0.000393078
0.000756401
0.00234116
0.00270551
0.00231687
0.00245555
0.00315882
0.00359042
0.00286782
0.00153461
0.0015348
0.00168442
0.00168516
0.00137177
0.00137191
0.00138163
0.00138179
0.00133311
0.00133827
0.00132791
0.00134995
0.00133321
0.00133902
0.00132818
0.00134938
0.00133998
0.00132808
0.00132704
0.00135021
0.00133994
0.00133039
0.00132694
0.00134958
0.00122963
0.00118148
0.00123182
0.00117105
0.0012344
0.00118154
0.00123532
0.00117098
0.00124773
0.00120191
0.00123304
0.00117158
0.00125181
0.00120187
0.00123632
0.00117161
0.00115493
0.00100373
0.000739488
0.000775207
0.000774768
0.000738641
0.000738087
0.00073151
0.000731174
0.000831902
0.00083274
0.000913651
0.000917366
0.000969785
0.000945105
0.000923671
0.0009175
0.000978093
0.000945276
0.00107299
0.00106186
0.00104114
0.00102807
0.00108097
0.00106204
0.00104848
0.00102807
0.00113817
0.0011096
0.00114462
0.00110942
0.00120084
0.00115608
0.00113146
0.00118336
0.000809388
0.000396801
0.000508701
0.00222426
0.00233999
0.00194893
0.00232914
0.00302791
0.00357973
0.00114133
0.00141746
0.00141782
0.00153853
0.00153859
0.00127946
0.00126801
0.00128383
0.00129835
0.00128306
0.00126819
0.00128399
0.00129852
0.00132571
0.00132592
0.00124285
0.00130843
0.00126269
0.0012982
0.00124288
0.00130843
0.00126275
0.00129709
0.00122539
0.00125669
0.0012044
0.00128952
0.00122527
0.00126077
0.00120445
0.00128907
0.00125534
0.0011989
0.0012582
0.0011987
0.00121545
0.00110127
0.000894616
0.000526965
0.00052374
0.000355182
0.000350596
0.000528005
0.000520315
0.000566159
0.000566709
0.000683573
0.000613227
0.000655318
0.000674915
0.00068357
0.00060922
0.00065489
0.000669117
0.000755191
0.00081831
0.000777573
0.000761233
0.000755386
0.000822187
0.000777903
0.000760749
0.000872469
0.000830137
0.000912217
0.000873189
0.0008797
0.000830096
0.000918071
0.000873279
0.00104896
0.00101387
0.000983102
0.000957416
0.001056
0.00101395
0.000988514
0.000957363
0.00120768
0.00114676
0.00117026
0.00103071
0.000495663
0.000411513
0.0019315
0.00196325
0.00175204
0.00232822
0.00288187
0.00195755
0.00160429
0.00160397
0.00158088
0.00158117
0.0012911
0.00128778
0.00132575
0.00133213
0.00129376
0.00128803
0.00132685
0.00133185
0.00145146
0.00145158
0.00121922
0.0011665
0.00120347
0.00124066
0.00122238
0.00116665
0.00120346
0.00124064
0.00125476
0.00123755
0.00125253
0.00122698
0.00125737
0.0012376
0.001253
0.00122699
0.00118904
0.0012199
0.00114922
0.00126351
0.00118886
0.00122346
0.00114923
0.00126423
0.00124509
0.00120884
0.00105124
0.000884902
0.000768965
0.000764962
0.000590855
0.000583466
0.000514743
0.000513514
0.000541307
0.000569251
0.000551141
0.000507298
0.000543074
0.00056817
0.0005493
0.000513802
0.000637749
0.000631777
0.00059751
0.000680093
0.000637526
0.000628347
0.000597062
0.000676544
0.000695294
0.000786274
0.00073584
0.000738138
0.000695279
0.000789442
0.000735926
0.000737713
0.000850796
0.000804496
0.00085719
0.000804363
0.00118326
0.00115474
0.00116282
0.000522792
0.000296451
0.00172281
0.00177142
0.0016218
0.0023514
0.00215301
0.00156471
0.00156489
0.00184217
0.00184259
0.00137834
0.00137846
0.00132501
0.00132526
0.00121558
0.00118039
0.00126511
0.00125715
0.00121788
0.00118055
0.00126607
0.00125688
0.00130947
0.0013162
0.00132957
0.00131553
0.00130944
0.00131694
0.0013294
0.00131596
0.0011902
0.00111034
0.00113681
0.0012073
0.00119141
0.00111044
0.00113681
0.00120654
0.00119817
0.00114436
0.00121079
0.00115325
0.00120068
0.00114437
0.0012117
0.00115328
0.00122641
0.00126804
0.00120452
0.00107264
0.0011043
0.00110315
0.00104136
0.00103999
0.000942912
0.000940121
0.000845975
0.000661457
0.000833164
0.000709803
0.000837739
0.000659967
0.000824351
0.000707835
0.000780493
0.00061176
0.000745617
0.000589762
0.00056413
0.000535138
0.000776026
0.000610873
0.000743666
0.000589358
0.000564792
0.000534629
0.00059658
0.000547935
0.000595171
0.000547627
0.000620364
0.000681371
0.000587973
0.000693469
0.000619989
0.000677808
0.000587418
0.000690023
0.0011509
0.00123856
0.000499943
0.000278416
0.00116063
0.00168617
0.00142146
0.00171365
0.00090324
0.00119847
0.00119859
0.00134303
0.00134331
0.0011978
0.00124617
0.00122
0.00116746
0.00119194
0.00123521
0.00124683
0.00119819
0.00123501
0.00121988
0.00116784
0.00119176
0.00103985
0.00110756
0.00107237
0.00112756
0.00104074
0.00110743
0.00107372
0.00112762
0.00119211
0.00113075
0.00122687
0.00118316
0.00119342
0.00113075
0.00122758
0.00118295
0.00121466
0.00124737
0.00121457
0.00124791
0.00112238
0.00119902
0.00112239
0.0011986
0.00118627
0.00112029
0.00118828
0.00112022
0.00116682
0.00126673
0.00128808
0.00123378
0.00123916
0.00123823
0.00121436
0.00121281
0.00126246
0.00126078
0.00122488
0.00122454
0.00099069
0.00116637
0.00101801
0.00116549
0.000822604
0.000992361
0.000990387
0.00116268
0.00101705
0.00116305
0.000822154
0.000988968
0.000945921
0.000774475
0.000942443
0.000774056
0.00090086
0.0007356
0.000870075
0.000715682
0.000709821
0.000577422
0.000898019
0.000735138
0.000868497
0.000713968
0.000709564
0.000577143
0.00071091
0.000576366
0.000708103
0.000575969
0.00119366
0.000486014
0.000214672
0.000746068
0.0016562
0.00105337
0.000919978
0.00094608
0.000946047
0.000730023
0.000729938
0.000855084
0.000855341
0.00102846
0.00102902
0.00119929
0.00110778
0.00112419
0.0011845
0.00101544
0.00104365
0.00119969
0.00110828
0.00118421
0.00112396
0.00101633
0.00104341
0.000789974
0.000901574
0.000865098
0.000931505
0.00079246
0.000901225
0.000867054
0.000931385
0.00121719
0.0011675
0.0012178
0.00116728
0.00115211
0.00119773
0.00130371
0.00131763
0.00135608
0.00138891
0.00138754
0.00134738
0.00134528
0.00141832
0.00128453
0.00143583
0.00128699
0.0014127
0.00128286
0.00143352
0.00128608
0.00142424
0.00129925
0.00129351
0.00142801
0.00129291
0.00113612
0.00142703
0.00129845
0.00129332
0.00142814
0.00129223
0.0011358
0.00111132
0.000959736
0.00127239
0.00112894
0.00111103
0.000959264
0.00127066
0.00112577
0.00108641
0.000927407
0.00108394
0.000926972
0.00103982
0.000886076
0.000819749
0.000665627
0.00103763
0.000885617
0.00081811
0.000665203
0.000467805
0.000147299
0.000724901
0.0014622
0.000818168
0.000939729
0.000921296
0.000920978
0.000740628
0.000740251
0.000721949
0.000618181
0.000713556
0.000632554
0.00072162
0.000619708
0.0007135
0.000629834
0.000847046
0.000846836
0.000638759
0.00075437
0.000727996
0.000831656
0.000642796
0.000754227
0.000731034
0.000831605
0.000472187
0.00112644
0.00123556
0.00133966
0.00138378
0.00156234
0.00156198
0.00154803
0.00154676
0.0014604
0.00145883
0.00144758
0.00144505
0.00156429
0.00140343
0.0015635
0.00142362
0.00156274
0.00140281
0.00156521
0.00142329
0.00141614
0.00153359
0.00128804
0.00142647
0.00156159
0.00144261
0.00141967
0.00153905
0.00142648
0.00128803
0.0015659
0.00144251
0.00108558
0.00124463
0.00108516
0.00124194
0.000138783
0.000909499
0.00115569
0.000896647
0.00108851
0.00108856
0.00127285
0.00127129
0.000960555
0.000960997
0.000957838
0.000958135
0.000613434
0.00055519
0.000605235
0.000581324
0.000613971
0.000565135
0.00060543
0.000590678
0.000852981
0.000785337
0.000704617
0.000693782
0.000857526
0.000784734
0.00071168
0.000693804
0.000564933
0.000642137
0.000572002
0.000642692
0.000480746
0.00111978
0.00127467
0.00137922
0.00151544
0.00166416
0.00166359
0.00166241
0.00166118
0.00160609
0.00160451
0.00147104
0.00166356
0.00149799
0.00162411
0.00147079
0.0016588
0.00149745
0.00162125
0.00168566
0.00154017
0.00170884
0.00159553
0.00168218
0.00153952
0.00170772
0.00159501
0.000254484
0.00144951
0.000904968
0.00113598
0.00126718
0.00126666
0.00139541
0.00139312
0.000871029
0.000745345
0.000901836
0.000943156
0.000841654
0.00102635
0.000874056
0.000744925
0.000901786
0.000943069
0.000841582
0.00102582
0.000999169
0.000998714
0.00056975
0.000549037
0.000553554
0.00059234
0.000570009
0.000554218
0.000553591
0.000598586
0.000734551
0.000652128
0.000737558
0.00065182
0.000502114
0.0011361
0.00130966
0.00143895
0.00158576
0.00158581
0.00164698
0.00164703
0.00164673
0.00164706
0.00170657
0.00170585
0.00176466
0.00159038
0.00180413
0.00161852
0.00174015
0.00156431
0.00176069
0.00158867
0.0018041
0.0016179
0.00173752
0.00156392
0.0017569
0.00159721
0.00175266
0.00159661
0.00178338
0.00165172
0.00177871
0.00165105
0.00037314
0.0012203
0.000968439
0.00139319
0.00138955
0.00126712
0.00126307
0.0014687
0.00146805
0.00150578
0.00150411
0.00082413
0.000714482
0.000836936
0.000847877
0.000767478
0.00093986
0.000824884
0.00071426
0.000836926
0.000847944
0.000767504
0.000940011
0.00113372
0.00103474
0.000955115
0.000901621
0.00113543
0.00103446
0.000956332
0.000901746
0.00053429
0.00117197
0.0013366
0.00149307
0.0016488
0.00164773
0.00170175
0.00170119
0.00172719
0.00172755
0.00184792
0.00167816
0.00167699
0.00189887
0.00173817
0.00180993
0.00167712
0.00189897
0.00173784
0.00181238
0.00184821
0.00167762
0.00187719
0.00182488
0.00171567
0.00165336
0.00187975
0.0018255
0.00171544
0.00165298
0.00183427
0.00167475
0.00183202
0.00167435
0.00120345
0.00129131
0.000945303
0.000985775
0.00098345
0.00082548
0.000825328
0.00139371
0.00123236
0.00136951
0.00163876
0.00135902
0.00164873
0.00139471
0.00123226
0.0013693
0.0016388
0.0013588
0.00164835
0.0012506
0.00124905
0.000813448
0.00088065
0.000813582
0.000881767
0.00123388
0.00109881
0.00123564
0.00109884
0.000595124
0.0011923
0.00134565
0.00147321
0.00147165
0.00155805
0.00155593
0.00156569
0.00156357
0.00167019
0.00166768
0.00179878
0.00167573
0.00191863
0.00177953
0.00191428
0.0017853
0.00179229
0.00191655
0.00178509
0.00167391
0.00191734
0.00177892
0.00193187
0.00178027
0.00197918
0.00186418
0.00198281
0.00193141
0.0018641
0.00177989
0.00177747
0.00102776
0.000915753
0.000555578
0.000552427
0.000581977
0.000574578
0.00154972
0.00128527
0.00109789
0.00138142
0.00115359
0.00119511
0.00155029
0.00128502
0.00109769
0.00138183
0.00115341
0.00119647
0.00042832
0.000528297
0.000395278
0.00059639
0.000428718
0.000527538
0.000395819
0.000596231
0.00142024
0.00117153
0.00142178
0.00117154
0.000693346
0.00118663
0.0012988
0.00142883
0.00142582
0.00150357
0.0014997
0.00157357
0.00156939
0.001844
0.00170959
0.0015668
0.00179688
0.0016544
0.0016638
0.00184336
0.00170895
0.0015664
0.00179419
0.00165381
0.00166088
0.00194828
0.00199768
0.00182418
0.00190364
0.00199889
0.00190326
0.00194993
0.00182391
0.0015963
0.00144019
0.00107756
0.000819468
0.000808913
0.00107239
0.00108607
0.00108586
0.000775052
0.000505832
0.000502994
0.000770566
0.000509469
0.000502522
0.00141674
0.00115318
0.000688867
0.000707756
0.000783383
0.000491306
0.00141706
0.00115302
0.000688342
0.000708474
0.000783252
0.0004928
0.000456555
0.00048222
0.000459971
0.000482595
0.000817421
0.00113867
0.00114117
0.0012818
0.00127741
0.00140661
0.0014002
0.00155931
0.00147908
0.00170452
0.00156517
0.00173667
0.00161353
0.00154564
0.00173035
0.00161278
0.00147637
0.00169468
0.00156402
0.00187661
0.00174945
0.00183575
0.00171693
0.00187623
0.00174875
0.00183189
0.0017162
0.0019584
0.00184834
0.00196099
0.00184801
0.00176705
0.00137532
0.00111597
0.00147348
0.00110854
0.00147389
0.00151543
0.00151579
0.000881741
0.000686484
0.000746022
0.00066403
0.000668069
0.00105677
0.000911171
0.00109433
0.000687001
0.00087748
0.000745138
0.000665789
0.000666825
0.00105601
0.000896394
0.0010945
0.000524307
0.000416005
0.000523951
0.000417594
0.000631578
0.000581518
0.000636013
0.000581255
0.00100157
0.0010253
0.000980598
0.0012196
0.00121591
0.000978239
0.0010455
0.00104226
0.0013027
0.00153925
0.00145124
0.00129764
0.00153404
0.00145024
0.0017882
0.00167384
0.0016648
0.0015523
0.00177943
0.00166385
0.0016706
0.00155188
0.00192112
0.00182922
0.00187954
0.00179104
0.00192042
0.00182862
0.00187377
0.00179031
0.0013933
0.00131436
0.00145627
0.00125241
0.00117575
0.0013376
0.00145591
0.001252
0.00115644
0.00133772
0.00130588
0.00130546
0.000771468
0.00115692
0.000662881
0.000674604
0.00094817
0.00123293
0.000770323
0.000664203
0.00114995
0.000674121
0.000947799
0.00123171
0.000559796
0.000619768
0.000559714
0.000624573
0.00118433
0.000888852
0.000938885
0.00102501
0.00102117
0.000934604
0.000975425
0.000970746
0.0012001
0.00141146
0.00139978
0.00149062
0.00143724
0.00121948
0.00108375
0.00117168
0.00119094
0.00140373
0.00139853
0.00148477
0.0014362
0.00121827
0.00106958
0.00116736
0.00177147
0.00163822
0.00166994
0.00155223
0.00176732
0.00166948
0.00163483
0.00155172
0.00124599
0.000584355
0.000706645
0.000705688
0.000587058
0.000423688
0.000424315
0.0014346
0.0013933
0.00153345
0.00148101
0.0013911
0.00134304
0.00151007
0.00141556
0.000867431
0.00126624
0.00120311
0.001432
0.0013927
0.00153548
0.00148102
0.0013849
0.00134317
0.00150942
0.00141568
0.000866545
0.00126431
0.00120282
0.00102972
0.00141879
0.0011791
0.00141656
0.00102409
0.00141475
0.00117815
0.00141603
0.0014423
0.000663077
0.000747586
0.000977862
0.00109778
0.00102622
0.000973863
0.00109756
0.00102797
0.00073886
0.000801935
0.000788822
0.00129923
0.0011416
0.00153221
0.00132625
0.00151791
0.00118063
0.00129233
0.0011416
0.0015268
0.00151737
0.00132524
0.0011799
0.00174686
0.00167319
0.00174374
0.00167267
0.000532339
0.000578227
0.000386109
0.000577615
0.000387929
0.000374478
0.000375038
0.00156494
0.00158099
0.00150125
0.00153024
0.00137701
0.00129366
0.000396935
0.000782198
0.000797295
0.00108704
0.00103463
0.000629178
0.000496114
0.000703305
0.0015636
0.00158776
0.00152981
0.00150146
0.00137511
0.0012937
0.00078331
0.000389684
0.000797364
0.00108888
0.00103481
0.000620633
0.00048756
0.00069426
0.00164956
0.000319787
0.000670261
0.000665056
0.000329643
0.000447708
0.000444033
0.000845846
0.00105772
0.000986719
0.00106292
0.000970919
0.00102249
0.000930816
0.000996153
0.000821615
0.00105796
0.000984579
0.00106222
0.000973929
0.00101516
0.000913327
0.00099578
0.000689284
0.000767853
0.000920828
0.000681696
0.000750108
0.000914579
0.00122467
0.00105493
0.00130274
0.00111754
0.0012243
0.00105958
0.00130195
0.00111728
0.000305336
0.00042856
0.000607823
0.000474288
0.000303536
0.000428352
0.000609282
0.00047602
0.000301511
0.000302407
0.000300953
0.00144147
0.00136709
0.00121823
0.00112783
0.000469941
0.000418785
0.000895466
0.000836689
0.000572134
0.000523366
0.00144511
0.00136736
0.00121798
0.00112795
0.000475324
0.000893458
0.000418989
0.000836634
0.000572754
0.000522558
0.00164498
0.00036908
0.000488263
0.000480817
0.000368702
0.000394514
0.000391609
0.00102136
0.000956823
0.00111754
0.00103254
0.000852398
0.000940717
0.00102348
0.000945471
0.00111748
0.0010323
0.000835386
0.000940078
0.000595835
0.000640908
0.000789156
0.000694397
0.00085312
0.000736434
0.000563677
0.000916466
0.000585914
0.000634045
0.000786491
0.000678112
0.000846006
0.00073195
0.000551252
0.000902066
0.000257806
0.000260214
0.000259658
0.000337302
0.000579434
0.00037686
0.000590932
0.000384342
0.000273524
0.000333808
0.00058299
0.000372629
0.000584017
0.00038792
0.000271469
0.000604406
0.000382892
0.000378502
0.000628141
0.000481739
0.000481866
0.000605165
0.000382621
0.000380317
0.000628767
0.000481929
0.000482526
0.00151346
0.000315951
0.000434211
0.00084177
0.00046244
0.000428402
0.000844552
0.000461728
0.000319291
0.000362273
0.000362428
0.000892072
0.00101674
0.000744991
0.00085167
0.000874484
0.00101718
0.000732301
0.000850962
0.000573849
0.00048481
0.000665685
0.000666196
0.000793835
0.00058609
0.000568898
0.000477072
0.000660101
0.000793383
0.000665438
0.000585395
0.000105679
0.000198837
0.000237962
0.000198573
0.000238297
0.000306735
0.000576411
0.000306921
0.000594055
0.000283506
0.000371251
0.000463407
0.000231571
0.000302278
0.000581862
0.000301151
0.000584816
0.000284596
0.000363469
0.000457771
0.00022968
0.000364548
0.000441166
0.000365336
0.000441724
0.00136059
0.000290633
0.000292731
0.000414152
0.000869553
0.000464668
0.000920147
0.000448233
0.000410532
0.000872873
0.000452954
0.000900252
0.000446794
0.00033856
0.000338709
0.000472873
0.0005759
0.000446642
0.000614295
0.000726991
0.000562533
0.000464877
0.000572728
0.00043571
0.000726866
0.000614042
0.000561872
9.59874e-05
0.00045746
0.000532263
0.000457094
0.000532386
0.000244081
0.000243298
0.000283333
0.000555195
0.000273482
0.000559858
0.000265159
0.000360956
0.00031215
0.000412034
0.000275389
0.000342509
0.000410801
0.000279682
0.000561621
0.000271455
0.000558384
0.000266867
0.000363287
0.000302763
0.000404657
0.000277121
0.00033399
0.00040779
0.00164132
0.000250921
0.000246559
0.000255091
0.000253164
0.000399929
0.000841163
0.000458558
0.000894925
0.000430609
0.000425173
0.000552265
0.000397103
0.000851247
0.000447965
0.000880794
0.00043321
0.000415538
0.000551422
0.000289859
0.000292279
0.000428528
0.000590745
0.000418037
0.000590732
9.76887e-05
0.000603577
0.000609108
0.000604396
0.000608881
0.00038426
0.000426405
0.000385367
0.000428335
0.000280728
0.00027586
0.000566425
0.000269286
0.000567202
0.000259886
0.000365874
0.00027473
0.000392797
0.00026522
0.000344496
0.000294498
0.000368565
0.000268246
0.000570642
0.00026589
0.000562916
0.000260667
0.000369543
0.000273854
0.00039257
0.000268182
0.00034493
0.00028287
0.000363914
0.000267369
0.00186285
0.000292658
0.000410735
0.000296464
0.000409638
0.000280207
0.000286831
0.000367903
0.000810477
0.000452193
0.000832979
0.000430517
0.000571232
0.000414322
0.000556956
0.000408142
0.00040426
0.000583233
0.000366033
0.00081661
0.000441928
0.000818207
0.000433087
0.000571739
0.000406287
0.000556764
0.000404604
0.000396329
0.000583567
0.000115701
0.000589634
0.000410165
0.000588955
0.000406343
0.000507055
0.000517871
0.000508672
0.000518761
0.000345738
0.000355597
0.000344383
0.000354349
0.000576661
0.00027698
0.000582936
0.000265507
0.000583204
0.000279478
0.000590031
0.000267232
0.000403458
0.000278361
0.000413335
0.000265216
0.000405231
0.000274542
0.000410135
0.000266229
0.00190052
0.000508443
0.000522958
0.000504518
0.000520277
0.000323045
0.000486531
0.000325875
0.000481889
0.000353935
0.000356676
0.000812817
0.000444604
0.000852085
0.000406823
0.000601937
0.000433175
0.000600888
0.000427121
0.000618668
0.000397258
0.00059311
0.000395071
0.000824532
0.000435157
0.000838564
0.000411922
0.000602038
0.000428155
0.000600543
0.000427327
0.000621211
0.000390912
0.000594617
0.000391559
0.000279949
0.000239933
0.000491938
0.000352411
0.000491735
0.000350292
0.000412231
0.000448911
0.000414336
0.000450489
0.000629802
0.00030866
0.000599317
0.00029911
0.000631677
0.000308481
0.000618588
0.000296787
0.000642307
0.000314589
0.000609109
0.00030588
0.000642105
0.000309389
0.000621409
0.000301131
0.000419542
0.000285765
0.000428549
0.000278438
0.000423287
0.000289713
0.000434097
0.000281041
0.00138533
0.000566273
0.00053675
0.000563809
0.000538867
0.000579709
0.000572748
0.000571749
0.000566371
0.000379803
0.000530702
0.000380378
0.000523824
0.000811164
0.000420652
0.000825013
0.000406975
0.000826173
0.000421063
0.000826637
0.000413162
0.000538129
0.000400331
0.000570654
0.000352081
0.000538092
0.000396603
0.000569381
0.000354464
0.000167765
0.000412462
0.00030214
0.00041151
0.00030316
0.000329896
0.000446239
0.000355374
0.000446779
0.000351994
0.000606443
0.000330274
0.000600331
0.000321951
0.000614528
0.000369553
0.000603541
0.000347431
0.000616526
0.000332616
0.000603434
0.000328942
0.000622191
0.000366042
0.000597347
0.000352806
0.000451906
0.000311337
0.00045235
0.000299136
0.00044119
0.000303133
0.000443254
0.00029257
0.000461775
0.000319226
0.00046047
0.000307439
0.00044892
0.00030466
0.0004466
0.000298016
0.00121589
0.000730478
0.000585369
0.000654079
0.000579854
0.000648295
0.000627063
0.000605852
0.000614942
0.00059569
0.000796934
0.000426097
0.000823189
0.000428609
0.00080089
0.000582604
0.000772728
0.000479008
0.000803735
0.000425008
0.000821448
0.000431367
0.000805281
0.000568862
0.000765594
0.000479346
0.000547916
0.000370329
0.000569111
0.000351787
0.000548417
0.000371603
0.000569253
0.00035478
0.000341172
0.000380437
0.000281601
0.00038151
0.00028347
0.000416065
0.000337453
0.000412957
0.000339178
0.000379404
0.000577777
0.000372664
0.000595256
0.00035366
0.000538188
0.000325939
0.000635922
0.000299589
0.00058115
0.000367948
0.000587542
0.000356347
0.000541737
0.00031771
0.000626124
0.000300429
0.000410032
0.000307217
0.000427781
0.000302331
0.000425144
0.000362367
0.000456408
0.000326057
0.000418199
0.00031072
0.000431552
0.000311584
0.000430611
0.000355062
0.000451421
0.000334162
0.00104174
0.000900898
0.0008067
0.000871199
0.000800913
0.000865796
0.000598801
0.000632562
0.000590306
0.000623848
0.000776206
0.000654249
0.000770148
0.000650679
0.000790703
0.000612257
0.000805252
0.000611615
0.000774237
0.000632813
0.000761768
0.000637976
0.000790727
0.000592693
0.000797135
0.000601267
0.000626156
0.000385189
0.00059358
0.000413005
0.000673154
0.00060246
0.000683077
0.000515295
0.000625596
0.000384121
0.000592893
0.000413318
0.00067258
0.000590384
0.000682518
0.000510376
0.000284162
0.000416469
0.000346873
0.000253651
0.000347246
0.000254121
0.000326261
0.000318398
0.000518549
0.000316586
0.000558168
0.000517953
0.000302745
0.000641102
0.000281708
0.000535866
0.000320229
0.00030651
0.000509808
0.000308487
0.000544087
0.000508767
0.000292422
0.000620365
0.000275056
0.000519103
0.000510073
0.000435233
0.00036825
0.000456941
0.000350392
0.000393945
0.000304328
0.000435449
0.000359733
0.00045148
0.000350743
0.000393257
0.000303028
0.000393003
0.000334337
0.000401988
0.000314302
0.000396186
0.000324287
0.000398801
0.000318908
0.000911951
0.00102222
0.00102313
0.00109436
0.00101893
0.00109127
0.000855318
0.000891493
0.000848394
0.000883517
0.000807207
0.000599383
0.000808759
0.00057115
0.000820675
0.000670203
0.000980156
0.000587777
0.000806143
0.000581789
0.00079914
0.000564349
0.000822184
0.000651789
0.000965542
0.000581574
0.000717232
0.000685264
0.000704689
0.000700351
0.000714018
0.000633688
0.000698111
0.000653416
0.000717351
0.000663792
0.000704269
0.00067686
0.000714822
0.000610282
0.000699204
0.000631043
0.000269961
0.000278484
0.000244437
0.000278354
0.00024754
0.000625307
0.000386343
0.000321309
0.000381414
0.000318665
0.000292407
0.000314776
0.00040486
0.000416905
0.000305375
0.000401051
0.000283691
0.000467686
0.000279944
0.000366434
0.000279004
0.000308274
0.000398191
0.000410578
0.000294531
0.000392134
0.00027075
0.000457639
0.000269239
0.00035731
0.000930232
0.000379326
0.000336397
0.00039747
0.000319694
0.000350418
0.000292861
0.000379244
0.000326588
0.000394253
0.000318404
0.000349864
0.000291312
0.000786703
0.00112636
0.00122012
0.00105075
0.00118778
0.00104485
0.00118301
0.000881654
0.000794904
0.000862061
0.000901309
0.000912451
0.000794661
0.000897291
0.0010188
0.000894372
0.00094298
0.000777854
0.000875451
0.000858847
0.000894681
0.000908264
0.000790844
0.000882025
0.00101235
0.000885093
0.00093835
0.000662019
0.000615408
0.000671515
0.000616051
0.000678747
0.000661228
0.000661769
0.000598271
0.00067167
0.000604485
0.000678112
0.000648307
0.000767101
0.000621079
0.000760629
0.000647977
0.000770814
0.000597557
0.00076468
0.000620678
0.000396524
0.000226153
0.000307551
0.00022848
0.000305485
0.000366079
0.000359055
0.000361812
0.000355891
0.00110341
0.000504961
0.000291794
0.000451406
0.000284791
0.000477203
0.000266922
0.000572962
0.000256969
0.000505249
0.000287113
0.000447097
0.000282959
0.000480647
0.000261802
0.000559317
0.00025653
0.000290684
0.000378453
0.000255256
0.000371458
0.000269524
0.000340424
0.000277722
0.000372928
0.000241126
0.000364853
0.000259371
0.000334394
0.000788697
0.00069988
0.00116423
0.0013548
0.0013505
0.00140511
0.00134557
0.00140133
0.00111199
0.00119615
0.00110547
0.00118959
0.00079373
0.000899595
0.000891908
0.00078786
0.00095032
0.000942269
0.00102213
0.00102659
0.000958816
0.000977281
0.000784472
0.000905988
0.000786208
0.000890993
0.000957104
0.000941676
0.00101205
0.00102619
0.000956682
0.000976374
0.000727193
0.00061367
0.000735724
0.000624185
0.00074103
0.000680346
0.000727363
0.000596309
0.00073744
0.000611614
0.000740286
0.000671896
0.000371165
0.000809205
0.00030589
0.000356302
0.000308242
0.000353222
0.000269925
0.000217245
0.000373772
0.00028775
0.000434875
0.000380198
0.000311013
0.000509084
0.000307303
0.000440326
0.0002686
0.000209879
0.000364236
0.000289894
0.000424971
0.000372398
0.000313012
0.000493704
0.000311643
0.000432816
0.0014027
0.000331224
0.000284615
0.000368253
0.000261789
0.00029448
0.000235054
0.000330394
0.000280135
0.000365037
0.000260156
0.000294815
0.000235044
0.00062036
0.000620167
0.00116357
0.00136685
0.00152665
0.00159111
0.00152429
0.00158965
0.00136183
0.00139396
0.00135604
0.00138857
0.00118781
0.00118139
0.00115653
0.00122569
0.00120565
0.00128033
0.00123881
0.0012643
0.00118678
0.00117444
0.00115514
0.00121943
0.00120496
0.00126698
0.00123556
0.00125833
0.000829464
0.000855366
0.00104997
0.00110384
0.00100761
0.00108053
0.000831041
0.000854592
0.00104273
0.00110328
0.00100839
0.00107996
0.00041388
0.000480751
0.000516108
0.000479314
0.000516288
0.00140657
0.000422215
0.000450539
0.000416766
0.000447456
0.000213313
0.000266051
0.000276517
0.000291124
0.000279345
0.000289166
0.000278965
0.000345025
0.000308979
0.000296446
0.000219486
0.000269479
0.000276011
0.000291551
0.000285032
0.000288976
0.000291836
0.000341928
0.00031625
0.000296819
0.00180127
0.000277612
0.000231263
0.000279634
0.000234505
0.000319343
0.000577421
0.00113736
0.00134663
0.00150316
0.00147376
0.00155693
0.00147076
0.00155501
0.00144297
0.0013873
0.00136265
0.00144484
0.00134893
0.00129162
0.0014297
0.00133434
0.00143891
0.00133503
0.00137564
0.00143687
0.00136154
0.00143681
0.0013476
0.00129053
0.00141891
0.00133183
0.0014312
0.00133379
0.00126875
0.00124537
0.00124061
0.00130628
0.00127649
0.00134701
0.00126817
0.0012386
0.0012398
0.00129781
0.00127577
0.00133643
0.0004244
0.000577855
0.000376992
0.000320233
0.000375798
0.000318942
0.00169393
0.000467597
0.000460434
0.000396368
0.000442316
0.000434066
0.000466005
0.00046593
0.000395436
0.000440646
0.000432246
0.000366957
0.000325536
0.000437472
0.000347041
0.000401464
0.000334275
0.000371112
0.000326966
0.000443391
0.000348015
0.00040522
0.000335246
0.00176155
0.000547675
0.000556504
0.00110017
0.00131056
0.00144837
0.00153874
0.00156689
0.00153791
0.00156632
0.00142118
0.00143451
0.00141783
0.00143323
0.00142334
0.00149301
0.00144678
0.0013672
0.00149253
0.00141244
0.00149506
0.00136845
0.00148797
0.00138573
0.00141476
0.00148985
0.00136635
0.00144626
0.00148551
0.00141191
0.00148753
0.0013675
0.00148145
0.00138527
0.00137067
0.0014045
0.00136987
0.00139281
0.000723548
0.000385411
0.000684239
0.000388151
0.000684221
0.000976873
0.000277801
0.000324547
0.000275683
0.000321654
0.00176105
0.000381015
0.000439943
0.000359215
0.000392987
0.000323474
0.000423417
0.000388883
0.000346765
0.000381646
0.000443437
0.00036002
0.000393839
0.000324898
0.000416349
0.000390094
0.000345767
0.000434759
0.000357171
0.000439345
0.000358282
0.00161861
0.0012591
0.000547794
0.00108749
0.00126295
0.00140218
0.00146718
0.00153128
0.00155326
0.00153078
0.00155205
0.00136069
0.00150627
0.00139061
0.00144752
0.00144292
0.00136035
0.00150123
0.00138987
0.00144664
0.00144245
0.00153956
0.00149347
0.00152601
0.00142762
0.00153901
0.00147147
0.00153222
0.00149299
0.00151995
0.00142685
0.00153264
0.00147103
0.000969661
0.00168611
0.000728859
0.000938479
0.000728481
0.00093841
0.00139436
0.000322733
0.000163633
0.000241417
0.00020521
0.00017525
0.000280444
0.000444392
0.000170705
0.00028212
0.000328759
0.00016411
0.000242191
0.000206386
0.000442256
0.00178285
0.000330877
0.000409914
0.000336378
0.000407176
0.000221582
0.000248246
0.000331346
0.00041346
0.000337512
0.000409998
0.000220995
0.000248987
0.00180154
0.000598722
0.000544413
0.00110182
0.00120991
0.00136052
0.00138986
0.00150759
0.0014832
0.00150553
0.0014819
0.00147283
0.00145839
0.00147212
0.00145648
0.00140263
0.00153331
0.00145339
0.00151134
0.0015101
0.00138965
0.0015378
0.00141305
0.00140216
0.00153182
0.00145296
0.00151168
0.00150602
0.00138779
0.00154062
0.00141254
0.0015757
0.00151902
0.00157238
0.00151848
0.00232218
0.00167957
0.00215231
0.00167977
0.00215291
0.0023363
0.00108661
0.00133287
0.00108692
0.00133288
0.0016482
0.000321878
0.000151264
0.000142833
0.000228345
0.000225205
0.000210872
0.000766267
0.000859145
0.000504211
0.000667984
0.000142844
0.000226224
0.000321979
0.000150411
0.000227866
0.000209924
0.00075773
0.000857311
0.000495169
0.000665898
0.00196853
0.000289651
0.000305204
0.000290845
0.000307647
0.00183908
0.000519356
0.000520941
0.00114319
0.00116044
0.00131157
0.00135573
0.0013038
0.00148979
0.00142869
0.00148655
0.00142623
0.00156531
0.00142916
0.00142468
0.00158124
0.00145726
0.00153102
0.00150144
0.00156643
0.00142865
0.00142473
0.00158097
0.00145696
0.00153103
0.00149725
0.00145947
0.00157216
0.00153061
0.00154924
0.00157215
0.00146497
0.00145909
0.00157353
0.00153062
0.00155184
0.00157828
0.00146485
0.00216277
0.00295488
0.00134097
0.0016454
0.00134108
0.00164561
0.0024205
0.000909951
0.000918375
0.00104636
0.00100115
0.000987908
0.00104131
0.00114453
0.000909008
0.000918316
0.00104665
0.00100198
0.00098821
0.00104198
0.00114467
0.00189557
0.000527009
0.000364549
0.000756531
0.000805834
0.000525624
0.000356027
0.000754034
0.000805616
0.00214255
0.00190638
0.000744427
0.000516792
0.00121851
0.00112687
0.00125494
0.00132562
0.00126211
0.00117336
0.00109754
0.00117206
0.0010968
0.0013816
0.00123612
0.0013777
0.00123399
0.00159801
0.00148743
0.00148169
0.0016325
0.00152148
0.00160763
0.00153954
0.00141287
0.00161803
0.00149098
0.001601
0.00148711
0.00148123
0.00163143
0.00152123
0.00160409
0.00152833
0.00141079
0.00161043
0.00148999
0.00152028
0.00158402
0.00152027
0.00158933
0.00139905
0.00406636
0.00311377
0.00136376
0.0016441
0.00136396
0.00164436
0.00242622
0.000932794
0.00090815
0.0010196
0.000976839
0.000943275
0.00102339
0.00116495
0.00117013
0.00107052
0.00105358
0.000932968
0.000908239
0.00101982
0.000977474
0.000943453
0.00102388
0.00116604
0.00117002
0.00107133
0.00105351
0.00210689
0.00233938
0.0020973
0.0011358
0.000532607
0.00128733
0.00112337
0.00119607
0.00128905
0.00125517
0.00100781
0.00108603
0.00102523
0.00108417
0.0010239
0.00156886
0.00144356
0.00121634
0.00146148
0.00133864
0.00130819
0.00115326
0.00156039
0.00144259
0.00121611
0.00145695
0.00133805
0.00130714
0.00115162
0.00154226
0.00164888
0.00165491
0.0015528
0.00154169
0.00164459
0.00164755
0.00155212
0.00338891
0.00167035
0.00167001
0.00159374
0.00172363
0.00159378
0.00172438
0.00424615
0.00334735
0.00141964
0.00118048
0.00116675
0.00141968
0.00118127
0.00116674
0.00249133
0.000947745
0.000908919
0.000964891
0.00098443
0.000928741
0.00101082
0.00105482
0.00101348
0.000948128
0.000908981
0.000964849
0.000984815
0.000928706
0.00101123
0.00105551
0.00101342
0.00239539
0.00256193
0.00231293
0.00203426
0.000575047
0.00122125
0.00114487
0.00114633
0.00124007
0.00125399
0.0010647
0.00073335
0.000945516
0.00084564
0.00094178
0.000843208
0.00157017
0.00147967
0.00120363
0.00143729
0.00133517
0.00130894
0.00106982
0.000992734
0.00119663
0.00108963
0.00156228
0.0014788
0.00120322
0.00143467
0.00133464
0.00130743
0.00106264
0.000990957
0.00119528
0.00108912
0.00063232
0.00307472
0.00151271
0.00151286
0.00146793
0.00156476
0.00146817
0.00156499
0.00426487
0.00359604
0.00132275
0.00127236
0.00128574
0.00138161
0.00137795
0.00124756
0.00124222
0.00121822
0.00132305
0.00127237
0.00128552
0.00138191
0.00137775
0.00124747
0.00124236
0.00121816
0.00267374
0.000956262
0.00101434
0.00111659
0.00107194
0.000956174
0.00101479
0.00111684
0.00107185
0.0026671
0.00276217
0.00257058
0.00241083
0.000541185
0.00105361
0.00116855
0.00111388
0.00118109
0.00123622
0.00114121
0.000891944
0.000522253
0.000743046
0.000740678
0.000524753
0.000519177
0.000523907
0.000874746
0.00106666
0.000976516
0.000871858
0.00106065
0.00097549
0.00155722
0.00148524
0.00120611
0.00140881
0.00132639
0.00129263
0.00117099
0.00109402
0.00155081
0.00148456
0.00120577
0.00140829
0.0013261
0.00129213
0.00117081
0.00109367
0.00116115
0.00152207
0.00165567
0.0015226
0.00165649
0.00247184
0.00136122
0.00138913
0.0013233
0.00139133
0.0013889
0.00134595
0.00136121
0.00138945
0.00132326
0.0013925
0.00138877
0.0013469
0.00135371
0.00136707
0.0013383
0.00140329
0.00135563
0.00136728
0.00133845
0.00140349
0.00429236
0.00385319
0.00127461
0.00132654
0.00119241
0.00122452
0.00126634
0.00114869
0.00127474
0.00132693
0.00119246
0.00122425
0.00126625
0.00114852
0.00287512
0.00289297
0.00304573
0.00291817
0.00289229
0.0004312
0.000836842
0.00118458
0.00110543
0.00112447
0.0011951
0.00118293
0.00104618
0.000780794
0.000651932
0.000417647
0.000648576
0.00040007
0.000408665
0.000398329
0.000902763
0.00102949
0.000826412
0.000779046
0.000725165
0.000967362
0.00104676
0.000973365
0.00102649
0.000898194
0.00096688
0.00104167
0.000972423
0.000825889
0.000774283
0.000724272
0.00123587
0.0012891
0.00115603
0.00111348
0.00123575
0.00128984
0.00115609
0.00111315
0.000383658
0.00071475
0.00149844
0.00164967
0.00149868
0.0016502
0.00173906
0.00125063
0.00132189
0.00123807
0.00128851
0.00125057
0.00132237
0.00123822
0.00129021
0.00132333
0.00128571
0.00131868
0.00127303
0.00129017
0.00124016
0.00130895
0.00133201
0.00138823
0.00132467
0.00128562
0.001319
0.00127298
0.00129144
0.00124043
0.00130925
0.0013328
0.00138841
0.00417386
0.00417294
0.0013119
0.00123177
0.00131226
0.00123164
0.00308023
0.00320068
0.00340082
0.00322902
0.003328
0.000446383
0.000984068
0.00112839
0.00109021
0.00114114
0.0011789
0.00113426
0.00100314
0.00103994
0.00117373
0.00104023
0.00117472
0.000706614
0.000782344
0.000604231
0.000548972
0.00052821
0.000688914
0.000344656
0.000550928
0.000475487
0.000706389
0.000778919
0.000603713
0.000538165
0.00052533
0.000684588
0.000583598
0.000538881
0.000338514
0.000473534
0.000577062
0.00101697
0.000875384
0.00113199
0.000814824
0.000962221
0.00110446
0.00101364
0.00113304
0.000871389
0.00110424
0.000961794
0.000814545
0.000454375
0.000797167
0.000500706
0.00159734
0.00181587
0.00159756
0.0018165
0.00151363
0.00119458
0.00127806
0.00119897
0.00127493
0.0011946
0.00127901
0.00119884
0.00127666
0.00126842
0.00128856
0.00118159
0.00120488
0.00126507
0.00119672
0.00128907
0.00131265
0.00150163
0.00126924
0.00128924
0.00118156
0.00120478
0.00126866
0.00119704
0.00128933
0.00131627
0.00150192
0.00410804
0.00429795
0.00336716
0.00346419
0.00361007
0.00351797
0.00372672
0.000377291
0.00104479
0.0011014
0.00109479
0.00114214
0.00115682
0.00111002
0.000952381
0.00100063
0.00116105
0.00100039
0.00116168
0.000700555
0.000766811
0.000584815
0.00067625
0.00050683
0.000431811
0.000499283
0.000429853
0.000370916
0.000486871
0.00059007
0.000444836
0.000700116
0.00076234
0.000584396
0.000671063
0.000702381
0.000499482
0.000430692
0.000496666
0.000429223
0.000374451
0.000485526
0.000587991
0.000451889
0.000700213
0.000864607
0.000811629
0.000860095
0.000811244
0.000601882
0.000824824
0.00178935
0.00178991
0.000760642
0.000399785
0.00158714
0.00158724
0.00127008
0.00117817
0.00126721
0.00117801
0.00126857
0.0012482
0.00126829
0.00117092
0.00114912
0.0013087
0.00124127
0.00136474
0.00137812
0.00149273
0.00138343
0.00140792
0.00125041
0.00126896
0.0011708
0.00114919
0.00131213
0.00124128
0.00136469
0.00138009
0.00149302
0.00138346
0.00140757
0.00389956
0.00458061
0.00378048
0.00359812
0.00373488
0.0038946
0.00406404
0.000320383
0.00106869
0.00108703
0.00109114
0.00112709
0.00113566
0.00109171
0.000883198
0.00108707
0.00130259
0.00108693
0.00130314
0.000702047
0.000756773
0.000577704
0.000662236
0.000649064
0.000498051
0.000582541
0.000463309
0.000467127
0.000510656
0.000594103
0.000479053
0.000701533
0.00075235
0.000577439
0.000658606
0.000909245
0.000645889
0.000497157
0.000582324
0.000463077
0.000471409
0.000510064
0.000591962
0.000488242
0.000909026
0.00095175
0.000785911
0.00171684
0.00171731
0.00178239
0.00178328
0.000817337
0.000607447
0.000247741
0.00161106
0.00161165
0.00104029
0.00127719
0.00118713
0.00135836
0.00127124
0.00147038
0.00138687
0.0014176
0.0013867
0.00141731
0.00147512
0.00137852
0.00135586
0.00128074
0.00118707
0.00135803
0.00127114
0.00147526
0.00138699
0.00141803
0.0013869
0.00141696
0.00147534
0.00138316
0.00135595
0.00416195
0.00545579
0.00428852
0.00380164
0.00397859
0.00440609
0.00434314
0.000267426
0.00111255
0.0010638
0.00106892
0.00109962
0.00110577
0.00106839
0.000812262
0.00140839
0.00140881
0.00117776
0.00117756
0.000697532
0.000745359
0.000601108
0.000545861
0.000545923
0.000502059
0.000610988
0.000641822
0.000771004
0.000691521
0.000697037
0.000741615
0.000997376
0.000789535
0.000729014
0.000597373
0.000545329
0.000545431
0.00050175
0.000612498
0.000641495
0.000770494
0.000695026
0.00099731
0.000789246
0.000725038
0.0012757
0.000752996
0.00160588
0.00160615
0.00164786
0.00164833
0.0008002
0.00158021
0.00158062
0.000692649
0.00041812
0.000129046
0.00145056
0.00145812
0.00145551
0.00145835
0.00115675
0.00132987
0.00123326
0.00137411
0.0012968
0.00138456
0.00134276
0.00132062
0.00127456
0.00136243
0.00131863
0.00133043
0.00123306
0.00137327
0.00129684
0.00138443
0.0013461
0.00127442
0.00132063
0.00136701
0.00131878
0.00456561
0.00653551
0.00493329
0.0040063
0.00454712
0.00485387
0.00421838
0.000227382
0.00107729
0.00102647
0.00103045
0.00106061
0.00107093
0.00104283
0.000752671
0.00160876
0.00160927
0.00176716
0.00176763
0.0013549
0.00135493
0.000592246
0.000585094
0.000685301
0.000686019
0.00116825
0.000865739
0.000898001
0.000894637
0.000817843
0.0011663
0.00102618
0.00101784
0.000591719
0.000584696
0.000680624
0.000685806
0.00117242
0.000865589
0.000895969
0.000894489
0.000814107
0.0011663
0.00102931
0.00101784
0.000692932
0.00138538
0.00138532
0.00147888
0.00147911
0.00142513
0.00158312
0.00142515
0.00158354
0.000838979
0.00150307
0.00150333
0.00153131
0.00153171
0.000701749
0.00143698
0.00143917
0.00143594
0.00144026
0.00144165
0.00143944
0.00144027
0.00144024
0.000504254
0.000216944
6.73213e-05
0.00180917
0.00134375
0.00132403
0.00126651
0.00124448
0.00134831
0.00130608
0.00134585
0.00132731
0.00124447
0.00126625
0.00135284
0.00130609
0.00450444
0.00701255
0.00535413
0.0042209
0.00534772
0.00505023
0.0036596
0.000193479
0.00103005
0.000979758
0.000984962
0.00101793
0.00103474
0.00101835
0.000736147
0.00184104
0.00184155
0.00185901
0.00185926
0.00150856
0.00150872
0.00120583
0.00120311
0.00121128
0.00120321
0.000670926
0.000653793
0.000778742
0.000767646
0.000837999
0.000966289
0.000909765
0.000831131
0.0010713
0.00104789
0.000666436
0.000653437
0.000774435
0.000767485
0.00083552
0.000968625
0.000830926
0.000909704
0.00107605
0.001048
0.000626796
0.00090378
0.00129313
0.00133367
0.00133359
0.0012939
0.00140508
0.00140534
0.00155003
0.00172986
0.00155002
0.0017304
0.000751047
0.00137405
0.00137566
0.0013746
0.00137665
0.00137633
0.00137594
0.00137704
0.00137667
0.00140801
0.00140606
0.00139453
0.0013966
0.00141271
0.00140617
0.00139724
0.0013967
0.00053601
0.00134462
0.00130623
0.00134962
0.00130644
0.00035202
0.00011546
9.01133e-05
0.00191285
0.00132584
0.00124682
0.00132931
0.00124667
0.00451209
0.00718525
0.00533295
0.00474042
0.00588339
0.00478478
0.00283551
0.000167384
0.000978592
0.000933052
0.000940382
0.000976878
0.00100619
0.00100207
0.00189119
0.00189135
0.0018323
0.00183236
0.00192185
0.00218742
0.00192209
0.00218835
0.00165243
0.0016528
0.00170033
0.0017006
0.00134035
0.00134504
0.00131968
0.00131662
0.0013464
0.00134521
0.00132525
0.00131661
0.000928337
0.00101343
0.00095483
0.000876395
0.00117573
0.0011426
0.000929701
0.00101712
0.000876308
0.000954834
0.00118124
0.00114267
0.000954048
0.000730465
0.000831544
0.00117465
0.00121918
0.0012049
0.00124995
0.00123038
0.00114204
0.00122583
0.00123758
0.00145896
0.00125645
0.001277
0.00145894
0.00125639
0.00122983
0.00123764
0.00127456
0.00118072
0.00122207
0.00120503
0.00125112
0.00123062
0.00114236
0.00133001
0.00131399
0.00131746
0.00130805
0.00133247
0.00131422
0.00131882
0.00130817
0.00173382
0.00196779
0.00173381
0.00196833
0.000611825
0.00132605
0.00129699
0.00133377
0.00129339
0.00132853
0.00129709
0.00133696
0.00129336
0.0013269
0.00128503
0.00133316
0.00129236
0.00133141
0.00128501
0.00133655
0.00129246
0.000395754
0.00132042
0.00125726
0.00132468
0.00125728
0.000184759
1.46477e-05
0.000547053
0.00198205
0.00416185
0.00707398
0.00537876
0.00591082
0.006028
0.00401835
0.000582962
0.000144428
0.000929825
0.000892676
0.000903153
0.000946417
0.000983398
0.00174395
0.00174408
0.00170222
0.00172466
0.00170249
0.00172484
0.00142184
0.00144254
0.0014584
0.00147096
0.00142671
0.00144255
0.00146333
0.0014711
0.0015362
0.00154011
0.00151501
0.00151989
0.00153954
0.00154028
0.00151995
0.00151993
0.00122192
0.0011885
0.00122803
0.00118867
0.00111116
0.00105736
0.00111545
0.00105734
0.000898758
0.000973436
0.000713901
0.00114591
0.00122303
0.00121344
0.00108727
0.00118428
0.00123772
0.00119762
0.00116258
0.00158462
0.00133465
0.00133105
0.00134835
0.00133362
0.00158461
0.00133459
0.0013371
0.00134852
0.00133323
0.00116277
0.00122182
0.00115233
0.00121597
0.00108746
0.00118429
0.0012388
0.00119765
0.00129085
0.00125234
0.00128679
0.0012482
0.00129335
0.00125236
0.00128836
0.00124816
0.000463524
0.00131562
0.00125871
0.00131989
0.0012586
0.000280614
5.9471e-05
3.6659e-05
0.000503484
0.00173755
0.00447534
0.00693825
0.00583489
0.00672448
0.00552848
0.00187535
3.62007e-05
0.000128358
0.000886991
0.000859762
0.000876751
0.000930547
0.0015717
0.00157957
0.00158734
0.00159302
0.00157396
0.00157968
0.00158852
0.00159306
0.00153595
0.00142887
0.00155068
0.00156745
0.00157304
0.00146287
0.00152412
0.00158354
0.00153724
0.00150867
0.00153727
0.00143746
0.00155057
0.00156768
0.001573
0.00146324
0.00153239
0.00158377
0.00153732
0.0015105
0.00132273
0.00127382
0.00136776
0.00133042
0.00132819
0.00127373
0.00137238
0.00133055
0.00146416
0.00143999
0.00143704
0.00139966
0.00146779
0.00144002
0.00144199
0.0013997
0.00117667
0.00112448
0.00118199
0.00112454
0.000804425
0.000929849
0.000568876
0.00120803
0.00126194
0.00111882
0.0012134
0.00145579
0.00140522
0.00142991
0.00144763
0.00126273
0.00122929
0.00145582
0.00141026
0.00142999
0.00144699
0.00121359
0.00127109
0.00122966
0.0012637
0.00111881
0.0012076
0.000316226
0.000112437
1.93528e-06
0.000207351
0.000304837
0.00167741
0.00507968
0.00691087
0.00640132
0.00670136
0.00421547
0.000185899
2.53756e-06
0.000115236
0.000848885
0.000835345
0.000866123
0.00150841
0.00148088
0.00152012
0.00150164
0.00151093
0.00148084
0.00152137
0.00150157
0.00136879
0.00151439
0.00138539
0.00150922
0.00136284
0.00152907
0.00150623
0.00137293
0.00137606
0.00151548
0.0013888
0.00150903
0.0013629
0.00152948
0.00150608
0.00137322
0.00127504
0.00122062
0.00128035
0.0012205
0.000686833
0.00085291
0.000313894
0.00123456
0.00116122
0.0013162
0.00131369
0.00128459
0.00135144
0.00124418
0.00117957
0.00131645
0.00131918
0.00128493
0.00135236
0.00116121
0.00125252
0.00117974
0.00123673
0.000138435
3.65775e-07
1.00694e-05
5.42175e-05
0.000118291
0.00139101
0.00502697
0.00645425
0.00653424
0.00576413
0.000956331
1.52145e-05
1.25155e-07
0.000103511
0.000624738
0.000810108
0.00133692
0.00129509
0.0013404
0.00129508
0.000369692
0.000771174
9.77566e-05
0.00125527
0.00128193
0.00122363
0.00132083
0.00125525
0.00128634
0.00122371
0.00132202
3.15109e-07
7.66329e-07
5.97453e-06
1.70491e-05
0.000115771
0.000916176
0.00416395
0.00561162
0.00616354
0.00196608
0.000121732
1.11015e-06
6.21324e-09
9.00229e-05
0.000521084
7.8376e-05
0.000488315
2.30374e-07
6.89513e-08
9.19596e-07
2.38719e-06
7.34722e-06
5.75093e-05
0.000421766
0.00301783
0.00488855
0.00420981
0.000278318
1.26063e-05
5.78768e-08
2.76363e-09
8.03267e-05
3.15248e-08
6.4209e-05
1.44979e-08
7.70678e-08
2.61898e-07
8.54005e-07
2.8197e-06
9.15837e-06
0.000164701
0.00190163
0.00434106
0.00134332
2.78712e-05
7.8315e-07
4.17031e-09
3.49116e-09
5.99068e-10
1.65683e-08
3.23527e-08
9.20463e-08
2.58942e-07
5.69505e-07
1.09249e-06
5.25902e-05
0.000913149
0.00376654
0.000231541
2.59273e-06
7.93693e-08
2.78493e-09
4.25433e-09
6.99945e-10
7.97301e-09
1.7559e-08
2.81797e-08
5.5221e-08
6.05083e-08
1.22363e-07
1.38352e-05
0.000423492
0.00282249
2.9522e-05
2.34258e-07
5.8925e-09
3.99294e-09
3.9084e-09
8.26432e-10
5.04904e-09
1.03464e-08
1.11341e-08
1.50142e-08
1.38269e-08
3.88257e-08
3.9332e-06
0.000200596
0.00117023
4.931e-06
2.78456e-08
5.35507e-09
4.60601e-09
5.38183e-09
9.68414e-10
4.61424e-09
6.51683e-09
8.96588e-09
1.28984e-08
1.3197e-08
3.3243e-08
1.21122e-06
9.64005e-05
0.000517148
1.49697e-06
8.67204e-09
5.93414e-09
5.73315e-09
7.79216e-09
1.37799e-09
5.31942e-09
6.67477e-09
8.92514e-09
1.42845e-08
1.33559e-08
2.75284e-08
3.84713e-07
4.49063e-05
0.000237807
5.08144e-07
9.18685e-09
5.51766e-09
8.15107e-09
1.39652e-08
2.33946e-09
7.08119e-09
8.0091e-09
8.5656e-09
1.00754e-08
1.20525e-08
2.47352e-08
1.26925e-07
2.26932e-05
0.00010153
2.28003e-07
1.1758e-08
4.77454e-09
1.25129e-08
1.2868e-08
3.37065e-09
9.08266e-09
8.31353e-09
7.84227e-09
7.61213e-09
1.05802e-08
2.53993e-08
5.17367e-08
1.27014e-05
4.08863e-05
3.32231e-08
1.64097e-08
5.40368e-09
1.20696e-08
1.2323e-08
5.16833e-09
1.08253e-08
1.00998e-08
8.33473e-09
6.64457e-09
9.9807e-09
2.54911e-08
4.59674e-08
7.80206e-06
1.57739e-05
9.85394e-09
2.30307e-08
1.14687e-08
1.01177e-08
1.73637e-08
1.12665e-08
1.4632e-08
1.12848e-08
1.02398e-08
6.79088e-09
9.78335e-09
2.4468e-08
1.22231e-07
4.93951e-06
5.67688e-06
5.80762e-09
2.52192e-08
3.63621e-08
9.12856e-09
1.96182e-08
1.83822e-08
1.75549e-08
1.44354e-08
1.24517e-08
6.73755e-09
1.00613e-08
2.12357e-08
1.59217e-07
3.2444e-06
1.96327e-06
5.55315e-09
2.34494e-08
2.17392e-08
1.08064e-08
1.12823e-08
5.04929e-08
2.45101e-08
1.56779e-08
1.29825e-08
6.54522e-09
1.11338e-08
2.09347e-08
1.43099e-07
2.35864e-06
6.80248e-07
6.06181e-09
1.54752e-08
1.1924e-08
2.10018e-08
7.52118e-09
4.22791e-08
2.39156e-08
1.78762e-08
1.21231e-08
6.46247e-09
1.55354e-08
2.10324e-08
1.03435e-07
1.95166e-06
2.68812e-07
6.17065e-09
1.89482e-08
1.4346e-08
1.18431e-08
7.18225e-09
2.6007e-08
2.96238e-08
2.10714e-08
1.11171e-08
7.41586e-09
3.1171e-08
1.92685e-08
6.85428e-08
1.75184e-06
1.57248e-07
6.22796e-09
2.36639e-08
1.36666e-08
7.45348e-09
8.09712e-09
2.08941e-08
3.58033e-08
2.45653e-08
9.58108e-09
1.00778e-08
1.29565e-07
1.64927e-08
4.61098e-08
6.62695e-07
6.04632e-08
7.23817e-09
2.06576e-08
1.26505e-08
8.33705e-09
9.70752e-09
1.70035e-08
4.27203e-08
2.34842e-08
8.82661e-09
1.47636e-08
1.5204e-07
1.44486e-08
3.29068e-08
2.84597e-07
1.79593e-08
9.3021e-09
1.67905e-08
1.59923e-08
1.15335e-08
9.44537e-09
1.48777e-08
3.66657e-08
1.81446e-08
1.02919e-08
1.89006e-08
8.56366e-08
1.37596e-08
2.58159e-08
1.65373e-07
7.28071e-09
1.1042e-08
1.52594e-08
2.50438e-08
1.51514e-08
8.27162e-09
1.51523e-08
2.65251e-08
1.60056e-08
1.74914e-08
1.6628e-08
8.27392e-08
1.39e-08
2.30134e-08
1.13409e-07
4.51318e-09
1.22502e-08
1.70456e-08
2.82146e-08
1.31989e-08
8.19843e-09
1.61692e-08
2.29553e-08
2.12783e-08
2.1467e-08
1.23739e-08
1.46299e-07
1.34831e-08
2.2288e-08
4.75368e-08
3.77579e-09
1.49806e-08
2.09116e-08
1.91789e-08
1.04609e-08
7.7891e-09
1.97807e-08
3.27558e-08
3.66453e-08
1.09081e-08
1.04544e-08
3.79669e-07
1.23873e-08
2.29799e-08
1.91363e-08
3.50119e-09
1.87774e-08
2.41965e-08
1.35425e-08
1.00084e-08
6.53126e-09
4.15144e-08
4.73028e-08
2.89439e-08
8.08564e-09
9.39234e-09
1.58457e-07
1.14836e-08
2.47422e-08
9.20003e-09
3.44371e-09
1.83999e-08
2.09981e-08
1.16381e-08
7.34658e-09
1.64052e-08
9.5706e-08
5.90267e-08
2.44631e-08
6.32289e-09
9.72585e-09
7.43274e-08
1.13718e-08
2.82976e-08
5.28373e-09
3.46808e-09
1.74712e-08
1.79698e-08
1.04547e-08
9.37367e-09
8.95592e-09
9.36609e-08
5.41294e-08
1.76266e-08
5.25796e-09
1.16437e-08
4.65717e-08
1.19273e-08
2.70967e-08
3.54641e-09
3.60516e-09
1.52868e-08
1.44594e-08
1.66774e-08
1.44194e-08
3.83943e-09
5.90765e-08
3.49034e-08
1.10823e-08
4.55606e-09
1.41514e-08
3.13892e-08
1.29546e-08
1.99907e-08
2.72274e-09
3.70267e-09
1.13835e-08
1.51051e-08
2.56006e-08
9.7525e-09
4.19012e-09
3.91468e-08
1.6685e-08
6.94378e-09
4.25061e-09
1.81508e-08
2.34453e-08
1.40877e-08
1.72639e-08
2.31936e-09
3.73668e-09
1.17571e-08
2.22774e-08
1.36722e-08
1.26865e-08
3.43173e-09
2.02529e-08
9.0606e-09
5.14973e-09
4.30802e-09
2.15215e-08
2.02583e-08
1.50786e-08
1.47386e-08
2.14964e-09
3.8152e-09
1.37935e-08
7.49707e-08
3.36421e-08
7.49308e-09
5.22933e-09
9.99008e-09
6.32936e-09
3.92838e-09
4.53084e-09
2.49737e-08
1.78112e-08
1.52357e-08
1.31666e-08
2.02084e-09
4.00097e-09
1.53241e-08
5.28979e-08
2.6472e-08
1.5123e-08
6.57071e-09
5.28571e-09
4.82824e-09
3.8158e-09
4.79646e-09
3.31174e-08
1.75458e-08
1.48991e-08
1.29407e-08
2.01693e-09
4.08699e-09
1.92614e-08
4.98702e-08
7.87641e-08
1.41993e-08
1.41873e-08
3.03646e-09
4.33852e-09
4.49256e-09
5.51122e-09
4.95654e-08
1.68916e-08
1.35215e-08
9.15484e-09
1.97743e-09
4.51179e-09
1.64514e-08
5.53539e-08
1.7244e-07
1.84308e-08
1.43652e-08
1.97631e-09
4.65269e-09
5.03919e-09
7.08878e-09
9.69425e-08
1.80569e-08
1.24602e-08
8.12103e-09
1.98715e-09
4.80066e-09
1.96014e-08
4.15037e-08
2.91163e-08
2.60755e-08
2.58284e-08
1.45462e-09
4.94795e-09
5.75773e-09
8.79841e-09
1.11926e-07
1.91981e-08
1.23713e-08
7.655e-09
1.97162e-09
5.46496e-09
1.81026e-08
3.53401e-08
3.76574e-08
4.04459e-08
8.82867e-08
1.14442e-09
5.48148e-09
6.3579e-09
7.53048e-09
7.26572e-08
1.96139e-08
1.333e-08
9.20877e-09
2.01788e-09
7.38045e-09
1.98916e-08
3.78137e-08
4.65256e-08
2.16206e-07
7.89333e-08
9.43325e-10
5.71516e-09
4.2986e-09
6.25402e-09
7.16842e-08
1.90028e-08
1.53684e-08
8.70764e-09
3.44458e-09
8.88422e-09
2.47936e-08
3.67604e-08
8.269e-08
1.46718e-07
7.91378e-09
8.04119e-10
4.73289e-09
3.24674e-09
6.1326e-09
5.90484e-08
1.60577e-08
1.69514e-08
3.97455e-08
4.74694e-09
1.07912e-08
2.91288e-08
4.46898e-08
9.8981e-08
1.46532e-08
1.21517e-07
6.94155e-10
4.00379e-09
3.09583e-09
7.13788e-09
3.76215e-08
1.55985e-08
2.32763e-08
6.24673e-08
6.67261e-09
1.48103e-08
3.21396e-08
5.70967e-08
4.45093e-08
9.48906e-08
9.87444e-10
5.84504e-10
3.84178e-09
2.98482e-09
1.07345e-08
2.89753e-08
2.34885e-08
3.1386e-08
7.5268e-08
8.70159e-09
1.88056e-08
3.66469e-08
7.93853e-08
7.33608e-08
3.18173e-09
5.26334e-08
4.99162e-10
3.59236e-09
3.20559e-09
1.34843e-08
4.42745e-08
3.24568e-08
4.25845e-08
6.33548e-08
1.02847e-08
2.19854e-08
3.17886e-08
5.3271e-08
1.08957e-08
5.02579e-08
4.28416e-10
2.82805e-09
4.13399e-09
3.04278e-08
3.90888e-08
3.52164e-08
5.4634e-08
2.97384e-08
1.26932e-08
1.86025e-08
3.87494e-08
4.86158e-08
4.82462e-08
3.69303e-10
3.55737e-09
1.32147e-08
2.7516e-08
2.95199e-08
3.23327e-08
6.41182e-08
1.59849e-08
1.27809e-08
2.23135e-08
4.47356e-08
4.73336e-08
3.05509e-10
3.10556e-08
1.01754e-08
1.1638e-08
2.68691e-08
3.0019e-08
4.36715e-08
1.30905e-08
1.38703e-08
3.95915e-08
4.72845e-08
2.81833e-10
7.54014e-09
3.98942e-09
8.75319e-09
2.70904e-08
2.33506e-08
2.0077e-08
1.41327e-08
1.33601e-08
4.78242e-08
3.07106e-10
4.2693e-09
4.36989e-09
7.82884e-09
2.78825e-08
2.30011e-08
1.63605e-08
9.89405e-09
4.90302e-08
3.91162e-10
4.33894e-09
6.6277e-09
8.79663e-09
2.81394e-08
2.66603e-08
4.10357e-08
5.20477e-08
5.73411e-10
6.01146e-09
1.32016e-08
8.67716e-09
2.91346e-08
4.12568e-08
6.15242e-08
9.03554e-10
1.1546e-08
3.138e-08
7.92192e-09
3.01667e-08
6.31541e-08
1.38194e-09
2.93191e-08
1.32081e-07
7.30032e-09
4.06842e-08
1.75079e-09
1.33787e-07
3.16713e-08
4.22732e-09
1.98129e-09
3.58595e-08
6.47544e-08
1.90713e-09
6.84787e-08
3.41329e-09
0.000376707
0.000436849
0.000355611
0.000334224
0.000414753
0.000357397
0.000431005
0.00033131
0.0003416
0.000315842
0.000335603
0.000358706
0.000418414
0.000400733
0.000368423
0.00035826
0.000400344
0.000433249
0.000340425
0.000310647
0.000333095
0.000317487
0.000302097
0.000252727
0.000379811
0.000386985
0.000364567
0.000359897
0.000345476
0.000409279
0.000346572
0.000352729
0.000363086
0.000370168
0.000439048
0.000360099
0.000402659
0.00031795
0.000342184
0.000313207
0.000290725
0.0003591
0.000318039
0.000288191
0.0003401
0.000258056
0.000375038
0.000242829
0.000242089
0.000381085
0.000389583
0.000365841
0.000416557
0.000328286
0.000346581
0.000345059
0.000336363
0.000346974
0.000307382
0.000341879
0.000354742
0.000364522
0.000433783
0.000280481
0.000361218
0.000320831
0.000299704
0.0003438
0.00032098
0.000293395
0.000305735
0.000288015
0.000342732
0.000258368
0.000375604
0.000244638
0.000289278
0.000293564
0.000303418
0.000255171
0.000345482
0.000244163
0.000245582
0.000383483
0.00042149
0.000402491
0.000329059
0.000399374
0.000345269
0.000362941
0.000347381
0.000403675
0.000337274
0.000412267
0.000323173
0.000333442
0.000430856
0.000235748
0.000357896
0.000307527
0.00028711
0.000343574
0.000436581
0.000267437
0.000347638
0.000303209
0.000287247
0.000256049
0.000245538
0.000288979
0.000293021
0.000306137
0.000255672
0.000347354
0.000246938
0.000289042
0.000305637
0.000303685
0.000307916
0.0002528
0.000342746
0.000244748
0.000400646
0.000345981
0.00054034
0.000538484
0.000402958
0.000281018
0.00036485
0.00032513
0.000334801
0.000406709
0.000430757
0.000236969
0.000357048
0.000311709
0.000288899
0.000332903
0.00055103
0.000194457
0.000301762
0.000287161
0.000318619
0.000241855
0.000290242
0.000249757
0.000290772
0.000305483
0.000302877
0.000309611
0.000252344
0.000344335
0.000246051
0.000339987
0.000298763
0.000312919
0.000257274
0.000332048
0.000366445
0.000250408
0.000342546
0.000276658
0.000321155
0.000256578
0.000538739
0.000540771
0.000404437
0.000611192
0.000653347
0.000642122
0.000536151
0.000268496
0.000351038
0.000313356
0.000290099
0.000333092
0.000550741
0.000194834
0.000302966
0.000268656
0.000503256
0.000265234
0.000218269
0.00031154
0.000190527
0.00071596
0.000173331
0.00025091
0.000320452
0.000370059
0.000341528
0.000300832
0.000312757
0.000370455
0.000242184
0.000344964
0.000270118
0.000254426
0.000331694
0.000320665
0.000255089
0.000398781
0.000348874
0.00031443
0.000316191
0.000249594
0.000336345
0.000335383
0.000267809
0.000325831
0.000279187
0.000653736
0.00064239
0.000611114
0.000537112
0.000758962
0.000663961
0.000717412
0.000719461
0.000568244
0.000243073
0.000269581
0.000503162
0.000265222
0.000218175
0.000311035
0.000190217
0.000716045
0.000173728
0.000251781
0.000681618
0.000482102
0.000280222
0.000369687
0.000442463
0.000253
0.00018823
0.000275696
0.000175281
0.000725509
0.000371787
0.0004302
0.000400942
0.000350496
0.000316085
0.000315676
0.00033373
0.000258515
0.00024161
0.000322341
0.000335733
0.000271284
0.000467884
0.000395949
0.000352133
0.00032222
0.000287448
0.000388703
0.000253858
0.000346201
0.000345441
0.000278144
0.000663921
0.000717723
0.000719724
0.000758823
0.000569331
0.000689068
0.000777116
0.000693068
0.000747334
0.000748044
0.000604811
0.000682059
0.000482343
0.000280784
0.000369421
0.000442396
0.000252906
0.000187269
0.000275233
0.000174659
0.00072559
0.000788983
0.00059582
0.000749062
0.000696134
0.000596013
0.000503833
0.000246766
0.000348614
0.000421312
0.000682085
0.000432086
0.000506997
0.000469705
0.000398371
0.000353935
0.000323145
0.000284964
0.000390674
0.000248242
0.000347279
0.000341923
0.000268193
0.000548724
0.000472318
0.000380669
0.000342803
0.00033234
0.000291798
0.000344966
0.000274389
0.000330793
0.000361873
0.000294436
0.00077691
0.000693017
0.000747669
0.00074828
0.000688672
0.000605753
0.000580047
0.000700908
0.000762132
0.000679022
0.000721151
0.000723131
0.000650373
0.000789357
0.000595925
0.000750746
0.00069611
0.000594886
0.000503632
0.000244304
0.000348216
0.000418532
0.000682235
0.000805308
0.00077883
0.000808716
0.000746325
0.000881321
0.000623888
0.000751628
0.000725147
0.000591133
0.000639768
0.000537743
0.000728662
0.000508553
0.000621376
0.000549999
0.00047458
0.000383137
0.000344401
0.000332913
0.00028759
0.000346766
0.000266285
0.000329096
0.000356697
0.000284746
0.000659462
0.000525404
0.000447941
0.000360365
0.000336729
0.000269588
0.00036288
0.000414981
0.000293395
0.000283957
0.00033606
0.000280331
0.000348718
0.000700204
0.000761987
0.000679285
0.000721497
0.000723408
0.000580098
0.00065117
0.000590411
0.000544897
0.000704906
0.000689072
0.000588536
0.000596005
0.000631484
0.000678812
0.000805365
0.000778848
0.000810485
0.000746329
0.000881844
0.000623855
0.000751847
0.000725245
0.000589643
0.000639643
0.000534187
0.000728854
0.000860676
0.000852143
0.000811718
0.000860568
0.000780168
0.000928694
0.000726096
0.000841016
0.000817684
0.000674967
0.00103473
0.000622533
0.000782333
0.00066054
0.000526872
0.000450144
0.000363479
0.000337691
0.000267509
0.000364413
0.000417591
0.000291741
0.000279825
0.000335939
0.000270233
0.000345359
0.000833935
0.000613743
0.000489711
0.000421431
0.000351267
0.00033361
0.000290341
0.000339861
0.000363455
0.000294354
0.0002957
0.000343013
0.000544203
0.000704312
0.000689332
0.000588887
0.000596236
0.000631637
0.000591122
0.000679398
0.000962163
0.000482524
0.000539584
0.000634738
0.000538098
0.000481879
0.000480053
0.000489957
0.000539311
0.000860798
0.000852137
0.000811734
0.000861154
0.000780203
0.00092923
0.000725956
0.000840781
0.000817698
0.000672559
0.00103476
0.000952751
0.000909438
0.000858023
0.000945879
0.000851661
0.0010594
0.000847925
0.00089165
0.000839771
0.000931651
0.00132138
0.000783007
0.00064437
0.000834375
0.000614864
0.000491147
0.000423145
0.00035341
0.000333646
0.000287288
0.000339869
0.000364892
0.000291125
0.000293213
0.000342469
0.000751011
0.000761915
0.000563732
0.000462004
0.000405141
0.000335929
0.000279823
0.000440058
0.000258768
0.000372764
0.000304125
0.000362066
0.000351535
0.000285191
0.000482681
0.000538434
0.000634411
0.00053857
0.000482056
0.000480237
0.000490057
0.000962087
0.000539479
0.0013518
0.000789785
0.000354352
0.000479324
0.000479526
0.000427677
0.000454165
0.00047581
0.000477909
0.000541671
0.000952725
0.000909412
0.000857832
0.000946219
0.000851581
0.00105936
0.000847871
0.000891922
0.000839762
0.000932122
0.00132139
0.000984565
0.00098199
0.00106063
0.000898324
0.00103616
0.00094939
0.00091146
0.000972445
0.00090379
0.00125515
0.000907165
0.000967548
0.00143137
0.000644672
0.000649003
0.000751149
0.000763065
0.000564925
0.000463143
0.000406756
0.000336832
0.00028423
0.000436401
0.000260298
0.000373024
0.000298546
0.000360919
0.000351399
0.000279569
0.000697707
0.000948345
0.000602585
0.000480935
0.000444854
0.000388087
0.000322847
0.000281034
0.00036303
0.000284928
0.000347434
0.000375905
0.000312712
0.000790996
0.000352899
0.000478317
0.00047949
0.00042773
0.000454226
0.000475891
0.000477997
0.00135178
0.000541822
0.00151889
0.00134366
0.000572791
0.000334074
0.000401085
0.000397299
0.00041825
0.000482765
0.000560817
0.000625925
0.000683133
0.000984474
0.000982212
0.00106057
0.000898162
0.00103586
0.000949117
0.000911332
0.000972762
0.000903684
0.00125507
0.000907083
0.000967887
0.00143139
0.00104103
0.00117547
0.00119231
0.00105528
0.0010971
0.00100577
0.000981038
0.00111579
0.00105438
0.00132598
0.00145281
0.000649077
0.000732703
0.000697737
0.000948869
0.000603698
0.00048144
0.000446058
0.000388809
0.000322939
0.000286465
0.000365464
0.000286912
0.00034962
0.000374376
0.000305344
0.000873398
0.000781099
0.000971266
0.000525884
0.000472882
0.000431201
0.000371934
0.000352911
0.000244114
0.000357159
0.000254621
0.000279246
0.000364098
0.0013435
0.000575059
0.000332922
0.000400604
0.000397182
0.00041811
0.000482744
0.000560707
0.000625849
0.00151891
0.000683093
0.0015575
0.00157063
0.0012712
0.000407949
0.000321937
0.0003554
0.000382199
0.000434306
0.000518345
0.000599102
0.000688463
0.000772389
0.0010411
0.00117517
0.00119215
0.00105496
0.00109714
0.00100551
0.000980906
0.00111575
0.00105422
0.00132599
0.00145281
0.00122318
0.0012229
0.00122669
0.00108746
0.0012493
0.00109781
0.00113754
0.00118435
0.00111176
0.00133442
0.00146474
0.000732674
0.000868807
0.000873293
0.000781242
0.000971867
0.0005258
0.000473479
0.000432245
0.000371113
0.000352668
0.000249046
0.000356256
0.000258771
0.0002882
0.000368137
0.00094362
0.000842699
0.00101514
0.000819652
0.000498113
0.00046321
0.000406849
0.000368355
0.000313477
0.000464517
0.000269213
0.000324693
0.000288955
0.000366295
0.000272529
0.00157062
0.00127153
0.000409168
0.000321572
0.000355003
0.000381861
0.000434032
0.000518199
0.000598968
0.000688366
0.00155749
0.000772299
0.00163797
0.0015733
0.00158284
0.0010604
0.00035747
0.000307644
0.000328829
0.000372638
0.000430345
0.000528642
0.000654668
0.00075803
0.000833754
0.00122284
0.00122297
0.00122677
0.00108716
0.00124922
0.00109761
0.00113735
0.00118448
0.00111153
0.00133445
0.00146473
0.00125902
0.00125067
0.00109371
0.0012461
0.00109377
0.00123063
0.00114664
0.00125911
0.00113479
0.0013452
0.00148658
0.000868694
0.000883022
0.0009435
0.000842637
0.00101536
0.000820556
0.000498027
0.000464026
0.000407553
0.000365941
0.000319996
0.000455999
0.000275412
0.000327488
0.000292692
0.000369733
0.000277186
0.0010152
0.00081348
0.000774893
0.000788
0.00081163
0.00089146
0.00112166
0.000563926
0.000465015
0.00044657
0.000381143
0.000314696
0.000305589
0.000370495
0.000272575
0.000383123
0.000284189
0.00158289
0.00163796
0.00106247
0.000358705
0.000307348
0.000328196
0.000372191
0.000430268
0.000528503
0.000654509
0.00075785
0.00157326
0.000833606
0.00169017
0.00165739
0.00158469
0.00155758
0.000846294
0.000349689
0.00030679
0.000320079
0.000356844
0.00043014
0.000557893
0.000674252
0.00075918
0.000798334
0.00125908
0.00125124
0.00123072
0.00109355
0.00124641
0.00109359
0.00114645
0.00125915
0.00113467
0.00134529
0.00148638
0.00130704
0.00125515
0.00124725
0.0011093
0.00109727
0.00124628
0.00111554
0.00123404
0.00125316
0.00109405
0.00122743
0.00129038
0.00119546
0.00137694
0.00149057
0.000882899
0.000722864
0.000725382
0.000751785
0.000680799
0.00101508
0.000813617
0.000775317
0.000788134
0.000811902
0.000891478
0.00112214
0.00056674
0.000465107
0.000447811
0.000381428
0.000317379
0.000312407
0.000370645
0.000279887
0.000388574
0.000289294
0.00109916
0.000845263
0.000889691
0.000874731
0.000850769
0.000714724
0.000709361
0.000680221
0.000758688
0.00100317
0.00111564
0.000433476
0.000449987
0.0004194
0.000282878
0.000375644
0.000328127
0.000460182
0.00033683
0.000275285
0.000333397
0.000265996
0.00155783
0.00169018
0.00165735
0.000849256
0.000351028
0.000306885
0.000319792
0.000356587
0.000430099
0.000557802
0.000673979
0.000758952
0.00158456
0.000798157
0.00170739
0.00171863
0.00166647
0.00158178
0.00149931
0.000714897
0.000378885
0.000323252
0.000323694
0.000375862
0.000498312
0.00058731
0.000656949
0.000698457
0.000676496
0.00057827
0.000648898
0.000619541
0.00130734
0.00125546
0.00124807
0.00123434
0.00109713
0.00125345
0.0010939
0.00110914
0.00124679
0.00111545
0.00122728
0.00129065
0.0011953
0.0013766
0.00149042
0.00125433
0.00125172
0.00111536
0.00114493
0.00125885
0.00115842
0.00125485
0.00127611
0.001107
0.00124703
0.00109051
0.00125282
0.00110909
0.00138155
0.00146648
0.000722978
0.000725931
0.000751884
0.000681442
0.000606537
0.000656383
0.000643279
0.000603032
0.00109903
0.000845394
0.000889793
0.000874858
0.000850892
0.000714883
0.000708963
0.000680377
0.00075829
0.00100319
0.00111657
0.000431997
0.000450886
0.000420917
0.000288253
0.000373785
0.000332592
0.000457007
0.000342232
0.000285231
0.000336767
0.000274936
0.00116265
0.000947479
0.000931869
0.000911483
0.000978704
0.000747973
0.000843276
0.000782907
0.000801649
0.000598098
0.000191818
0.000580725
0.000191442
0.00108875
0.00105178
0.000456051
0.000440521
0.000379067
0.000290433
0.000336511
0.000309688
0.000375648
0.000294647
0.000378143
0.00149995
0.00170746
0.00171861
0.00166638
0.000717546
0.00038011
0.000323462
0.000323685
0.000376098
0.000498532
0.00058713
0.000656626
0.000698186
0.00158167
0.000676608
0.000579432
0.000649002
0.000620488
0.00170069
0.0017535
0.00172398
0.00166262
0.0015588
0.00141222
0.000692814
0.000432396
0.000340196
0.000357797
0.000477727
0.000558005
0.000586048
0.000603487
0.00057415
0.000514739
0.000594686
0.000483712
0.000569118
0.000502335
0.000536581
0.000549129
0.00125485
0.0012529
0.00125586
0.00127557
0.0011066
0.00124784
0.00109031
0.00111525
0.00125321
0.00110897
0.00114473
0.00125961
0.00115832
0.00138132
0.00146642
0.00126383
0.00115722
0.00128873
0.00125198
0.0012853
0.00114155
0.00131665
0.00117617
0.0011239
0.00124452
0.00110408
0.00125575
0.00114325
0.00135609
0.00137343
0.000606706
0.000655851
0.00064344
0.000602299
0.000535163
0.000192865
0.000560349
0.000190416
0.00116256
0.000947617
0.00093195
0.000911639
0.000978743
0.000748127
0.000842991
0.000783063
0.000801236
0.000598902
0.000193279
0.000581421
0.000192744
0.0010889
0.00105297
0.00045826
0.000442075
0.000380375
0.00029446
0.000338994
0.00031149
0.000376663
0.000303062
0.000384831
0.00120549
0.000980386
0.0010584
0.00100994
0.00102048
0.000856896
0.000883363
0.000819022
0.000925264
0.000612525
0.000204833
0.000638541
0.000191381
0.00113623
0.000949357
0.000463509
0.000420699
0.00036059
0.000276519
0.000379082
0.000250883
0.000281794
0.000379933
0.000264793
0.000346336
0.0014131
0.00170085
0.0017535
0.00172393
0.00166254
0.000694684
0.00043363
0.000340292
0.000358146
0.000478222
0.000558128
0.000585721
0.00060315
0.00057418
0.000515821
0.000594703
0.000484811
0.00155869
0.000569299
0.000502059
0.000536749
0.000548608
0.00167031
0.00176048
0.0017611
0.00171823
0.00164045
0.00148468
0.00133
0.000716434
0.000456246
0.000363996
0.000474859
0.000557595
0.000555265
0.000546065
0.000525598
0.000411165
0.000514324
0.000431949
0.000475274
0.00045186
0.000499622
0.000419418
0.00051121
0.000189543
0.000486415
0.000189671
0.00126455
0.00128862
0.00125432
0.00128492
0.00114113
0.0013152
0.0011757
0.00112373
0.00124557
0.00110395
0.00115707
0.00125625
0.00114309
0.00135618
0.00137339
0.0012953
0.00125782
0.00130945
0.00126819
0.00118446
0.0013241
0.0011961
0.00117067
0.00133179
0.00121558
0.00115563
0.00124938
0.00113677
0.00126783
0.00131692
0.000535694
0.000194072
0.000560879
0.000191369
0.00120546
0.000980476
0.00105831
0.00100998
0.00102044
0.000857045
0.00088322
0.000819173
0.000925219
0.000613294
0.000206007
0.000639243
0.000192452
0.00113649
0.000950163
0.000465316
0.000422384
0.000359994
0.000274143
0.000378843
0.000250072
0.000285578
0.000383639
0.000266971
0.000346984
0.00125194
0.00105839
0.00108599
0.00103295
0.00111072
0.000892607
0.001005
0.00092594
0.000966683
0.000719399
0.000224835
0.000672928
0.000256865
0.00113696
0.000728848
0.000435984
0.000497424
0.00029851
0.000405864
0.000347043
0.000365303
0.000281631
0.000341467
0.000272286
0.00133081
0.00167051
0.00176051
0.00176107
0.00171817
0.00164033
0.000717108
0.00045638
0.00036407
0.000475459
0.000558085
0.000554963
0.000545642
0.00052558
0.000413175
0.000514243
0.000433532
0.000475306
0.0004513
0.000499673
0.00041848
0.00148451
0.000511884
0.000191737
0.00048705
0.000191258
0.00161542
0.00174416
0.00177415
0.00175313
0.00170378
0.00157927
0.0014276
0.00122196
0.000727758
0.000463563
0.000474686
0.000586393
0.00054
0.000486698
0.000476612
0.000367648
0.000484544
0.000338826
0.000442721
0.000349632
0.000427455
0.000373591
0.000441192
0.000190617
0.00046134
0.00019882
0.00129643
0.00126063
0.00126851
0.00130936
0.00118389
0.00132255
0.0011956
0.00117049
0.00133138
0.0012154
0.00115556
0.0012506
0.00113664
0.00126806
0.00131677
0.00130254
0.00133391
0.00117435
0.00128904
0.00117027
0.00115746
0.00128571
0.00115943
0.00129061
0.00123759
0.00135302
0.0012536
0.00123072
0.00128069
0.00113393
0.00126027
0.00125196
0.00105843
0.00108584
0.001033
0.0011106
0.000892751
0.00100505
0.000926074
0.000966684
0.000720016
0.000225882
0.000673641
0.00025742
0.00113728
0.00073036
0.000437747
0.000501269
0.000295962
0.000407222
0.000344656
0.000364212
0.000279067
0.000340069
0.000270556
0.00129135
0.00108676
0.00118858
0.00111528
0.00115073
0.000984431
0.00103705
0.000955239
0.0010658
0.000764744
0.000307907
0.000811692
0.000280746
0.00108382
0.000526857
0.000424975
0.000414361
0.000285111
0.000344028
0.000318596
0.00122242
0.00161559
0.00174421
0.00177414
0.00175309
0.00170369
0.00157908
0.000727907
0.000463539
0.000475126
0.000586822
0.000539905
0.000486437
0.000476431
0.000369602
0.000484294
0.000340176
0.000442744
0.00035053
0.000427486
0.000373227
0.000441567
0.000192674
0.00046176
0.000200455
0.00142734
0.00151441
0.00170043
0.00176006
0.0017728
0.00173769
0.00166168
0.00152032
0.00136437
0.00110065
0.000680617
0.000498775
0.000605168
0.0005559
0.000434572
0.000445912
0.000273419
0.000444828
0.000291604
0.000389066
0.000303752
0.000401982
0.000281704
0.000413715
0.000214957
0.000397291
0.000204298
0.00130269
0.0011738
0.00129068
0.00117003
0.00115729
0.00128745
0.00115922
0.00129257
0.00133479
0.00123723
0.00135226
0.00125346
0.00123074
0.00128077
0.00113353
0.0012604
0.00132039
0.00121945
0.00129019
0.00131071
0.00118051
0.00121319
0.00127518
0.00114993
0.0011918
0.00113018
0.00127122
0.0011346
0.00124213
0.0012175
0.00129133
0.00108679
0.00118857
0.00111533
0.00115074
0.000984548
0.00103708
0.000955351
0.00106579
0.000765202
0.000307838
0.000812025
0.00028085
0.00108432
0.000530672
0.000428112
0.000414748
0.000284651
0.000343694
0.000318234
0.00128878
0.00123365
0.00114445
0.00116595
0.00123921
0.00101632
0.001148
0.00105035
0.00110422
0.000895255
0.000318354
0.000851813
0.000341396
0.00102425
0.000482836
0.000275633
0.00044323
0.000250103
0.000408973
0.000362371
0.000259866
0.000348842
0.000247312
0.00110089
0.0015145
0.00170048
0.00176007
0.00177278
0.00173762
0.00166151
0.00152004
0.000680658
0.000498987
0.000605555
0.000556026
0.000434409
0.000445455
0.00027666
0.000443979
0.000294158
0.000389115
0.000304171
0.000401941
0.000280598
0.000414391
0.000218701
0.000398136
0.000206852
0.00136422
0.0013718
0.00161187
0.00171993
0.00175977
0.00176257
0.00170739
0.00160901
0.00145445
0.00132235
0.000973585
0.00063426
0.000608929
0.000588141
0.000385741
0.000433443
0.000240386
0.000426432
0.000227553
0.00036652
0.000231132
0.000361247
0.000249675
0.000352208
0.000235074
0.000367232
0.000238555
0.00132221
0.00121911
0.00129275
0.00131337
0.00118029
0.00121304
0.0012779
0.00114982
0.00119236
0.00113006
0.00127032
0.00113386
0.00124381
0.00121779
0.00128225
0.00131654
0.00123356
0.00119294
0.0012724
0.00116207
0.00115491
0.00113438
0.00121194
0.00112209
0.00123814
0.001174
0.00126782
0.00116296
0.00128867
0.00123358
0.00114449
0.00116601
0.00123923
0.00101645
0.00114802
0.0010505
0.00110423
0.000895653
0.000318254
0.000852134
0.000341363
0.00102499
0.000484355
0.000272353
0.000446863
0.000246089
0.000414965
0.000363715
0.000261844
0.000350119
0.000246375
0.00124562
0.00131283
0.00119998
0.0010862
0.00112409
0.0012537
0.000943404
0.000384646
0.00100364
0.000349602
0.000898199
0.000304669
0.000490093
0.000370338
0.000567284
0.000320146
0.000384743
0.000282135
0.000355789
0.000973755
0.00137185
0.0016119
0.00171995
0.00175976
0.00176254
0.00170727
0.00160876
0.00145418
0.000634453
0.000609309
0.000588438
0.000385813
0.000432886
0.000242934
0.000425088
0.000228434
0.000366526
0.000232617
0.000361011
0.000249214
0.000352037
0.000239829
0.000367648
0.000242054
0.00132246
0.00120347
0.00147687
0.00164406
0.00172164
0.00175559
0.00174058
0.0016678
0.00154392
0.00141673
0.00126171
0.000847863
0.000625284
0.000611022
0.00037176
0.000421879
0.000206256
0.000427781
0.000208748
0.000345597
0.000208238
0.000346414
0.000204178
0.000328265
0.000254859
0.000309162
0.000248203
0.00128557
0.00131996
0.00123341
0.00119277
0.00127402
0.00116177
0.00115551
0.00113443
0.00121314
0.00112206
0.00124003
0.00117392
0.00126998
0.0011633
0.00129348
0.00121701
0.00111788
0.00120745
0.00112196
0.00119188
0.00105847
0.00115881
0.00104486
0.00115881
0.00119125
0.0012553
0.00118734
0.00127065
0.00124411
0.00130316
0.00118077
0.00119186
0.00104715
0.00124571
0.00131288
0.00119994
0.00108634
0.00112422
0.00125362
0.000943874
0.000384772
0.00100409
0.000349709
0.000898614
0.000304432
0.000490787
0.000368293
0.000566963
0.00031308
0.000383328
0.000273583
0.000353557
0.00137443
0.00123438
0.00117893
0.000747842
0.00124752
0.00139676
0.000376109
0.00110114
0.00131101
0.000444389
0.000897608
0.000871469
0.000719941
0.000778304
0.000344024
0.000410211
0.000362959
0.000445706
0.000848061
0.0012035
0.00147688
0.00164407
0.00172165
0.00175557
0.00174051
0.00166762
0.00154363
0.0014167
0.000625724
0.000611551
0.000372059
0.00042137
0.000207154
0.000426996
0.000209181
0.000345646
0.000210778
0.0003458
0.000204124
0.000328499
0.000252391
0.00031028
0.000249228
0.00126188
0.00103514
0.00131597
0.00152538
0.00165715
0.00172303
0.0017471
0.00171006
0.00161056
0.00150322
0.00137265
0.00126797
0.000733184
0.000620026
0.000366473
0.000440537
0.000208629
0.000428821
0.000211506
0.000338095
0.00020246
0.000339981
0.000200195
0.000288643
0.000228113
0.000292219
0.000190618
0.00129636
0.0012168
0.00111776
0.00120809
0.00112181
0.00119286
0.00105834
0.00115895
0.00104426
0.00116133
0.00119126
0.00125759
0.00118729
0.00127307
0.00124408
0.00130599
0.00119325
0.00118206
0.00104693
0.00110827
0.00119445
0.00125173
0.00119153
0.00116967
0.0012449
0.0010519
0.00116526
0.0012711
0.00131769
0.00120217
0.00107261
0.00121473
0.00110403
0.00111799
0.00125101
0.00112369
0.00124992
0.00123448
0.00117888
0.000748601
0.0012472
0.00137456
0.00139746
0.000376059
0.00110167
0.00131141
0.000444445
0.000891063
0.000869713
0.00071965
0.000777457
0.000342482
0.000410438
0.000362594
0.000446343
0.00131982
0.00150178
0.000537209
0.000742521
0.000230957
0.00041435
0.00137941
0.00134534
0.00141678
0.00138396
0.000873521
0.000817803
0.000596973
0.00060769
0.000407396
0.000497233
0.000733615
0.00103528
0.00131599
0.00152539
0.00165716
0.00172303
0.00174706
0.00170994
0.00161033
0.0015031
0.00137265
0.000620854
0.000367843
0.000439716
0.000209537
0.000427759
0.00021197
0.000338595
0.000203195
0.000339966
0.000199809
0.000289403
0.000216645
0.000293625
0.000182493
0.00126868
0.000880246
0.0011489
0.00138084
0.00155407
0.00166938
0.00172355
0.0017325
0.00166098
0.00157576
0.00146908
0.00136532
0.00124042
0.000627911
0.000407836
0.000442816
0.00022624
0.000449478
0.000218702
0.000348409
0.000207066
0.000343751
0.000215335
0.000281697
0.000135905
0.000280771
0.000151942
0.00110815
0.00119438
0.00125328
0.00119146
0.00117196
0.00124607
0.00105182
0.00116805
0.00127109
0.00132055
0.00120343
0.00107238
0.00121883
0.00110394
0.0011179
0.00125413
0.00112358
0.00125209
0.00108112
0.00115885
0.00108312
0.00120042
0.00123832
0.00122357
0.00113821
0.00113063
0.00114521
0.001273
0.001163
0.00126763
0.00132037
0.000538461
0.000742843
0.000231875
0.000414613
0.00150174
0.00137664
0.00134494
0.00141528
0.00138382
0.000868253
0.000816786
0.000596647
0.000607845
0.000406216
0.000497729
0.000420767
0.00142767
0.0016282
0.000280619
0.000417247
0.000142317
0.000211133
0.00132699
0.00126618
0.00139963
0.00134062
0.000907283
0.000820353
0.000573126
0.000590709
0.000629087
0.000880555
0.00114899
0.00138087
0.00155408
0.00166938
0.00172354
0.00173243
0.00166081
0.00157562
0.00146901
0.00136558
0.000409446
0.000442553
0.000227071
0.00044901
0.000219247
0.00034806
0.000209716
0.000342918
0.000217484
0.000282104
0.000134168
0.00028096
0.000147957
0.00124106
0.00069385
0.000994178
0.00122917
0.00142595
0.0015829
0.00168306
0.00172352
0.00170104
0.00162475
0.00155269
0.00145907
0.00132238
0.00130115
0.000427182
0.000478937
0.00023986
0.000467011
0.000250765
0.000354063
0.000243297
0.000360732
0.000228201
0.000283961
0.000118249
0.000281198
0.000108502
0.00108115
0.00116268
0.00108302
0.00120202
0.00124312
0.00122772
0.0011381
0.00113054
0.00114517
0.00127487
0.00116293
0.00126842
0.00110216
0.00119314
0.00127992
0.00124552
0.00117188
0.0011977
0.00119271
0.00130312
0.00121529
0.00129227
0.0004209
0.00142797
0.000280681
0.000416888
0.000142452
0.000211769
0.00162822
0.00132479
0.00126585
0.00139559
0.00134142
0.000903758
0.000819704
0.000574178
0.000591444
0.000287397
0.000406058
0.000476204
0.000377534
0.00144018
0.00160893
0.00163942
0.00160963
0.00165545
0.000186416
0.000252573
0.00131324
0.00122628
0.00139355
0.00131778
0.000429782
0.000694955
0.000994354
0.00122923
0.00142597
0.00158292
0.00168306
0.00172349
0.00170094
0.00162462
0.0015526
0.0014591
0.00132269
0.000478574
0.000240426
0.000466393
0.000250895
0.000354422
0.000245243
0.000360931
0.000229843
0.000284508
0.000116084
0.000281557
0.00010521
0.00130178
0.000515244
0.000794669
0.00108455
0.00129163
0.00147106
0.00161365
0.00169928
0.00170908
0.00167216
0.00160792
0.00154639
0.00141781
0.00135729
0.0012765
0.00134434
0.00130219
0.00135136
0.00124608
0.00139512
0.000484562
0.000277338
0.000496343
0.000262967
0.000388048
0.000261643
0.000375296
0.000286719
0.00028819
9.39612e-05
0.000296661
0.000102357
0.00110213
0.0011943
0.00128245
0.00125228
0.0011719
0.00119759
0.00119237
0.0013055
0.00121501
0.00129355
0.00131632
0.00125166
0.00135921
0.00131929
0.000287826
0.000406135
0.000476467
0.000377426
0.00144013
0.000186204
0.000253224
0.00160872
0.00163658
0.00160937
0.00166236
0.00131243
0.00122609
0.00139629
0.00131815
0.000288738
0.000392782
0.000495573
0.000349657
0.000255015
0.000341318
0.000531319
0.00138981
0.00141277
0.00143347
0.00131597
0.00159031
0.00162647
0.00158167
0.00164721
0.000202497
0.000260885
0.000517724
0.000484803
0.000277444
0.000496324
0.000262985
0.000795383
0.00108468
0.00129167
0.00147108
0.00161366
0.00169927
0.00170903
0.00167207
0.00160784
0.00154633
0.00141785
0.00135746
0.000387973
0.000265732
0.000374848
0.000290344
0.000288711
9.31861e-05
0.000297079
9.98675e-05
0.00127642
0.00134658
0.00130207
0.00135107
0.00124562
0.00139572
0.000600225
0.000584888
0.000326897
0.000533322
0.000367469
0.00089125
0.00116098
0.00135319
0.0015168
0.00165081
0.00170542
0.00169218
0.0016546
0.00160583
0.00151361
0.00142754
0.00130071
0.00137232
0.00142423
0.00134879
0.00136705
0.00126833
0.00142896
0.000401632
0.000348298
0.000424257
0.000315593
0.000319882
9.03921e-05
0.000306841
8.41396e-05
0.00131859
0.00125151
0.00136339
0.00131918
0.00145985
0.00144153
0.000288778
0.000391802
0.000496204
0.000349695
0.000254727
0.000341583
0.000531861
0.00138944
0.00141068
0.00143335
0.0013134
0.000201909
0.00026178
0.00159029
0.00162377
0.00158112
0.00165263
0.000358708
0.000571582
0.00041374
0.000279931
0.000348545
0.000584787
0.000577419
0.000114124
0.000319428
0.000822913
0.000551614
0.000573971
0.000627015
0.00134716
0.00138587
0.00141136
0.00128855
0.000601854
0.000584321
0.000327423
0.00053321
0.000367217
0.000401947
0.000351388
0.000424622
0.000318276
0.000891786
0.00116106
0.00135322
0.00151681
0.00165081
0.00170539
0.00169212
0.00165453
0.00160577
0.00151354
0.00142758
0.0013012
0.000320645
8.93342e-05
0.000307398
8.33928e-05
0.00137216
0.00142521
0.00134872
0.0013686
0.0012682
0.00142999
0.000490104
0.000677327
0.000552276
0.000398665
0.000465153
0.000441985
0.00097387
0.00123933
0.00141696
0.0015696
0.00168543
0.00170135
0.00168508
0.00165197
0.00159263
0.00150152
0.00132439
0.00128319
0.00145352
0.0014903
0.00139363
0.00137229
0.00129196
0.00145069
0.000338869
9.43763e-05
0.000366889
9.15498e-05
0.00146211
0.00144129
0.000359035
0.000570998
0.000414642
0.000280544
0.000349576
0.000584069
0.000578813
0.000113618
0.000319714
0.000822999
0.000552343
0.000573824
0.000627161
0.00134639
0.00138317
0.00141098
0.00128496
0.00047852
9.78765e-05
0.000650233
0.00061296
0.000178915
0.000112443
0.000242815
0.000432834
0.000590928
0.000640917
0.000512218
0.000761917
0.000954725
0.00063615
0.000702644
0.000780211
0.000491613
0.000678769
0.000552679
0.000401809
0.000465323
0.000444287
0.000339484
9.40587e-05
0.000367609
8.99617e-05
0.00097423
0.00123938
0.00141698
0.00156961
0.00168542
0.00170132
0.00168504
0.00165191
0.00159254
0.00150146
0.0013245
0.00128483
0.00145339
0.00149093
0.00139368
0.00137481
0.00129196
0.00145325
0.000539691
0.000554071
0.00023036
0.000552365
0.000539335
0.000737608
0.000596152
0.000110205
0.000414301
0.000135941
0.00107443
0.00132128
0.00148532
0.00162625
0.00170945
0.00169977
0.00168867
0.00164779
0.00157567
0.00139662
0.00125344
0.0011349
0.00131498
0.0012315
0.00122323
0.00138412
0.0013194
0.00142317
0.00146282
0.000478001
9.8491e-05
0.000649722
0.000612174
0.00017838
0.000112734
0.000233493
0.000432816
0.000590916
0.00064173
0.000512049
0.000763387
0.000953908
0.000637425
0.000702233
0.000779415
0.000299923
0.000470327
0.000385007
0.000373839
0.000415403
4.50759e-05
0.000981235
0.000594513
0.000732507
0.000768003
0.000477283
0.000662743
5.45227e-05
0.000420895
0.000551082
0.000643996
0.000576227
0.000640134
0.000541477
0.000554247
0.00023095
0.000553742
0.000540991
0.000738795
0.000597667
0.000111303
0.000419352
0.000136396
0.00107466
0.00132131
0.00148533
0.00162625
0.00170943
0.00169974
0.00168863
0.00164773
0.00157558
0.00139648
0.0012544
0.001135
0.00131888
0.00123152
0.00122667
0.00138738
0.00131935
0.00142312
0.00146598
0.000541778
0.000287827
0.000464438
0.000151339
0.000243128
0.000585723
0.000832864
0.0011762
0.00140897
0.0015574
0.00168096
0.00172677
0.00170613
0.00169784
0.00163937
0.00149649
0.00126632
0.001096
0.00110953
0.00128602
0.00139662
0.00134728
0.00122351
0.00119071
0.000299638
0.000469745
0.000384876
0.000373602
0.000413353
4.57776e-05
0.000982199
0.000594294
0.000732809
0.000768084
0.000476181
0.000662721
5.42308e-05
0.000421527
0.000551227
0.000646138
0.000575898
0.000643192
0.000227184
0.000311355
0.000464711
0.000352926
0.0003342
0.000425087
3.95413e-05
0.00114741
0.00121655
0.00105971
0.00137967
0.00097602
0.00103419
0.000832242
0.00119005
0.000589328
0.000712701
0.000781949
0.000477846
0.000859034
0.000576073
0.00072692
5.43508e-05
0.000492947
0.000543454
0.000289769
0.000465451
0.000152173
0.000243885
0.000587304
0.000833721
0.00117634
0.001409
0.00155741
0.00168096
0.00172676
0.0017061
0.0016978
0.00163929
0.00149627
0.00126648
0.00109772
0.00110941
0.00129088
0.0014011
0.00122341
0.00134731
0.00119471
0.000570849
0.00053983
0.000337188
0.000452486
0.000492011
0.000202149
0.000245073
0.00065738
0.000924338
0.00128652
0.00150348
0.00163073
0.00172831
0.00174375
0.00172002
0.00170072
0.00159213
0.00135634
0.00108264
0.00100248
0.000909016
0.00106555
0.00096966
0.0010698
0.00114191
0.00022674
0.000312073
0.000464893
0.000353003
0.000333943
0.000422923
4.05558e-05
0.00114762
0.00121702
0.00106011
0.0013808
0.000976123
0.00103618
0.000832441
0.00119225
0.000589007
0.00071312
0.000781767
0.000476642
0.00086116
0.000576141
0.000727181
5.46208e-05
0.000493621
0.000287489
0.00025991
0.000470434
0.000439299
0.000352822
0.000331789
0.000445563
4.49999e-05
0.0010736
0.00117115
0.00127062
0.0010664
0.00128383
0.00143174
0.000787051
0.000891279
0.000684949
0.000535647
0.000622555
0.000627065
0.000582967
6.40102e-05
0.000569833
0.000572232
0.000541098
0.000340363
0.00045388
0.000493714
0.000204288
0.000245889
0.000658774
0.00092507
0.0012866
0.0015035
0.00163073
0.0017283
0.00174374
0.00172
0.00170065
0.00159194
0.00135598
0.00108318
0.00100399
0.000908656
0.00106892
0.000969688
0.00106977
0.00114637
0.000544981
0.000611842
0.000601238
0.000271425
0.000679885
0.000511989
0.000729719
0.00104553
0.00140813
0.00160018
0.00170513
0.00177025
0.00175931
0.00174023
0.00168242
0.00148898
0.00116672
0.000894964
0.00095221
0.000861431
0.00103476
0.000944744
0.00105167
0.00111359
0.000286485
0.000260155
0.000471211
0.000439518
0.000352636
0.000331525
0.000443613
4.58416e-05
0.00107367
0.00117123
0.00127111
0.00106649
0.0012862
0.00143274
0.000787301
0.000893527
0.000685408
0.000535662
0.000622586
0.000626608
0.000582901
6.43229e-05
0.000570183
0.000294411
0.000335863
0.000459494
0.000242413
0.000444465
0.000610307
0.000391272
0.000344554
4.43192e-05
0.000832836
0.00091226
0.00066532
0.000716162
0.000599834
0.000522219
0.0005449
0.000604593
0.000554063
0.00066879
0.000617962
6.81707e-05
0.00062796
0.00054531
0.000613
0.000598129
0.000277799
0.000680931
0.000506999
0.000730983
0.00104605
0.00140817
0.0016002
0.00170513
0.00177025
0.00175929
0.0017402
0.00168229
0.00148855
0.00116638
0.000895437
0.000954119
0.000861354
0.00103799
0.000944703
0.00105165
0.00111792
0.00053005
0.000605622
0.000666843
0.000544156
0.000307694
0.000591016
0.000424367
0.000834141
0.00118308
0.00153587
0.00169786
0.00177024
0.00181062
0.00177741
0.00174666
0.00162613
0.00131951
0.00095522
0.000833937
0.00077168
0.000757366
0.000815176
0.000891885
0.000818235
0.000963901
0.000901916
0.000293729
0.000335696
0.000458246
0.000243277
0.000444867
0.00061092
0.000392582
0.00034439
4.48789e-05
0.000833014
0.000914178
0.00066535
0.000716471
0.000522115
0.000598761
0.000544754
0.000603691
0.000553935
0.000667974
0.000617858
6.84424e-05
0.000628156
0.000276647
0.000335382
0.000434383
0.000328669
0.000452738
0.000261993
0.000398994
0.000641762
0.00067749
0.000330235
0.000325012
4.59878e-05
0.00070914
0.00076915
0.000571914
0.000669887
0.000573499
0.000457504
0.000565195
0.000464563
0.000530627
0.00052062
0.000525236
0.000582448
0.000664531
0.000596149
0.000726708
0.000662061
7.66045e-05
0.000874793
0.00054611
0.000665614
0.000528481
0.000606189
0.000667622
0.000564249
0.000309955
0.000590675
0.000417632
0.000835066
0.00118344
0.0015359
0.00169787
0.00177024
0.00181061
0.00177739
0.00174659
0.00162583
0.00131886
0.000954749
0.000834078
0.000771618
0.000757302
0.000814827
0.000893143
0.000818162
0.000966579
0.000901883
0.000836391
0.000736933
0.000452611
0.000611718
0.000681441
0.000745651
0.000367202
0.000596188
0.000951763
0.00134352
0.0016697
0.00179095
0.00182948
0.00184048
0.00179738
0.00173279
0.00151378
0.00112765
0.000779337
0.000803966
0.000740835
0.000695104
0.000758387
0.00086481
0.000822192
0.000276438
0.00033522
0.000434255
0.000328483
0.000452035
0.000263089
0.000400795
0.000642064
0.00067811
0.000332141
0.000324823
4.65208e-05
0.000709163
0.00076954
0.000571056
0.00057363
0.000458737
0.000565475
0.000464325
0.0005305
0.000521096
0.000525257
0.000668317
0.000582231
0.000663064
0.000595952
0.000726218
0.000661982
7.68941e-05
0.000874995
0.000547342
0.000665713
0.000258927
0.000298914
0.000395685
0.000312677
0.000361759
0.000274548
0.000289567
0.000310116
0.000438322
0.000646572
0.000784507
0.000939935
4.59924e-05
0.000639824
0.000561589
0.000477268
0.000546501
0.000686872
0.000557655
0.000564535
0.00053495
0.000709663
0.000633634
8.12397e-05
0.0010182
0.00106148
0.000978449
0.00106866
0.00095897
0.000758369
0.000817483
0.000969981
0.000833559
0.000737452
0.000448884
0.000610769
0.000681737
0.000745968
0.000365691
0.000597852
0.000952368
0.00134373
0.00166971
0.00179095
0.00182948
0.00184047
0.00179734
0.00173263
0.00151328
0.00112673
0.00077839
0.000802132
0.000740739
0.000694959
0.00075647
0.000864252
0.000822054
0.000893446
0.000799526
0.00114747
0.000707658
0.000761025
0.000840394
0.000497207
0.000470393
0.00110956
0.0015257
0.00180301
0.00187079
0.00188559
0.00186346
0.00180342
0.00168168
0.00135719
0.000937707
0.000729754
0.00069668
0.00070316
0.000662672
0.000738497
0.000708747
0.000646599
0.000705411
0.000260019
0.000298702
0.000395693
0.000312476
0.000361805
0.000276526
0.000290218
0.000309801
0.000440886
0.000646868
0.000785036
0.000939804
4.66134e-05
0.000638884
0.000565441
0.000479968
0.000687133
0.000546906
0.00055745
0.000565424
0.000534839
0.0007087
0.000633513
8.16116e-05
0.00101802
0.00106083
0.000978024
0.00106896
0.000958706
0.000760086
0.000817351
0.000970956
0.000309175
0.000288328
0.000290481
0.000284703
0.000320665
0.000352279
0.000291446
0.000267081
0.000299043
0.000249297
0.000525781
0.000697807
0.000909721
0.00103846
0.00106554
4.91615e-05
0.000530525
0.000769408
0.000625484
0.000849785
9.39121e-05
0.00109397
0.00108615
0.00113198
0.00103855
0.00115468
0.00110979
0.00102609
0.000998256
0.000889017
0.00079774
0.0011462
0.0007066
0.000761058
0.000840351
0.000490568
0.000468608
0.00110988
0.00152583
0.00180302
0.00187079
0.00188558
0.00186344
0.00180335
0.00168142
0.00135645
0.00093673
0.000726632
0.000696014
0.000699415
0.000662268
0.00073434
0.000708478
0.000646284
0.000701236
0.00109251
0.00107453
0.000726015
0.00077524
0.0011593
0.00077127
0.00108233
0.00100521
0.000786066
0.000835393
0.000966946
0.00128516
0.0017161
0.00192754
0.00193496
0.00192375
0.00187956
0.00179357
0.00158406
0.00120081
0.000791057
0.000695989
0.000626404
0.000653036
0.000593141
0.00061182
0.000646259
0.00031108
0.000288093
0.00029116
0.000284379
0.000321188
0.000355114
0.00029144
0.000268257
0.000298926
0.000250529
0.000528089
0.000698361
0.000909873
0.00103844
0.00106546
4.9432e-05
0.00077233
0.000535878
0.00084943
0.000625757
9.30913e-05
0.00109375
0.00108589
0.00113206
0.00103837
0.00115499
0.00111021
0.00102584
0.000999252
0.000402564
0.000320219
0.000264439
0.000305421
0.000252189
0.000480207
0.000284282
0.000222822
0.000280969
0.000234614
0.000631936
0.000102409
5.12025e-05
0.000850878
0.00107531
0.0011609
0.00113186
0.0011492
0.00103438
0.00114512
0.00101734
0.0011511
0.00115845
0.00116183
0.00107519
0.0012067
0.00118669
0.00108851
0.00107473
0.000728178
0.000773554
0.00115758
0.00108139
0.000770124
0.00100431
0.000784908
0.000835311
0.000966664
0.00128531
0.00171617
0.00192755
0.00193496
0.00192374
0.00187953
0.00179344
0.00158359
0.00120002
0.000789892
0.000692836
0.000626
0.000649267
0.000592703
0.000611379
0.000642693
0.00115188
0.000543491
0.00111548
0.000429543
0.000641137
0.00100666
0.000762899
0.000980336
0.000985761
0.000899388
0.000839308
0.000917303
0.00111636
0.00149958
0.00190271
0.00202769
0.00198677
0.00195253
0.00187822
0.00174816
0.00146469
0.00104385
0.000759939
0.00073696
0.000720958
0.000765819
0.00068081
0.000613176
0.000403979
0.00032035
0.000264695
0.000305358
0.000252665
0.000482211
0.000284156
0.000222734
0.000280632
0.000235325
0.000633306
0.000101918
5.13618e-05
0.000851199
0.00107509
0.00116082
0.00113173
0.00114941
0.00103426
0.00114464
0.00101699
0.0011509
0.00115814
0.00116223
0.00107502
0.00120718
0.00118708
0.0004954
0.000368086
0.000267893
0.000382676
0.000258476
0.000604528
0.000290143
0.000214455
0.000284239
0.000209202
0.000793266
0.00012137
6.38622e-05
0.000138125
5.80921e-05
0.00103343
0.00123908
0.0012891
0.00123902
0.00113651
0.00115529
0.00105198
0.00114611
0.00102759
0.00117267
0.00109749
0.00114956
0.000546193
0.00111734
0.000432542
0.000641114
0.00100592
0.000979675
0.000984948
0.000762136
0.000898776
0.000838264
0.000917176
0.00111596
0.00149962
0.00190275
0.00202769
0.00198676
0.00195251
0.00187816
0.00174792
0.00146415
0.00104262
0.000759334
0.000734451
0.00072039
0.000763161
0.000677786
0.000612827
0.00102895
0.00102615
0.00126335
0.00106247
0.00114373
0.000315999
0.00120751
0.000942171
0.000758345
0.000876805
0.000924853
0.000879595
0.000814264
0.000872513
0.00101836
0.00130244
0.00174448
0.00206829
0.00209138
0.00201859
0.00196013
0.00186673
0.00166849
0.00134051
0.000935671
0.00100239
0.000997828
0.000928703
0.000729532
0.000740131
0.000706241
0.000757582
0.000496631
0.00036815
0.000268917
0.000382411
0.000259469
0.000605946
0.000290384
0.000214366
0.000284198
0.000209547
0.000794031
0.000120966
6.43149e-05
0.000137539
5.83809e-05
0.00103347
0.00123882
0.00128895
0.00123889
0.00113656
0.00115609
0.00105191
0.00114693
0.00102759
0.00117365
0.00109733
0.000585516
0.000445906
0.000305675
0.000430197
0.000327483
0.000719859
0.000310285
0.000227796
0.000322007
0.000216888
0.000931591
0.000195071
8.38924e-05
0.000169524
9.86159e-05
0.00119027
0.00136705
0.00140168
0.00134664
0.00123068
0.00112204
0.00116256
0.0010738
0.00114832
0.00104301
0.00117788
0.00110614
0.00102838
0.00102614
0.00125745
0.00106234
0.00114174
0.000318466
0.0012088
0.000941696
0.000876439
0.00092423
0.000878989
0.000757867
0.000813821
0.000871716
0.00101814
0.00130207
0.00174451
0.00206831
0.00209138
0.00201858
0.00196011
0.00186662
0.00166817
0.00133952
0.000934994
0.00100141
0.000996955
0.000924804
0.000729105
0.00073731
0.000705793
0.000754292
0.00102629
0.000987156
0.00100802
0.00124566
0.00102995
0.00115013
0.000260154
0.00079853
0.000850751
0.000748637
0.000781505
0.0008359
0.000837957
0.00079968
0.000810655
0.000911403
0.00115385
0.00151848
0.0019938
0.00219187
0.0021204
0.00203544
0.00195776
0.0018119
0.00158289
0.00118791
0.000842174
0.000941542
0.000922838
0.000864065
0.000722425
0.0007584
0.000586498
0.000446095
0.000306994
0.000430121
0.000328437
0.000720878
0.000310467
0.000227837
0.000321895
0.000217377
0.000932086
0.000189088
8.36499e-05
0.000165952
9.74816e-05
0.00119022
0.00136685
0.00140151
0.0013465
0.00123063
0.0011221
0.00116371
0.00107368
0.0011489
0.00104304
0.00117953
0.00110599
0.000666475
0.000493283
0.000407078
0.000508799
0.000375172
0.000818625
0.000361368
0.000256878
0.000347062
0.000281369
0.00104335
0.000254521
0.00017247
0.00027984
0.000142784
0.00129571
0.0014518
0.00148639
0.00143772
0.0013214
0.0011891
0.0011749
0.00106028
0.00117211
0.00106874
0.00116884
0.00107108
0.00119141
0.00111527
0.00102595
0.000986774
0.00100824
0.00123987
0.00103006
0.00114784
0.000263855
0.000802923
0.000850411
0.000781519
0.000835569
0.000837523
0.000799258
0.000748343
0.000810476
0.000910819
0.00115356
0.00151819
0.00199381
0.00219188
0.0021204
0.00203543
0.00195771
0.00181173
0.00158234
0.00118724
0.000841687
0.000941368
0.00092238
0.000859047
0.000721986
0.000754818
0.00100496
0.00100113
0.000911458
0.000980262
0.00120061
0.000992687
0.00111322
0.000236928
0.000675885
0.000848307
0.000734588
0.00069393
0.000724002
0.000763746
0.000769794
0.000787569
0.000851883
0.000972213
0.00132144
0.00180549
0.00219488
0.00224737
0.0021288
0.00202859
0.00192928
0.00175665
0.00146535
0.00105565
0.00107581
0.00114424
0.00114172
0.000802339
0.000894652
0.000858947
0.000845996
0.000667481
0.000493505
0.000407988
0.000508794
0.000376026
0.00081941
0.000361557
0.000256722
0.000347061
0.000280879
0.00104372
0.000246618
0.000173779
0.000273417
0.000141369
0.00129568
0.00145166
0.00148624
0.00143758
0.00132131
0.0011891
0.00117455
0.00105984
0.00117238
0.00106864
0.00116902
0.00107108
0.0011923
0.0011152
0.000737956
0.000566871
0.000463031
0.000549785
0.000500065
0.000899913
0.000387765
0.000358728
0.000406137
0.000322637
0.00112277
0.000327294
0.000228903
0.000315868
0.000250799
0.00136108
0.00150065
0.00154015
0.00150595
0.0014006
0.00125419
0.0011638
0.00120803
0.00109657
0.00120124
0.00118482
0.00111134
0.00109668
0.00100492
0.00100105
0.00091143
0.000980553
0.00119556
0.000992898
0.00111181
0.000240385
0.000678867
0.000848153
0.000694231
0.000724166
0.000763622
0.000769549
0.000787401
0.000734361
0.000851898
0.000971767
0.0013211
0.00180532
0.0021949
0.00224737
0.00212879
0.00202857
0.0019292
0.00175637
0.00146489
0.00105357
0.00107545
0.00114717
0.00114119
0.000801879
0.000891752
0.000858668
0.00083994
0.000979329
0.000954182
0.00107749
0.00101492
0.000965524
0.000913414
0.0011557
0.000955574
0.000223422
0.000622938
0.000854727
0.000731978
0.000605169
0.000598488
0.000654761
0.000707214
0.00074904
0.000846115
0.000911332
0.00108129
0.00155794
0.00209018
0.00232254
0.00225943
0.0021078
0.00200746
0.00187733
0.00167659
0.00134671
0.00101128
0.000997543
0.00109258
0.00107273
0.000896122
0.000847436
0.000738863
0.000567086
0.000463996
0.000549891
0.000500662
0.000900554
0.000387982
0.000358442
0.000406159
0.000322271
0.00112306
0.000327454
0.00023074
0.000316248
0.000249536
0.0013611
0.00150056
0.00154004
0.00150582
0.00140049
0.00125417
0.00116398
0.00120941
0.0010965
0.00120311
0.0011846
0.00111129
0.00109666
0.000800966
0.000603129
0.000594364
0.00062112
0.000554867
0.000965863
0.000454146
0.000414165
0.000432399
0.000461063
0.00117911
0.000342298
0.000199903
0.000358303
0.000225249
0.00139571
0.0015231
0.0015683
0.00154992
0.00146447
0.00133095
0.00120277
0.00123371
0.00112019
0.00109861
0.00121771
0.00124122
0.00114369
0.00124205
0.00116113
0.000979531
0.000954469
0.00107531
0.00101522
0.000965856
0.000913341
0.00115053
0.000955813
0.000226508
0.000625735
0.000854537
0.000605528
0.00059898
0.000655085
0.000707241
0.000748965
0.000846159
0.000731688
0.000911493
0.0010809
0.00155765
0.00209011
0.00232254
0.00225943
0.00210779
0.00200744
0.00187716
0.00167633
0.00134697
0.00100789
0.000997241
0.00109534
0.00107246
0.000893163
0.000847132
0.000952223
0.000924188
0.00100663
0.00089853
0.00103993
0.00103642
0.00104486
0.001041
0.000962568
0.00111415
0.000920388
0.000199421
0.000571818
0.000964352
0.000760922
0.000541263
0.000473156
0.000520589
0.000606332
0.00068285
0.000800062
0.000940794
0.00103236
0.00124289
0.00186998
0.00229565
0.00236331
0.00223752
0.00207231
0.00195368
0.0018313
0.00158977
0.00123454
0.00129365
0.00128865
0.00121429
0.00101327
0.000980813
0.00107617
0.0010402
0.000801881
0.000603434
0.000594589
0.000621316
0.000555187
0.000966444
0.000454369
0.000413041
0.000432552
0.000458868
0.00117936
0.000342434
0.000211194
0.00035938
0.000229124
0.00139575
0.00152306
0.00156823
0.00154982
0.00146436
0.0013309
0.00120283
0.00123388
0.00112003
0.00109844
0.00121795
0.00124191
0.00114355
0.00124375
0.00116096
0.000849343
0.000672535
0.000646441
0.000653014
0.00068752
0.00101851
0.00048265
0.000565223
0.000508815
0.000517046
0.00121581
0.000400491
0.000184899
0.000379274
0.000180833
0.00141135
0.0015277
0.00157754
0.00157322
0.0015107
0.00139978
0.00128253
0.0011728
0.00125296
0.00115943
0.00111781
0.00122912
0.00128018
0.00120474
0.000952742
0.000924426
0.0010035
0.000898884
0.00103721
0.00103701
0.00104548
0.0010411
0.000962388
0.00110894
0.00092062
0.000204315
0.000575413
0.000964444
0.000541338
0.00047356
0.000521107
0.000606617
0.000682923
0.000800105
0.00094103
0.000760609
0.00103251
0.00124257
0.0018698
0.00229563
0.00236331
0.00223752
0.0020723
0.00195359
0.00183117
0.00158953
0.00123451
0.00129493
0.00128879
0.00121485
0.00100986
0.000980469
0.00107839
0.00104005
0.000931851
0.000855778
0.000980739
0.000874377
0.000957996
0.00106477
0.0010742
0.000887441
0.00113969
0.00121146
0.00116646
0.00114902
0.000189624
0.000542956
0.00117435
0.000844002
0.000525146
0.000401271
0.000393403
0.000479509
0.000584686
0.000722487
0.000928095
0.00101994
0.00124618
0.00149659
0.00216783
0.00238573
0.00235341
0.0021767
0.00200355
0.00190714
0.00175848
0.00153493
0.00149811
0.00147886
0.00159067
0.00120568
0.0012653
0.00123847
0.00120735
0.000850226
0.000672821
0.000646712
0.000653271
0.000687491
0.00101905
0.00048286
0.000563157
0.000508926
0.000514651
0.00121603
0.000401098
0.000193309
0.000380676
0.000182438
0.0014114
0.00152768
0.00157749
0.00157314
0.0015106
0.00139973
0.00128263
0.00117298
0.00125283
0.00115923
0.00111758
0.00122945
0.00127944
0.00120464
0.00088701
0.000698806
0.00076523
0.000717151
0.000729785
0.00105868
0.000570306
0.000619297
0.000539784
0.00067093
0.00124203
0.000410163
0.000161672
0.00041177
0.000172831
0.00141264
0.00152131
0.00157479
0.0015819
0.00153909
0.00144805
0.00134941
0.00122062
0.00118396
0.00107818
0.00120308
0.00109835
0.0012631
0.00119922
0.00113681
0.00122547
0.000932597
0.000855977
0.000977717
0.000874581
0.000955286
0.00106549
0.00106958
0.0008877
0.00114028
0.00121162
0.00116654
0.00114918
0.000194685
0.000546012
0.00117449
0.000524988
0.000401321
0.000393673
0.000479824
0.000584847
0.000722535
0.000928214
0.00102017
0.000843686
0.00124632
0.00149631
0.00216774
0.00238572
0.00235341
0.00217669
0.00200348
0.00190701
0.00175826
0.00153476
0.00149851
0.00147881
0.0015881
0.00120557
0.00126655
0.00123853
0.00120772
0.000911813
0.000835076
0.00091339
0.00081756
0.000936059
0.00108775
0.000829278
0.0010422
0.000857865
0.0010078
0.00121749
0.00131157
0.00132483
0.0013315
0.00137256
0.000177616
0.000510712
0.00143578
0.00104176
0.00057496
0.000401564
0.000334621
0.000367635
0.000469667
0.000622244
0.00085233
0.00104871
0.00114114
0.00152299
0.00185704
0.00232201
0.00239622
0.00229105
0.00208328
0.00194301
0.00183815
0.00169801
0.00144661
0.00139442
0.00135901
0.00152113
0.000888025
0.000699131
0.00076486
0.000717412
0.000729668
0.00105921
0.000570401
0.000617088
0.000539895
0.000667921
0.00124224
0.000405137
0.000164773
0.000409261
0.000172065
0.00141271
0.00152132
0.00157477
0.00158185
0.001539
0.00144798
0.00134952
0.0012211
0.00118402
0.00107762
0.00120455
0.00109811
0.00126443
0.001199
0.00113656
0.00122707
0.000758823
0.000799114
0.00073967
0.000831717
0.0010886
0.000601887
0.000764337
0.000632028
0.000719848
0.00126087
0.00041463
0.000156688
0.000409925
0.000157705
0.00140812
0.00150698
0.00156506
0.00158124
0.00155429
0.00147977
0.00139004
0.00126328
0.00114377
0.00119694
0.00109743
0.0012102
0.00112058
0.0011581
0.00123177
0.000912745
0.000835201
0.000911556
0.000817701
0.000933734
0.00108845
0.000829476
0.00103779
0.0008581
0.00100349
0.00121792
0.00131173
0.00132499
0.00133163
0.0013727
0.000181024
0.0005128
0.00143592
0.000574731
0.000401442
0.000334606
0.000367748
0.000469797
0.00062226
0.00085232
0.0010489
0.00114127
0.00104144
0.0015231
0.00185685
0.00232197
0.00239622
0.00229105
0.00208323
0.00194288
0.00183786
0.00169709
0.00144648
0.00139578
0.00135892
0.00151839
0.000779721
0.000888085
0.000797675
0.000860891
0.00109647
0.000801552
0.000943834
0.000774337
0.000976621
0.00126347
0.000492177
0.000174087
0.00135342
0.00139433
0.00141272
0.00146013
0.00153123
0.00161841
0.00138807
0.000739461
0.000461435
0.000355885
0.000320327
0.000372622
0.000500759
0.00074439
0.00102225
0.00113847
0.00135681
0.00172891
0.00211887
0.00235979
0.00234567
0.00218547
0.00198627
0.00186849
0.00178426
0.00167968
0.00163186
0.00160936
0.00158981
0.00139775
0.00139462
0.00133626
0.00148427
0.000759102
0.00079862
0.000739997
0.000830802
0.00108917
0.000601986
0.000761163
0.000632119
0.000716566
0.00126107
0.000415276
0.000162408
0.000410509
0.000161184
0.00140818
0.001507
0.00156505
0.0015812
0.00155422
0.00147967
0.00139003
0.0012637
0.00114511
0.00119855
0.0010971
0.00121268
0.00112039
0.00115796
0.00123472
0.000691107
0.000805063
0.000661915
0.000844042
0.00127545
0.000420592
0.000154357
0.000421466
0.000160732
0.00140114
0.00149352
0.00155027
0.00157484
0.00156193
0.00150158
0.00142251
0.00129122
0.00116633
0.00107857
0.00118204
0.00110339
0.00115216
0.00120409
0.00113275
0.00122167
0.00115594
0.000779996
0.000886614
0.000797847
0.00085966
0.00109712
0.000801706
0.000940156
0.00077448
0.000972578
0.00126378
0.000493957
0.000176667
0.00135354
0.00139443
0.00141279
0.00146019
0.00153128
0.00161845
0.00073929
0.000461316
0.000355823
0.000320308
0.000372652
0.000500758
0.000744278
0.00102226
0.00113862
0.00135692
0.00138787
0.00172895
0.00211877
0.00235978
0.00234568
0.00218543
0.00198609
0.00186817
0.00178371
0.00167228
0.0016311
0.0016028
0.00158935
0.0013975
0.00139553
0.00133609
0.00148102
0.000719649
0.000912203
0.000747004
0.000879352
0.00128004
0.000470662
0.000162204
0.000462097
0.000164406
0.00137333
0.00141892
0.00144275
0.00148522
0.00155148
0.00163743
0.00174104
0.00173621
0.00103402
0.000610548
0.000423186
0.000346487
0.000333505
0.000399328
0.000616854
0.000929441
0.00115315
0.00126976
0.00164849
0.00186826
0.00221082
0.00232616
0.00223567
0.00205793
0.00189301
0.00180636
0.00173658
0.00169422
0.00174463
0.00170389
0.00166067
0.00158223
0.00160885
0.0015633
0.000691229
0.000801885
0.000662038
0.000840481
0.00127565
0.000419722
0.000157133
0.00042108
0.000161381
0.00140121
0.00149355
0.00155027
0.00157482
0.00156187
0.0015015
0.00142242
0.00129135
0.00116738
0.00107873
0.00118591
0.00110326
0.0011562
0.00120743
0.00113248
0.0012251
0.00115583
0.000429657
0.000154449
0.00042685
0.000154361
0.00139293
0.00147807
0.00153573
0.0015676
0.00156499
0.00151851
0.00144982
0.00133296
0.00118876
0.00113537
0.00112013
0.00120759
0.00115789
0.00118151
0.000719772
0.000908473
0.00074713
0.000875617
0.00128026
0.000473045
0.000166843
0.000464059
0.000168728
0.00137341
0.00141898
0.00144279
0.00148525
0.0015515
0.00163746
0.00174106
0.0010339
0.000610487
0.000423199
0.000346504
0.000333511
0.000399307
0.000616708
0.000929304
0.00115318
0.00126983
0.00164858
0.00173612
0.00186829
0.00221078
0.00232616
0.00223563
0.00205772
0.00189261
0.0018059
0.00173216
0.00169371
0.00174153
0.00170348
0.00165226
0.00158145
0.00160146
0.00156265
0.000442443
0.000157977
0.000447211
0.00016085
0.00138222
0.00142537
0.00145959
0.00150274
0.00155956
0.00163084
0.00171814
0.00182477
0.0019131
0.00135668
0.000838271
0.000555983
0.0004083
0.000349083
0.000354821
0.000474074
0.00078893
0.0011094
0.00126431
0.00150775
0.00187081
0.00195162
0.00220745
0.00223201
0.00209262
0.00193029
0.00181035
0.00174006
0.00171549
0.00175307
0.00171832
0.00168871
0.00160576
0.00168383
0.00159942
0.000431184
0.000159328
0.000428056
0.000158321
0.001393
0.0014781
0.00153573
0.00156759
0.00156494
0.00151843
0.00144972
0.00133291
0.00118907
0.00113694
0.00112021
0.00121295
0.00115783
0.00118617
0.00146168
0.00152334
0.00155823
0.00156665
0.00153259
0.00147342
0.00136939
0.00123648
0.00111255
0.00113581
0.00107227
0.00116993
0.0011219
0.00117377
0.00120936
0.000442933
0.000160755
0.000447962
0.000162436
0.00138229
0.00142542
0.00145962
0.00150276
0.00155958
0.00163085
0.00171815
0.00182479
0.00135663
0.000838225
0.000556052
0.000408411
0.000349148
0.000354854
0.000473925
0.000788715
0.00110931
0.00126432
0.00150786
0.00187087
0.00191306
0.00195165
0.00220744
0.00223198
0.00209241
0.00192984
0.00180999
0.00174286
0.00171511
0.00175116
0.00171795
0.00168343
0.00160536
0.00168008
0.00159913
0.0014432
0.00148956
0.00153061
0.00157413
0.00162994
0.00169367
0.00177498
0.00187487
0.00196346
0.00157062
0.00108723
0.000718597
0.000513783
0.00038994
0.000351433
0.000392331
0.000613767
0.000988225
0.00125895
0.00143033
0.00181619
0.00201419
0.00198971
0.0021455
0.002087
0.00194482
0.00181901
0.00172686
0.0017109
0.00174776
0.00172308
0.00166967
0.00159606
0.00168774
0.00160685
0.00166724
0.001572
0.00146172
0.00152335
0.00155822
0.00156661
0.0015325
0.00147328
0.00136931
0.00123651
0.00111269
0.0011369
0.00107215
0.00117267
0.00112184
0.00117383
0.00121432
0.00150782
0.00155399
0.00156782
0.00154417
0.0014933
0.00139913
0.0012627
0.00112678
0.00110258
0.00102329
0.00106639
0.00098772
0.00116536
0.00111602
0.00120117
0.00116745
0.00144325
0.00148958
0.00153062
0.00157414
0.00162995
0.00169368
0.00177499
0.00187489
0.0015706
0.00108719
0.000718637
0.000513877
0.000390074
0.000351501
0.000392347
0.000613437
0.000988046
0.00125888
0.00143034
0.00181631
0.00201426
0.00196343
0.00198974
0.00214546
0.00208677
0.00194432
0.00181838
0.00173265
0.00171086
0.00175704
0.00172282
0.001673
0.00159586
0.00168609
0.00160664
0.00166379
0.00157165
0.00150222
0.00153987
0.00158678
0.00162754
0.0016739
0.00172908
0.00180575
0.00190088
0.00194093
0.00166426
0.00127552
0.000894716
0.000625353
0.000466766
0.000369616
0.000356572
0.000475017
0.00078878
0.00118533
0.00141423
0.00172395
0.00203915
0.00208043
0.00199792
0.00201671
0.00192824
0.00181686
0.00169752
0.00164793
0.00158245
0.00165969
0.00160159
0.00162756
0.00153338
0.00165799
0.0015583
0.00150783
0.00155399
0.00156779
0.00154408
0.00149312
0.00139891
0.00126266
0.00112679
0.00110239
0.00102307
0.00106472
0.000987112
0.00116637
0.00111595
0.0012031
0.0011674
0.00154949
0.00157195
0.00155669
0.00151029
0.00141927
0.00128321
0.0011274
0.00102022
0.0011118
0.00104813
0.00107409
0.000999557
0.00150223
0.00153988
0.00158679
0.00162755
0.0016739
0.00172907
0.00180574
0.00190088
0.00166418
0.00127544
0.000894586
0.00062537
0.000466807
0.00036972
0.000356648
0.000475043
0.000788287
0.00118521
0.00141416
0.00172403
0.00203925
0.00208049
0.00194083
0.00199791
0.00201644
0.00192764
0.00181613
0.00169882
0.00165521
0.00158245
0.00167085
0.00160147
0.00162969
0.00153316
0.00165668
0.00155808
0.00154494
0.00158521
0.00162281
0.00165196
0.00168559
0.00174049
0.00182239
0.00190709
0.00184065
0.00167044
0.00137941
0.0010424
0.000743803
0.000540381
0.000415961
0.000347861
0.000393136
0.000582127
0.00101016
0.00137836
0.00165605
0.00203884
0.0021522
0.00209187
0.00198796
0.00186541
0.00178573
0.00171825
0.00159737
0.00161809
0.0016191
0.00160428
0.00160985
0.00151205
0.00159902
0.00151538
0.0015495
0.00157193
0.00155661
0.0015101
0.00141896
0.00128293
0.00112727
0.00102025
0.00111164
0.00104798
0.0010745
0.000999444
0.00157586
0.00157084
0.00152736
0.00143673
0.00129726
0.00115145
0.00102511
0.000973866
0.00105262
0.000955091
0.00104502
0.00112885
0.00109558
0.00107676
0.00102851
0.00154495
0.00158522
0.0016228
0.00165195
0.00168556
0.00174046
0.00182236
0.00190704
0.00167019
0.0013792
0.0010422
0.000743661
0.000540236
0.000415909
0.000347973
0.000393343
0.000582188
0.00100939
0.00137818
0.00165605
0.00203902
0.00215232
0.00209189
0.00184024
0.00198781
0.00186468
0.00178474
0.00171777
0.0015978
0.00162062
0.00161971
0.00160712
0.00161616
0.00151199
0.00160909
0.00151542
0.00158201
0.00161175
0.00163209
0.00164457
0.00168042
0.00174768
0.00182631
0.00189732
0.00171488
0.00160979
0.00139802
0.00112652
0.000855141
0.000616875
0.000460698
0.000366334
0.000351847
0.000456835
0.000728717
0.00126278
0.00161503
0.00201318
0.00221374
0.0021781
0.00208167
0.00194081
0.00171354
0.00168148
0.00162844
0.00164001
0.00163258
0.00163302
0.00157008
0.00159422
0.00156966
0.0015924
0.00157586
0.00157077
0.00152718
0.00143641
0.00129686
0.00115118
0.00102473
0.00097382
0.00105129
0.000954733
0.00104696
0.00112862
0.00109545
0.00107747
0.00102836
0.00158549
0.00154556
0.001456
0.00132233
0.00118239
0.00107727
0.000961314
0.00107032
0.000955423
0.00106718
0.0010031
0.00108443
0.000988981
0.00106669
0.00109645
0.00106566
0.00158201
0.00161174
0.00163205
0.00164451
0.00168036
0.0017476
0.00182619
0.0018971
0.00160913
0.00139748
0.00112612
0.000854659
0.000616498
0.000460368
0.000366322
0.000352135
0.000457349
0.000728797
0.0012622
0.00161499
0.00201346
0.00221394
0.00217816
0.00208156
0.00171384
0.00194033
0.00171226
0.00168035
0.00162809
0.00163812
0.00163234
0.00162753
0.00157032
0.00159642
0.00156993
0.00159489
0.00160011
0.0016095
0.00160633
0.00162246
0.00167834
0.0017443
0.00180753
0.0018426
0.00157972
0.00150066
0.0013591
0.0011576
0.000910752
0.000699821
0.000510272
0.000391804
0.000342994
0.000394587
0.000540964
0.000962318
0.00153104
0.00196383
0.0022518
0.00226142
0.00216229
0.00202547
0.00183263
0.0016074
0.00159678
0.00157589
0.00158632
0.0016014
0.00155701
0.0016014
0.00156635
0.00159439
0.00158544
0.0015454
0.0014557
0.00132196
0.001182
0.00107713
0.000961353
0.00106829
0.000955375
0.00106721
0.00100305
0.00108172
0.000988643
0.00106971
0.00109879
0.00106556
0.001565
0.00147873
0.00135386
0.00124195
0.00113075
0.00107444
0.000986709
0.00109826
0.000985952
0.0010985
0.00111517
0.00103967
0.00160008
0.00160943
0.00160623
0.00162235
0.00167822
0.0017441
0.0018072
0.00184197
0.00149899
0.00135788
0.00115662
0.000909805
0.000698882
0.000509636
0.000391543
0.000343277
0.000395372
0.00054199
0.000962668
0.00153115
0.00196431
0.00225218
0.00226153
0.00216219
0.00202507
0.00157801
0.00183183
0.00160591
0.00159624
0.00157358
0.00158586
0.00159412
0.00155659
0.00159936
0.001566
0.00158863
0.00158715
0.00156739
0.00156667
0.00161302
0.00166886
0.00171133
0.00173331
0.0017003
0.00148916
0.0014005
0.0012961
0.00112292
0.000949695
0.000733144
0.000570737
0.000424724
0.000353806
0.000374855
0.000466419
0.000669865
0.00128196
0.0018875
0.0022486
0.0023278
0.0022333
0.00211115
0.00194995
0.00172223
0.00166677
0.00167298
0.00162063
0.00151603
0.00152638
0.00153133
0.00149881
0.001528
0.00153485
0.00151169
0.00156328
0.00156487
0.00147846
0.00135355
0.00124164
0.00113039
0.00107433
0.000986695
0.00109662
0.00098594
0.0010991
0.00111132
0.0010394
0.00150416
0.00138979
0.00129555
0.00121758
0.00110744
0.00112769
0.00102811
0.00111732
0.00102461
0.00102296
0.00111177
0.0010296
0.00110579
0.00158704
0.00156721
0.00156651
0.00161284
0.00166855
0.00171083
0.0017325
0.00169919
0.00139842
0.00129392
0.00112086
0.000948151
0.000731482
0.000569324
0.000424131
0.00035404
0.000375822
0.000467995
0.000671926
0.00128379
0.00188869
0.00224929
0.00232802
0.00223319
0.00211066
0.00194905
0.00148701
0.00172582
0.00166643
0.00167953
0.00162032
0.00151534
0.00152455
0.00153065
0.00149109
0.00152755
0.00153113
0.00151134
0.00155511
0.00153463
0.00151654
0.00155145
0.00159671
0.00161557
0.00161072
0.00156051
0.00151171
0.00146327
0.00155973
0.00151004
0.00128972
0.00143509
0.00138121
0.00141241
0.00143062
0.00118487
0.00110613
0.000925276
0.000773592
0.000592235
0.000469857
0.000379336
0.000376812
0.000458964
0.000591983
0.000931233
0.00169178
0.00220608
0.00234705
0.0022981
0.00217603
0.00198028
0.00204352
0.00196382
0.00207781
0.00182194
0.00176327
0.00185166
0.00178983
0.0019861
0.00187121
0.0016509
0.00155356
0.00158338
0.00148626
0.00144342
0.00148854
0.00146518
0.00146137
0.00150393
0.00138951
0.00129534
0.00121746
0.00110719
0.0011268
0.00102798
0.00111744
0.00102449
0.00102288
0.00111097
0.00102952
0.00110737
0.00142864
0.00134517
0.00127205
0.0011894
0.00113133
0.00103004
0.00113841
0.00105474
0.00116034
0.00107962
0.00115854
0.00107965
0.00108451
0.00113789
0.00153442
0.00151634
0.00155119
0.00159625
0.00161482
0.00160967
0.00155914
0.00151815
0.00146307
0.00156733
0.00150996
0.00128743
0.00118229
0.00110353
0.000922167
0.000771396
0.000589898
0.000468374
0.000379392
0.000378016
0.000460831
0.000594715
0.000935628
0.0016952
0.00220754
0.00234745
0.00229797
0.00217569
0.00197986
0.00204659
0.00196385
0.00207466
0.0018203
0.00176266
0.00184795
0.00178919
0.00198257
0.00187096
0.00143423
0.001374
0.00141148
0.00141956
0.00165513
0.00155337
0.00158963
0.00148621
0.00144273
0.00148676
0.00146456
0.00145323
0.00147143
0.00149526
0.00152674
0.00151982
0.00147872
0.00141545
0.00141695
0.00136456
0.00138277
0.00132802
0.00141156
0.00129175
0.00147169
0.00137074
0.00122061
0.00124916
0.00127623
0.0010847
0.00117951
0.00109434
0.00120601
0.00106748
0.00137937
0.00135059
0.00134899
0.00139965
0.00103266
0.00101119
0.00114618
0.000921656
0.00077447
0.000639311
0.000488295
0.000413523
0.000387508
0.00046053
0.000601493
0.000828619
0.00142236
0.00208556
0.00232234
0.00231723
0.00222765
0.00200036
0.00204956
0.00198845
0.00206556
0.00195066
0.00181391
0.00174026
0.00164742
0.00187602
0.00178969
0.00173456
0.00169692
0.00142838
0.00134492
0.00127205
0.0011897
0.00113154
0.00102991
0.00113818
0.00105423
0.0011604
0.00107965
0.00115733
0.00107948
0.00108442
0.00114022
0.00139247
0.00131585
0.00122221
0.001172
0.00115951
0.00107853
0.00119076
0.00112096
0.00118984
0.00115238
0.00147118
0.0014949
0.00152613
0.00151873
0.00147742
0.00141392
0.00141865
0.00136407
0.00138071
0.00132733
0.00141581
0.00129192
0.00147747
0.00137086
0.00122035
0.00124447
0.00127511
0.00107543
0.00117857
0.0011112
0.00120282
0.00107982
0.00105819
0.00100721
0.00114267
0.000918371
0.000770721
0.000636708
0.000485986
0.000412901
0.00038877
0.00046273
0.000604361
0.000833305
0.00142857
0.00208865
0.00232311
0.00231694
0.00222722
0.00200027
0.00205632
0.00198844
0.00206829
0.00195198
0.001814
0.00173961
0.00164687
0.00187186
0.00178628
0.00173422
0.00169627
0.00137876
0.00134198
0.00134832
0.00138692
0.00144132
0.00146129
0.00142964
0.00134972
0.0012572
0.00123739
0.00117477
0.00128459
0.00122328
0.00132855
0.00119755
0.00129419
0.00115032
0.00110315
0.00120077
0.00124195
0.00124909
0.00101583
0.00110781
0.00107574
0.00101146
0.000919582
0.000844502
0.00103686
0.000839055
0.000991325
0.000817859
0.000635864
0.00052132
0.00043299
0.000410498
0.000463125
0.000596001
0.000827706
0.0012744
0.00182464
0.00223989
0.00229784
0.00225258
0.00202834
0.00209322
0.00203737
0.00209335
0.00182335
0.00194135
0.00181016
0.00196036
0.00186628
0.00170529
0.00182938
0.00169541
0.00139216
0.00131562
0.00122264
0.00117286
0.00116258
0.00107856
0.00119345
0.00112085
0.00119202
0.00115237
0.00135494
0.00124158
0.00117166
0.00121387
0.00123607
0.00118208
0.00125509
0.00119284
0.00116257
0.00125201
0.00122898
0.00144096
0.0014605
0.00142817
0.00134834
0.00125576
0.00123541
0.00117406
0.00128227
0.00122253
0.0013276
0.00119725
0.00129139
0.00114996
0.00110266
0.00120037
0.00123632
0.00124817
0.00102114
0.00109969
0.00107436
0.00103176
0.000947053
0.000838814
0.00103183
0.000851113
0.00098857
0.000815116
0.000631944
0.000518404
0.000431715
0.00041157
0.000465444
0.000598775
0.000831314
0.00128017
0.00182934
0.00224153
0.00229805
0.0022524
0.00202818
0.00209508
0.0020374
0.00209204
0.00182348
0.00194789
0.00181048
0.00196468
0.00186552
0.00170516
0.00182506
0.0016949
0.00140355
0.00135111
0.00123618
0.0011007
0.00113206
0.00105659
0.00107877
0.00100211
0.00114258
0.000993597
0.00120366
0.00106114
0.00129125
0.00114405
0.00123915
0.00108072
0.00101948
0.000983705
0.000980148
0.000918124
0.000651196
0.000775611
0.00086201
0.000724384
0.000892872
0.000838711
0.000917994
0.000705148
0.000527342
0.00044387
0.000438666
0.000449448
0.000576377
0.000759175
0.00116571
0.00161168
0.00206327
0.00226358
0.00218392
0.00214153
0.00224739
0.00219556
0.00205175
0.00209933
0.00205567
0.00209039
0.0020995
0.00214635
0.00184014
0.00199795
0.00187152
0.00198474
0.00174761
0.00187624
0.00171692
0.00189793
0.00135452
0.00124151
0.00117273
0.00121378
0.00123779
0.0011821
0.00125621
0.00119794
0.00116256
0.00125417
0.0012287
0.00125666
0.00114946
0.00110093
0.00122033
0.00114968
0.00118246
0.0013196
0.00130036
0.00127401
0.00133002
0.00140291
0.00135001
0.00123512
0.00109967
0.00113098
0.00105607
0.0010783
0.0010016
0.00114059
0.000993179
0.00120135
0.00106074
0.00128957
0.0011437
0.00123625
0.00108033
0.00101882
0.000997081
0.000978169
0.000937798
0.000637695
0.000770746
0.000864545
0.000722671
0.000892094
0.000847297
0.000916861
0.000702285
0.000524238
0.000441304
0.000439653
0.000451416
0.000579165
0.000762308
0.00116995
0.00161521
0.00206509
0.00226372
0.00219152
0.00214175
0.00225592
0.00219565
0.00205161
0.00210517
0.00205566
0.00209167
0.00209962
0.00215139
0.00183987
0.00199815
0.00187151
0.00198361
0.00174761
0.00188107
0.00171703
0.00190217
0.00129546
0.00116218
0.000957461
0.000895553
0.000812489
0.000964247
0.000878137
0.00103397
0.000889843
0.000956437
0.000818058
0.0010661
0.000908822
0.00114441
0.000987135
0.000939609
0.000918829
0.000621011
0.000658697
0.00079657
0.000740628
0.000804145
0.000750594
0.000832897
0.00057744
0.000827819
0.000793163
0.000722721
0.00082853
0.000846522
0.000883518
0.000548849
0.00070998
0.000783934
0.000424581
0.000425901
0.000449782
0.000553301
0.000665469
0.00108458
0.00135617
0.00178725
0.00210404
0.00201938
0.0019856
0.00212567
0.00212277
0.00208944
0.00207689
0.00205969
0.00206866
0.00207002
0.0020772
0.00199007
0.00196306
0.00197048
0.00201577
0.0019233
0.00204368
0.00203916
0.00178643
0.00193657
0.00125631
0.00114963
0.00110108
0.00122278
0.00114973
0.00118487
0.00131954
0.00130274
0.00127413
0.00133141
0.00112122
0.00106152
0.00112305
0.0010216
0.0011509
0.00115183
0.00126566
0.00122299
0.00120247
0.00129474
0.00116139
0.000957649
0.000896204
0.000811785
0.000964935
0.000877723
0.00103273
0.000889527
0.000955566
0.000817678
0.00106406
0.000908373
0.00114228
0.000986742
0.000938551
0.00093275
0.000600407
0.000648166
0.000838144
0.000549255
0.000837716
0.00080272
0.000710061
0.000808386
0.000719871
0.000794486
0.000720135
0.000828509
0.00085196
0.000882703
0.000543519
0.000686705
0.000788059
0.0004225
0.000425911
0.000451215
0.000556739
0.000668403
0.00108872
0.00136128
0.00178806
0.00210426
0.00201397
0.0019857
0.00211808
0.00212529
0.00208946
0.00207522
0.00205948
0.00206138
0.00206986
0.00208359
0.00199016
0.00196302
0.00197025
0.00202093
0.00192331
0.00204617
0.00204148
0.00178608
0.00193676
0.00112949
0.000933294
0.000810297
0.00069918
0.000806767
0.000696706
0.000784805
0.000660367
0.000843995
0.000717977
0.000951174
0.000803827
0.000879543
0.000730783
0.000636733
0.000739247
0.000662645
0.000761011
0.000782687
0.00078786
0.000617243
0.00080208
0.000752978
0.00082396
0.000749007
0.000601856
0.00073162
0.000482442
0.000709224
0.000438886
0.000718295
0.000424917
0.000416782
0.000372627
0.000741667
0.000657414
0.000407816
0.000720544
0.000419217
0.000720806
0.000431096
0.0004762
0.000580599
0.000912812
0.00116364
0.00122626
0.00140334
0.00139704
0.00159432
0.00169262
0.00182013
0.00180796
0.00165301
0.00160022
0.0013832
0.0019491
0.00189585
0.00199298
0.00191005
0.00196112
0.00196705
0.00191599
0.00189757
0.00201345
0.0019073
0.0011209
0.00106154
0.00112096
0.00102075
0.00115313
0.00115191
0.00126884
0.00122307
0.00120644
0.000942836
0.00109399
0.000981429
0.00104482
0.00109946
0.0011253
0.0010434
0.00116445
0.00123416
0.00124921
0.00112913
0.000933457
0.000808472
0.000698134
0.000804498
0.00069568
0.000784648
0.000660009
0.000844532
0.000717704
0.000949794
0.000803547
0.000878537
0.0007304
0.00062096
0.000790748
0.000630787
0.000597333
0.000788066
0.000808376
0.000713571
0.000763141
0.000751979
0.000823672
0.000749249
0.000590314
0.000731581
0.000476524
0.000713532
0.000438818
0.000701715
0.000427455
0.0004161
0.000376214
0.000732274
0.000658654
0.000405794
0.000701337
0.000418898
0.000716284
0.000430041
0.000478824
0.000583275
0.000913236
0.0011667
0.00124532
0.00140327
0.00141239
0.00159362
0.00169265
0.00181836
0.00180801
0.00164985
0.00159997
0.00138737
0.00194321
0.00189568
0.00199648
0.0019098
0.00195499
0.0019666
0.00191567
0.00189711
0.00201726
0.00190724
0.000967907
0.000847676
0.000763817
0.000808508
0.000719661
0.000738584
0.00062363
0.00074557
0.00065268
0.00075163
0.000619782
0.000795029
0.00065569
0.000703894
0.000679776
0.000752834
0.000719537
0.000689725
0.000716848
0.000416645
0.000603427
0.000656895
0.000417195
0.000351668
0.000388531
0.000649716
0.000626626
0.000413159
0.000716542
0.000422598
0.000731013
0.000437617
0.000695494
0.000384824
0.00063373
0.00042209
0.000722716
0.000457731
0.000656427
0.00068045
0.000479468
0.000612809
0.000867813
0.000581051
0.000765164
0.000486607
0.00074409
0.00110395
0.000870574
0.00100951
0.000950614
0.000643072
0.00092975
0.00109625
0.000945254
0.00112548
0.00124129
0.0010302
0.00116227
0.00123649
0.00138006
0.00152473
0.00162753
0.00177221
0.00173069
0.00143297
0.00164546
0.00189449
0.00181373
0.00197051
0.00187228
0.00192636
0.00185941
0.000942561
0.00109184
0.000980666
0.00104581
0.00109939
0.00112792
0.00104305
0.00116837
0.00123419
0.00125471
0.000931841
0.00107749
0.000987085
0.00103442
0.00116752
0.00113558
0.00109077
0.00119812
0.000968891
0.000848189
0.000763449
0.000807065
0.000718916
0.000737797
0.000623259
0.000745953
0.000652404
0.000750171
0.000619319
0.000794261
0.000655311
0.000676089
0.000755119
0.000662303
0.000719394
0.000689277
0.000716589
0.000414118
0.000591578
0.00065678
0.000419563
0.000351775
0.000393424
0.000643351
0.000624932
0.000415339
0.000682875
0.000386674
0.000646059
0.000718063
0.000420331
0.000732341
0.000435303
0.000420018
0.00071895
0.000455534
0.000662786
0.000683551
0.000479858
0.000617673
0.00086544
0.000581883
0.000765905
0.000484093
0.000746436
0.000643639
0.000929736
0.00110774
0.00085424
0.00101101
0.000931548
0.00110884
0.00124177
0.00103782
0.00116261
0.000928407
0.00112763
0.00124388
0.00137954
0.00152457
0.00162733
0.0017703
0.00173046
0.001426
0.00164296
0.00188858
0.00181343
0.0019735
0.00187198
0.00192187
0.00185886
0.00089435
0.000815034
0.000956686
0.000875083
0.000819402
0.000756869
0.000774746
0.000699639
0.000637342
0.000391324
0.000597403
0.000380315
0.000321739
0.000432365
0.000566265
0.000607379
0.000443371
0.000401203
0.000622753
0.000675422
0.000411791
0.000642632
0.000410294
0.000665884
0.00047988
0.000652738
0.00051637
0.000633241
0.000717758
0.000807627
0.000904492
0.000738248
0.00104413
0.000927729
0.00112912
0.000984264
0.00111282
0.00124359
0.00105963
0.00116927
0.00130818
0.00139324
0.00153369
0.00179826
0.00172506
0.00151209
0.00093166
0.00108101
0.000986904
0.00103773
0.00116754
0.00114016
0.00109053
0.00120374
0.000928992
0.00107943
0.00102235
0.001001
0.000895571
0.00081467
0.000959169
0.000874865
0.000823951
0.000756675
0.000777092
0.000699468
0.000636501
0.000390042
0.000597398
0.000382361
0.000321985
0.000432832
0.00056319
0.000606914
0.000400128
0.000411667
0.000675907
0.000647592
0.000441684
0.000622611
0.000405641
0.000665846
0.000473661
0.000655384
0.000512816
0.000632333
0.00071888
0.000807707
0.000728643
0.000927684
0.000886937
0.00104526
0.00113784
0.00124317
0.000980842
0.00106771
0.00111337
0.00116912
0.00130472
0.00139261
0.00153334
0.0017948
0.00172465
0.0015069
0.000874608
0.000809325
0.000940896
0.000883378
0.000340763
0.000549483
0.000413479
0.000634158
0.000415364
0.000631967
0.000498054
0.000657159
0.000556213
0.000677251
0.000732141
0.000843994
0.000928753
0.00108454
0.00102217
0.00100473
0.000957842
0.000997197
0.00087883
0.000809119
0.00094538
0.000883274
0.000341586
0.000548241
0.000410284
0.000637063
0.000408133
0.000632696
0.000491496
0.000658402
0.000553454
0.000672644
0.000732365
0.000843709
0.000957788
0.00100266
)
;
boundaryField
{
inlet
{
type calculated;
value nonuniform List<scalar>
15
(
1.3604e-09
1.37408e-08
1.40479e-08
1.48544e-08
1.55163e-08
1.83828e-08
1.85042e-08
7.59279e-09
1.30049e-08
8.75497e-10
2.21476e-09
4.93898e-09
3.61134e-09
7.5501e-09
4.94366e-09
)
;
}
outlet
{
type calculated;
value nonuniform List<scalar>
15
(
5.67366e-08
1.36031e-08
1.38852e-08
1.28626e-08
5.84077e-08
6.31541e-08
6.15242e-08
5.20477e-08
4.90302e-08
4.78242e-08
4.72845e-08
4.73336e-08
4.82462e-08
5.02579e-08
5.26334e-08
)
;
}
wall1
{
type nutkWallFunction;
Cmu 0.09;
kappa 0.41;
E 9.8;
value nonuniform List<scalar>
170
(
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
6.10332e-07
8.31595e-05
9.9779e-05
0.000104025
0.000106698
0.000107197
0.000105915
0.000103155
9.95727e-05
9.54126e-05
9.08217e-05
8.60456e-05
8.0989e-05
7.56338e-05
6.98511e-05
6.37134e-05
8.31595e-05
0.000108291
0.000125191
0.000140089
0.000153086
0.00016438
0.000174011
0.000182435
0.000190007
0.000197225
0.000204539
0.000211288
0.000216496
0.000217737
0.000213283
0.000205051
0.000178036
0.000154685
0.000143376
0.000130104
0.000154292
0.000182951
0.000191021
0.00019781
0.000209382
0.000213884
0.000216788
0.000215874
0.000212441
0.000207645
0.000202326
0.000196541
0.000189871
0.0001819
0.00017223
0.00015983
0.000144117
0.000126268
0.000108756
8.48682e-05
8.48682e-05
0.000100453
0.000105275
0.000109634
0.000111722
0.000111446
0.000109093
0.000105411
0.000100805
9.55578e-05
8.99921e-05
8.39828e-05
7.7517e-05
7.04933e-05
6.30159e-05
6.86004e-07
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
)
;
}
atmosphere
{
type calculated;
value nonuniform List<scalar>
140
(
1.1519e-08
1.04606e-09
9.23396e-09
1.48604e-08
3.17573e-08
4.51019e-08
3.61188e-08
5.64022e-09
6.00605e-09
1.9734e-08
1.43609e-08
1.22984e-08
1.1718e-08
1.63862e-08
3.27382e-08
2.61449e-08
1.61826e-08
1.03123e-08
8.01455e-09
3.29629e-08
1.80292e-08
8.77785e-09
7.09582e-09
1.06892e-08
4.9661e-08
2.94091e-08
1.40652e-08
1.3197e-08
1.62978e-08
1.62091e-08
5.59281e-09
3.70185e-09
3.05837e-09
2.99281e-09
9.55216e-09
1.08942e-08
1.43917e-08
1.92473e-08
1.96577e-08
1.81984e-08
1.34868e-08
1.43139e-08
5.4708e-07
2.02268e-05
0.000515169
0.0035634
0.00433791
0.00409943
3.01172e-09
3.67024e-09
1.48496e-09
1.34179e-09
1.26013e-09
1.21961e-09
1.2521e-09
1.40908e-09
1.50432e-09
1.54733e-09
1.06426e-09
0.000490361
0.000615159
0.00120345
0.00177747
0.0015963
0.00176705
0.0013933
2.06488e-10
3.65093e-10
3.43022e-10
7.15519e-10
2.46093e-09
1.3996e-09
7.27393e-10
1.02503e-09
1.296e-09
1.51421e-09
4.83231e-09
8.05426e-09
1.66774e-09
1.53098e-09
1.32794e-09
1.54827e-09
2.69535e-09
2.92978e-09
1.84112e-09
1.72864e-09
1.66821e-09
1.84237e-09
2.38675e-09
3.80875e-09
2.88575e-09
1.00682e-09
5.85438e-10
4.4654e-10
4.37023e-10
0.00421838
0.0036596
0.00283551
0.00135783
6.33478e-05
3.96664e-06
1.87093e-07
8.73876e-09
3.78498e-09
4.76938e-09
6.20428e-09
4.50963e-09
7.38594e-09
1.56491e-08
8.0432e-08
2.08368e-08
1.12215e-08
8.26635e-09
8.64226e-09
1.60134e-08
1.05393e-08
6.8982e-09
7.37327e-09
8.46847e-09
8.40587e-09
8.43127e-09
7.93562e-09
6.97121e-09
5.50618e-09
9.07314e-09
1.79522e-08
5.39417e-09
2.12773e-09
1.82086e-09
1.7102e-09
3.221e-09
5.69521e-09
2.5992e-08
4.75502e-09
2.3177e-08
1.23796e-07
1.51984e-08
1.28924e-07
1.20871e-09
5.26334e-08
)
;
}
defaultFaces
{
type empty;
}
flap
{
type nutkWallFunction;
Cmu 0.09;
kappa 0.41;
E 9.8;
value nonuniform List<scalar>
368
(
9.46676e-05
7.48713e-05
6.59056e-05
5.87693e-05
4.96263e-05
3.8849e-05
3.35904e-05
3.23205e-05
3.35662e-05
3.55636e-05
0.000106371
9.50946e-05
7.82124e-05
7.89673e-05
3.73484e-05
3.75453e-05
2.97054e-05
2.98352e-05
7.5327e-05
6.76692e-05
6.83622e-05
2.89847e-05
2.9097e-05
2.78722e-05
2.79315e-05
6.62345e-05
6.05716e-05
6.12514e-05
2.79805e-05
2.80226e-05
2.95157e-05
2.98724e-05
5.90312e-05
5.19764e-05
5.26205e-05
3.15383e-05
3.19145e-05
3.86663e-05
3.88427e-05
4.97654e-05
4.1531e-05
4.21722e-05
4.24238e-05
4.27631e-05
4.98987e-05
5.0048e-05
3.93935e-05
3.47325e-05
3.48638e-05
5.27324e-05
5.29755e-05
6.09563e-05
6.11291e-05
3.37543e-05
3.24039e-05
3.25175e-05
6.29233e-05
6.31665e-05
6.79838e-05
6.82152e-05
3.24486e-05
3.30401e-05
3.31976e-05
7.14982e-05
7.17289e-05
8.65972e-05
8.66798e-05
3.37605e-05
3.5742e-05
3.60418e-05
9.05574e-05
9.06488e-05
0.00010768
0.000107805
3.59591e-05
0.000119321
0.000119454
5.9677e-05
5.96318e-05
7.2231e-05
7.22414e-05
0.000106861
4.60853e-05
4.65229e-05
8.35277e-05
8.83789e-05
6.86485e-05
7.24437e-05
6.06206e-05
6.47989e-05
5.42335e-05
5.77211e-05
4.68686e-05
4.79486e-05
3.86367e-05
3.72111e-05
3.30544e-05
3.30641e-05
2.98441e-05
3.24393e-05
2.86688e-05
3.45316e-05
2.87134e-05
3.8428e-05
9.31448e-05
0.000131825
8.36284e-05
8.87612e-05
7.15433e-05
8.23636e-05
7.16794e-05
8.31063e-05
3.94903e-05
3.36151e-05
3.95615e-05
3.36557e-05
3.35362e-05
3.08505e-05
3.35919e-05
3.10826e-05
6.87502e-05
7.27592e-05
6.24074e-05
6.97147e-05
6.25173e-05
7.03816e-05
3.25206e-05
2.83475e-05
3.25627e-05
2.84665e-05
3.09601e-05
2.80157e-05
3.09963e-05
2.81209e-05
6.06764e-05
6.49369e-05
5.59313e-05
6.22439e-05
5.60165e-05
6.28227e-05
3.09188e-05
2.82844e-05
3.09378e-05
2.83681e-05
3.20702e-05
2.91139e-05
3.22119e-05
2.92546e-05
5.42577e-05
5.76469e-05
4.88513e-05
5.46174e-05
4.89414e-05
5.5027e-05
3.37761e-05
3.43951e-05
3.38883e-05
3.43948e-05
3.95628e-05
3.71917e-05
3.96034e-05
3.70793e-05
4.68704e-05
4.76033e-05
4.06865e-05
4.4657e-05
4.08235e-05
4.47455e-05
4.25128e-05
4.43412e-05
4.2595e-05
4.45467e-05
4.87338e-05
4.77954e-05
4.87742e-05
4.78659e-05
3.87427e-05
3.71929e-05
3.44413e-05
3.58041e-05
3.44789e-05
3.58008e-05
5.11436e-05
5.56089e-05
5.12043e-05
5.58084e-05
5.81727e-05
5.82526e-05
5.82231e-05
5.8373e-05
3.30943e-05
3.3176e-05
3.06159e-05
3.26296e-05
3.06482e-05
3.27243e-05
6.00908e-05
6.4565e-05
6.01569e-05
6.47996e-05
6.56905e-05
6.54841e-05
6.57561e-05
6.56936e-05
2.98793e-05
3.25466e-05
2.87247e-05
3.26731e-05
2.87744e-05
3.27765e-05
6.89852e-05
7.67596e-05
6.90512e-05
7.69151e-05
8.18514e-05
8.1553e-05
8.18817e-05
8.16447e-05
2.87152e-05
3.47119e-05
2.8178e-05
3.54297e-05
2.82156e-05
3.56351e-05
8.55297e-05
9.52279e-05
8.55595e-05
9.53166e-05
9.92347e-05
0.000100553
9.92756e-05
0.000100657
2.87495e-05
3.87215e-05
0.000107916
0.000138092
0.000107963
0.000138149
6.07767e-05
6.07357e-05
6.90367e-05
6.91334e-05
9.32796e-05
0.000132032
6.55144e-05
5.20127e-05
6.55113e-05
7.58765e-05
4.62423e-05
6.24625e-05
4.63498e-05
6.29183e-05
4.34244e-05
4.36893e-05
5.1381e-05
7.88725e-05
6.62848e-05
5.91433e-05
5.27122e-05
4.50355e-05
3.70603e-05
3.23588e-05
2.9274e-05
2.88491e-05
3.26742e-05
4.04191e-05
4.24654e-05
4.33537e-05
3.84381e-05
3.86274e-05
4.3407e-05
0.000116637
7.60506e-05
7.89864e-05
7.47306e-05
7.48955e-05
3.67277e-05
3.67891e-05
3.48431e-05
3.49192e-05
6.63943e-05
6.41685e-05
6.43137e-05
3.16687e-05
3.17214e-05
3.12419e-05
3.12972e-05
5.92055e-05
5.73453e-05
5.74614e-05
3.10102e-05
3.1051e-05
3.1716e-05
3.17921e-05
5.27417e-05
5.06828e-05
5.07853e-05
3.56936e-05
3.57173e-05
3.80719e-05
3.80553e-05
4.49976e-05
4.27498e-05
4.2809e-05
4.412e-05
4.41857e-05
4.679e-05
4.68265e-05
3.70743e-05
3.55799e-05
3.55959e-05
5.35081e-05
5.35726e-05
5.57897e-05
5.58404e-05
3.23933e-05
3.1318e-05
3.1352e-05
6.1738e-05
6.18141e-05
6.31579e-05
6.32305e-05
2.93162e-05
2.88393e-05
2.88872e-05
7.33422e-05
7.33989e-05
7.75484e-05
7.75904e-05
2.88866e-05
2.84086e-05
2.84516e-05
8.95199e-05
8.95568e-05
9.38785e-05
9.39215e-05
3.47569e-05
3.48922e-05
3.48187e-05
3.40484e-05
3.27046e-05
4.04988e-05
4.26936e-05
3.47856e-05
3.49629e-05
3.48424e-05
3.40902e-05
0.000126367
7.97714e-05
7.06915e-05
4.33967e-05
3.85154e-05
3.86522e-05
4.34822e-05
0.000126402
7.97504e-05
7.09283e-05
0.000116753
4.94062e-05
4.92344e-05
6.13898e-05
6.1533e-05
3.84648e-05
3.74026e-05
3.83587e-05
4.3254e-05
3.75106e-05
4.35396e-05
)
;
}
AMI1
{
type cyclicAMI;
value nonuniform List<scalar>
1024
(
0.000868586
0.00132056
0.000375
0.00128485
0.000574222
0.00132336
0.00152068
0.00158262
0.0012739
0.000431772
0.000878773
0.000898292
0.00128651
0.00196539
0.00130796
0.00109557
0.00110187
0.000934371
0.000934735
0.00114941
0.00115518
0.000266456
0.000262048
0.000868278
0.000165419
0.00112312
0.00112406
0.00042144
0.000424609
0.00111825
0.00111446
0.00037859
0.00026865
0.000258737
0.00126974
0.00127125
0.000298921
0.000296799
0.0011971
0.00029528
0.000298487
0.000315242
0.000308967
0.000751529
0.000754397
0.000276342
0.000579562
0.0013151
0.00131555
0.000645195
0.00071061
0.000647675
0.00141846
0.000664842
0.00141549
0.00158767
0.000264033
0.000700478
0.000673961
0.00137919
0.00137972
0.000703243
0.000748768
0.000744666
0.000482591
0.00130469
0.0017754
0.00177202
0.0013202
0.00132249
0.00183925
0.00183415
0.00128961
0.00127062
0.00127242
0.00185577
0.00185864
0.00128848
0.00131006
0.00131367
0.00184147
0.00183971
0.00131197
0.00069732
0.00116755
0.00126046
0.0011982
0.00122362
0.000923037
0.00100011
0.000936557
0.000985224
0.000852774
0.000718472
0.00130757
0.00133785
0.00133129
0.000338186
0.000407531
0.00107444
0.00101524
0.000330784
0.00033433
0.00024625
0.00030661
0.000264312
0.00116168
0.00116902
0.00121583
0.00124672
0.000381989
0.000307208
0.000285084
0.000299229
0.000408899
0.000666485
0.000532385
0.00072073
0.000633696
0.000360482
0.000332033
0.000398775
0.000286747
0.000811597
0.00108649
0.00130889
0.00139706
0.00136821
0.00148354
0.00154847
0.00150427
0.00154842
0.00158677
0.0015505
0.0015389
0.000668721
0.00123161
0.00118411
0.00117012
0.000607119
0.000914532
0.00084053
0.000974548
0.0010282
0.00149157
0.00135046
0.0015055
0.00117766
0.00121633
0.00189923
0.00183162
0.00123841
0.00124041
0.00127877
0.00135092
0.00126978
0.00136507
0.000961366
0.000696927
0.000647163
0.000646774
0.00117474
0.00117468
0.00121714
0.001217
0.00116732
0.00126055
0.00119796
0.00122372
0.00111512
0.00106709
0.0010131
0.00116453
0.00111498
0.00106726
0.00101298
0.0011646
0.00096315
0.00105735
0.00105727
0.000922961
0.00100046
0.00093645
0.000985596
0.000913671
0.000892883
0.00091362
0.000892931
0.000970445
0.00111697
0.00120574
0.00111682
0.00121183
0.00125447
0.00126008
0.000385431
0.000384628
0.000852796
0.000716017
0.00133922
0.00133121
0.00132845
0.00132821
0.000247149
0.000163037
0.00024288
0.000243961
0.000244819
0.00105733
0.00109236
0.00105725
0.000347006
0.000339504
0.000411241
0.00035016
0.000360082
0.000347473
0.000433297
0.000361379
0.000348414
0.00043713
0.00104571
0.00104546
0.00113712
0.00030338
0.000304615
0.000289078
0.000282166
0.000254622
0.000239704
0.000332149
0.0011745
0.00120499
0.00117447
0.000335548
0.000330539
0.000333109
0.000247171
0.0003076
0.000262054
0.000257128
0.000248248
0.00116159
0.00121177
0.00121159
0.000377826
0.000372168
0.000290516
0.000362661
0.000286084
0.000358513
0.000349625
0.00112172
0.00120401
0.00116886
0.0012483
0.00112173
0.00120621
0.00118999
0.000394123
0.000397604
0.000385551
0.000374277
0.00038493
0.000311174
0.000384134
0.000372669
0.000288644
0.000296996
0.00118946
0.00121682
0.00119047
0.00121735
0.00112683
0.000844162
0.00102148
0.00104731
0.00112658
0.000843972
0.0010224
0.000382599
0.000369968
0.00027083
0.000379543
0.000384397
0.000285569
0.000293661
0.000307026
0.000292688
0.000543843
0.000665423
0.000592311
0.000537545
0.00054382
0.000666994
0.000592156
0.000567013
0.000721842
0.000633422
0.000665
0.000717315
0.00066486
0.000717293
0.00111323
0.00109525
0.00116814
0.00111328
0.00109521
0.00142717
0.00116817
0.000608618
0.000608272
0.000553178
0.000782569
0.00049401
0.000598683
0.000608308
0.000612025
0.00055315
0.00142725
0.00114528
0.0012534
0.000721315
0.000829668
0.00100059
0.00142682
0.00114034
0.0012525
0.00155861
0.00135416
0.00155034
0.00162461
0.00155858
0.00135445
0.000355722
0.000428047
0.000355451
0.000428445
0.00061485
0.000504259
0.000615517
0.000504717
0.000354998
0.000263237
0.000357841
0.000324614
0.000396713
0.000278086
0.000356637
0.000262344
0.000651503
0.000623109
0.000865348
0.000811192
0.000864559
0.00108595
0.00150061
0.00155063
0.00150058
0.00156019
0.00153866
0.00155977
0.001316
0.00147168
0.00131581
0.00146872
0.000347552
0.00033901
0.000348518
0.000340835
0.000668204
0.00104602
0.00118452
0.00104577
0.000964118
0.000822841
0.000754144
0.0008177
0.00075044
0.000622654
0.000613586
0.000661403
0.000632102
0.000623069
0.000725484
0.000725241
0.000638755
0.000639513
0.000914514
0.0008404
0.000977384
0.00106075
0.00124428
0.00143452
0.00148762
0.0014505
0.00148972
0.00145049
0.00147296
0.0016997
0.00169926
0.00146941
0.0013585
0.00132852
0.0013635
0.00132847
0.00125891
0.0012588
0.00183132
0.00174863
0.00183069
0.00174821
0.00117773
0.00121631
0.00114705
0.00122947
0.001147
0.00123256
0.00189902
0.00116822
0.0011682
0.00122142
0.00122137
0.00120247
0.00192785
0.0016913
0.00188681
0.00169117
0.00189015
0.00123822
0.00132413
0.00124834
0.00131426
0.00124822
0.00131729
0.00168104
0.00168071
0.00123829
0.00124032
0.00132219
0.00122421
0.00133202
0.00124495
0.00131543
0.0012241
0.00133416
0.00124469
0.00131831
0.00127871
0.00135193
0.00126955
0.00136442
0.00123971
0.00130999
0.00120713
0.00133992
0.00123956
0.00131135
0.00120697
0.0013398
0.000960959
0.00108363
0.00108321
0.00116277
0.00116263
0.00115051
0.00115042
0.000937695
0.000166314
0.00119326
0.0012181
0.00118169
0.000278298
0.000262112
0.000710032
0.000663844
0.00158958
0.000971907
0.00161697
0.000393739
0.000706336
0.000634977
0.00140867
0.00127673
0.00197903
0.00128609
0.00132125
0.00104898
0.000936056
0.000738213
0.000736321
0.00126181
0.00126311
0.001311
0.00131132
0.00129552
0.00129891
0.000522638
0.000518006
0.00132294
0.00121964
0.00122542
0.00026123
0.000262535
0.00119562
0.00110028
0.00113717
0.00110274
0.000250918
0.000235558
0.0012167
0.00121573
0.00122219
0.00122067
0.00122267
0.000291079
0.000280705
0.00128418
0.00119623
0.00119004
0.00118342
0.0011944
0.0011948
0.000281946
0.000287663
0.000826279
0.000826913
0.000951764
0.000953444
0.00128611
0.00128592
0.000900807
0.000898225
0.001244
0.00123769
0.00148166
0.00131499
0.00147845
0.0015875
0.00151629
0.00158476
0.00158419
0.000675711
0.000656889
0.000908283
0.000918184
0.000981805
0.00159878
0.00160379
0.00161888
0.00127484
0.00100511
0.00100168
0.000413728
0.000405909
0.000475147
0.000411112
0.000429059
0.000409858
0.000878435
0.000742821
0.000880818
0.000731734
0.00129978
0.00120132
0.00120641
0.000984208
0.000979853
0.00141323
0.00127387
0.00150715
0.00150783
0.00195819
0.0019604
0.00119296
0.00119417
0.00199411
0.00199837
0.00198193
0.00116439
0.0011688
0.00192751
0.00196626
0.00104685
0.00127248
0.00127329
0.00078508
0.000849837
0.000649012
0.00070317
0.000610346
0.000614437
0.000723368
0.000883169
0.000866708
0.00081366
0.000933645
0.000768635
0.00024762
0.00016347
0.000242642
0.00115875
0.00111175
0.00117809
0.000299185
0.000303288
0.00117829
0.00111016
0.00114374
0.00116463
0.00117322
0.00122455
0.000350097
0.00111262
0.00112518
0.000403115
0.000587915
0.000564407
0.000371033
0.00027264
0.000380697
0.000782724
0.000494098
0.000599012
0.000721763
0.000831526
0.00100127
0.00155082
0.00161947
0.000745884
0.000639535
0.000756442
0.000992594
0.00100978
0.00109878
0.00117838
0.00151352
0.00164456
0.0015343
0.00164421
0.00155597
0.00159173
0.000627898
0.000447017
0.000883031
0.000831041
0.000620215
0.000406506
0.000574933
0.000571266
0.000612769
0.000720193
0.000826588
0.000672849
0.00136426
0.00124435
0.00146981
0.00146697
0.00124798
0.00186773
0.00199855
0.00202246
0.00127751
0.00123822
0.00168012
0.00181649
0.00131868
0.00144533
0.00162419
0.00151712
0.00154965
0.00089401
0.0011192
0.00078474
0.000848452
0.00079075
0.000609878
0.000789416
0.00116658
0.00126774
0.00116641
0.00126859
0.0012347
0.00130323
0.00123456
0.00130355
0.000648743
0.000700423
0.000614029
0.00072204
0.000705264
0.000821214
0.000767441
0.000766695
0.000705185
0.000826028
0.000767343
0.000768426
0.000883125
0.000872157
0.000813512
0.000938589
0.000999466
0.000963116
0.00100508
0.000970092
0.00118219
0.00118226
0.00124224
0.00127366
0.00124227
0.0012737
0.000768452
0.000632935
0.000632494
0.0013076
0.00120476
0.00132306
0.00120479
0.00132478
0.000272162
0.000183956
0.000273152
0.000183897
0.00111161
0.00115875
0.00117582
0.00109242
0.00114212
0.00114441
0.000309978
0.000311404
0.00107729
0.00101524
0.0010729
0.00107284
0.00111007
0.000290852
0.000284282
0.00117886
0.00114369
0.00120692
0.00118473
0.0011848
0.00117323
0.000350617
0.000348068
0.00116455
0.00122813
0.00116578
0.00123457
0.00116567
0.0012376
0.00037186
0.000299666
0.000365777
0.000275299
0.00121576
0.00110674
0.00110675
0.00112514
0.000319164
0.000312519
0.000383176
0.000388199
0.00112476
0.00116691
0.0011125
0.00112464
0.00116672
0.00116936
0.00116965
0.00113111
0.00113156
0.00104708
0.000394709
0.000268479
0.000398746
0.000270418
0.000402659
0.000411095
0.00041602
0.000408642
0.000666766
0.000588295
0.000751776
0.000760062
0.000790203
0.000751403
0.000760134
0.000790008
0.000868214
0.00131188
0.00142616
0.000868389
0.00131381
0.00119881
0.0014289
0.0011988
0.0014323
0.000829812
0.000593301
0.000417745
0.000829521
0.000594166
0.000416908
0.000348776
0.000349427
0.001244
0.00124315
0.00144494
0.00143837
0.00140593
0.00130824
0.00138518
0.0013675
0.00144434
0.00142935
0.00140517
0.00154075
0.00157416
0.0015243
0.0014831
0.00154091
0.00150381
0.0015403
0.00156861
0.00152385
0.00154853
0.00158979
0.000742915
0.000709714
0.000591314
0.000703694
0.000744625
0.000709411
0.000785748
0.000625729
0.000761663
0.000609365
0.0007639
0.000770849
0.000620758
0.000774963
0.000791049
0.000599414
0.000915626
0.000835509
0.000743776
0.000627832
0.000757114
0.000914661
0.00083846
0.000991981
0.00101175
0.00109134
0.00117791
0.00149447
0.00158556
0.0014943
0.00159284
0.00165976
0.0016662
0.00157037
0.00151325
0.00164337
0.00165618
0.00165997
0.00156981
0.0015336
0.00163626
0.00155522
0.0015845
0.00139061
0.00139021
0.00123156
0.00116994
0.000376815
0.000378324
0.000392752
0.000586647
0.000547947
0.000586665
0.000555719
0.000547034
0.000554699
0.000627128
0.000444432
0.000580343
0.000703325
0.000964484
0.00108346
0.00108375
0.000879417
0.000830713
0.000773393
0.000712872
0.000661822
0.000772942
0.000712408
0.000613061
0.000647798
0.000624321
0.000399014
0.000627433
0.000648129
0.000606683
0.000396302
0.000402342
0.000570869
0.000574538
0.000610621
0.000622659
0.000645402
0.000648968
0.00055826
0.000720212
0.000826246
0.000554858
0.000892862
0.000892527
0.00102891
0.000667689
0.00106076
0.00114174
0.00112001
0.00114173
0.00112445
0.00109403
0.00104936
0.00109428
0.00114909
0.00113616
0.00122398
0.00114894
0.00114098
0.00122354
0.00105546
0.00136431
0.00143449
0.00147917
0.00148617
0.00160238
0.00157821
0.00159846
0.00157787
0.00134971
0.00150503
0.00147931
0.00145392
0.00145372
0.00190739
0.00190247
0.00185778
0.0018519
0.00193636
0.00185741
0.00185134
0.00193574
0.00125481
0.00110439
0.00110437
0.00188831
0.00194308
0.00188827
0.00202448
0.0019428
0.00186753
0.00200044
0.00110058
0.00120429
0.00124911
0.00120252
0.00110068
0.00120675
0.00125031
0.0017755
0.00177515
0.00183144
0.00173048
0.00173036
0.0012775
0.00126197
0.00126198
0.00167958
0.00181232
0.00166014
0.00172264
0.00161833
0.00176976
0.00165951
0.00172173
0.00161779
0.00176646
0.00144533
0.00162788
0.00151692
0.00155535
0.00135121
0.00140376
0.00128247
0.00127599
0.00113144
0.00146483
0.00135124
0.00140722
0.00128066
0.00127604
0.0014696
0.00125885
0.00115849
0.00126166
0.000893556
0.00111693
0.00124243
0.00113109
0.00123965
0.00117622
0.00126506
0.00117608
0.00126566
0.00125585
0.00115844
0.00125703
)
;
}
AMI2
{
type cyclicAMI;
value nonuniform List<scalar>
1040
(
0.00112682
0.00136517
0.00119117
0.000545512
0.000171356
0.000698237
0.000269967
0.000275546
0.000302106
0.000293677
0.000407312
0.000624095
0.00137275
0.00158319
0.00141873
0.00142304
0.000717273
0.000915585
0.00114289
0.00112928
0.0010746
0.00107852
0.00124508
0.00125236
0.00116341
0.00116743
0.00125428
0.00125675
0.00133826
0.00128515
0.00121887
0.00122152
0.00127265
0.00127547
0.00119203
0.00125366
0.00125599
0.00118298
0.00118339
0.00125162
0.00125172
0.000539655
0.000545462
0.000549124
0.000938752
0.000793299
0.00137389
0.00137441
0.000399629
0.000403262
0.000753006
0.000752426
0.000237303
0.000241851
0.000438025
0.00157196
0.000327591
0.000319707
0.0002866
0.000276938
0.000320873
0.000312494
0.000317728
0.000310362
0.000428183
0.000425344
0.000375863
0.000409152
0.000377565
0.000609343
0.000386213
0.000596929
0.00066522
0.00102459
0.00102725
0.000410698
0.000403236
0.000402916
0.000618629
0.000597414
0.000607213
0.00123612
0.00189802
0.00136749
0.00144967
0.00144244
0.00158653
0.00158347
0.00199295
0.00199655
0.00193937
0.00164107
0.00183993
0.0018378
0.00156453
0.00155823
0.00180064
0.00179634
0.00142703
0.00102307
0.0010204
0.000750232
0.000748554
0.000620964
0.000618716
0.000791939
0.000795264
0.000715002
0.000622423
0.000620261
0.000851031
0.000856801
0.00114506
0.00119578
0.0012013
0.00127452
0.00127874
0.00138692
0.00139181
0.00106652
0.00112194
0.00110374
0.00111224
0.00109086
0.0011309
0.00118443
0.00121317
0.00118218
0.00121457
0.00123613
0.00128524
0.00135766
0.0012643
0.00111326
0.00110577
0.00130446
0.00122011
0.00102553
0.00108534
0.00109767
0.000995811
0.000547101
0.000592236
0.000253503
0.000557089
0.000768648
0.000327651
0.00136317
0.000348858
0.000255452
0.000321661
0.000381846
0.000267166
0.000378527
0.000411309
0.000285933
0.000403705
0.000390024
0.000287396
0.000380316
0.000498575
0.000574032
0.000618554
0.000399768
0.00076417
0.000638972
0.000981991
0.000908933
0.000915072
0.000966228
0.00141737
0.00123633
0.00149991
0.00146358
0.0018805
0.00198825
0.0015306
0.00155087
0.0017352
0.00189181
0.00125638
0.00134215
0.00130038
0.000915444
0.000866502
0.000754987
0.000908056
0.000750042
0.000605993
0.000704953
0.000917585
0.000864888
0.00116639
0.00119324
0.00132127
0.00130908
0.00129379
0.00133139
0.00109449
0.00117683
0.00106646
0.00111892
0.00102548
0.00110709
0.0010255
0.00110421
0.00117442
0.00123017
0.0011745
0.00123339
0.00108858
0.00119703
0.00108865
0.00119778
0.00110364
0.0011307
0.00113577
0.00119023
0.00115844
0.00116849
0.0011357
0.00119154
0.0011584
0.00116865
0.00118447
0.00121598
0.00118219
0.00121962
0.00117663
0.00121705
0.00117669
0.00122248
0.0013132
0.00116057
0.00116046
0.00116209
0.00119355
0.001162
0.00119336
0.00123598
0.00122504
0.00125431
0.00122491
0.00122606
0.00128485
0.00121635
0.00114014
0.00125709
0.0011401
0.00117202
0.00117193
0.0013265
0.00111326
0.00110579
0.00119339
0.00112805
0.00119793
0.00112802
0.00119884
0.00118508
0.00115016
0.00115012
0.0012642
0.00121011
0.00115522
0.00121567
0.00117356
0.00121615
0.00117338
0.00116148
0.00116119
0.00119149
0.00119124
0.00102531
0.00108589
0.00109743
0.00099691
0.00062032
0.000620776
0.000939487
0.000594412
0.000703549
0.000754969
0.000619797
0.000704859
0.000754664
0.000887491
0.000887428
0.000391119
0.00072037
0.00112954
0.00115806
0.00112951
0.000159382
0.000335997
0.000559581
0.000556778
0.000768514
0.000559523
0.000662343
0.000910924
0.00106351
0.00091039
0.00105888
0.00119311
0.00028487
0.000286592
0.000342787
0.000359968
0.000329128
0.000343774
0.00153852
0.00136343
0.0014408
0.000578052
0.000400533
0.000394695
0.000354593
0.000578568
0.000399606
0.000392453
0.000354161
0.000360402
0.000264935
0.000348782
0.000357298
0.00026362
0.000349235
0.000385745
0.000383593
0.000311352
0.000377017
0.000306896
0.000292702
0.000375004
0.000304118
0.000275511
0.000289482
0.000628044
0.00041037
0.000649432
0.000627985
0.00040975
0.00064978
0.000584793
0.000341653
0.000557075
0.000590718
0.000345868
0.000544868
0.000584853
0.000343533
0.000556178
0.000703997
0.000515772
0.000689509
0.000611928
0.000405377
0.00064255
0.00070363
0.000509552
0.000689059
0.000717768
0.000676295
0.000745036
0.00113084
0.00107642
0.00116769
0.00113087
0.00108321
0.00116742
0.000885633
0.00067333
0.000826989
0.000735305
0.00088527
0.000668391
0.000826647
0.000724804
0.00102711
0.00102782
0.000611654
0.000451145
0.000492141
0.000570948
0.000612249
0.000442932
0.000620922
0.000396932
0.000628194
0.000787115
0.000792597
0.000737404
0.000826624
0.000860475
0.00076678
0.00062715
0.000734947
0.000829091
0.000981345
0.000918984
0.000914089
0.000976711
0.00124736
0.00132615
0.00131631
0.00154936
0.00154455
0.00154359
0.00173238
0.0018256
0.00168928
0.001732
0.00182499
0.00168882
0.00141668
0.00123607
0.0014143
0.00141355
0.00139803
0.00149696
0.00146307
0.00150296
0.00151614
0.00153971
0.0015025
0.00151572
0.00153927
0.00188458
0.00188453
0.00186338
0.00185243
0.00196999
0.00188033
0.0019905
0.0018631
0.0018519
0.00197287
0.00148814
0.00158691
0.00153066
0.001551
0.00159322
0.00148808
0.00159418
0.00161021
0.00153706
0.00194471
0.00173504
0.00189462
0.0016821
0.00184999
0.00168175
0.00185251
0.00156917
0.00165639
0.00149895
0.00160981
0.00149835
0.00160199
0.00161755
0.00167558
0.00161703
0.00167497
0.00172115
0.00150132
0.00160856
0.00150116
0.00154432
0.00143413
0.00161284
0.0012563
0.00111598
0.00129518
0.00114715
0.00109213
0.00130042
0.00097992
0.000979556
0.000754707
0.000906644
0.00103973
0.000678289
0.000616121
0.000677882
0.000615684
0.000827461
0.000746467
0.000564681
0.000584273
0.000564321
0.000732983
0.000752451
0.000687922
0.000732941
0.000753168
0.000687801
0.000605508
0.000702274
0.000624111
0.000592963
0.000668888
0.000592546
0.00066478
0.000643577
0.000871202
0.000871165
0.00079909
0.000952356
0.000952304
0.00091757
0.00104404
0.001044
0.00116645
0.0011992
0.00113773
0.00123203
0.0012767
0.00125423
0.00124347
0.00123206
0.00128099
0.00125429
0.00124942
0.00126831
0.00132125
0.00131194
0.00129379
0.00133318
0.0013313
0.00131878
0.00132364
0.00133754
0.00133122
0.00132064
0.0013234
0.00133883
0.00149343
0.00148104
0.00109443
0.00117485
0.00117285
0.00119345
0.00117286
0.00119529
0.00120556
0.00131295
0.00120557
0.00131485
0.00136502
0.00133189
0.00136496
0.00133496
0.00131126
0.00128473
0.00126702
0.000793437
0.000864093
0.00163103
0.000411272
0.000386721
0.000686267
0.00190318
0.00193952
0.00164203
0.00166099
0.00126319
0.00121647
0.00122171
0.00130922
0.00122156
0.00122564
0.00134015
0.00131511
0.00136512
0.00118333
0.00126295
0.00118197
0.0012095
0.00118323
0.00126786
0.0013048
0.000976242
0.000976596
0.00093911
0.000385057
0.000865223
0.000698693
0.000434188
0.000170316
0.000159195
0.00157326
0.00163675
0.00027477
0.000273751
0.000285848
0.000272918
0.000290615
0.000293855
0.000310289
0.000296917
0.000298666
0.000252561
0.000265646
0.000242298
0.000971797
0.000965088
0.00124283
0.00109353
0.00108562
0.00201948
0.00202129
0.00158504
0.00160667
0.00194454
0.00165704
0.00141809
0.00124949
0.00111981
0.00124691
0.00111754
0.000790103
0.000866603
0.000785233
0.00104177
0.000830878
0.000828843
0.0010434
0.00104959
0.000916581
0.00115062
0.00115543
0.00113167
0.00105156
0.00119519
0.00120289
0.00116546
0.00124181
0.0012744
0.00130601
0.00126229
0.00132067
0.00123741
0.00131884
0.00122615
0.0012857
0.00121642
0.00119361
0.0011593
0.00126246
0.00117381
0.00102567
0.000939591
0.00112638
0.00107871
0.000552042
0.000620059
0.000795769
0.00104413
0.00119148
0.000291522
0.000305171
0.000467582
0.000367251
0.000272237
0.000294858
0.00156855
0.0014374
0.000606192
0.000334585
0.000371545
0.000301362
0.000380612
0.000291817
0.000654534
0.000734622
0.000625213
0.000591469
0.000344524
0.00054571
0.000612537
0.000406212
0.000643189
0.000717656
0.000702948
0.000650192
0.000743331
0.00075665
0.00131986
0.00154402
0.00124817
0.00133499
0.00140958
0.00131694
0.00158788
0.0015618
0.0015698
0.00166346
0.00130376
0.00153867
0.00129641
0.00143412
0.00114746
0.000708561
0.00066449
0.000709393
0.000624474
0.000799242
0.000978566
0.00120522
0.00127766
0.00132998
0.00146357
0.0014799
0.001442
0.0014959
0.0011121
0.00105134
0.00103475
0.00103455
0.00111386
0.00109077
0.00114833
0.00114829
0.00110652
0.00110649
0.00120544
0.00116545
0.00119518
0.00124299
0.00121661
0.00127447
0.00122456
0.00126443
0.00121655
0.00127671
0.00122454
0.00126586
0.00116979
0.00116971
0.00127438
0.00130857
0.00126234
0.00132363
0.00125774
0.00124635
0.00131286
0.00124622
0.00125773
0.00131592
0.00116324
0.00122543
0.00116318
0.00122884
0.00123214
0.00123519
0.00125402
0.00123734
0.00132223
0.00131666
0.00131942
0.00125804
0.00117992
0.00118009
0.00132599
0.00128513
0.00135694
0.00122349
0.00126423
0.00122369
0.00111391
0.0011138
0.00115917
0.00126318
0.00116789
0.00117633
0.00127365
0.00116772
0.0011762
0.00127433
0.00111334
0.00115543
0.00111325
0.00130699
0.00117621
0.00123254
0.00130735
0.00117623
0.00123242
0.00117375
0.00121996
0.000796805
0.000700896
0.000796727
0.000704322
0.000547136
0.000916441
0.000895758
0.000916378
0.000895796
0.00102554
0.0011262
0.00107882
0.00100278
0.00100243
0.000552027
0.000664073
0.000720389
0.000663904
0.000862935
0.000707729
0.000862979
0.000705221
0.000526498
0.000760194
0.000525639
0.000760014
0.000253057
0.00115802
0.00104416
0.000795886
0.00119333
0.00140553
0.00140398
0.00033465
0.000361216
0.000239331
0.000252434
0.000210337
0.000292781
0.000239893
0.000253245
0.000210349
0.000307651
0.000626794
0.000652885
0.000468018
0.000630925
0.000654365
0.000661912
0.00119401
0.00153894
0.00139469
0.00141016
0.00139141
0.0014097
0.00023636
0.000283114
0.000239662
0.000254683
0.000285362
0.000321639
0.000410899
0.00037109
0.000275953
0.000296312
0.000413952
0.00117185
0.000901232
0.000828718
0.00126037
0.00156855
0.00117173
0.000898482
0.000828376
0.00125963
0.000606807
0.000491914
0.000426488
0.000492369
0.000426846
0.000367281
0.000261289
0.000353367
0.000366886
0.00026353
0.000355282
0.000397788
0.000276671
0.000390412
0.000379908
0.000267667
0.000379199
0.000402785
0.00027959
0.000393489
0.000398779
0.000286987
0.000402511
0.000418644
0.000294433
0.000411666
0.000402466
0.000292208
0.000408728
0.00030822
0.0003826
0.000393754
0.000296458
0.000385814
0.000385202
0.00028731
0.000367308
0.000361481
0.000346144
0.000360971
0.000362552
0.000345213
0.000348416
0.000268838
0.000329571
0.000365474
0.000292761
0.000375048
0.000259029
0.000281517
0.000345508
0.00034691
0.0010818
0.000896296
0.00108209
0.000878736
0.000625588
0.000655156
0.000734612
0.000626225
0.000772099
0.000622526
0.000776271
0.000806309
0.000757388
0.000805959
0.000859735
0.00108914
0.00101336
0.00117684
0.00108861
0.00117639
0.00101512
0.00182212
0.00175968
0.00181739
0.00175645
0.00131915
0.00138079
0.00138005
0.0015443
0.00156653
0.00153715
0.00156024
0.00193689
0.00193661
0.00150226
0.0015373
0.00150201
0.00179791
0.0017976
0.00168447
0.00168432
0.00156136
0.00154084
0.00154007
0.00172201
0.00134189
0.00130468
0.00117892
0.00113928
0.00119462
0.00117876
0.00114043
0.00111584
0.00119493
0.00109253
0.000961803
0.000961393
0.000912082
0.000866215
0.000870868
0.000820093
0.000743309
0.000819724
0.00074282
0.000887575
0.000887159
0.00082882
0.000708093
0.000664115
0.000706444
0.000584707
0.000641558
0.000638162
0.000643956
0.000805183
0.000750778
0.000726722
0.000804986
0.000746581
0.000726489
0.000923087
0.00092805
0.00100242
0.000989086
0.00100239
0.000994466
0.000864791
0.000981557
0.00109114
0.00110359
0.00109114
0.00110776
0.001098
0.00109781
0.00120511
0.00127766
0.00133471
0.00136585
0.00145214
0.00141595
0.00141096
0.0013659
0.00145567
0.00141594
0.00141561
0.00146352
0.00148266
0.00144198
0.00149734
0.00147951
0.00150942
0.00147936
0.00149488
0.00148083
0.00150993
0.00111196
0.00115703
0.00115702
0.00124548
0.00124539
0.00128031
0.00128022
)
;
}
}
// ************************************************************************* //
|
|
bbab21067f748d358d592b9aa6055ed016c39b21
|
485539af8461d2ce2119bafca181b002703b6653
|
/ThiagoOBI/2008/lanche.cpp
|
6579fc8570b7fb9bb0afc9c730f5da48525782f0
|
[] |
no_license
|
joaogui1/Competitive-Programming
|
f6cea58c7460011b366b04497e69cef97f86cdd1
|
8e7a0eb0f4a48ec3fd5b01b0510bc1ec7a4c46bf
|
refs/heads/master
| 2021-06-16T21:43:57.442360
| 2021-02-06T11:26:01
| 2021-02-06T11:26:01
| 137,510,703
| 1
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 723
|
cpp
|
lanche.cpp
|
#include <bits/stdc++.h>
using namespace std;
int g[256][256];
void fw(int n){
int test, best = (1 << 28);
for(int k = 1; k <= n; ++k)
for(int i = 1; i <= n; ++i)
for(int j = 1; j <= n; ++j)
g[i][j] = min(g[i][j], g[i][k] + g[k][j]);
for(int i = 1; i <= n; ++i){
test = -1;
for(int j = 1; j <= n; ++j) test = max(test, g[i][j]);
best = min(best, test);
}
printf("%d\n", best);
return;
}
int main(){
int s, c, a, b, d;
scanf("%d %d", &s, &c);
for(int i = 0; i <= s; ++i)
for(int j = 0; j <= s; ++j)
if(i != j)
g[i][j] = (1 << 28);
for(int i = 0; i < c; ++i){
scanf("%d %d %d", &a, &b, &d);
g[a][b] = g[b][a] = d;
}
fw(s);
return 0;
}
|
b62d3be462dc0250fc2ea7a6fa2b5c9c5f4bfdcb
|
279ed0a9ae40fbcee08e076896554d6853326c2d
|
/第十次作业(结构&位操作&预定义)/作业16.17第二题.cpp
|
ccaf0ccf033ee6fa6147906087dbcf6847dc87fd
|
[] |
no_license
|
sry2012/PersonalCppHomeWorks
|
53b04657bcfd649d33d9ebbfbb4fe1e16439eaee
|
f1129c31c5a2039143cb9841c38ad3a2a12c659f
|
refs/heads/master
| 2021-01-01T18:08:02.242804
| 2013-07-19T14:30:17
| 2013-07-19T14:30:17
| null | 0
| 0
| null | null | null | null |
GB18030
|
C++
| false
| false
| 430
|
cpp
|
作业16.17第二题.cpp
|
#include <stdio.h>
#define HMEAN(X,Y) (2.0 * (X) *(Y) / ((X) + (Y)))
int main(void)
{
double x, y, ans;
printf ("请输入两个实数:");
while (scanf("%lf %lf", &x, &y) == 2)
{
ans = HMEAN(x,y);
printf("%g = harmonic mean of %g %g.\n", ans, x, y);
ans = HMEAN(x - y, x +y);
printf("%g = harmonic mean of %g %g.\n", ans, x - y, x + y);
}
puts("Bye");
return 0;
}
|
3b009d64c621ab9dc300d657efe46bd474bedbcf
|
d9ba9d41a1225797872d596558bdffda25944f7f
|
/semaforo/semaforo.ino
|
8dfcaddeeb5bb1d61bcca5e47a7bdd09f89c4a1e
|
[] |
no_license
|
VictorMartinDzib/Arduino-Examples
|
6dab0cb7a6e85fb9c5f35e8a9e9342aed6783d4d
|
2e257336924ab46ae5fdbbaf337e5f1081f52a99
|
refs/heads/master
| 2020-12-27T06:31:57.353734
| 2020-04-06T18:42:44
| 2020-04-06T18:42:44
| 237,796,007
| 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 920
|
ino
|
semaforo.ino
|
int ledverde = 13;
int ledamarillo = 12;
int ledrojo = 11;
int delayVal = 0;
int array[] = {13, 12, 11};
void setup()
{
pinMode(ledverde, OUTPUT);
pinMode(ledamarillo, OUTPUT);
pinMode(ledrojo, OUTPUT);
}
void loop()
{
digitalWrite(ledverde, HIGH);
delay(2000);// Wait for 1000 millisecond(s)
digitalWrite(ledverde, LOW);
delay(500);
digitalWrite(ledamarillo, HIGH);
delay(50);
digitalWrite(ledamarillo, LOW);
delay(500);
digitalWrite(ledamarillo, HIGH);
delay(500);
digitalWrite(ledamarillo, LOW);
delay(50);
digitalWrite(ledamarillo, HIGH);
delay(500);
digitalWrite(ledamarillo, LOW);
delay(50);
digitalWrite(ledamarillo, HIGH);
delay(500);
digitalWrite(ledamarillo, LOW);
delay(50);
// delay(100); // Wait for 1000 millisecond(s)
digitalWrite(ledrojo, HIGH);
delay(1000);
digitalWrite(ledrojo, LOW);
delay(500);
}
|
b698cdce1f16cb0a2d41dbe598970a9d940200a3
|
78fb0f50a8aff82c5a3e4d2475baf9723923a2e1
|
/problem-00022/solution.cpp
|
c56ffa96866d05803c0ddaf570cb4ca8f3befd3b
|
[] |
no_license
|
RathiRohit/daily-coding-problem
|
300619b472fd3ee5e019f1b626861a1cbaf1a9ad
|
06b43fce175eaa5cc50d93b1f47d70a11844eecf
|
refs/heads/master
| 2021-08-10T18:14:15.043597
| 2021-07-21T14:23:03
| 2021-07-21T14:23:03
| 244,369,454
| 3
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 800
|
cpp
|
solution.cpp
|
#include <iostream>
#include<map>
#define ll long long
#define ull unsigned long long
using namespace std;
int main() {
int n;
cout<<"Enter number of integers in array:"<<endl;
cin>>n;
map<int, pair<int, int> > numMap;
int result = 0;
for(int n_i=0; n_i<n; n_i++) {
int tmp;
cin>>tmp;
if(numMap.count(tmp) == 1) {
continue;
}
int newMin = tmp;
int newMax = tmp;
if(numMap.count(tmp - 1) == 1) {
newMin = numMap[tmp - 1].first;
}
if(numMap.count(tmp + 1) == 1) {
newMax = numMap[tmp + 1].second;
}
numMap[newMin] = make_pair(newMin, newMax);
numMap[newMax] = make_pair(newMin, newMax);
if((newMax - newMin + 1) > result) {
result = newMax - newMin + 1;
}
}
cout<<"Longest consequent elements sequence length is: "<<result<<endl;
return 0;
}
|
83c42f873b6d3f2b5d2387b5ca699c4839aeda36
|
4dec9c5e4e1c7a04cdd49aac1e5ab18b71f4ad6d
|
/4_1 Two dimentional arrays_main.cpp
|
d05f4cf7ed07eef11761c734c3bbc5842ed59925
|
[] |
no_license
|
hajkahajka/Lessons
|
9bbeeac88336b84e1ebed805a7030b10da033c4a
|
a80e0e53dc13453fd1dd918c7ea272eb3158c14e
|
refs/heads/master
| 2021-07-25T07:46:41.956571
| 2017-11-05T13:55:47
| 2017-11-05T13:55:47
| 103,494,578
| 1
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 1,288
|
cpp
|
4_1 Two dimentional arrays_main.cpp
|
#include <iostream>
int main() {
/**
* Two dimensional array is the array of pointers.
* And each pointer in the array is the another array
* so with this you have matrix this looks like this
* * * * * * -- 5 pointers
*
* * * * * *
* * * * * *
* * * * * *
* * * * * *
*
* and each of 5 pointers points on another array of size 4
*
* now you create mass of type @int* so you have mass of pointers
* that`s why you use @new int*[5]
*
* after that you create in each @int* another array
* using arr1[i] = new int[4] in the loop, because you want assign
* all elements in mass with other arrays
*/
int* *arr1 = new int*[5];
for(int i=0 ;i<5; i++){
arr1[i] = new int[4];
}
/**
* Now if you want to get some var from the matrix
* you get number of row and column and with this way you get var from array with @operator[]
* this way arr1[1][2], you get var on the 1`st row and 2`nd column.
* Don`t forget that you start count from zero
*/
/**
* Simple enter matrix from console
*/
for(int i=0 ;i<5; i++) {
for (int j = 0; j < 4; j++) {
std::cin >> arr1[i][j];
}
}
return 0;
}
|
77fdb0e494f54be529b87cbfb90ea6528f399715
|
44bf02f4d2e32b24977e530f384d73576fe6c808
|
/Class_Matrix/Source.cpp
|
03004f85bc4ae4f028912ba2aec584c6256c424f
|
[] |
no_license
|
nasemenoff/part4
|
fbf2acc0b9a7b45bcf396396afc54ebbfebddb03
|
e34020d2c5cb28489d683b289946df26b2e9e611
|
refs/heads/master
| 2021-01-09T06:36:27.536694
| 2017-02-14T12:28:24
| 2017-02-14T12:28:24
| 81,022,364
| 0
| 0
| null | null | null | null |
WINDOWS-1251
|
C++
| false
| false
| 854
|
cpp
|
Source.cpp
|
#include <iostream>
#include "Matrix.h"
using namespace std;
int main() {
setlocale(LC_ALL, "russian");
Matrix matrix(3, 3);
cout << "Матрица 1\n" << matrix;
Matrix matrixCopy(matrix);
cout << "\nКопия матрицы\n" << matrixCopy;
Matrix matrix2(5, 4);
cout << "\nМатрица 2\n" << matrix2;
cout << "\nСумма матриц\n";
cout << matrix + matrix2;
cout << "\nДоступ к элементу по индексу\n" << matrix[2][2];
Matrix vMin = matrix.getMinVectorByRows();
cout << "\nВекторы наименьших и наибольших значений\n" << vMin << matrix.getMaxVectorByRows() << matrix.getMinVectorByCols();
cout << "\nСреднее арифметическое элементов вектора\n" << vMin.average() << endl;
matrix = matrix2;
cout << endl << matrix << endl;
}
|
b384d8d05664561eec0e716a2722e9c4c88e3138
|
bf346dbc137069e28e9d39d0a12877606e5c4ec2
|
/实验三/Class3_3.cpp
|
4adb8a38d2e021aec8a60796fdd3c5705e8cc840
|
[] |
no_license
|
MNNing/data_structureTest
|
49511fc479071437fdb7dbaae35eb7b958c4104b
|
05e798ee601ace1d052f4df56f083dd27b79f6ff
|
refs/heads/master
| 2022-11-27T13:24:30.820032
| 2020-07-24T13:14:31
| 2020-07-24T13:14:31
| 282,221,811
| 0
| 0
| null | null | null | null |
GB18030
|
C++
| false
| false
| 4,918
|
cpp
|
Class3_3.cpp
|
//哈夫曼编码
#include<iostream>
#include<string.h>
using namespace std;
typedef char **HuffmanCode; //动态分配数组存储哈夫曼编码表
//哈夫曼树结点结构体
typedef struct
{ int weight; //结点的权值
char data;
bool Input;
int parent,lchild,rchild; //结点的双亲、左孩子、右孩子的下标
}HTNode,*HuffmTree; //动态分配数组存储哈夫曼树
//哈夫曼树类声明
class HuffmanT
{
public:
HuffmanT(){} //构造函数
~HuffmanT(){} //析构函数
void HuffmanTree(int n); //构造哈夫曼树
void Select(int n,int &s1,int &s2); //查找权重较小的两个结点
void CreatHuffmanCode( HuffmanCode &HC, int n); //从叶子到根逆向求每个字符的赫夫曼编码
void ShowHuffmanCode(HuffmanCode &HC, int n); //输出哈夫曼编码表
void EncodeHuffman(HuffmanCode &HC, int n); //字符串转二进制编码
void DecodeHuffman(int n); //二进制编码转字符串
private:
HuffmTree HT;
};
//构造哈夫曼树HT
void HuffmanT::HuffmanTree(int n)
{
int m;
int s1,s2;
if (n<=1)
return;
m=2*n-1; //m为哈夫曼树总结点数
//0号单元未用,所以动态分配m+1个单元,HT[m]表示根结点
HT=new HTNode[m+1];
for (int i=1; i<=m; ++i) //将1~m号单元中的双亲、左右孩子的下标都初始化为0
{
HT[i].parent=0;HT[i].lchild=0;HT[i].rchild=0;HT[i].Input=true;
}
for (int i=1; i<=n; ++i) //输入 前n个单元中叶子结点的权值
{
cout<<"字符:";cin>>HT[i].data;
cout<<"出现频率:";cin>>HT[i].weight;
cout<<endl;
}
for (int i=n+1; i<=m; ++i) //创建哈夫曼树
{ //通过n-1次的选择、删除、合并来创建哈夫曼树
Select( i-1, s1, s2);
HT[s1]. parent =i; HT[s2].parent=i;
HT[i].lchild=s1; HT[i].rchild=s2;
HT[i].weight=HT[s1].weight+HT[s2].weight;
}
}
//查找权重较小的两个结点
void HuffmanT::Select(int n,int &s1,int &s2)
{
int min,t;
for(int k=0;k<2;k++) //循环体执行两次,找出两个权重最小的叶子结点
{
min=9999;
for(int i=1;i<=n;i++)
{
if(HT[i].Input!=true) //如果结点已经被访问过了,继续循环
continue;
if(HT[i].weight<min)
{
min=HT[i].weight;
t=i;
}
}
HT[t].Input=false;
if(k==0)
s1=t;
else
s2=t;
}
}
//从叶子到根逆向求每个字符的赫夫曼编码,存储在编码表HC中
void HuffmanT::CreatHuffmanCode(HuffmanCode &HC, int n)
{
int c,f,start;
char *cd;
HC=new char *[n+1]; //分配n个字符编码的头指针矢量
cd=new char [n]; //分配临时存放编码的动态数组空间
cd[n-1]='\0'; //编码结束符
for(int i=1;i<=n; ++i) //逐个字符求赫夫曼编码
{
start=n-1; c=i; f=HT[i].parent; //start开始时指向最后; f指向结点c的双亲结点
while(f!=0)
{ //从叶子结点开始向上回溯,直到根结点
--start; //回溯一次start向前指一个位置
if (HT[f].lchild==c) cd[start]='0'; //结点c是f的左孩子,则生成代码0
else cd[start]='1'; //结点c是f的右孩子,则生成代码1
c=f; f=HT[f].parent; //继续向上回溯
} //求出第i个字符的编码
HC[i]= new char [n-start]; // 为第i 个字符编码分配空间
strcpy(HC[i], &cd[start]); //将求得的编码从临时空间cd复制到HC的当前行中
}
delete cd; //释放临时空间
}
//输出哈夫曼编码表
void HuffmanT::ShowHuffmanCode(HuffmanCode &HC, int n)
{
cout<<"赫夫曼编码表:"<<endl;
for(int i=1;i<=n;i++)
{
cout<<HT[i].data<<" "<<HC[i]<<endl;
}
}
//二进制编码转字符串
void HuffmanT::DecodeHuffman(int n)
{
int f=2*n-1; //根结点下标
cout<<endl<<"请输入一串哈夫曼编码:"<<endl;
char *str;
str=new char;
cin>>str;
while(*str!='\0')
{
if(*str=='0')
{
f=HT[f].lchild;
if(HT[f].lchild==0&&HT[f].rchild==0)
{
cout<<HT[f].data;
f=2*n-1;
}
}
else if(*str=='1')
{
f=HT[f].rchild;
if(HT[f].lchild==0&&HT[f].rchild==0)
{
cout<<HT[f].data;
f=2*n-1;
}
}
str++;
}
}
//字符串转二进制编码
void HuffmanT::EncodeHuffman(HuffmanCode &HC, int n)
{
char *str;
str=new char;
cout<<"请输入待编码的字符串:"<<endl;
cin>>str;
while(*str!='\0')
{
for(int i=1;i<=n;i++)
{
if(HT[i].data==*str)
cout<<HC[i];
}
str++;
}
}
//主函数
int main()
{
HuffmanT ht;
HuffmanCode HC;
cout<<"请输入字符个数:"<<endl;
int n;
cin>>n;
ht.HuffmanTree(n);
ht.CreatHuffmanCode(HC,n);
ht.ShowHuffmanCode(HC,n);
ht.EncodeHuffman(HC,n);
ht.DecodeHuffman(n);
return 0;
}
|
c261e416d49c8158f43c5f72979d79860faf2ec1
|
6f2b6e9d77fc4dd5e1dae8ba6e5a66eb7c7ae849
|
/sstd_boost/sstd/boost/hof/detail/using.hpp
|
ad01383708e639cb82c7af4c8293f11c19bb54a5
|
[
"BSL-1.0"
] |
permissive
|
KqSMea8/sstd_library
|
9e4e622e1b01bed5de7322c2682539400d13dd58
|
0fcb815f50d538517e70a788914da7fbbe786ce1
|
refs/heads/master
| 2020-05-03T21:07:01.650034
| 2019-04-01T00:10:47
| 2019-04-01T00:10:47
| null | 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 836
|
hpp
|
using.hpp
|
/*=============================================================================
Copyright (c) 2016 Paul Fultz II
using.hpp
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
==============================================================================*/
#ifndef BOOST_HOF_GUARD_USING_HPP
#define BOOST_HOF_GUARD_USING_HPP
#include <sstd/boost/hof/config.hpp>
#if BOOST_HOF_HAS_TEMPLATE_ALIAS
#define BOOST_HOF_USING(name, ...) using name = __VA_ARGS__
#define BOOST_HOF_USING_TYPENAME(name, ...) using name = typename __VA_ARGS__
#else
#define BOOST_HOF_USING(name, ...) struct name : std::enable_if<true, __VA_ARGS__>::type {}
#define BOOST_HOF_USING_TYPENAME(name, ...) struct name : __VA_ARGS__ {}
#endif
#endif
|
316f5508b59060915cc1094cdb399589b62b68d6
|
688e1615b6ea772f47d0222c7c16634b3eaabc89
|
/Models_INIT.cpp
|
2c904123f9c0baf9889fd395de50104496f9ad31
|
[] |
no_license
|
marcclintdion/o1
|
42738ae92a23db4ec5f00bf620d1564ae74528fa
|
14020c976dc0d25e04ea37de72e492ed1f2e3862
|
refs/heads/master
| 2020-04-06T07:08:30.152652
| 2016-08-04T02:18:46
| 2016-08-04T02:18:46
| 63,638,352
| 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 56
|
cpp
|
Models_INIT.cpp
|
#include "_MODEL_FOLDERS_/o1/o1_INIT.cpp"
|
5eb602582e4f2bb3efa73d0a3af4f0d2c299a894
|
d0d92552bb9471262cb53eaea4891230a2961f6b
|
/ATX/module_scenario_main.h
|
34daa12f037517f5a51d9693f72fe2133d8d55de
|
[
"MIT"
] |
permissive
|
mxsshao/nsb-sdd-atx
|
26cb63d7577906a87d7dd3453cd3bf1d913d80d6
|
de167ca37df2271cf2a76f1a1e111ab8fb98b374
|
refs/heads/master
| 2020-04-14T07:12:56.751081
| 2019-01-08T09:13:46
| 2019-01-08T09:13:46
| 163,706,794
| 0
| 0
| null | null | null | null |
UTF-8
|
C++
| false
| false
| 2,161
|
h
|
module_scenario_main.h
|
#pragma once
#include "global.h"
#include "manager.h"
namespace Module
{
namespace Scenario
{
class Main : public Module::Base
{
private:
Gwen::Controls::Base* gParent;
Gwen::Controls::Base* gPadding;
Gwen::Controls::ScrollControl* scrHorizontal;
void ScrHorizontalMove();
Gwen::Controls::WindowControl* winScenario;
void WinScenarioCreate();
void WinScenarioResize();
void WinScenarioClose();
Gwen::Controls::Button* btnScenarioStart;
void BtnScenarioStartClick();
Gwen::Controls::Button* btnOne;
void BtnOneHoverEnter() {btnOne->SetImage(al_create_sub_bitmap(aButtonsTwo, 0, 0, 340, 206));};
void BtnOneHoverLeave() {btnOne->SetImage(al_create_sub_bitmap(aButtonsOne, 0, 0, 340, 206));};
Gwen::Controls::Button* btnTwo;
void BtnTwoHoverEnter() {btnTwo->SetImage(al_create_sub_bitmap(aButtonsTwo, 0, 256, 446, 206));};
void BtnTwoHoverLeave() {btnTwo->SetImage(al_create_sub_bitmap(aButtonsOne, 0, 256, 446, 206));};
Gwen::Controls::Button* btnThree;
void BtnThreeHoverEnter() {btnThree->SetImage(al_create_sub_bitmap(aButtonsTwo, 0, 512, 438, 206));};
void BtnThreeHoverLeave() {btnThree->SetImage(al_create_sub_bitmap(aButtonsOne, 0, 512, 438, 206));};
Gwen::Controls::Button* btnFour;
void BtnFourHoverEnter() {btnFour->SetImage(al_create_sub_bitmap(aButtonsTwo, 0, 768, 390, 206));};
void BtnFourHoverLeave() {btnFour->SetImage(al_create_sub_bitmap(aButtonsOne, 0, 768, 390, 206));};
Gwen::Controls::Button* btnFive;
void BtnFiveHoverEnter() {btnFive->SetImage(al_create_sub_bitmap(aButtonsTwo, 512, 0, 504, 206));};
void BtnFiveHoverLeave() {btnFive->SetImage(al_create_sub_bitmap(aButtonsOne, 512, 0, 504, 206));};
Gwen::Controls::Button* btnBack;
ALLEGRO_BITMAP* aBackgroundOne;
ALLEGRO_BITMAP* aBackgroundTwo;
ALLEGRO_BITMAP* aBackgroundThree;
float fWidth;
float fHeight;
float fOffset;
float fPosition;
bool bOut;
ALLEGRO_BITMAP* aButtonsOne;
ALLEGRO_BITMAP* aButtonsTwo;
public:
Main() {};
~Main() {};
void Load();
void Initialize() {};
void Resize();
void HandleEvents(ALLEGRO_EVENT &ev);
void Update();
void Render();
void Cleanup();
};
};
};
|
9c0875a3d7e75503f55d7955adf14440ae73574f
|
ceb18dbff900d48d7df6b744d1cd167c7c9eb5c5
|
/mine/cplusplusCS/2014/BMDemo/BM/MtNoteEdit.cpp
|
24d804ca2bbd42381ee3e753b06be11652828ead
|
[] |
no_license
|
15831944/sourcecode
|
6bb5f74aac5cf1f496eced1b31a0fd4cf3271740
|
412f0ba73dd7fb179a92d2d0635ddbf025bfe6d4
|
refs/heads/master
| 2021-12-27T20:07:32.598613
| 2018-01-15T14:38:35
| 2018-01-15T14:38:35
| null | 0
| 0
| null | null | null | null |
GB18030
|
C++
| false
| false
| 2,620
|
cpp
|
MtNoteEdit.cpp
|
// MtNoteEdit.cpp : 实现文件
//
#include "stdafx.h"
#include "BM.h"
#include "MtNoteEdit.h"
#include "afxdialogex.h"
// CMtNoteEdit 对话框
IMPLEMENT_DYNAMIC(CMtNoteEdit, CDialogEx)
CMtNoteEdit::CMtNoteEdit(CWnd* pParent /*=NULL*/)
: CDialogEx(CMtNoteEdit::IDD, pParent)
, m_nodeOrgName(_T(""))
, m_nodeNameNew(_T(""))
{
}
CMtNoteEdit::CMtNoteEdit(CMtSetProp* pMtSetProp,CWnd* pParent )
: CDialogEx(CMtNoteEdit::IDD, pParent)
{
m_pMtSetProp = pMtSetProp;
}
CMtNoteEdit::~CMtNoteEdit()
{
m_pMtSetProp = NULL;
}
void CMtNoteEdit::DoDataExchange(CDataExchange* pDX)
{
CDialogEx::DoDataExchange(pDX);
DDX_Text(pDX, IDC_EDIT_NODE_ORG, m_nodeOrgName);
DDX_Text(pDX, IDC_EDIT_NOTE_NAME_NEW, m_nodeNameNew);
}
BEGIN_MESSAGE_MAP(CMtNoteEdit, CDialogEx)
ON_WM_CTLCOLOR()
ON_BN_CLICKED(IDC_BTN_NOTE_SAVE, &CMtNoteEdit::OnBnClickedBtnNoteSave)
ON_BN_CLICKED(IDC_BTN_QUIT, &CMtNoteEdit::OnBnClickedBtnQuit)
END_MESSAGE_MAP()
// CMtNoteEdit 消息处理程序
HBRUSH CMtNoteEdit::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor)
{
HBRUSH hbr = CDialogEx::OnCtlColor(pDC, pWnd, nCtlColor);
if(nCtlColor==CTLCOLOR_STATIC)
{
pDC->SetBkMode(TRANSPARENT);
//hbr=(HBRUSH)::GetStockObject(NULL_BRUSH);
HBRUSH b_static=CreateSolidBrush(RGB(185,211,255));
return b_static;
}
if(nCtlColor == CTLCOLOR_DLG){
pDC->SetTextColor(RGB(0,0,0));
pDC->SetBkColor(RGB(185,211,255));
HBRUSH b=CreateSolidBrush(RGB(185,211,255));
return b;
}
return hbr;
}
void CMtNoteEdit::OnBnClickedBtnNoteSave()
{
// TODO: 在此添加控件通知处理程序代码
UpdateData(TRUE);
if(m_nodeNameNew.IsEmpty())
{
MessageBox(_T("节点新名称不能为空!"));
return;
}
if(m_nodeNameNew == m_nodeOrgName)
{
MessageBox(_T("节点新名称不能和原节点名称相同!"));
return;
}
if(!((-1 == m_nodeNameNew.Find(_T("\\")))
&&(-1 == m_nodeNameNew.Find(_T("|")))
&&(-1 == m_nodeNameNew.Find(_T("<")))
&&(-1 == m_nodeNameNew.Find(_T(">")))
))
{
MessageBox(_T("节点新名称不能包含'\\','|','<','>'等特殊字符!"));
return;
}
if(m_nodeNameNew.GetLength()>25)
{
MessageBox(_T("节点新名称不能大于25个字符!"));
return;
}
m_pMtSetProp->m_nodeNameNew_Edit = m_nodeNameNew;
m_pMtSetProp->m_nodeNameOrg_Edit = m_nodeOrgName;
m_pMtSetProp->SendMessage(WM_REQNODEEDIT_MtSetProp,0,0);
CDialogEx::OnOK();
}
void CMtNoteEdit::OnBnClickedBtnQuit()
{
// TODO: 在此添加控件通知处理程序代码
CDialogEx::OnCancel();
}
|
20c49cae81c4910550164db23e0e594675f96c8b
|
559673ceafd5d629f1478859df1c373980ee2a8d
|
/libpm/VmInfoIpAddress.h
|
72058023d934103f10798f808aaffc63a4d888ef
|
[] |
no_license
|
Ricky1995/src
|
97ef265649f5ca523c037b88177a949b8f3fffd0
|
758e11c13b0a03a0ee0ce4a73d2209bf3e3db943
|
refs/heads/develop
| 2021-01-02T22:35:41.577483
| 2018-09-21T11:34:16
| 2018-09-21T11:34:16
| 99,349,732
| 0
| 0
| null | 2017-08-04T14:15:37
| 2017-08-04T14:15:37
| null |
UTF-8
|
C++
| false
| false
| 4,018
|
h
|
VmInfoIpAddress.h
|
/*==============================================================================
Copyright (c) 2013-2017 by the Developers of PrivacyMachine.eu
contact@privacymachine.eu
OpenPGP-Fingerprint: 0C93 F15A 0ECA D404 413B 5B34 C6DE E513 0119 B175
Licensed under the EUPL, Version 1.1
European Commission - subsequent versions of the EUPL (the "Licence");
You may not use this work except in compliance with the Licence.
You may obtain a copy of the Licence at:
http://ec.europa.eu/idabc/eupl
Unless required by applicable law or agreed to in writing, software distributed
under the Licence is distributed on an "AS IS" basis,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the Licence for the specific language governing permissions and
limitations under the Licence.
==============================================================================*/
#pragma once
#include <algorithm>
#include <ctime>
#include <QProcess>
#include <QRegExp>
#include <QString>
#include <QSharedPointer>
#include <QTimer>
#include <vector>
#include "PmCommandExec.h"
#include "VmMaskInstance.h"
#include "utils.h"
using std::vector;
using std::string;
class VmMaskInstance;
class PmCommandExec;
/// Provides the IP address for a specific VM
/// This is the first class that asynchronously gets information out of a VM (beware security leaks!).
/// It does so using a polling timer (triggered by startPollingExternalIp()), which in turn triggers PmCommands. When
/// finished, these PmCommands cause state updates. Once all state updates have been performed, we signal it to the
/// outside world, using signalUpdateIpSuccess() in this case.
class VmInfoIpAddress: public QObject
{
Q_OBJECT
public:
/// \brief Constructor of VmInfoIpAddress
/// \param parVmMaskIpAddressProviders in: List of IP-Adress-Providers (already shuffled in UserConfig::diceNewVmMaskConfig())
/// \param parVmMaskFullName in: full name opf VmMask
/// \param parVmMaskBrowser in: current browser in use
VmInfoIpAddress(QStringList parVmMaskIpAddressProviders,
QString parVmMaskFullName,
QString parVmMaskBrowser,
int parSshPort);
virtual ~VmInfoIpAddress();
QString getIpAddress();
/// Initializations that go beyond trivial member initialization as performed in the constructor. Non-trivial are
/// e.g. connecting signals and slots.
void initialize();
/// Returns a decorated string representation for use in a status bar, e.g.
QString toStatus();
/// Starts polling for the external IP address within the VM. Polling stops after the IP address could be determined
/// successfully, which will only happen after the browser inside the VM has been started.
void startPollingExternalIp();
void abort();
signals:
/// Signalled after both the browser inside the VM has been started and the external IP address could be determined
/// successfully.
void signalUpdateIpSuccess();
private:
PmCommand *createPmCommandNextIpAddressProvider();
/// Contains the VM's IP Address, if it could be obtained successfully. \c"", otherwise.
QString ipAddress_;
/// Needed to connect to the Vm (TODO: bernhard: refactor)
int sshPort_;
/// \c true if ipAddress_ is supposed to contain an up-to-date value. \c false otherwise.
bool ipAddressUpdated_;
unsigned nProvidersTried_;
/// \brief List of shuffled IP-Adress-Providers (copy from current VmMaskInstance)
QStringList vmMaskIpAddressProviders_;
QString vmMaskFullName_;
QString vmMaskBrowser_;
/// exec_ takes care of running and evaluating all command-line commands for us.
QSharedPointer<PmCommandExec> exec_;
private slots:
void slotExecFinished( ePmCommandResult result );
};
|
efc25cb862403b1333b1562b4deef8aefaa396a3
|
04b1803adb6653ecb7cb827c4f4aa616afacf629
|
/components/data_reduction_proxy/content/renderer/content_previews_render_frame_observer.h
|
43e781b6d6cd7b3778876966d64d403dad3ee4f2
|
[
"BSD-3-Clause"
] |
permissive
|
Samsung/Castanets
|
240d9338e097b75b3f669604315b06f7cf129d64
|
4896f732fc747dfdcfcbac3d442f2d2d42df264a
|
refs/heads/castanets_76_dev
| 2023-08-31T09:01:04.744346
| 2021-07-30T04:56:25
| 2021-08-11T05:45:21
| 125,484,161
| 58
| 49
|
BSD-3-Clause
| 2022-10-16T19:31:26
| 2018-03-16T08:07:37
| null |
UTF-8
|
C++
| false
| false
| 1,758
|
h
|
content_previews_render_frame_observer.h
|
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_DATA_REDUCTION_PROXY_CONTENT_RENDERER_CONTENT_PREVIEWS_RENDER_FRAME_OBSERVER_H_
#define COMPONENTS_DATA_REDUCTION_PROXY_CONTENT_RENDERER_CONTENT_PREVIEWS_RENDER_FRAME_OBSERVER_H_
#include "base/macros.h"
#include "content/public/common/previews_state.h"
#include "content/public/renderer/render_frame_observer.h"
#include "third_party/blink/public/platform/web_url_response.h"
namespace data_reduction_proxy {
// This class is created by ChromeRenderFrameObserver, and it class manages its
// own lifetime. It deletes itself when the RenderFrame it is observing goes
// away.
class ContentPreviewsRenderFrameObserver : public content::RenderFrameObserver {
public:
ContentPreviewsRenderFrameObserver(content::RenderFrame* render_frame);
~ContentPreviewsRenderFrameObserver() override;
private:
friend class ContentPreviewsRenderFrameObserverTest;
// content::RenderFrameObserver:
void OnDestruct() override;
void DidCommitProvisionalLoad(bool is_same_document_navigation,
ui::PageTransition transition) override;
// Returns whether |previews_state| is consistent with data reduction
// proxy headers found in |web_url_response| with respect to server previews.
static bool ValidatePreviewsStateWithResponse(
content::PreviewsState previews_state,
const blink::WebURLResponse& web_url_response);
DISALLOW_COPY_AND_ASSIGN(ContentPreviewsRenderFrameObserver);
};
} // namespace data_reduction_proxy
#endif // COMPONENTS_DATA_REDUCTION_PROXY_CONTENT_RENDERER_CONTENT_PREVIEWS_RENDER_FRAME_OBSERVER_H_
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.