diff --git a/Import/GacUIReflection.cpp b/Import/GacUIReflection.cpp index d342cad9..11083d60 100644 --- a/Import/GacUIReflection.cpp +++ b/Import/GacUIReflection.cpp @@ -1067,8 +1067,13 @@ GuiResourceInstanceBinder (uri) { return false; } + + bool RequirePropertyExist()override + { + return false; + } - Ptr GenerateInstallStatement(GlobalStringKey variableName, description::IPropertyInfo* propertyInfo, const WString& code, collections::List& errors)override + Ptr GenerateInstallStatement(GlobalStringKey variableName, description::IPropertyInfo* propertyInfo, IGuiInstanceLoader* loader, const IGuiInstanceLoader::PropertyInfo& prop, Ptr propInfo, const WString& code, collections::List& errors)override { WString protocol, path; if (!IsResourceUrl(code, protocol, path)) @@ -1078,7 +1083,7 @@ GuiResourceInstanceBinder (uri) } else { - return Workflow_InstallUriProperty(variableName, propertyInfo, protocol, path); + return Workflow_InstallUriProperty(variableName, loader, prop, propInfo, protocol, path, errors); } } }; @@ -1099,12 +1104,17 @@ GuiReferenceInstanceBinder (ref) { return false; } + + bool RequirePropertyExist()override + { + return false; + } - Ptr GenerateInstallStatement(GlobalStringKey variableName, description::IPropertyInfo* propertyInfo, const WString& code, collections::List& errors)override + Ptr GenerateInstallStatement(GlobalStringKey variableName, description::IPropertyInfo* propertyInfo, IGuiInstanceLoader* loader, const IGuiInstanceLoader::PropertyInfo& prop, Ptr propInfo, const WString& code, collections::List& errors)override { auto expression = MakePtr(); expression->name.value = code; - return Workflow_InstallEvalProperty(variableName, propertyInfo, expression); + return Workflow_InstallEvalProperty(variableName, loader, prop, propInfo, expression, errors); } }; @@ -1124,12 +1134,17 @@ GuiEvalInstanceBinder (eval) { return true; } + + bool RequirePropertyExist()override + { + return false; + } - Ptr GenerateInstallStatement(GlobalStringKey variableName, description::IPropertyInfo* propertyInfo, const WString& code, collections::List& errors)override + Ptr GenerateInstallStatement(GlobalStringKey variableName, description::IPropertyInfo* propertyInfo, IGuiInstanceLoader* loader, const IGuiInstanceLoader::PropertyInfo& prop, Ptr propInfo, const WString& code, collections::List& errors)override { if (auto expression = Workflow_ParseExpression(code, errors)) { - return Workflow_InstallEvalProperty(variableName, propertyInfo, expression); + return Workflow_InstallEvalProperty(variableName, loader, prop, propInfo, expression, errors); } return 0; } @@ -1151,8 +1166,13 @@ GuiBindInstanceBinder (bind) { return false; } + + bool RequirePropertyExist()override + { + return true; + } - Ptr GenerateInstallStatement(GlobalStringKey variableName, description::IPropertyInfo* propertyInfo, const WString& code, collections::List& errors)override + Ptr GenerateInstallStatement(GlobalStringKey variableName, description::IPropertyInfo* propertyInfo, IGuiInstanceLoader* loader, const IGuiInstanceLoader::PropertyInfo& prop, Ptr propInfo, const WString& code, collections::List& errors)override { if (auto expression = Workflow_ParseExpression(L"bind(" + code + L")", errors)) { @@ -1178,8 +1198,13 @@ GuiFormatInstanceBinder (format) { return false; } + + bool RequirePropertyExist()override + { + return true; + } - Ptr GenerateInstallStatement(GlobalStringKey variableName, description::IPropertyInfo* propertyInfo, const WString& code, collections::List& errors)override + Ptr GenerateInstallStatement(GlobalStringKey variableName, description::IPropertyInfo* propertyInfo, IGuiInstanceLoader* loader, const IGuiInstanceLoader::PropertyInfo& prop, Ptr propInfo, const WString& code, collections::List& errors)override { if (auto expression = Workflow_ParseExpression(L"bind($\"" + code + L"\")", errors)) { @@ -2654,10 +2679,11 @@ GuiInstanceSharedScript if (binaryToLoad) { assembly = new WfAssembly(*binaryToLoad.Obj()); + context = nullptr; binaryToLoad = nullptr; } - if (initializeContext) + if (initializeContext && !context) { context = new WfRuntimeGlobalContext(assembly); LoadFunction(context, L"")(); @@ -3809,12 +3835,12 @@ GuiTreeViewInstanceLoader auto refControl = MakePtr(); refControl->name.value = variableName.ToString(); - auto refChangeItemStyle = MakePtr(); - refChangeItemStyle->parent = refControl; - refChangeItemStyle->name.value = L"ChangeItemStyle"; + auto refSetNodeStyleProvider = MakePtr(); + refSetNodeStyleProvider->parent = refControl; + refSetNodeStyleProvider->name.value = L"SetNodeStyleProvider"; auto call = MakePtr(); - call->function = refChangeItemStyle; + call->function = refSetNodeStyleProvider; call->arguments.Add(createStyle); auto stat = MakePtr(); @@ -7590,6 +7616,7 @@ Type Declaration CLASS_MEMBER_STATIC_EXTERNALMETHOD(CreateWin8Theme, NO_PARAMETER, Ptr(*)(), &CreateWin8Theme) CLASS_MEMBER_METHOD(CreateWindowStyle, NO_PARAMETER) + CLASS_MEMBER_METHOD(CreateCustomControlStyle, NO_PARAMETER) CLASS_MEMBER_METHOD(CreateTooltipStyle, NO_PARAMETER) CLASS_MEMBER_METHOD(CreateLabelStyle, NO_PARAMETER) CLASS_MEMBER_METHOD(CreateShortcutKeyStyle, NO_PARAMETER) @@ -7620,6 +7647,7 @@ Type Declaration CLASS_MEMBER_METHOD(CreateButtonStyle, NO_PARAMETER) CLASS_MEMBER_METHOD(CreateCheckBoxStyle, NO_PARAMETER) CLASS_MEMBER_METHOD(CreateRadioButtonStyle, NO_PARAMETER) + CLASS_MEMBER_METHOD(CreateDatePickerStyle, NO_PARAMETER) CLASS_MEMBER_METHOD(CreateHScrollStyle, NO_PARAMETER) CLASS_MEMBER_METHOD(CreateVScrollStyle, NO_PARAMETER) @@ -8513,7 +8541,7 @@ Type Declaration CLASS_MEMBER_BASE(GuiListControl::IItemStyleController) INTERFACE_EXTERNALCTOR(tree, INodeItemStyleController) - CLASS_MEMBER_METHOD(GetNodeStyleProvider, NO_PARAMETER) + CLASS_MEMBER_PROPERTY_READONLY_FAST(NodeStyleProvider) END_CLASS_MEMBER(INodeItemStyleController) BEGIN_CLASS_MEMBER(INodeItemStyleProvider) @@ -11019,18 +11047,21 @@ WorkflowGenerateBindingVisitor auto propertyName = repr->setters.Keys()[index]; if (setter->binding != GlobalStringKey::Empty && setter->binding != GlobalStringKey::_Set) { - auto propertyInfo = resolvingResult.propertyResolvings[setter->values[0].Obj()].info; - if (propertyInfo->scope != GuiInstancePropertyInfo::Constructor) + if (auto binder = GetInstanceLoaderManager()->GetInstanceBinder(setter->binding)) { - WString expressionCode = setter->values[0].Cast()->text; - - auto binder = GetInstanceLoaderManager()->GetInstanceBinder(setter->binding); - if (binder) + auto propertyResolving = resolvingResult.propertyResolvings[setter->values[0].Obj()]; + if (propertyResolving.info->scope == GuiInstancePropertyInfo::Constructor) + { + errors.Add(L"Precompile: Binding to constructor arguments will be implemented in the future."); + } + else { + WString expressionCode = setter->values[0].Cast()->text; auto instancePropertyInfo = reprTypeInfo.typeDescriptor->GetPropertyByName(propertyName.ToString(), true); - if (instancePropertyInfo) + + if (instancePropertyInfo || !binder->RequirePropertyExist()) { - if (auto statement = binder->GenerateInstallStatement(repr->instanceName, instancePropertyInfo, expressionCode, errors)) + if (auto statement = binder->GenerateInstallStatement(repr->instanceName, instancePropertyInfo, propertyResolving.loader, propertyResolving.propertyInfo, propertyResolving.info, expressionCode, errors)) { if (Workflow_ValidateStatement(context, resolvingResult, rootTypeDescriptor, errors, expressionCode, statement)) { @@ -11043,10 +11074,10 @@ WorkflowGenerateBindingVisitor errors.Add(L"Precompile: Binder \"" + setter->binding.ToString() + L"\" requires property \"" + propertyName.ToString() + L"\" to physically appear in type \"" + reprTypeInfo.typeName.ToString() + L"\"."); } } - else - { - errors.Add(L"The appropriate IGuiInstanceBinder of binding \"-" + setter->binding.ToString() + L"\" cannot be found."); - } + } + else + { + errors.Add(L"Precompile: The appropriate IGuiInstanceBinder of binding \"-" + setter->binding.ToString() + L"\" cannot be found."); } } else @@ -11463,7 +11494,7 @@ namespace vl Workflow_InstallBindProperty ***********************************************************************/ - Ptr Workflow_InstallUriProperty(GlobalStringKey variableName, description::IPropertyInfo* propertyInfo, const WString& protocol, const WString& path) + Ptr Workflow_InstallUriProperty(GlobalStringKey variableName, IGuiInstanceLoader* loader, const IGuiInstanceLoader::PropertyInfo& prop, Ptr propInfo, const WString& protocol, const WString& path, collections::List& errors) { auto subBlock = MakePtr(); { @@ -11516,7 +11547,7 @@ Workflow_InstallBindProperty subBlock->statements.Add(ifStat); } - auto td = propertyInfo->GetReturn()->GetTypeDescriptor(); + auto td = propInfo->acceptableTypes[0]; Ptr convertedType; if (td->GetValueSerializer()) { @@ -11528,7 +11559,12 @@ Workflow_InstallBindProperty } else { - convertedType = CopyTypeInfo(propertyInfo->GetReturn()); + auto elementType = MakePtr(ITypeInfo::TypeDescriptor); + elementType->SetTypeDescriptor(td); + + auto pointerType = MakePtr(ITypeInfo::SharedPtr); + pointerType->SetElementType(elementType); + convertedType = pointerType; } { @@ -11581,9 +11617,12 @@ Workflow_InstallBindProperty member->parent = refResourceValue; member->name.value = L"Text"; + auto elementType = MakePtr(ITypeInfo::TypeDescriptor); + elementType->SetTypeDescriptor(td); + auto cast = MakePtr(); cast->expression = member; - cast->type = GetTypeFromTypeInfo(propertyInfo->GetReturn()); + cast->type = GetTypeFromTypeInfo(elementType.Obj()); cast->strategy = WfTypeCastingStrategy::Strong; evalExpression = cast; @@ -11608,21 +11647,18 @@ Workflow_InstallBindProperty } { - auto refSubscribee = MakePtr(); - refSubscribee->name.value = variableName.ToString(); - - auto member = MakePtr(); - member->parent = refSubscribee; - member->name.value = propertyInfo->GetName(); - - auto assign = MakePtr(); - assign->op = WfBinaryOperator::Assign; - assign->first = member; - assign->second = evalExpression; + IGuiInstanceLoader::ArgumentMap arguments; + { + IGuiInstanceLoader::ArgumentInfo argumentInfo; + argumentInfo.type = td; + argumentInfo.expression = evalExpression; + arguments.Add(prop.propertyName, argumentInfo); + } - auto stat = MakePtr(); - stat->expression = assign; - subBlock->statements.Add(stat); + if (auto stat = loader->AssignParameters(prop.typeInfo, variableName, arguments, errors)) + { + subBlock->statements.Add(stat); + } } return subBlock; } @@ -11789,24 +11825,17 @@ Workflow_InstallBindProperty Workflow_InstallEvalProperty ***********************************************************************/ - Ptr Workflow_InstallEvalProperty(GlobalStringKey variableName, description::IPropertyInfo* propertyInfo, Ptr evalExpression) + Ptr Workflow_InstallEvalProperty(GlobalStringKey variableName, IGuiInstanceLoader* loader, const IGuiInstanceLoader::PropertyInfo& prop, Ptr propInfo, Ptr evalExpression, collections::List& errors) { - auto refSubscribee = MakePtr(); - refSubscribee->name.value = variableName.ToString(); - - auto member = MakePtr(); - member->parent = refSubscribee; - member->name.value = propertyInfo->GetName(); - - auto assign = MakePtr(); - assign->op = WfBinaryOperator::Assign; - assign->first = member; - assign->second = evalExpression; + IGuiInstanceLoader::ArgumentMap arguments; + { + IGuiInstanceLoader::ArgumentInfo argumentInfo; + argumentInfo.type = propInfo->acceptableTypes[0]; + argumentInfo.expression = evalExpression; + arguments.Add(prop.propertyName, argumentInfo); + } - auto stat = MakePtr(); - stat->expression = assign; - - return stat; + return loader->AssignParameters(prop.typeInfo, variableName, arguments, errors); } /*********************************************************************** diff --git a/Import/GacUIReflection.h b/Import/GacUIReflection.h index 0147894f..42d91d77 100644 --- a/Import/GacUIReflection.h +++ b/Import/GacUIReflection.h @@ -555,7 +555,8 @@ Instance Binder public: virtual GlobalStringKey GetBindingName() = 0; virtual bool ApplicableToConstructorArgument() = 0; - virtual Ptr GenerateInstallStatement(GlobalStringKey variableName, description::IPropertyInfo* propertyInfo, const WString& code, collections::List& errors) = 0; + virtual bool RequirePropertyExist() = 0; + virtual Ptr GenerateInstallStatement(GlobalStringKey variableName, description::IPropertyInfo* propertyInfo, IGuiInstanceLoader* loader, const IGuiInstanceLoader::PropertyInfo& prop, Ptr propInfo, const WString& code, collections::List& errors) = 0; }; class IGuiInstanceEventBinder : public IDescriptable, public Description @@ -3765,9 +3766,9 @@ WorkflowCompiler (Parser) WorkflowCompiler (Installation) ***********************************************************************/ - extern Ptr Workflow_InstallUriProperty(GlobalStringKey variableName, description::IPropertyInfo* propertyInfo, const WString& protocol, const WString& path); + extern Ptr Workflow_InstallUriProperty(GlobalStringKey variableName, IGuiInstanceLoader* loader, const IGuiInstanceLoader::PropertyInfo& prop, Ptr propInfo, const WString& protocol, const WString& path, collections::List& errors); extern Ptr Workflow_InstallBindProperty(GlobalStringKey variableName, description::IPropertyInfo* propertyInfo, Ptr bindExpression); - extern Ptr Workflow_InstallEvalProperty(GlobalStringKey variableName, description::IPropertyInfo* propertyInfo, Ptr evalExpression); + extern Ptr Workflow_InstallEvalProperty(GlobalStringKey variableName, IGuiInstanceLoader* loader, const IGuiInstanceLoader::PropertyInfo& prop, Ptr propInfo, Ptr evalExpression, collections::List& errors); extern Ptr Workflow_InstallEvent(GlobalStringKey variableName, description::IEventInfo* eventInfo, const WString& handlerName); extern Ptr Workflow_InstallEvalEvent(GlobalStringKey variableName, description::IEventInfo* eventInfo, Ptr evalStatement); diff --git a/Tutorial/GacUI_ControlTemplate/BlackSkin/BlackSkin.vcxproj b/Tutorial/GacUI_ControlTemplate/BlackSkin/BlackSkin.vcxproj index 7ca34ed7..530493df 100644 --- a/Tutorial/GacUI_ControlTemplate/BlackSkin/BlackSkin.vcxproj +++ b/Tutorial/GacUI_ControlTemplate/BlackSkin/BlackSkin.vcxproj @@ -81,6 +81,7 @@ + @@ -112,6 +113,10 @@ + + + + diff --git a/Tutorial/GacUI_ControlTemplate/BlackSkin/BlackSkin.vcxproj.filters b/Tutorial/GacUI_ControlTemplate/BlackSkin/BlackSkin.vcxproj.filters index 0322827c..af12c77e 100644 --- a/Tutorial/GacUI_ControlTemplate/BlackSkin/BlackSkin.vcxproj.filters +++ b/Tutorial/GacUI_ControlTemplate/BlackSkin/BlackSkin.vcxproj.filters @@ -24,6 +24,9 @@ Source Files + + UI + @@ -92,4 +95,12 @@ Resource Files\Images + + + UI + + + UI + + \ No newline at end of file diff --git a/Tutorial/GacUI_ControlTemplate/BlackSkin/Main.cpp b/Tutorial/GacUI_ControlTemplate/BlackSkin/Main.cpp index 299c998f..2b4be83b 100644 --- a/Tutorial/GacUI_ControlTemplate/BlackSkin/Main.cpp +++ b/Tutorial/GacUI_ControlTemplate/BlackSkin/Main.cpp @@ -15,7 +15,7 @@ void GuiMain() { { List errors; - FileStream fileStream(L"../UIRes/TextEditor.bin", FileStream::ReadOnly); + FileStream fileStream(L"../UIRes/BlackSkin.bin", FileStream::ReadOnly); auto resource = GuiResource::LoadPrecompiledBinary(fileStream, errors); GetInstanceLoaderManager()->SetResource(L"Resource", resource); } diff --git a/Tutorial/GacUI_ControlTemplate/BlackSkin/UI/MainWindow.xml b/Tutorial/GacUI_ControlTemplate/BlackSkin/UI/MainWindow.xml index 8677a962..7fcc9ccb 100644 Binary files a/Tutorial/GacUI_ControlTemplate/BlackSkin/UI/MainWindow.xml and b/Tutorial/GacUI_ControlTemplate/BlackSkin/UI/MainWindow.xml differ diff --git a/Tutorial/GacUI_ControlTemplate/BlackSkin/UI/Source/Demo.h b/Tutorial/GacUI_ControlTemplate/BlackSkin/UI/Source/Demo.h new file mode 100644 index 00000000..febeba0f --- /dev/null +++ b/Tutorial/GacUI_ControlTemplate/BlackSkin/UI/Source/Demo.h @@ -0,0 +1,16 @@ +/*********************************************************************** +Vczh Library++ 3.0 +Developer: Zihan Chen(vczh) +GacUI::Demo + +This file is generated by: Vczh GacUI Resource Code Generator +************************************************************************ +DO NOT MODIFY +***********************************************************************/ + +#ifndef VCZH_GACUI_RESOURCE_CODE_GENERATOR_Demo +#define VCZH_GACUI_RESOURCE_CODE_GENERATOR_Demo + +#include "DemoPartialClasses.h" + +#endif diff --git a/Tutorial/GacUI_ControlTemplate/BlackSkin/UI/Source/DemoPartialClasses.cpp b/Tutorial/GacUI_ControlTemplate/BlackSkin/UI/Source/DemoPartialClasses.cpp new file mode 100644 index 00000000..fed4949f --- /dev/null +++ b/Tutorial/GacUI_ControlTemplate/BlackSkin/UI/Source/DemoPartialClasses.cpp @@ -0,0 +1,1267 @@ +/*********************************************************************** +Vczh Library++ 3.0 +Developer: Zihan Chen(vczh) +GacUI::Partial Classes + +This file is generated by: Vczh GacUI Resource Code Generator +************************************************************************ +DO NOT MODIFY +***********************************************************************/ + +#include "Demo.h" + +namespace darkskin +{ + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + + BottomScrollButtonTemplate::BottomScrollButtonTemplate() + { + InitializeComponents(); + } + + BottomScrollButtonTemplate::~BottomScrollButtonTemplate() + { + ClearSubscriptions(); + } +} + + +namespace darkskin +{ + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + + ButtonTemplate::ButtonTemplate() + { + InitializeComponents(); + } + + ButtonTemplate::~ButtonTemplate() + { + ClearSubscriptions(); + } +} + + +namespace darkskin +{ + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + + CheckBoxTemplate::CheckBoxTemplate() + { + InitializeComponents(); + } + + CheckBoxTemplate::~CheckBoxTemplate() + { + ClearSubscriptions(); + } +} + + +namespace darkskin +{ + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + + CheckItemBackgroundTemplate::CheckItemBackgroundTemplate() + { + InitializeComponents(); + } + + CheckItemBackgroundTemplate::~CheckItemBackgroundTemplate() + { + ClearSubscriptions(); + } +} + + +namespace darkskin +{ + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + + CheckTextListTemplate::CheckTextListTemplate() + { + InitializeComponents(); + } + + CheckTextListTemplate::~CheckTextListTemplate() + { + ClearSubscriptions(); + } +} + + +namespace darkskin +{ + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + + ComboBoxTemplate::ComboBoxTemplate() + { + InitializeComponents(); + } + + ComboBoxTemplate::~ComboBoxTemplate() + { + ClearSubscriptions(); + } +} + + +namespace darkskin +{ + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + + DatePickerTemplate::DatePickerTemplate() + { + InitializeComponents(); + } + + DatePickerTemplate::~DatePickerTemplate() + { + ClearSubscriptions(); + } +} + + +namespace darkskin +{ + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + + DocumentLabelTemplate::DocumentLabelTemplate() + { + InitializeComponents(); + } + + DocumentLabelTemplate::~DocumentLabelTemplate() + { + ClearSubscriptions(); + } +} + + +namespace darkskin +{ + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + + DocumentViewerTemplate::DocumentViewerTemplate() + { + InitializeComponents(); + } + + DocumentViewerTemplate::~DocumentViewerTemplate() + { + ClearSubscriptions(); + } +} + + +namespace darkskin +{ + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + + ExpandingDecoratorTemplate::ExpandingDecoratorTemplate() + { + InitializeComponents(); + } + + ExpandingDecoratorTemplate::~ExpandingDecoratorTemplate() + { + ClearSubscriptions(); + } +} + + +namespace darkskin +{ + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + + GroupBoxTemplate::GroupBoxTemplate() + { + InitializeComponents(); + } + + GroupBoxTemplate::~GroupBoxTemplate() + { + ClearSubscriptions(); + } +} + + +namespace darkskin +{ + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + + HScrollHandleTemplate::HScrollHandleTemplate() + { + InitializeComponents(); + } + + HScrollHandleTemplate::~HScrollHandleTemplate() + { + ClearSubscriptions(); + } +} + + +namespace darkskin +{ + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + + HScrollTemplate::HScrollTemplate() + { + InitializeComponents(); + } + + HScrollTemplate::~HScrollTemplate() + { + ClearSubscriptions(); + } +} + + +namespace darkskin +{ + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + + HTrackerTemplate::HTrackerTemplate() + { + InitializeComponents(); + } + + HTrackerTemplate::~HTrackerTemplate() + { + ClearSubscriptions(); + } +} + + +namespace darkskin +{ + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + + ItemBackgroundTemplate::ItemBackgroundTemplate() + { + InitializeComponents(); + } + + ItemBackgroundTemplate::~ItemBackgroundTemplate() + { + ClearSubscriptions(); + } +} + + +namespace darkskin +{ + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + + LabelTemplate::LabelTemplate() + { + InitializeComponents(); + } + + LabelTemplate::~LabelTemplate() + { + ClearSubscriptions(); + } +} + + +namespace darkskin +{ + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + + LeftScrollButtonTemplate::LeftScrollButtonTemplate() + { + InitializeComponents(); + } + + LeftScrollButtonTemplate::~LeftScrollButtonTemplate() + { + ClearSubscriptions(); + } +} + + +namespace darkskin +{ + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + + ListViewColumnHeaderTemplate::ListViewColumnHeaderTemplate() + { + InitializeComponents(); + } + + ListViewColumnHeaderTemplate::~ListViewColumnHeaderTemplate() + { + ClearSubscriptions(); + } +} + + +namespace darkskin +{ + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + + ListViewTemplate::ListViewTemplate() + { + InitializeComponents(); + } + + ListViewTemplate::~ListViewTemplate() + { + ClearSubscriptions(); + } +} + + +namespace darkskin +{ + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + + MenuBarButtonTemplate::MenuBarButtonTemplate() + { + InitializeComponents(); + } + + MenuBarButtonTemplate::~MenuBarButtonTemplate() + { + ClearSubscriptions(); + } +} + + +namespace darkskin +{ + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + + MenuItemButtonTemplate::MenuItemButtonTemplate() + { + InitializeComponents(); + } + + MenuItemButtonTemplate::~MenuItemButtonTemplate() + { + ClearSubscriptions(); + } +} + + +namespace darkskin +{ + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + + MenuSplitterTemplate::MenuSplitterTemplate() + { + InitializeComponents(); + } + + MenuSplitterTemplate::~MenuSplitterTemplate() + { + ClearSubscriptions(); + } +} + + +namespace darkskin +{ + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + + MultilineTextBoxTemplate::MultilineTextBoxTemplate() + { + InitializeComponents(); + } + + MultilineTextBoxTemplate::~MultilineTextBoxTemplate() + { + ClearSubscriptions(); + } +} + + +namespace darkskin +{ + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + + ProgressBarTemplate::ProgressBarTemplate() + { + InitializeComponents(); + } + + ProgressBarTemplate::~ProgressBarTemplate() + { + ClearSubscriptions(); + } +} + + +namespace darkskin +{ + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + + RadioButtonTemplate::RadioButtonTemplate() + { + InitializeComponents(); + } + + RadioButtonTemplate::~RadioButtonTemplate() + { + ClearSubscriptions(); + } +} + + +namespace darkskin +{ + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + + RadioTextListTemplate::RadioTextListTemplate() + { + InitializeComponents(); + } + + RadioTextListTemplate::~RadioTextListTemplate() + { + ClearSubscriptions(); + } +} + + +namespace darkskin +{ + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + + RightScrollButtonTemplate::RightScrollButtonTemplate() + { + InitializeComponents(); + } + + RightScrollButtonTemplate::~RightScrollButtonTemplate() + { + ClearSubscriptions(); + } +} + + +namespace darkskin +{ + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + + ScrollViewTemplate::ScrollViewTemplate() + { + InitializeComponents(); + } + + ScrollViewTemplate::~ScrollViewTemplate() + { + ClearSubscriptions(); + } +} + + +namespace darkskin +{ + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + + SinglelineTextBoxTemplate::SinglelineTextBoxTemplate() + { + InitializeComponents(); + } + + SinglelineTextBoxTemplate::~SinglelineTextBoxTemplate() + { + ClearSubscriptions(); + } +} + + +namespace darkskin +{ + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + + TabDropdownTemplate::TabDropdownTemplate() + { + InitializeComponents(); + } + + TabDropdownTemplate::~TabDropdownTemplate() + { + ClearSubscriptions(); + } +} + + +namespace darkskin +{ + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + + TabHeaderTemplate::TabHeaderTemplate() + { + InitializeComponents(); + } + + TabHeaderTemplate::~TabHeaderTemplate() + { + ClearSubscriptions(); + } +} + + +namespace darkskin +{ + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + + TabTemplate::TabTemplate() + { + InitializeComponents(); + } + + TabTemplate::~TabTemplate() + { + ClearSubscriptions(); + } +} + + +namespace darkskin +{ + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + + TextListTemplate::TextListTemplate() + { + InitializeComponents(); + } + + TextListTemplate::~TextListTemplate() + { + ClearSubscriptions(); + } +} + + +namespace darkskin +{ + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + + ToolstripButtonTemplate::ToolstripButtonTemplate() + { + InitializeComponents(); + } + + ToolstripButtonTemplate::~ToolstripButtonTemplate() + { + ClearSubscriptions(); + } +} + + +namespace darkskin +{ + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + + ToolstripDropdownButtonTemplate::ToolstripDropdownButtonTemplate() + { + InitializeComponents(); + } + + ToolstripDropdownButtonTemplate::~ToolstripDropdownButtonTemplate() + { + ClearSubscriptions(); + } +} + + +namespace darkskin +{ + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + + ToolstripMenuTemplate::ToolstripMenuTemplate() + { + InitializeComponents(); + } + + ToolstripMenuTemplate::~ToolstripMenuTemplate() + { + ClearSubscriptions(); + } +} + + +namespace darkskin +{ + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + + ToolstripSplitArrowTemplate::ToolstripSplitArrowTemplate() + { + InitializeComponents(); + } + + ToolstripSplitArrowTemplate::~ToolstripSplitArrowTemplate() + { + ClearSubscriptions(); + } +} + + +namespace darkskin +{ + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + + ToolstripSplitButtonTemplate::ToolstripSplitButtonTemplate() + { + InitializeComponents(); + } + + ToolstripSplitButtonTemplate::~ToolstripSplitButtonTemplate() + { + ClearSubscriptions(); + } +} + + +namespace darkskin +{ + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + + ToolstripSplitterTemplate::ToolstripSplitterTemplate() + { + InitializeComponents(); + } + + ToolstripSplitterTemplate::~ToolstripSplitterTemplate() + { + ClearSubscriptions(); + } +} + + +namespace darkskin +{ + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + + ToolstripTemplate::ToolstripTemplate() + { + InitializeComponents(); + } + + ToolstripTemplate::~ToolstripTemplate() + { + ClearSubscriptions(); + } +} + + +namespace darkskin +{ + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + + TooltipTemplate::TooltipTemplate() + { + InitializeComponents(); + } + + TooltipTemplate::~TooltipTemplate() + { + ClearSubscriptions(); + } +} + + +namespace darkskin +{ + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + + TopScrollButtonTemplate::TopScrollButtonTemplate() + { + InitializeComponents(); + } + + TopScrollButtonTemplate::~TopScrollButtonTemplate() + { + ClearSubscriptions(); + } +} + + +namespace darkskin +{ + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + + TreeViewTemplate::TreeViewTemplate() + { + InitializeComponents(); + } + + TreeViewTemplate::~TreeViewTemplate() + { + ClearSubscriptions(); + } +} + + +namespace darkskin +{ + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + + VScrollHandleTemplate::VScrollHandleTemplate() + { + InitializeComponents(); + } + + VScrollHandleTemplate::~VScrollHandleTemplate() + { + ClearSubscriptions(); + } +} + + +namespace darkskin +{ + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + + VScrollTemplate::VScrollTemplate() + { + InitializeComponents(); + } + + VScrollTemplate::~VScrollTemplate() + { + ClearSubscriptions(); + } +} + + +namespace darkskin +{ + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + + VTrackerTemplate::VTrackerTemplate() + { + InitializeComponents(); + } + + VTrackerTemplate::~VTrackerTemplate() + { + ClearSubscriptions(); + } +} + + +namespace darkskin +{ + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + + WindowTemplate::WindowTemplate() + { + InitializeComponents(); + } + + WindowTemplate::~WindowTemplate() + { + ClearSubscriptions(); + } +} + + +namespace demo +{ + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + + MainWindow::MainWindow() + { + InitializeComponents(); + } + + MainWindow::~MainWindow() + { + ClearSubscriptions(); + } +} + + +namespace vl +{ + namespace reflection + { + namespace description + { + #define _ , + IMPL_CPP_TYPE_INFO(darkskin::BottomScrollButtonTemplate) + IMPL_CPP_TYPE_INFO(darkskin::ButtonTemplate) + IMPL_CPP_TYPE_INFO(darkskin::CheckBoxTemplate) + IMPL_CPP_TYPE_INFO(darkskin::CheckItemBackgroundTemplate) + IMPL_CPP_TYPE_INFO(darkskin::CheckTextListTemplate) + IMPL_CPP_TYPE_INFO(darkskin::ComboBoxTemplate) + IMPL_CPP_TYPE_INFO(darkskin::DatePickerTemplate) + IMPL_CPP_TYPE_INFO(darkskin::DocumentLabelTemplate) + IMPL_CPP_TYPE_INFO(darkskin::DocumentViewerTemplate) + IMPL_CPP_TYPE_INFO(darkskin::ExpandingDecoratorTemplate) + IMPL_CPP_TYPE_INFO(darkskin::GroupBoxTemplate) + IMPL_CPP_TYPE_INFO(darkskin::HScrollHandleTemplate) + IMPL_CPP_TYPE_INFO(darkskin::HScrollTemplate) + IMPL_CPP_TYPE_INFO(darkskin::HTrackerTemplate) + IMPL_CPP_TYPE_INFO(darkskin::ItemBackgroundTemplate) + IMPL_CPP_TYPE_INFO(darkskin::LabelTemplate) + IMPL_CPP_TYPE_INFO(darkskin::LeftScrollButtonTemplate) + IMPL_CPP_TYPE_INFO(darkskin::ListViewColumnHeaderTemplate) + IMPL_CPP_TYPE_INFO(darkskin::ListViewTemplate) + IMPL_CPP_TYPE_INFO(darkskin::MenuBarButtonTemplate) + IMPL_CPP_TYPE_INFO(darkskin::MenuItemButtonTemplate) + IMPL_CPP_TYPE_INFO(darkskin::MenuSplitterTemplate) + IMPL_CPP_TYPE_INFO(darkskin::MultilineTextBoxTemplate) + IMPL_CPP_TYPE_INFO(darkskin::ProgressBarTemplate) + IMPL_CPP_TYPE_INFO(darkskin::RadioButtonTemplate) + IMPL_CPP_TYPE_INFO(darkskin::RadioTextListTemplate) + IMPL_CPP_TYPE_INFO(darkskin::RightScrollButtonTemplate) + IMPL_CPP_TYPE_INFO(darkskin::ScrollViewTemplate) + IMPL_CPP_TYPE_INFO(darkskin::SinglelineTextBoxTemplate) + IMPL_CPP_TYPE_INFO(darkskin::TabDropdownTemplate) + IMPL_CPP_TYPE_INFO(darkskin::TabHeaderTemplate) + IMPL_CPP_TYPE_INFO(darkskin::TabTemplate) + IMPL_CPP_TYPE_INFO(darkskin::TextListTemplate) + IMPL_CPP_TYPE_INFO(darkskin::ToolstripButtonTemplate) + IMPL_CPP_TYPE_INFO(darkskin::ToolstripDropdownButtonTemplate) + IMPL_CPP_TYPE_INFO(darkskin::ToolstripMenuTemplate) + IMPL_CPP_TYPE_INFO(darkskin::ToolstripSplitArrowTemplate) + IMPL_CPP_TYPE_INFO(darkskin::ToolstripSplitButtonTemplate) + IMPL_CPP_TYPE_INFO(darkskin::ToolstripSplitterTemplate) + IMPL_CPP_TYPE_INFO(darkskin::ToolstripTemplate) + IMPL_CPP_TYPE_INFO(darkskin::TooltipTemplate) + IMPL_CPP_TYPE_INFO(darkskin::TopScrollButtonTemplate) + IMPL_CPP_TYPE_INFO(darkskin::TreeViewTemplate) + IMPL_CPP_TYPE_INFO(darkskin::VScrollHandleTemplate) + IMPL_CPP_TYPE_INFO(darkskin::VScrollTemplate) + IMPL_CPP_TYPE_INFO(darkskin::VTrackerTemplate) + IMPL_CPP_TYPE_INFO(darkskin::WindowTemplate) + IMPL_CPP_TYPE_INFO(demo::MainWindow) + + BEGIN_CLASS_MEMBER(darkskin::BottomScrollButtonTemplate) + CLASS_MEMBER_BASE(vl::presentation::templates::GuiButtonTemplate) + CLASS_MEMBER_CONSTRUCTOR(darkskin::BottomScrollButtonTemplate*(), NO_PARAMETER) + END_CLASS_MEMBER(darkskin::BottomScrollButtonTemplate) + + BEGIN_CLASS_MEMBER(darkskin::ButtonTemplate) + CLASS_MEMBER_BASE(vl::presentation::templates::GuiButtonTemplate) + CLASS_MEMBER_CONSTRUCTOR(darkskin::ButtonTemplate*(), NO_PARAMETER) + END_CLASS_MEMBER(darkskin::ButtonTemplate) + + BEGIN_CLASS_MEMBER(darkskin::CheckBoxTemplate) + CLASS_MEMBER_BASE(vl::presentation::templates::GuiSelectableButtonTemplate) + CLASS_MEMBER_CONSTRUCTOR(darkskin::CheckBoxTemplate*(), NO_PARAMETER) + END_CLASS_MEMBER(darkskin::CheckBoxTemplate) + + BEGIN_CLASS_MEMBER(darkskin::CheckItemBackgroundTemplate) + CLASS_MEMBER_BASE(vl::presentation::templates::GuiSelectableButtonTemplate) + CLASS_MEMBER_CONSTRUCTOR(darkskin::CheckItemBackgroundTemplate*(), NO_PARAMETER) + END_CLASS_MEMBER(darkskin::CheckItemBackgroundTemplate) + + BEGIN_CLASS_MEMBER(darkskin::CheckTextListTemplate) + CLASS_MEMBER_BASE(vl::presentation::templates::GuiTextListTemplate) + CLASS_MEMBER_CONSTRUCTOR(darkskin::CheckTextListTemplate*(), NO_PARAMETER) + END_CLASS_MEMBER(darkskin::CheckTextListTemplate) + + BEGIN_CLASS_MEMBER(darkskin::ComboBoxTemplate) + CLASS_MEMBER_BASE(vl::presentation::templates::GuiDateComboBoxTemplate) + CLASS_MEMBER_CONSTRUCTOR(darkskin::ComboBoxTemplate*(), NO_PARAMETER) + END_CLASS_MEMBER(darkskin::ComboBoxTemplate) + + BEGIN_CLASS_MEMBER(darkskin::DatePickerTemplate) + CLASS_MEMBER_BASE(vl::presentation::templates::GuiDatePickerTemplate) + CLASS_MEMBER_CONSTRUCTOR(darkskin::DatePickerTemplate*(), NO_PARAMETER) + END_CLASS_MEMBER(darkskin::DatePickerTemplate) + + BEGIN_CLASS_MEMBER(darkskin::DocumentLabelTemplate) + CLASS_MEMBER_BASE(vl::presentation::templates::GuiDocumentLabelTemplate) + CLASS_MEMBER_CONSTRUCTOR(darkskin::DocumentLabelTemplate*(), NO_PARAMETER) + END_CLASS_MEMBER(darkskin::DocumentLabelTemplate) + + BEGIN_CLASS_MEMBER(darkskin::DocumentViewerTemplate) + CLASS_MEMBER_BASE(vl::presentation::templates::GuiDocumentViewerTemplate) + CLASS_MEMBER_CONSTRUCTOR(darkskin::DocumentViewerTemplate*(), NO_PARAMETER) + END_CLASS_MEMBER(darkskin::DocumentViewerTemplate) + + BEGIN_CLASS_MEMBER(darkskin::ExpandingDecoratorTemplate) + CLASS_MEMBER_BASE(vl::presentation::templates::GuiSelectableButtonTemplate) + CLASS_MEMBER_CONSTRUCTOR(darkskin::ExpandingDecoratorTemplate*(), NO_PARAMETER) + END_CLASS_MEMBER(darkskin::ExpandingDecoratorTemplate) + + BEGIN_CLASS_MEMBER(darkskin::GroupBoxTemplate) + CLASS_MEMBER_BASE(vl::presentation::templates::GuiControlTemplate) + CLASS_MEMBER_CONSTRUCTOR(darkskin::GroupBoxTemplate*(), NO_PARAMETER) + END_CLASS_MEMBER(darkskin::GroupBoxTemplate) + + BEGIN_CLASS_MEMBER(darkskin::HScrollHandleTemplate) + CLASS_MEMBER_BASE(vl::presentation::templates::GuiButtonTemplate) + CLASS_MEMBER_CONSTRUCTOR(darkskin::HScrollHandleTemplate*(), NO_PARAMETER) + END_CLASS_MEMBER(darkskin::HScrollHandleTemplate) + + BEGIN_CLASS_MEMBER(darkskin::HScrollTemplate) + CLASS_MEMBER_BASE(vl::presentation::templates::GuiScrollTemplate) + CLASS_MEMBER_CONSTRUCTOR(darkskin::HScrollTemplate*(), NO_PARAMETER) + + CLASS_MEMBER_FIELD(draggingHandle) + CLASS_MEMBER_FIELD(draggingStartLocation) + END_CLASS_MEMBER(darkskin::HScrollTemplate) + + BEGIN_CLASS_MEMBER(darkskin::HTrackerTemplate) + CLASS_MEMBER_BASE(vl::presentation::templates::GuiScrollTemplate) + CLASS_MEMBER_CONSTRUCTOR(darkskin::HTrackerTemplate*(), NO_PARAMETER) + + CLASS_MEMBER_FIELD(draggingHandle) + CLASS_MEMBER_FIELD(draggingStartLocation) + END_CLASS_MEMBER(darkskin::HTrackerTemplate) + + BEGIN_CLASS_MEMBER(darkskin::ItemBackgroundTemplate) + CLASS_MEMBER_BASE(vl::presentation::templates::GuiSelectableButtonTemplate) + CLASS_MEMBER_CONSTRUCTOR(darkskin::ItemBackgroundTemplate*(), NO_PARAMETER) + END_CLASS_MEMBER(darkskin::ItemBackgroundTemplate) + + BEGIN_CLASS_MEMBER(darkskin::LabelTemplate) + CLASS_MEMBER_BASE(vl::presentation::templates::GuiLabelTemplate) + CLASS_MEMBER_CONSTRUCTOR(darkskin::LabelTemplate*(), NO_PARAMETER) + END_CLASS_MEMBER(darkskin::LabelTemplate) + + BEGIN_CLASS_MEMBER(darkskin::LeftScrollButtonTemplate) + CLASS_MEMBER_BASE(vl::presentation::templates::GuiButtonTemplate) + CLASS_MEMBER_CONSTRUCTOR(darkskin::LeftScrollButtonTemplate*(), NO_PARAMETER) + END_CLASS_MEMBER(darkskin::LeftScrollButtonTemplate) + + BEGIN_CLASS_MEMBER(darkskin::ListViewColumnHeaderTemplate) + CLASS_MEMBER_BASE(vl::presentation::templates::GuiListViewColumnHeaderTemplate) + CLASS_MEMBER_CONSTRUCTOR(darkskin::ListViewColumnHeaderTemplate*(), NO_PARAMETER) + END_CLASS_MEMBER(darkskin::ListViewColumnHeaderTemplate) + + BEGIN_CLASS_MEMBER(darkskin::ListViewTemplate) + CLASS_MEMBER_BASE(vl::presentation::templates::GuiListViewTemplate) + CLASS_MEMBER_CONSTRUCTOR(darkskin::ListViewTemplate*(), NO_PARAMETER) + END_CLASS_MEMBER(darkskin::ListViewTemplate) + + BEGIN_CLASS_MEMBER(darkskin::MenuBarButtonTemplate) + CLASS_MEMBER_BASE(vl::presentation::templates::GuiToolstripButtonTemplate) + CLASS_MEMBER_CONSTRUCTOR(darkskin::MenuBarButtonTemplate*(), NO_PARAMETER) + END_CLASS_MEMBER(darkskin::MenuBarButtonTemplate) + + BEGIN_CLASS_MEMBER(darkskin::MenuItemButtonTemplate) + CLASS_MEMBER_BASE(vl::presentation::templates::GuiToolstripButtonTemplate) + CLASS_MEMBER_CONSTRUCTOR(darkskin::MenuItemButtonTemplate*(), NO_PARAMETER) + END_CLASS_MEMBER(darkskin::MenuItemButtonTemplate) + + BEGIN_CLASS_MEMBER(darkskin::MenuSplitterTemplate) + CLASS_MEMBER_BASE(vl::presentation::templates::GuiControlTemplate) + CLASS_MEMBER_CONSTRUCTOR(darkskin::MenuSplitterTemplate*(), NO_PARAMETER) + END_CLASS_MEMBER(darkskin::MenuSplitterTemplate) + + BEGIN_CLASS_MEMBER(darkskin::MultilineTextBoxTemplate) + CLASS_MEMBER_BASE(vl::presentation::templates::GuiMultilineTextBoxTemplate) + CLASS_MEMBER_CONSTRUCTOR(darkskin::MultilineTextBoxTemplate*(), NO_PARAMETER) + END_CLASS_MEMBER(darkskin::MultilineTextBoxTemplate) + + BEGIN_CLASS_MEMBER(darkskin::ProgressBarTemplate) + CLASS_MEMBER_BASE(vl::presentation::templates::GuiScrollTemplate) + CLASS_MEMBER_CONSTRUCTOR(darkskin::ProgressBarTemplate*(), NO_PARAMETER) + END_CLASS_MEMBER(darkskin::ProgressBarTemplate) + + BEGIN_CLASS_MEMBER(darkskin::RadioButtonTemplate) + CLASS_MEMBER_BASE(vl::presentation::templates::GuiSelectableButtonTemplate) + CLASS_MEMBER_CONSTRUCTOR(darkskin::RadioButtonTemplate*(), NO_PARAMETER) + END_CLASS_MEMBER(darkskin::RadioButtonTemplate) + + BEGIN_CLASS_MEMBER(darkskin::RadioTextListTemplate) + CLASS_MEMBER_BASE(vl::presentation::templates::GuiTextListTemplate) + CLASS_MEMBER_CONSTRUCTOR(darkskin::RadioTextListTemplate*(), NO_PARAMETER) + END_CLASS_MEMBER(darkskin::RadioTextListTemplate) + + BEGIN_CLASS_MEMBER(darkskin::RightScrollButtonTemplate) + CLASS_MEMBER_BASE(vl::presentation::templates::GuiButtonTemplate) + CLASS_MEMBER_CONSTRUCTOR(darkskin::RightScrollButtonTemplate*(), NO_PARAMETER) + END_CLASS_MEMBER(darkskin::RightScrollButtonTemplate) + + BEGIN_CLASS_MEMBER(darkskin::ScrollViewTemplate) + CLASS_MEMBER_BASE(vl::presentation::templates::GuiScrollViewTemplate) + CLASS_MEMBER_CONSTRUCTOR(darkskin::ScrollViewTemplate*(), NO_PARAMETER) + END_CLASS_MEMBER(darkskin::ScrollViewTemplate) + + BEGIN_CLASS_MEMBER(darkskin::SinglelineTextBoxTemplate) + CLASS_MEMBER_BASE(vl::presentation::templates::GuiSinglelineTextBoxTemplate) + CLASS_MEMBER_CONSTRUCTOR(darkskin::SinglelineTextBoxTemplate*(), NO_PARAMETER) + END_CLASS_MEMBER(darkskin::SinglelineTextBoxTemplate) + + BEGIN_CLASS_MEMBER(darkskin::TabDropdownTemplate) + CLASS_MEMBER_BASE(vl::presentation::templates::GuiButtonTemplate) + CLASS_MEMBER_CONSTRUCTOR(darkskin::TabDropdownTemplate*(), NO_PARAMETER) + END_CLASS_MEMBER(darkskin::TabDropdownTemplate) + + BEGIN_CLASS_MEMBER(darkskin::TabHeaderTemplate) + CLASS_MEMBER_BASE(vl::presentation::templates::GuiSelectableButtonTemplate) + CLASS_MEMBER_CONSTRUCTOR(darkskin::TabHeaderTemplate*(), NO_PARAMETER) + END_CLASS_MEMBER(darkskin::TabHeaderTemplate) + + BEGIN_CLASS_MEMBER(darkskin::TabTemplate) + CLASS_MEMBER_BASE(vl::presentation::templates::GuiTabTemplate) + CLASS_MEMBER_CONSTRUCTOR(darkskin::TabTemplate*(), NO_PARAMETER) + END_CLASS_MEMBER(darkskin::TabTemplate) + + BEGIN_CLASS_MEMBER(darkskin::TextListTemplate) + CLASS_MEMBER_BASE(vl::presentation::templates::GuiTextListTemplate) + CLASS_MEMBER_CONSTRUCTOR(darkskin::TextListTemplate*(), NO_PARAMETER) + END_CLASS_MEMBER(darkskin::TextListTemplate) + + BEGIN_CLASS_MEMBER(darkskin::ToolstripButtonTemplate) + CLASS_MEMBER_BASE(vl::presentation::templates::GuiToolstripButtonTemplate) + CLASS_MEMBER_CONSTRUCTOR(darkskin::ToolstripButtonTemplate*(), NO_PARAMETER) + END_CLASS_MEMBER(darkskin::ToolstripButtonTemplate) + + BEGIN_CLASS_MEMBER(darkskin::ToolstripDropdownButtonTemplate) + CLASS_MEMBER_BASE(vl::presentation::templates::GuiToolstripButtonTemplate) + CLASS_MEMBER_CONSTRUCTOR(darkskin::ToolstripDropdownButtonTemplate*(), NO_PARAMETER) + END_CLASS_MEMBER(darkskin::ToolstripDropdownButtonTemplate) + + BEGIN_CLASS_MEMBER(darkskin::ToolstripMenuTemplate) + CLASS_MEMBER_BASE(vl::presentation::templates::GuiMenuTemplate) + CLASS_MEMBER_CONSTRUCTOR(darkskin::ToolstripMenuTemplate*(), NO_PARAMETER) + END_CLASS_MEMBER(darkskin::ToolstripMenuTemplate) + + BEGIN_CLASS_MEMBER(darkskin::ToolstripSplitArrowTemplate) + CLASS_MEMBER_BASE(vl::presentation::templates::GuiSelectableButtonTemplate) + CLASS_MEMBER_CONSTRUCTOR(darkskin::ToolstripSplitArrowTemplate*(), NO_PARAMETER) + END_CLASS_MEMBER(darkskin::ToolstripSplitArrowTemplate) + + BEGIN_CLASS_MEMBER(darkskin::ToolstripSplitButtonTemplate) + CLASS_MEMBER_BASE(vl::presentation::templates::GuiToolstripButtonTemplate) + CLASS_MEMBER_CONSTRUCTOR(darkskin::ToolstripSplitButtonTemplate*(), NO_PARAMETER) + END_CLASS_MEMBER(darkskin::ToolstripSplitButtonTemplate) + + BEGIN_CLASS_MEMBER(darkskin::ToolstripSplitterTemplate) + CLASS_MEMBER_BASE(vl::presentation::templates::GuiControlTemplate) + CLASS_MEMBER_CONSTRUCTOR(darkskin::ToolstripSplitterTemplate*(), NO_PARAMETER) + END_CLASS_MEMBER(darkskin::ToolstripSplitterTemplate) + + BEGIN_CLASS_MEMBER(darkskin::ToolstripTemplate) + CLASS_MEMBER_BASE(vl::presentation::templates::GuiControlTemplate) + CLASS_MEMBER_CONSTRUCTOR(darkskin::ToolstripTemplate*(), NO_PARAMETER) + END_CLASS_MEMBER(darkskin::ToolstripTemplate) + + BEGIN_CLASS_MEMBER(darkskin::TooltipTemplate) + CLASS_MEMBER_BASE(vl::presentation::templates::GuiWindowTemplate) + CLASS_MEMBER_CONSTRUCTOR(darkskin::TooltipTemplate*(), NO_PARAMETER) + END_CLASS_MEMBER(darkskin::TooltipTemplate) + + BEGIN_CLASS_MEMBER(darkskin::TopScrollButtonTemplate) + CLASS_MEMBER_BASE(vl::presentation::templates::GuiButtonTemplate) + CLASS_MEMBER_CONSTRUCTOR(darkskin::TopScrollButtonTemplate*(), NO_PARAMETER) + END_CLASS_MEMBER(darkskin::TopScrollButtonTemplate) + + BEGIN_CLASS_MEMBER(darkskin::TreeViewTemplate) + CLASS_MEMBER_BASE(vl::presentation::templates::GuiTreeViewTemplate) + CLASS_MEMBER_CONSTRUCTOR(darkskin::TreeViewTemplate*(), NO_PARAMETER) + END_CLASS_MEMBER(darkskin::TreeViewTemplate) + + BEGIN_CLASS_MEMBER(darkskin::VScrollHandleTemplate) + CLASS_MEMBER_BASE(vl::presentation::templates::GuiButtonTemplate) + CLASS_MEMBER_CONSTRUCTOR(darkskin::VScrollHandleTemplate*(), NO_PARAMETER) + END_CLASS_MEMBER(darkskin::VScrollHandleTemplate) + + BEGIN_CLASS_MEMBER(darkskin::VScrollTemplate) + CLASS_MEMBER_BASE(vl::presentation::templates::GuiScrollTemplate) + CLASS_MEMBER_CONSTRUCTOR(darkskin::VScrollTemplate*(), NO_PARAMETER) + + CLASS_MEMBER_FIELD(draggingHandle) + CLASS_MEMBER_FIELD(draggingStartLocation) + END_CLASS_MEMBER(darkskin::VScrollTemplate) + + BEGIN_CLASS_MEMBER(darkskin::VTrackerTemplate) + CLASS_MEMBER_BASE(vl::presentation::templates::GuiScrollTemplate) + CLASS_MEMBER_CONSTRUCTOR(darkskin::VTrackerTemplate*(), NO_PARAMETER) + + CLASS_MEMBER_FIELD(draggingHandle) + CLASS_MEMBER_FIELD(draggingStartLocation) + END_CLASS_MEMBER(darkskin::VTrackerTemplate) + + BEGIN_CLASS_MEMBER(darkskin::WindowTemplate) + CLASS_MEMBER_BASE(vl::presentation::templates::GuiWindowTemplate) + CLASS_MEMBER_CONSTRUCTOR(darkskin::WindowTemplate*(), NO_PARAMETER) + END_CLASS_MEMBER(darkskin::WindowTemplate) + + BEGIN_CLASS_MEMBER(demo::MainWindow) + CLASS_MEMBER_BASE(vl::presentation::controls::GuiWindow) + CLASS_MEMBER_CONSTRUCTOR(demo::MainWindow*(), NO_PARAMETER) + END_CLASS_MEMBER(demo::MainWindow) + + #undef _ + + class DemoResourceLoader : public Object, public ITypeLoader + { + public: + void Load(ITypeManager* manager) + { + ADD_TYPE_INFO(darkskin::BottomScrollButtonTemplate) + ADD_TYPE_INFO(darkskin::ButtonTemplate) + ADD_TYPE_INFO(darkskin::CheckBoxTemplate) + ADD_TYPE_INFO(darkskin::CheckItemBackgroundTemplate) + ADD_TYPE_INFO(darkskin::CheckTextListTemplate) + ADD_TYPE_INFO(darkskin::ComboBoxTemplate) + ADD_TYPE_INFO(darkskin::DatePickerTemplate) + ADD_TYPE_INFO(darkskin::DocumentLabelTemplate) + ADD_TYPE_INFO(darkskin::DocumentViewerTemplate) + ADD_TYPE_INFO(darkskin::ExpandingDecoratorTemplate) + ADD_TYPE_INFO(darkskin::GroupBoxTemplate) + ADD_TYPE_INFO(darkskin::HScrollHandleTemplate) + ADD_TYPE_INFO(darkskin::HScrollTemplate) + ADD_TYPE_INFO(darkskin::HTrackerTemplate) + ADD_TYPE_INFO(darkskin::ItemBackgroundTemplate) + ADD_TYPE_INFO(darkskin::LabelTemplate) + ADD_TYPE_INFO(darkskin::LeftScrollButtonTemplate) + ADD_TYPE_INFO(darkskin::ListViewColumnHeaderTemplate) + ADD_TYPE_INFO(darkskin::ListViewTemplate) + ADD_TYPE_INFO(darkskin::MenuBarButtonTemplate) + ADD_TYPE_INFO(darkskin::MenuItemButtonTemplate) + ADD_TYPE_INFO(darkskin::MenuSplitterTemplate) + ADD_TYPE_INFO(darkskin::MultilineTextBoxTemplate) + ADD_TYPE_INFO(darkskin::ProgressBarTemplate) + ADD_TYPE_INFO(darkskin::RadioButtonTemplate) + ADD_TYPE_INFO(darkskin::RadioTextListTemplate) + ADD_TYPE_INFO(darkskin::RightScrollButtonTemplate) + ADD_TYPE_INFO(darkskin::ScrollViewTemplate) + ADD_TYPE_INFO(darkskin::SinglelineTextBoxTemplate) + ADD_TYPE_INFO(darkskin::TabDropdownTemplate) + ADD_TYPE_INFO(darkskin::TabHeaderTemplate) + ADD_TYPE_INFO(darkskin::TabTemplate) + ADD_TYPE_INFO(darkskin::TextListTemplate) + ADD_TYPE_INFO(darkskin::ToolstripButtonTemplate) + ADD_TYPE_INFO(darkskin::ToolstripDropdownButtonTemplate) + ADD_TYPE_INFO(darkskin::ToolstripMenuTemplate) + ADD_TYPE_INFO(darkskin::ToolstripSplitArrowTemplate) + ADD_TYPE_INFO(darkskin::ToolstripSplitButtonTemplate) + ADD_TYPE_INFO(darkskin::ToolstripSplitterTemplate) + ADD_TYPE_INFO(darkskin::ToolstripTemplate) + ADD_TYPE_INFO(darkskin::TooltipTemplate) + ADD_TYPE_INFO(darkskin::TopScrollButtonTemplate) + ADD_TYPE_INFO(darkskin::TreeViewTemplate) + ADD_TYPE_INFO(darkskin::VScrollHandleTemplate) + ADD_TYPE_INFO(darkskin::VScrollTemplate) + ADD_TYPE_INFO(darkskin::VTrackerTemplate) + ADD_TYPE_INFO(darkskin::WindowTemplate) + ADD_TYPE_INFO(demo::MainWindow) + } + + void Unload(ITypeManager* manager) + { + } + }; + + class DemoResourcePlugin : public Object, public vl::presentation::controls::IGuiPlugin + { + public: + void Load()override + { + GetGlobalTypeManager()->AddTypeLoader(new DemoResourceLoader); + } + + void AfterLoad()override + { + } + + void Unload()override + { + } + }; + GUI_REGISTER_PLUGIN(DemoResourcePlugin) + } + } +} + diff --git a/Tutorial/GacUI_ControlTemplate/BlackSkin/UI/Source/DemoPartialClasses.h b/Tutorial/GacUI_ControlTemplate/BlackSkin/UI/Source/DemoPartialClasses.h new file mode 100644 index 00000000..48949f49 --- /dev/null +++ b/Tutorial/GacUI_ControlTemplate/BlackSkin/UI/Source/DemoPartialClasses.h @@ -0,0 +1,2382 @@ +/*********************************************************************** +Vczh Library++ 3.0 +Developer: Zihan Chen(vczh) +GacUI::Partial Classes + +This file is generated by: Vczh GacUI Resource Code Generator +************************************************************************ +DO NOT MODIFY +***********************************************************************/ + +#ifndef VCZH_GACUI_RESOURCE_CODE_GENERATOR_Demo_PARTIAL_CLASSES +#define VCZH_GACUI_RESOURCE_CODE_GENERATOR_Demo_PARTIAL_CLASSES + +#include "GacUIReflection.h" + +namespace darkskin +{ + class BottomScrollButtonTemplate; + class ButtonTemplate; + class CheckBoxTemplate; + class CheckItemBackgroundTemplate; + class CheckTextListTemplate; + class ComboBoxTemplate; + class DatePickerTemplate; + class DocumentLabelTemplate; + class DocumentViewerTemplate; + class ExpandingDecoratorTemplate; + class GroupBoxTemplate; + class HScrollHandleTemplate; + class HScrollTemplate; + class HTrackerTemplate; + class ItemBackgroundTemplate; + class LabelTemplate; + class LeftScrollButtonTemplate; + class ListViewColumnHeaderTemplate; + class ListViewTemplate; + class MenuBarButtonTemplate; + class MenuItemButtonTemplate; + class MenuSplitterTemplate; + class MultilineTextBoxTemplate; + class ProgressBarTemplate; + class RadioButtonTemplate; + class RadioTextListTemplate; + class RightScrollButtonTemplate; + class ScrollViewTemplate; + class SinglelineTextBoxTemplate; + class TabDropdownTemplate; + class TabHeaderTemplate; + class TabTemplate; + class TextListTemplate; + class ToolstripButtonTemplate; + class ToolstripDropdownButtonTemplate; + class ToolstripMenuTemplate; + class ToolstripSplitArrowTemplate; + class ToolstripSplitButtonTemplate; + class ToolstripSplitterTemplate; + class ToolstripTemplate; + class TooltipTemplate; + class TopScrollButtonTemplate; + class TreeViewTemplate; + class VScrollHandleTemplate; + class VScrollTemplate; + class VTrackerTemplate; + class WindowTemplate; +} +namespace demo +{ + class MainWindow; + +} +namespace darkskin +{ + template + class BottomScrollButtonTemplate_ : public vl::presentation::templates::GuiButtonTemplate, public vl::presentation::GuiInstancePartialClass, public vl::reflection::Description + { + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + private: + protected: + vl::presentation::templates::GuiButtonTemplate* self; + + void InitializeComponents() + { + if (InitializeFromResource()) + { + GUI_INSTANCE_REFERENCE(self); + } + else + { + } + } + public: + BottomScrollButtonTemplate_() + :vl::presentation::GuiInstancePartialClass(L"darkskin::BottomScrollButtonTemplate") + ,self(0) + { + } + }; + + template + class ButtonTemplate_ : public vl::presentation::templates::GuiButtonTemplate, public vl::presentation::GuiInstancePartialClass, public vl::reflection::Description + { + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + private: + protected: + vl::presentation::templates::GuiButtonTemplate* self; + + void InitializeComponents() + { + if (InitializeFromResource()) + { + GUI_INSTANCE_REFERENCE(self); + } + else + { + } + } + public: + ButtonTemplate_() + :vl::presentation::GuiInstancePartialClass(L"darkskin::ButtonTemplate") + ,self(0) + { + } + }; + + template + class CheckBoxTemplate_ : public vl::presentation::templates::GuiSelectableButtonTemplate, public vl::presentation::GuiInstancePartialClass, public vl::reflection::Description + { + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + private: + protected: + vl::presentation::templates::GuiSelectableButtonTemplate* self; + + void InitializeComponents() + { + if (InitializeFromResource()) + { + GUI_INSTANCE_REFERENCE(self); + } + else + { + } + } + public: + CheckBoxTemplate_() + :vl::presentation::GuiInstancePartialClass(L"darkskin::CheckBoxTemplate") + ,self(0) + { + } + }; + + template + class CheckItemBackgroundTemplate_ : public vl::presentation::templates::GuiSelectableButtonTemplate, public vl::presentation::GuiInstancePartialClass, public vl::reflection::Description + { + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + private: + protected: + vl::presentation::compositions::GuiBoundsComposition* container; + vl::presentation::templates::GuiSelectableButtonTemplate* self; + + void InitializeComponents() + { + if (InitializeFromResource()) + { + GUI_INSTANCE_REFERENCE(container); + GUI_INSTANCE_REFERENCE(self); + } + else + { + } + } + public: + CheckItemBackgroundTemplate_() + :vl::presentation::GuiInstancePartialClass(L"darkskin::CheckItemBackgroundTemplate") + ,container(0) + ,self(0) + { + } + }; + + template + class CheckTextListTemplate_ : public vl::presentation::templates::GuiTextListTemplate, public vl::presentation::GuiInstancePartialClass, public vl::reflection::Description + { + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + private: + protected: + vl::presentation::compositions::GuiBoundsComposition* container; + vl::presentation::templates::GuiTextListTemplate* self; + + void InitializeComponents() + { + if (InitializeFromResource()) + { + GUI_INSTANCE_REFERENCE(container); + GUI_INSTANCE_REFERENCE(self); + } + else + { + } + } + public: + CheckTextListTemplate_() + :vl::presentation::GuiInstancePartialClass(L"darkskin::CheckTextListTemplate") + ,container(0) + ,self(0) + { + } + }; + + template + class ComboBoxTemplate_ : public vl::presentation::templates::GuiDateComboBoxTemplate, public vl::presentation::GuiInstancePartialClass, public vl::reflection::Description + { + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + private: + protected: + vl::presentation::compositions::GuiBoundsComposition* container; + vl::presentation::templates::GuiDateComboBoxTemplate* self; + + void InitializeComponents() + { + if (InitializeFromResource()) + { + GUI_INSTANCE_REFERENCE(container); + GUI_INSTANCE_REFERENCE(self); + } + else + { + } + } + public: + ComboBoxTemplate_() + :vl::presentation::GuiInstancePartialClass(L"darkskin::ComboBoxTemplate") + ,container(0) + ,self(0) + { + } + }; + + template + class DatePickerTemplate_ : public vl::presentation::templates::GuiDatePickerTemplate, public vl::presentation::GuiInstancePartialClass, public vl::reflection::Description + { + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + private: + protected: + vl::presentation::templates::GuiDatePickerTemplate* self; + + void InitializeComponents() + { + if (InitializeFromResource()) + { + GUI_INSTANCE_REFERENCE(self); + } + else + { + } + } + public: + DatePickerTemplate_() + :vl::presentation::GuiInstancePartialClass(L"darkskin::DatePickerTemplate") + ,self(0) + { + } + }; + + template + class DocumentLabelTemplate_ : public vl::presentation::templates::GuiDocumentLabelTemplate, public vl::presentation::GuiInstancePartialClass, public vl::reflection::Description + { + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + private: + protected: + vl::presentation::templates::GuiDocumentLabelTemplate* self; + + void InitializeComponents() + { + if (InitializeFromResource()) + { + GUI_INSTANCE_REFERENCE(self); + } + else + { + } + } + public: + DocumentLabelTemplate_() + :vl::presentation::GuiInstancePartialClass(L"darkskin::DocumentLabelTemplate") + ,self(0) + { + } + }; + + template + class DocumentViewerTemplate_ : public vl::presentation::templates::GuiDocumentViewerTemplate, public vl::presentation::GuiInstancePartialClass, public vl::reflection::Description + { + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + private: + protected: + vl::presentation::compositions::GuiBoundsComposition* container; + vl::presentation::templates::GuiDocumentViewerTemplate* self; + + void InitializeComponents() + { + if (InitializeFromResource()) + { + GUI_INSTANCE_REFERENCE(container); + GUI_INSTANCE_REFERENCE(self); + } + else + { + } + } + public: + DocumentViewerTemplate_() + :vl::presentation::GuiInstancePartialClass(L"darkskin::DocumentViewerTemplate") + ,container(0) + ,self(0) + { + } + }; + + template + class ExpandingDecoratorTemplate_ : public vl::presentation::templates::GuiSelectableButtonTemplate, public vl::presentation::GuiInstancePartialClass, public vl::reflection::Description + { + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + private: + protected: + vl::presentation::templates::GuiSelectableButtonTemplate* self; + + void InitializeComponents() + { + if (InitializeFromResource()) + { + GUI_INSTANCE_REFERENCE(self); + } + else + { + } + } + public: + ExpandingDecoratorTemplate_() + :vl::presentation::GuiInstancePartialClass(L"darkskin::ExpandingDecoratorTemplate") + ,self(0) + { + } + }; + + template + class GroupBoxTemplate_ : public vl::presentation::templates::GuiControlTemplate, public vl::presentation::GuiInstancePartialClass, public vl::reflection::Description + { + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + private: + protected: + vl::presentation::compositions::GuiBoundsComposition* container; + vl::presentation::templates::GuiControlTemplate* self; + vl::presentation::compositions::GuiBoundsComposition* titleBounds; + + void InitializeComponents() + { + if (InitializeFromResource()) + { + GUI_INSTANCE_REFERENCE(container); + GUI_INSTANCE_REFERENCE(self); + GUI_INSTANCE_REFERENCE(titleBounds); + } + else + { + } + } + public: + GroupBoxTemplate_() + :vl::presentation::GuiInstancePartialClass(L"darkskin::GroupBoxTemplate") + ,container(0) + ,self(0) + ,titleBounds(0) + { + } + }; + + template + class HScrollHandleTemplate_ : public vl::presentation::templates::GuiButtonTemplate, public vl::presentation::GuiInstancePartialClass, public vl::reflection::Description + { + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + private: + protected: + vl::presentation::templates::GuiButtonTemplate* self; + + void InitializeComponents() + { + if (InitializeFromResource()) + { + GUI_INSTANCE_REFERENCE(self); + } + else + { + } + } + public: + HScrollHandleTemplate_() + :vl::presentation::GuiInstancePartialClass(L"darkskin::HScrollHandleTemplate") + ,self(0) + { + } + }; + + template + class HScrollTemplate_ : public vl::presentation::templates::GuiScrollTemplate, public vl::presentation::GuiInstancePartialClass, public vl::reflection::Description + { + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + private: + protected: + bool draggingHandle; + vl::presentation::Point draggingStartLocation; + vl::presentation::compositions::GuiPartialViewComposition* handle; + vl::presentation::compositions::GuiBoundsComposition* handleContainer; + vl::presentation::templates::GuiScrollTemplate* self; + + void InitializeComponents() + { + if (InitializeFromResource()) + { + GUI_INSTANCE_REFERENCE(handle); + GUI_INSTANCE_REFERENCE(handleContainer); + GUI_INSTANCE_REFERENCE(self); + } + else + { + } + } + public: + HScrollTemplate_() + :vl::presentation::GuiInstancePartialClass(L"darkskin::HScrollTemplate") + ,handle(0) + ,handleContainer(0) + ,self(0) + { + this->draggingHandle = vl::reflection::description::UnboxValue(vl::reflection::description::Value::From(L"false", reflection::description::GetTypeDescriptor())); + this->draggingStartLocation = vl::reflection::description::UnboxValue(vl::reflection::description::Value::From(L"", reflection::description::GetTypeDescriptor())); + } + }; + + template + class HTrackerTemplate_ : public vl::presentation::templates::GuiScrollTemplate, public vl::presentation::GuiInstancePartialClass, public vl::reflection::Description + { + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + private: + protected: + bool draggingHandle; + vl::presentation::Point draggingStartLocation; + vl::presentation::compositions::GuiBoundsComposition* handle; + vl::presentation::templates::GuiScrollTemplate* self; + + void InitializeComponents() + { + if (InitializeFromResource()) + { + GUI_INSTANCE_REFERENCE(handle); + GUI_INSTANCE_REFERENCE(self); + } + else + { + } + } + public: + HTrackerTemplate_() + :vl::presentation::GuiInstancePartialClass(L"darkskin::HTrackerTemplate") + ,handle(0) + ,self(0) + { + this->draggingHandle = vl::reflection::description::UnboxValue(vl::reflection::description::Value::From(L"false", reflection::description::GetTypeDescriptor())); + this->draggingStartLocation = vl::reflection::description::UnboxValue(vl::reflection::description::Value::From(L"", reflection::description::GetTypeDescriptor())); + } + }; + + template + class ItemBackgroundTemplate_ : public vl::presentation::templates::GuiSelectableButtonTemplate, public vl::presentation::GuiInstancePartialClass, public vl::reflection::Description + { + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + private: + protected: + vl::presentation::compositions::GuiBoundsComposition* container; + vl::presentation::templates::GuiSelectableButtonTemplate* self; + + void InitializeComponents() + { + if (InitializeFromResource()) + { + GUI_INSTANCE_REFERENCE(container); + GUI_INSTANCE_REFERENCE(self); + } + else + { + } + } + public: + ItemBackgroundTemplate_() + :vl::presentation::GuiInstancePartialClass(L"darkskin::ItemBackgroundTemplate") + ,container(0) + ,self(0) + { + } + }; + + template + class LabelTemplate_ : public vl::presentation::templates::GuiLabelTemplate, public vl::presentation::GuiInstancePartialClass, public vl::reflection::Description + { + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + private: + protected: + vl::presentation::templates::GuiLabelTemplate* self; + + void InitializeComponents() + { + if (InitializeFromResource()) + { + GUI_INSTANCE_REFERENCE(self); + } + else + { + } + } + public: + LabelTemplate_() + :vl::presentation::GuiInstancePartialClass(L"darkskin::LabelTemplate") + ,self(0) + { + } + }; + + template + class LeftScrollButtonTemplate_ : public vl::presentation::templates::GuiButtonTemplate, public vl::presentation::GuiInstancePartialClass, public vl::reflection::Description + { + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + private: + protected: + vl::presentation::templates::GuiButtonTemplate* self; + + void InitializeComponents() + { + if (InitializeFromResource()) + { + GUI_INSTANCE_REFERENCE(self); + } + else + { + } + } + public: + LeftScrollButtonTemplate_() + :vl::presentation::GuiInstancePartialClass(L"darkskin::LeftScrollButtonTemplate") + ,self(0) + { + } + }; + + template + class ListViewColumnHeaderTemplate_ : public vl::presentation::templates::GuiListViewColumnHeaderTemplate, public vl::presentation::GuiInstancePartialClass, public vl::reflection::Description + { + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + private: + protected: + vl::presentation::controls::GuiSelectableButton* buttonArrow; + vl::presentation::templates::GuiListViewColumnHeaderTemplate* self; + + void InitializeComponents() + { + if (InitializeFromResource()) + { + GUI_INSTANCE_REFERENCE(buttonArrow); + GUI_INSTANCE_REFERENCE(self); + } + else + { + } + } + public: + ListViewColumnHeaderTemplate_() + :vl::presentation::GuiInstancePartialClass(L"darkskin::ListViewColumnHeaderTemplate") + ,buttonArrow(0) + ,self(0) + { + } + }; + + template + class ListViewTemplate_ : public vl::presentation::templates::GuiListViewTemplate, public vl::presentation::GuiInstancePartialClass, public vl::reflection::Description + { + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + private: + protected: + vl::presentation::compositions::GuiBoundsComposition* container; + vl::presentation::templates::GuiListViewTemplate* self; + + void InitializeComponents() + { + if (InitializeFromResource()) + { + GUI_INSTANCE_REFERENCE(container); + GUI_INSTANCE_REFERENCE(self); + } + else + { + } + } + public: + ListViewTemplate_() + :vl::presentation::GuiInstancePartialClass(L"darkskin::ListViewTemplate") + ,container(0) + ,self(0) + { + } + }; + + template + class MenuBarButtonTemplate_ : public vl::presentation::templates::GuiToolstripButtonTemplate, public vl::presentation::GuiInstancePartialClass, public vl::reflection::Description + { + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + private: + protected: + vl::presentation::templates::GuiToolstripButtonTemplate* self; + + void InitializeComponents() + { + if (InitializeFromResource()) + { + GUI_INSTANCE_REFERENCE(self); + } + else + { + } + } + public: + MenuBarButtonTemplate_() + :vl::presentation::GuiInstancePartialClass(L"darkskin::MenuBarButtonTemplate") + ,self(0) + { + } + }; + + template + class MenuItemButtonTemplate_ : public vl::presentation::templates::GuiToolstripButtonTemplate, public vl::presentation::GuiInstancePartialClass, public vl::reflection::Description + { + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + private: + protected: + vl::presentation::templates::GuiToolstripButtonTemplate* self; + + void InitializeComponents() + { + if (InitializeFromResource()) + { + GUI_INSTANCE_REFERENCE(self); + } + else + { + } + } + public: + MenuItemButtonTemplate_() + :vl::presentation::GuiInstancePartialClass(L"darkskin::MenuItemButtonTemplate") + ,self(0) + { + } + }; + + template + class MenuSplitterTemplate_ : public vl::presentation::templates::GuiControlTemplate, public vl::presentation::GuiInstancePartialClass, public vl::reflection::Description + { + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + private: + protected: + + void InitializeComponents() + { + if (InitializeFromResource()) + { + } + else + { + } + } + public: + MenuSplitterTemplate_() + :vl::presentation::GuiInstancePartialClass(L"darkskin::MenuSplitterTemplate") + { + } + }; + + template + class MultilineTextBoxTemplate_ : public vl::presentation::templates::GuiMultilineTextBoxTemplate, public vl::presentation::GuiInstancePartialClass, public vl::reflection::Description + { + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + private: + protected: + vl::presentation::compositions::GuiBoundsComposition* container; + vl::presentation::templates::GuiMultilineTextBoxTemplate* self; + + void InitializeComponents() + { + if (InitializeFromResource()) + { + GUI_INSTANCE_REFERENCE(container); + GUI_INSTANCE_REFERENCE(self); + } + else + { + } + } + public: + MultilineTextBoxTemplate_() + :vl::presentation::GuiInstancePartialClass(L"darkskin::MultilineTextBoxTemplate") + ,container(0) + ,self(0) + { + } + }; + + template + class ProgressBarTemplate_ : public vl::presentation::templates::GuiScrollTemplate, public vl::presentation::GuiInstancePartialClass, public vl::reflection::Description + { + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + private: + protected: + vl::presentation::compositions::GuiBoundsComposition* container; + vl::presentation::templates::GuiScrollTemplate* self; + + void InitializeComponents() + { + if (InitializeFromResource()) + { + GUI_INSTANCE_REFERENCE(container); + GUI_INSTANCE_REFERENCE(self); + } + else + { + } + } + public: + ProgressBarTemplate_() + :vl::presentation::GuiInstancePartialClass(L"darkskin::ProgressBarTemplate") + ,container(0) + ,self(0) + { + } + }; + + template + class RadioButtonTemplate_ : public vl::presentation::templates::GuiSelectableButtonTemplate, public vl::presentation::GuiInstancePartialClass, public vl::reflection::Description + { + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + private: + protected: + vl::presentation::templates::GuiSelectableButtonTemplate* self; + + void InitializeComponents() + { + if (InitializeFromResource()) + { + GUI_INSTANCE_REFERENCE(self); + } + else + { + } + } + public: + RadioButtonTemplate_() + :vl::presentation::GuiInstancePartialClass(L"darkskin::RadioButtonTemplate") + ,self(0) + { + } + }; + + template + class RadioTextListTemplate_ : public vl::presentation::templates::GuiTextListTemplate, public vl::presentation::GuiInstancePartialClass, public vl::reflection::Description + { + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + private: + protected: + vl::presentation::compositions::GuiBoundsComposition* container; + vl::presentation::templates::GuiTextListTemplate* self; + + void InitializeComponents() + { + if (InitializeFromResource()) + { + GUI_INSTANCE_REFERENCE(container); + GUI_INSTANCE_REFERENCE(self); + } + else + { + } + } + public: + RadioTextListTemplate_() + :vl::presentation::GuiInstancePartialClass(L"darkskin::RadioTextListTemplate") + ,container(0) + ,self(0) + { + } + }; + + template + class RightScrollButtonTemplate_ : public vl::presentation::templates::GuiButtonTemplate, public vl::presentation::GuiInstancePartialClass, public vl::reflection::Description + { + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + private: + protected: + vl::presentation::templates::GuiButtonTemplate* self; + + void InitializeComponents() + { + if (InitializeFromResource()) + { + GUI_INSTANCE_REFERENCE(self); + } + else + { + } + } + public: + RightScrollButtonTemplate_() + :vl::presentation::GuiInstancePartialClass(L"darkskin::RightScrollButtonTemplate") + ,self(0) + { + } + }; + + template + class ScrollViewTemplate_ : public vl::presentation::templates::GuiScrollViewTemplate, public vl::presentation::GuiInstancePartialClass, public vl::reflection::Description + { + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + private: + protected: + vl::presentation::compositions::GuiBoundsComposition* container; + vl::presentation::templates::GuiScrollViewTemplate* self; + + void InitializeComponents() + { + if (InitializeFromResource()) + { + GUI_INSTANCE_REFERENCE(container); + GUI_INSTANCE_REFERENCE(self); + } + else + { + } + } + public: + ScrollViewTemplate_() + :vl::presentation::GuiInstancePartialClass(L"darkskin::ScrollViewTemplate") + ,container(0) + ,self(0) + { + } + }; + + template + class SinglelineTextBoxTemplate_ : public vl::presentation::templates::GuiSinglelineTextBoxTemplate, public vl::presentation::GuiInstancePartialClass, public vl::reflection::Description + { + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + private: + protected: + vl::presentation::compositions::GuiBoundsComposition* container; + vl::presentation::templates::GuiSinglelineTextBoxTemplate* self; + + void InitializeComponents() + { + if (InitializeFromResource()) + { + GUI_INSTANCE_REFERENCE(container); + GUI_INSTANCE_REFERENCE(self); + } + else + { + } + } + public: + SinglelineTextBoxTemplate_() + :vl::presentation::GuiInstancePartialClass(L"darkskin::SinglelineTextBoxTemplate") + ,container(0) + ,self(0) + { + } + }; + + template + class TabDropdownTemplate_ : public vl::presentation::templates::GuiButtonTemplate, public vl::presentation::GuiInstancePartialClass, public vl::reflection::Description + { + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + private: + protected: + vl::presentation::templates::GuiButtonTemplate* self; + + void InitializeComponents() + { + if (InitializeFromResource()) + { + GUI_INSTANCE_REFERENCE(self); + } + else + { + } + } + public: + TabDropdownTemplate_() + :vl::presentation::GuiInstancePartialClass(L"darkskin::TabDropdownTemplate") + ,self(0) + { + } + }; + + template + class TabHeaderTemplate_ : public vl::presentation::templates::GuiSelectableButtonTemplate, public vl::presentation::GuiInstancePartialClass, public vl::reflection::Description + { + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + private: + protected: + vl::presentation::templates::GuiSelectableButtonTemplate* self; + + void InitializeComponents() + { + if (InitializeFromResource()) + { + GUI_INSTANCE_REFERENCE(self); + } + else + { + } + } + public: + TabHeaderTemplate_() + :vl::presentation::GuiInstancePartialClass(L"darkskin::TabHeaderTemplate") + ,self(0) + { + } + }; + + template + class TabTemplate_ : public vl::presentation::templates::GuiTabTemplate, public vl::presentation::GuiInstancePartialClass, public vl::reflection::Description + { + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + private: + protected: + vl::presentation::compositions::GuiBoundsComposition* container; + vl::presentation::compositions::GuiBoundsComposition* header; + vl::presentation::templates::GuiTabTemplate* self; + + void InitializeComponents() + { + if (InitializeFromResource()) + { + GUI_INSTANCE_REFERENCE(container); + GUI_INSTANCE_REFERENCE(header); + GUI_INSTANCE_REFERENCE(self); + } + else + { + } + } + public: + TabTemplate_() + :vl::presentation::GuiInstancePartialClass(L"darkskin::TabTemplate") + ,container(0) + ,header(0) + ,self(0) + { + } + }; + + template + class TextListTemplate_ : public vl::presentation::templates::GuiTextListTemplate, public vl::presentation::GuiInstancePartialClass, public vl::reflection::Description + { + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + private: + protected: + vl::presentation::compositions::GuiBoundsComposition* container; + vl::presentation::templates::GuiTextListTemplate* self; + + void InitializeComponents() + { + if (InitializeFromResource()) + { + GUI_INSTANCE_REFERENCE(container); + GUI_INSTANCE_REFERENCE(self); + } + else + { + } + } + public: + TextListTemplate_() + :vl::presentation::GuiInstancePartialClass(L"darkskin::TextListTemplate") + ,container(0) + ,self(0) + { + } + }; + + template + class ToolstripButtonTemplate_ : public vl::presentation::templates::GuiToolstripButtonTemplate, public vl::presentation::GuiInstancePartialClass, public vl::reflection::Description + { + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + private: + protected: + vl::presentation::compositions::GuiBoundsComposition* container; + vl::presentation::templates::GuiToolstripButtonTemplate* self; + + void InitializeComponents() + { + if (InitializeFromResource()) + { + GUI_INSTANCE_REFERENCE(container); + GUI_INSTANCE_REFERENCE(self); + } + else + { + } + } + public: + ToolstripButtonTemplate_() + :vl::presentation::GuiInstancePartialClass(L"darkskin::ToolstripButtonTemplate") + ,container(0) + ,self(0) + { + } + }; + + template + class ToolstripDropdownButtonTemplate_ : public vl::presentation::templates::GuiToolstripButtonTemplate, public vl::presentation::GuiInstancePartialClass, public vl::reflection::Description + { + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + private: + protected: + vl::presentation::compositions::GuiBoundsComposition* container; + vl::presentation::templates::GuiToolstripButtonTemplate* self; + + void InitializeComponents() + { + if (InitializeFromResource()) + { + GUI_INSTANCE_REFERENCE(container); + GUI_INSTANCE_REFERENCE(self); + } + else + { + } + } + public: + ToolstripDropdownButtonTemplate_() + :vl::presentation::GuiInstancePartialClass(L"darkskin::ToolstripDropdownButtonTemplate") + ,container(0) + ,self(0) + { + } + }; + + template + class ToolstripMenuTemplate_ : public vl::presentation::templates::GuiMenuTemplate, public vl::presentation::GuiInstancePartialClass, public vl::reflection::Description + { + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + private: + protected: + vl::presentation::compositions::GuiBoundsComposition* container; + + void InitializeComponents() + { + if (InitializeFromResource()) + { + GUI_INSTANCE_REFERENCE(container); + } + else + { + } + } + public: + ToolstripMenuTemplate_() + :vl::presentation::GuiInstancePartialClass(L"darkskin::ToolstripMenuTemplate") + ,container(0) + { + } + }; + + template + class ToolstripSplitArrowTemplate_ : public vl::presentation::templates::GuiSelectableButtonTemplate, public vl::presentation::GuiInstancePartialClass, public vl::reflection::Description + { + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + private: + protected: + vl::presentation::templates::GuiSelectableButtonTemplate* self; + + void InitializeComponents() + { + if (InitializeFromResource()) + { + GUI_INSTANCE_REFERENCE(self); + } + else + { + } + } + public: + ToolstripSplitArrowTemplate_() + :vl::presentation::GuiInstancePartialClass(L"darkskin::ToolstripSplitArrowTemplate") + ,self(0) + { + } + }; + + template + class ToolstripSplitButtonTemplate_ : public vl::presentation::templates::GuiToolstripButtonTemplate, public vl::presentation::GuiInstancePartialClass, public vl::reflection::Description + { + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + private: + protected: + vl::presentation::controls::GuiSelectableButton* buttonArrow; + vl::presentation::compositions::GuiBoundsComposition* container; + vl::presentation::templates::GuiToolstripButtonTemplate* self; + + void InitializeComponents() + { + if (InitializeFromResource()) + { + GUI_INSTANCE_REFERENCE(buttonArrow); + GUI_INSTANCE_REFERENCE(container); + GUI_INSTANCE_REFERENCE(self); + } + else + { + } + } + public: + ToolstripSplitButtonTemplate_() + :vl::presentation::GuiInstancePartialClass(L"darkskin::ToolstripSplitButtonTemplate") + ,buttonArrow(0) + ,container(0) + ,self(0) + { + } + }; + + template + class ToolstripSplitterTemplate_ : public vl::presentation::templates::GuiControlTemplate, public vl::presentation::GuiInstancePartialClass, public vl::reflection::Description + { + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + private: + protected: + + void InitializeComponents() + { + if (InitializeFromResource()) + { + } + else + { + } + } + public: + ToolstripSplitterTemplate_() + :vl::presentation::GuiInstancePartialClass(L"darkskin::ToolstripSplitterTemplate") + { + } + }; + + template + class ToolstripTemplate_ : public vl::presentation::templates::GuiControlTemplate, public vl::presentation::GuiInstancePartialClass, public vl::reflection::Description + { + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + private: + protected: + + void InitializeComponents() + { + if (InitializeFromResource()) + { + } + else + { + } + } + public: + ToolstripTemplate_() + :vl::presentation::GuiInstancePartialClass(L"darkskin::ToolstripTemplate") + { + } + }; + + template + class TooltipTemplate_ : public vl::presentation::templates::GuiWindowTemplate, public vl::presentation::GuiInstancePartialClass, public vl::reflection::Description + { + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + private: + protected: + vl::presentation::compositions::GuiBoundsComposition* container; + + void InitializeComponents() + { + if (InitializeFromResource()) + { + GUI_INSTANCE_REFERENCE(container); + } + else + { + } + } + public: + TooltipTemplate_() + :vl::presentation::GuiInstancePartialClass(L"darkskin::TooltipTemplate") + ,container(0) + { + } + }; + + template + class TopScrollButtonTemplate_ : public vl::presentation::templates::GuiButtonTemplate, public vl::presentation::GuiInstancePartialClass, public vl::reflection::Description + { + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + private: + protected: + vl::presentation::templates::GuiButtonTemplate* self; + + void InitializeComponents() + { + if (InitializeFromResource()) + { + GUI_INSTANCE_REFERENCE(self); + } + else + { + } + } + public: + TopScrollButtonTemplate_() + :vl::presentation::GuiInstancePartialClass(L"darkskin::TopScrollButtonTemplate") + ,self(0) + { + } + }; + + template + class TreeViewTemplate_ : public vl::presentation::templates::GuiTreeViewTemplate, public vl::presentation::GuiInstancePartialClass, public vl::reflection::Description + { + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + private: + protected: + vl::presentation::compositions::GuiBoundsComposition* container; + vl::presentation::templates::GuiTreeViewTemplate* self; + + void InitializeComponents() + { + if (InitializeFromResource()) + { + GUI_INSTANCE_REFERENCE(container); + GUI_INSTANCE_REFERENCE(self); + } + else + { + } + } + public: + TreeViewTemplate_() + :vl::presentation::GuiInstancePartialClass(L"darkskin::TreeViewTemplate") + ,container(0) + ,self(0) + { + } + }; + + template + class VScrollHandleTemplate_ : public vl::presentation::templates::GuiButtonTemplate, public vl::presentation::GuiInstancePartialClass, public vl::reflection::Description + { + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + private: + protected: + vl::presentation::templates::GuiButtonTemplate* self; + + void InitializeComponents() + { + if (InitializeFromResource()) + { + GUI_INSTANCE_REFERENCE(self); + } + else + { + } + } + public: + VScrollHandleTemplate_() + :vl::presentation::GuiInstancePartialClass(L"darkskin::VScrollHandleTemplate") + ,self(0) + { + } + }; + + template + class VScrollTemplate_ : public vl::presentation::templates::GuiScrollTemplate, public vl::presentation::GuiInstancePartialClass, public vl::reflection::Description + { + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + private: + protected: + bool draggingHandle; + vl::presentation::Point draggingStartLocation; + vl::presentation::compositions::GuiPartialViewComposition* handle; + vl::presentation::compositions::GuiBoundsComposition* handleContainer; + vl::presentation::templates::GuiScrollTemplate* self; + + void InitializeComponents() + { + if (InitializeFromResource()) + { + GUI_INSTANCE_REFERENCE(handle); + GUI_INSTANCE_REFERENCE(handleContainer); + GUI_INSTANCE_REFERENCE(self); + } + else + { + } + } + public: + VScrollTemplate_() + :vl::presentation::GuiInstancePartialClass(L"darkskin::VScrollTemplate") + ,handle(0) + ,handleContainer(0) + ,self(0) + { + this->draggingHandle = vl::reflection::description::UnboxValue(vl::reflection::description::Value::From(L"false", reflection::description::GetTypeDescriptor())); + this->draggingStartLocation = vl::reflection::description::UnboxValue(vl::reflection::description::Value::From(L"", reflection::description::GetTypeDescriptor())); + } + }; + + template + class VTrackerTemplate_ : public vl::presentation::templates::GuiScrollTemplate, public vl::presentation::GuiInstancePartialClass, public vl::reflection::Description + { + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + private: + protected: + bool draggingHandle; + vl::presentation::Point draggingStartLocation; + vl::presentation::compositions::GuiBoundsComposition* handle; + vl::presentation::templates::GuiScrollTemplate* self; + + void InitializeComponents() + { + if (InitializeFromResource()) + { + GUI_INSTANCE_REFERENCE(handle); + GUI_INSTANCE_REFERENCE(self); + } + else + { + } + } + public: + VTrackerTemplate_() + :vl::presentation::GuiInstancePartialClass(L"darkskin::VTrackerTemplate") + ,handle(0) + ,self(0) + { + this->draggingHandle = vl::reflection::description::UnboxValue(vl::reflection::description::Value::From(L"false", reflection::description::GetTypeDescriptor())); + this->draggingStartLocation = vl::reflection::description::UnboxValue(vl::reflection::description::Value::From(L"", reflection::description::GetTypeDescriptor())); + } + }; + + template + class WindowTemplate_ : public vl::presentation::templates::GuiWindowTemplate, public vl::presentation::GuiInstancePartialClass, public vl::reflection::Description + { + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + private: + protected: + vl::presentation::compositions::GuiBoundsComposition* container; + vl::presentation::templates::GuiWindowTemplate* self; + + void InitializeComponents() + { + if (InitializeFromResource()) + { + GUI_INSTANCE_REFERENCE(container); + GUI_INSTANCE_REFERENCE(self); + } + else + { + } + } + public: + WindowTemplate_() + :vl::presentation::GuiInstancePartialClass(L"darkskin::WindowTemplate") + ,container(0) + ,self(0) + { + } + }; + +} +namespace demo +{ + template + class MainWindow_ : public vl::presentation::controls::GuiWindow, public vl::presentation::GuiInstancePartialClass, public vl::reflection::Description + { + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + private: + protected: + vl::presentation::controls::GuiButton* buttonAddTab; + vl::presentation::controls::GuiButton* buttonEnable; + vl::presentation::controls::GuiComboBoxListControl* comboBoxSeasons; + vl::presentation::controls::GuiToolstripCommand* commandEditCopy; + vl::presentation::controls::GuiToolstripCommand* commandEditCut; + vl::presentation::controls::GuiToolstripCommand* commandEditDelete; + vl::presentation::controls::GuiToolstripCommand* commandEditPaste; + vl::presentation::controls::GuiToolstripCommand* commandEditRedo; + vl::presentation::controls::GuiToolstripCommand* commandEditSelect; + vl::presentation::controls::GuiToolstripCommand* commandEditUndo; + vl::presentation::controls::GuiToolstripCommand* commandFileExit; + vl::presentation::controls::GuiToolstripCommand* commandFileNew; + vl::presentation::controls::GuiToolstripCommand* commandFileNewRtf; + vl::presentation::controls::GuiToolstripCommand* commandFileNewText; + vl::presentation::controls::GuiToolstripCommand* commandFileOpen; + vl::presentation::controls::GuiToolstripCommand* commandFileOpenRtf; + vl::presentation::controls::GuiToolstripCommand* commandFileOpenText; + vl::presentation::controls::GuiToolstripCommand* commandFilePrint; + vl::presentation::controls::GuiToolstripCommand* commandFileSave; + vl::presentation::controls::GuiToolstripCommand* commandFileSaveAs; + vl::presentation::controls::GuiToolstripMenu* menuDropDown; + vl::presentation::controls::GuiSelectableButton::MutexGroupController* radioGroup; + vl::presentation::controls::GuiTab* tabControls; + vl::presentation::controls::GuiTabPage* tabPageBasic; + vl::presentation::controls::GuiTabPage* tabPageList; + vl::presentation::controls::GuiTabPage* tabPageText; + vl::presentation::controls::GuiTabPage* tabPageToolstrip; + vl::presentation::controls::GuiScroll* tracker; + + void InitializeComponents() + { + if (InitializeFromResource()) + { + GUI_INSTANCE_REFERENCE(buttonAddTab); + GUI_INSTANCE_REFERENCE(buttonEnable); + GUI_INSTANCE_REFERENCE(comboBoxSeasons); + GUI_INSTANCE_REFERENCE(commandEditCopy); + GUI_INSTANCE_REFERENCE(commandEditCut); + GUI_INSTANCE_REFERENCE(commandEditDelete); + GUI_INSTANCE_REFERENCE(commandEditPaste); + GUI_INSTANCE_REFERENCE(commandEditRedo); + GUI_INSTANCE_REFERENCE(commandEditSelect); + GUI_INSTANCE_REFERENCE(commandEditUndo); + GUI_INSTANCE_REFERENCE(commandFileExit); + GUI_INSTANCE_REFERENCE(commandFileNew); + GUI_INSTANCE_REFERENCE(commandFileNewRtf); + GUI_INSTANCE_REFERENCE(commandFileNewText); + GUI_INSTANCE_REFERENCE(commandFileOpen); + GUI_INSTANCE_REFERENCE(commandFileOpenRtf); + GUI_INSTANCE_REFERENCE(commandFileOpenText); + GUI_INSTANCE_REFERENCE(commandFilePrint); + GUI_INSTANCE_REFERENCE(commandFileSave); + GUI_INSTANCE_REFERENCE(commandFileSaveAs); + GUI_INSTANCE_REFERENCE(menuDropDown); + GUI_INSTANCE_REFERENCE(radioGroup); + GUI_INSTANCE_REFERENCE(tabControls); + GUI_INSTANCE_REFERENCE(tabPageBasic); + GUI_INSTANCE_REFERENCE(tabPageList); + GUI_INSTANCE_REFERENCE(tabPageText); + GUI_INSTANCE_REFERENCE(tabPageToolstrip); + GUI_INSTANCE_REFERENCE(tracker); + } + else + { + } + } + public: + MainWindow_() + :vl::presentation::GuiInstancePartialClass(L"demo::MainWindow") + ,vl::presentation::controls::GuiWindow([](){ +vl::collections::List types; +types.Add(vl::reflection::description::GetTypeDescriptor()); +auto factory = vl::presentation::templates::GuiTemplate::IFactory::CreateTemplateFactory(types); +auto style = new vl::presentation::templates::GuiWindowTemplate_StyleProvider(factory); +return style; +}()) + ,buttonAddTab(0) + ,buttonEnable(0) + ,comboBoxSeasons(0) + ,commandEditCopy(0) + ,commandEditCut(0) + ,commandEditDelete(0) + ,commandEditPaste(0) + ,commandEditRedo(0) + ,commandEditSelect(0) + ,commandEditUndo(0) + ,commandFileExit(0) + ,commandFileNew(0) + ,commandFileNewRtf(0) + ,commandFileNewText(0) + ,commandFileOpen(0) + ,commandFileOpenRtf(0) + ,commandFileOpenText(0) + ,commandFilePrint(0) + ,commandFileSave(0) + ,commandFileSaveAs(0) + ,menuDropDown(0) + ,radioGroup(0) + ,tabControls(0) + ,tabPageBasic(0) + ,tabPageList(0) + ,tabPageText(0) + ,tabPageToolstrip(0) + ,tracker(0) + { + } + }; + +} +namespace vl +{ + namespace reflection + { + namespace description + { + DECL_TYPE_INFO(darkskin::BottomScrollButtonTemplate) + DECL_TYPE_INFO(darkskin::ButtonTemplate) + DECL_TYPE_INFO(darkskin::CheckBoxTemplate) + DECL_TYPE_INFO(darkskin::CheckItemBackgroundTemplate) + DECL_TYPE_INFO(darkskin::CheckTextListTemplate) + DECL_TYPE_INFO(darkskin::ComboBoxTemplate) + DECL_TYPE_INFO(darkskin::DatePickerTemplate) + DECL_TYPE_INFO(darkskin::DocumentLabelTemplate) + DECL_TYPE_INFO(darkskin::DocumentViewerTemplate) + DECL_TYPE_INFO(darkskin::ExpandingDecoratorTemplate) + DECL_TYPE_INFO(darkskin::GroupBoxTemplate) + DECL_TYPE_INFO(darkskin::HScrollHandleTemplate) + DECL_TYPE_INFO(darkskin::HScrollTemplate) + DECL_TYPE_INFO(darkskin::HTrackerTemplate) + DECL_TYPE_INFO(darkskin::ItemBackgroundTemplate) + DECL_TYPE_INFO(darkskin::LabelTemplate) + DECL_TYPE_INFO(darkskin::LeftScrollButtonTemplate) + DECL_TYPE_INFO(darkskin::ListViewColumnHeaderTemplate) + DECL_TYPE_INFO(darkskin::ListViewTemplate) + DECL_TYPE_INFO(darkskin::MenuBarButtonTemplate) + DECL_TYPE_INFO(darkskin::MenuItemButtonTemplate) + DECL_TYPE_INFO(darkskin::MenuSplitterTemplate) + DECL_TYPE_INFO(darkskin::MultilineTextBoxTemplate) + DECL_TYPE_INFO(darkskin::ProgressBarTemplate) + DECL_TYPE_INFO(darkskin::RadioButtonTemplate) + DECL_TYPE_INFO(darkskin::RadioTextListTemplate) + DECL_TYPE_INFO(darkskin::RightScrollButtonTemplate) + DECL_TYPE_INFO(darkskin::ScrollViewTemplate) + DECL_TYPE_INFO(darkskin::SinglelineTextBoxTemplate) + DECL_TYPE_INFO(darkskin::TabDropdownTemplate) + DECL_TYPE_INFO(darkskin::TabHeaderTemplate) + DECL_TYPE_INFO(darkskin::TabTemplate) + DECL_TYPE_INFO(darkskin::TextListTemplate) + DECL_TYPE_INFO(darkskin::ToolstripButtonTemplate) + DECL_TYPE_INFO(darkskin::ToolstripDropdownButtonTemplate) + DECL_TYPE_INFO(darkskin::ToolstripMenuTemplate) + DECL_TYPE_INFO(darkskin::ToolstripSplitArrowTemplate) + DECL_TYPE_INFO(darkskin::ToolstripSplitButtonTemplate) + DECL_TYPE_INFO(darkskin::ToolstripSplitterTemplate) + DECL_TYPE_INFO(darkskin::ToolstripTemplate) + DECL_TYPE_INFO(darkskin::TooltipTemplate) + DECL_TYPE_INFO(darkskin::TopScrollButtonTemplate) + DECL_TYPE_INFO(darkskin::TreeViewTemplate) + DECL_TYPE_INFO(darkskin::VScrollHandleTemplate) + DECL_TYPE_INFO(darkskin::VScrollTemplate) + DECL_TYPE_INFO(darkskin::VTrackerTemplate) + DECL_TYPE_INFO(darkskin::WindowTemplate) + DECL_TYPE_INFO(demo::MainWindow) + + } + } +} +namespace darkskin +{ + class BottomScrollButtonTemplate : public darkskin::BottomScrollButtonTemplate_ + { + friend class darkskin::BottomScrollButtonTemplate_; + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + protected: + + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + public: + BottomScrollButtonTemplate(); + ~BottomScrollButtonTemplate(); + }; +} + + +namespace darkskin +{ + class ButtonTemplate : public darkskin::ButtonTemplate_ + { + friend class darkskin::ButtonTemplate_; + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + protected: + + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + public: + ButtonTemplate(); + ~ButtonTemplate(); + }; +} + + +namespace darkskin +{ + class CheckBoxTemplate : public darkskin::CheckBoxTemplate_ + { + friend class darkskin::CheckBoxTemplate_; + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + protected: + + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + public: + CheckBoxTemplate(); + ~CheckBoxTemplate(); + }; +} + + +namespace darkskin +{ + class CheckItemBackgroundTemplate : public darkskin::CheckItemBackgroundTemplate_ + { + friend class darkskin::CheckItemBackgroundTemplate_; + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + protected: + + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + public: + CheckItemBackgroundTemplate(); + ~CheckItemBackgroundTemplate(); + }; +} + + +namespace darkskin +{ + class CheckTextListTemplate : public darkskin::CheckTextListTemplate_ + { + friend class darkskin::CheckTextListTemplate_; + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + protected: + + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + public: + CheckTextListTemplate(); + ~CheckTextListTemplate(); + }; +} + + +namespace darkskin +{ + class ComboBoxTemplate : public darkskin::ComboBoxTemplate_ + { + friend class darkskin::ComboBoxTemplate_; + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + protected: + + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + public: + ComboBoxTemplate(); + ~ComboBoxTemplate(); + }; +} + + +namespace darkskin +{ + class DatePickerTemplate : public darkskin::DatePickerTemplate_ + { + friend class darkskin::DatePickerTemplate_; + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + protected: + + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + public: + DatePickerTemplate(); + ~DatePickerTemplate(); + }; +} + + +namespace darkskin +{ + class DocumentLabelTemplate : public darkskin::DocumentLabelTemplate_ + { + friend class darkskin::DocumentLabelTemplate_; + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + protected: + + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + public: + DocumentLabelTemplate(); + ~DocumentLabelTemplate(); + }; +} + + +namespace darkskin +{ + class DocumentViewerTemplate : public darkskin::DocumentViewerTemplate_ + { + friend class darkskin::DocumentViewerTemplate_; + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + protected: + + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + public: + DocumentViewerTemplate(); + ~DocumentViewerTemplate(); + }; +} + + +namespace darkskin +{ + class ExpandingDecoratorTemplate : public darkskin::ExpandingDecoratorTemplate_ + { + friend class darkskin::ExpandingDecoratorTemplate_; + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + protected: + + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + public: + ExpandingDecoratorTemplate(); + ~ExpandingDecoratorTemplate(); + }; +} + + +namespace darkskin +{ + class GroupBoxTemplate : public darkskin::GroupBoxTemplate_ + { + friend class darkskin::GroupBoxTemplate_; + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + protected: + + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + public: + GroupBoxTemplate(); + ~GroupBoxTemplate(); + }; +} + + +namespace darkskin +{ + class HScrollHandleTemplate : public darkskin::HScrollHandleTemplate_ + { + friend class darkskin::HScrollHandleTemplate_; + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + protected: + + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + public: + HScrollHandleTemplate(); + ~HScrollHandleTemplate(); + }; +} + + +namespace darkskin +{ + class HScrollTemplate : public darkskin::HScrollTemplate_ + { + friend class darkskin::HScrollTemplate_; + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + protected: + + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + public: + HScrollTemplate(); + ~HScrollTemplate(); + }; +} + + +namespace darkskin +{ + class HTrackerTemplate : public darkskin::HTrackerTemplate_ + { + friend class darkskin::HTrackerTemplate_; + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + protected: + + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + public: + HTrackerTemplate(); + ~HTrackerTemplate(); + }; +} + + +namespace darkskin +{ + class ItemBackgroundTemplate : public darkskin::ItemBackgroundTemplate_ + { + friend class darkskin::ItemBackgroundTemplate_; + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + protected: + + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + public: + ItemBackgroundTemplate(); + ~ItemBackgroundTemplate(); + }; +} + + +namespace darkskin +{ + class LabelTemplate : public darkskin::LabelTemplate_ + { + friend class darkskin::LabelTemplate_; + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + protected: + + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + public: + LabelTemplate(); + ~LabelTemplate(); + }; +} + + +namespace darkskin +{ + class LeftScrollButtonTemplate : public darkskin::LeftScrollButtonTemplate_ + { + friend class darkskin::LeftScrollButtonTemplate_; + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + protected: + + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + public: + LeftScrollButtonTemplate(); + ~LeftScrollButtonTemplate(); + }; +} + + +namespace darkskin +{ + class ListViewColumnHeaderTemplate : public darkskin::ListViewColumnHeaderTemplate_ + { + friend class darkskin::ListViewColumnHeaderTemplate_; + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + protected: + + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + public: + ListViewColumnHeaderTemplate(); + ~ListViewColumnHeaderTemplate(); + }; +} + + +namespace darkskin +{ + class ListViewTemplate : public darkskin::ListViewTemplate_ + { + friend class darkskin::ListViewTemplate_; + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + protected: + + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + public: + ListViewTemplate(); + ~ListViewTemplate(); + }; +} + + +namespace darkskin +{ + class MenuBarButtonTemplate : public darkskin::MenuBarButtonTemplate_ + { + friend class darkskin::MenuBarButtonTemplate_; + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + protected: + + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + public: + MenuBarButtonTemplate(); + ~MenuBarButtonTemplate(); + }; +} + + +namespace darkskin +{ + class MenuItemButtonTemplate : public darkskin::MenuItemButtonTemplate_ + { + friend class darkskin::MenuItemButtonTemplate_; + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + protected: + + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + public: + MenuItemButtonTemplate(); + ~MenuItemButtonTemplate(); + }; +} + + +namespace darkskin +{ + class MenuSplitterTemplate : public darkskin::MenuSplitterTemplate_ + { + friend class darkskin::MenuSplitterTemplate_; + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + protected: + + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + public: + MenuSplitterTemplate(); + ~MenuSplitterTemplate(); + }; +} + + +namespace darkskin +{ + class MultilineTextBoxTemplate : public darkskin::MultilineTextBoxTemplate_ + { + friend class darkskin::MultilineTextBoxTemplate_; + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + protected: + + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + public: + MultilineTextBoxTemplate(); + ~MultilineTextBoxTemplate(); + }; +} + + +namespace darkskin +{ + class ProgressBarTemplate : public darkskin::ProgressBarTemplate_ + { + friend class darkskin::ProgressBarTemplate_; + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + protected: + + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + public: + ProgressBarTemplate(); + ~ProgressBarTemplate(); + }; +} + + +namespace darkskin +{ + class RadioButtonTemplate : public darkskin::RadioButtonTemplate_ + { + friend class darkskin::RadioButtonTemplate_; + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + protected: + + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + public: + RadioButtonTemplate(); + ~RadioButtonTemplate(); + }; +} + + +namespace darkskin +{ + class RadioTextListTemplate : public darkskin::RadioTextListTemplate_ + { + friend class darkskin::RadioTextListTemplate_; + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + protected: + + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + public: + RadioTextListTemplate(); + ~RadioTextListTemplate(); + }; +} + + +namespace darkskin +{ + class RightScrollButtonTemplate : public darkskin::RightScrollButtonTemplate_ + { + friend class darkskin::RightScrollButtonTemplate_; + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + protected: + + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + public: + RightScrollButtonTemplate(); + ~RightScrollButtonTemplate(); + }; +} + + +namespace darkskin +{ + class ScrollViewTemplate : public darkskin::ScrollViewTemplate_ + { + friend class darkskin::ScrollViewTemplate_; + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + protected: + + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + public: + ScrollViewTemplate(); + ~ScrollViewTemplate(); + }; +} + + +namespace darkskin +{ + class SinglelineTextBoxTemplate : public darkskin::SinglelineTextBoxTemplate_ + { + friend class darkskin::SinglelineTextBoxTemplate_; + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + protected: + + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + public: + SinglelineTextBoxTemplate(); + ~SinglelineTextBoxTemplate(); + }; +} + + +namespace darkskin +{ + class TabDropdownTemplate : public darkskin::TabDropdownTemplate_ + { + friend class darkskin::TabDropdownTemplate_; + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + protected: + + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + public: + TabDropdownTemplate(); + ~TabDropdownTemplate(); + }; +} + + +namespace darkskin +{ + class TabHeaderTemplate : public darkskin::TabHeaderTemplate_ + { + friend class darkskin::TabHeaderTemplate_; + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + protected: + + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + public: + TabHeaderTemplate(); + ~TabHeaderTemplate(); + }; +} + + +namespace darkskin +{ + class TabTemplate : public darkskin::TabTemplate_ + { + friend class darkskin::TabTemplate_; + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + protected: + + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + public: + TabTemplate(); + ~TabTemplate(); + }; +} + + +namespace darkskin +{ + class TextListTemplate : public darkskin::TextListTemplate_ + { + friend class darkskin::TextListTemplate_; + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + protected: + + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + public: + TextListTemplate(); + ~TextListTemplate(); + }; +} + + +namespace darkskin +{ + class ToolstripButtonTemplate : public darkskin::ToolstripButtonTemplate_ + { + friend class darkskin::ToolstripButtonTemplate_; + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + protected: + + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + public: + ToolstripButtonTemplate(); + ~ToolstripButtonTemplate(); + }; +} + + +namespace darkskin +{ + class ToolstripDropdownButtonTemplate : public darkskin::ToolstripDropdownButtonTemplate_ + { + friend class darkskin::ToolstripDropdownButtonTemplate_; + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + protected: + + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + public: + ToolstripDropdownButtonTemplate(); + ~ToolstripDropdownButtonTemplate(); + }; +} + + +namespace darkskin +{ + class ToolstripMenuTemplate : public darkskin::ToolstripMenuTemplate_ + { + friend class darkskin::ToolstripMenuTemplate_; + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + protected: + + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + public: + ToolstripMenuTemplate(); + ~ToolstripMenuTemplate(); + }; +} + + +namespace darkskin +{ + class ToolstripSplitArrowTemplate : public darkskin::ToolstripSplitArrowTemplate_ + { + friend class darkskin::ToolstripSplitArrowTemplate_; + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + protected: + + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + public: + ToolstripSplitArrowTemplate(); + ~ToolstripSplitArrowTemplate(); + }; +} + + +namespace darkskin +{ + class ToolstripSplitButtonTemplate : public darkskin::ToolstripSplitButtonTemplate_ + { + friend class darkskin::ToolstripSplitButtonTemplate_; + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + protected: + + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + public: + ToolstripSplitButtonTemplate(); + ~ToolstripSplitButtonTemplate(); + }; +} + + +namespace darkskin +{ + class ToolstripSplitterTemplate : public darkskin::ToolstripSplitterTemplate_ + { + friend class darkskin::ToolstripSplitterTemplate_; + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + protected: + + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + public: + ToolstripSplitterTemplate(); + ~ToolstripSplitterTemplate(); + }; +} + + +namespace darkskin +{ + class ToolstripTemplate : public darkskin::ToolstripTemplate_ + { + friend class darkskin::ToolstripTemplate_; + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + protected: + + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + public: + ToolstripTemplate(); + ~ToolstripTemplate(); + }; +} + + +namespace darkskin +{ + class TooltipTemplate : public darkskin::TooltipTemplate_ + { + friend class darkskin::TooltipTemplate_; + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + protected: + + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + public: + TooltipTemplate(); + ~TooltipTemplate(); + }; +} + + +namespace darkskin +{ + class TopScrollButtonTemplate : public darkskin::TopScrollButtonTemplate_ + { + friend class darkskin::TopScrollButtonTemplate_; + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + protected: + + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + public: + TopScrollButtonTemplate(); + ~TopScrollButtonTemplate(); + }; +} + + +namespace darkskin +{ + class TreeViewTemplate : public darkskin::TreeViewTemplate_ + { + friend class darkskin::TreeViewTemplate_; + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + protected: + + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + public: + TreeViewTemplate(); + ~TreeViewTemplate(); + }; +} + + +namespace darkskin +{ + class VScrollHandleTemplate : public darkskin::VScrollHandleTemplate_ + { + friend class darkskin::VScrollHandleTemplate_; + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + protected: + + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + public: + VScrollHandleTemplate(); + ~VScrollHandleTemplate(); + }; +} + + +namespace darkskin +{ + class VScrollTemplate : public darkskin::VScrollTemplate_ + { + friend class darkskin::VScrollTemplate_; + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + protected: + + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + public: + VScrollTemplate(); + ~VScrollTemplate(); + }; +} + + +namespace darkskin +{ + class VTrackerTemplate : public darkskin::VTrackerTemplate_ + { + friend class darkskin::VTrackerTemplate_; + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + protected: + + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + public: + VTrackerTemplate(); + ~VTrackerTemplate(); + }; +} + + +namespace darkskin +{ + class WindowTemplate : public darkskin::WindowTemplate_ + { + friend class darkskin::WindowTemplate_; + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + protected: + + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + public: + WindowTemplate(); + ~WindowTemplate(); + }; +} + + +namespace demo +{ + class MainWindow : public demo::MainWindow_ + { + friend class demo::MainWindow_; + friend struct vl::reflection::description::CustomTypeDescriptorSelector; + protected: + + // #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.) + // #endregion CLASS_MEMBER_GUIEVENT_HANDLER + public: + MainWindow(); + ~MainWindow(); + }; +} + + + +#endif diff --git a/Tutorial/GacUI_ControlTemplate/UIRes/BlackSkin.bin b/Tutorial/GacUI_ControlTemplate/UIRes/BlackSkin.bin new file mode 100644 index 00000000..aebe3787 Binary files /dev/null and b/Tutorial/GacUI_ControlTemplate/UIRes/BlackSkin.bin differ diff --git a/Tutorial/GacUI_Controls/UIRes/TextEditor.bin b/Tutorial/GacUI_Controls/UIRes/TextEditor.bin index 8df6a605..20dc0b5a 100644 Binary files a/Tutorial/GacUI_Controls/UIRes/TextEditor.bin and b/Tutorial/GacUI_Controls/UIRes/TextEditor.bin differ