mirror of
https://github.com/vczh-libraries/Release.git
synced 2026-09-24 08:44:19 +08:00
Update demo
This commit is contained in:
@@ -84,8 +84,6 @@
|
||||
<ClCompile Include="Main.cpp" />
|
||||
<ClCompile Include="UI\FullControlTest\Source\DemoPartialClasses.cpp" />
|
||||
<ClCompile Include="UI\FullControlTest\Source\DocumentEditorBase.cpp" />
|
||||
<ClCompile Include="UI\FullControlTest\Source\DocumentEditorRibbon.cpp" />
|
||||
<ClCompile Include="UI\FullControlTest\Source\DocumentEditorToolstrip.cpp" />
|
||||
<ClCompile Include="UI\FullControlTest\Source\MainWindow.cpp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
@@ -96,9 +94,8 @@
|
||||
<ItemGroup>
|
||||
<ClInclude Include="UI\FullControlTest\Source\Demo.h" />
|
||||
<ClInclude Include="UI\FullControlTest\Source\DemoPartialClasses.h" />
|
||||
<ClInclude Include="UI\FullControlTest\Source\DemoPartialClasses1.h" />
|
||||
<ClInclude Include="UI\FullControlTest\Source\DocumentEditorBase.h" />
|
||||
<ClInclude Include="UI\FullControlTest\Source\DocumentEditorRibbon.h" />
|
||||
<ClInclude Include="UI\FullControlTest\Source\DocumentEditorToolstrip.h" />
|
||||
<ClInclude Include="UI\FullControlTest\Source\MainWindow.h" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
|
||||
@@ -27,12 +27,6 @@
|
||||
<ClCompile Include="UI\FullControlTest\Source\MainWindow.cpp">
|
||||
<Filter>UI</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="UI\FullControlTest\Source\DocumentEditorRibbon.cpp">
|
||||
<Filter>UI</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="UI\FullControlTest\Source\DocumentEditorToolstrip.cpp">
|
||||
<Filter>UI</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="UI\FullControlTest\Source\DocumentEditorBase.cpp">
|
||||
<Filter>UI</Filter>
|
||||
</ClCompile>
|
||||
@@ -47,14 +41,11 @@
|
||||
<ClInclude Include="UI\FullControlTest\Source\MainWindow.h">
|
||||
<Filter>UI</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="UI\FullControlTest\Source\DocumentEditorRibbon.h">
|
||||
<Filter>UI</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="UI\FullControlTest\Source\DocumentEditorToolstrip.h">
|
||||
<Filter>UI</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="UI\FullControlTest\Source\DocumentEditorBase.h">
|
||||
<Filter>UI</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="UI\FullControlTest\Source\DemoPartialClasses1.h">
|
||||
<Filter>UI</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
+1
-1
@@ -124,7 +124,7 @@
|
||||
</Instance>
|
||||
|
||||
<Instance name="DocumentEditorRibbonResource">
|
||||
<Instance ref.Class="demo::DocumentEditorRibbon" xmlns:demo="demo::*">
|
||||
<Instance ref.CodeBehind="false" ref.Class="demo::DocumentEditorRibbon" xmlns:demo="demo::*">
|
||||
<ref.Members>
|
||||
<![CDATA[
|
||||
@cpp:Private
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
<Folder>
|
||||
<Instance name="DocumentEditorToolstripResource">
|
||||
<Instance ref.Class="demo::DocumentEditorToolstrip" xmlns:demo="demo::*">
|
||||
<Instance ref.CodeBehind="false" ref.Class="demo::DocumentEditorToolstrip" xmlns:demo="demo::*">
|
||||
<demo:DocumentEditorBase ref.Name="self" Text="Document Editor (Toolstrip)">
|
||||
<att.MenuContainer-set>
|
||||
<ToolstripMenuBar>
|
||||
|
||||
@@ -12,8 +12,7 @@ https://github.com/vczh-libraries
|
||||
|
||||
#include "DemoPartialClasses.h"
|
||||
#include "DocumentEditorBase.h"
|
||||
#include "DocumentEditorRibbon.h"
|
||||
#include "DocumentEditorToolstrip.h"
|
||||
#include "MainWindow.h"
|
||||
#include "DemoPartialClasses1.h"
|
||||
|
||||
#endif
|
||||
|
||||
+1168
-995
File diff suppressed because it is too large
Load Diff
+668
-662
File diff suppressed because it is too large
Load Diff
+18
-2
@@ -7,8 +7,8 @@ This file is generated by Workflow compiler
|
||||
https://github.com/vczh-libraries
|
||||
***********************************************************************/
|
||||
|
||||
#ifndef VCZH_WORKFLOW_COMPILER_GENERATED_DOCUMENTEDITORRIBBON
|
||||
#define VCZH_WORKFLOW_COMPILER_GENERATED_DOCUMENTEDITORRIBBON
|
||||
#ifndef VCZH_WORKFLOW_COMPILER_GENERATED_DEMOPARTIALCLASSES_DP1
|
||||
#define VCZH_WORKFLOW_COMPILER_GENERATED_DEMOPARTIALCLASSES_DP1
|
||||
|
||||
#include "DemoPartialClasses.h"
|
||||
#include "DocumentEditorBase.h"
|
||||
@@ -82,7 +82,23 @@ namespace demo
|
||||
~DocumentEditorRibbon();
|
||||
};
|
||||
|
||||
class DocumentEditorToolstrip : public ::demo::DocumentEditorBase, public ::demo::DocumentEditorToolstripConstructor, public ::vl::reflection::Description<DocumentEditorToolstrip>
|
||||
{
|
||||
friend class ::demo::DocumentEditorToolstripConstructor;
|
||||
friend class ::vl_workflow_global::__vwsnc76_Demo_demo_DocumentEditorToolstripConstructor___vwsn_demo_DocumentEditorToolstrip_Initialize__vl_reflection_description_IValueSubscription;
|
||||
friend class ::vl_workflow_global::__vwsnc77_Demo_demo_DocumentEditorToolstripConstructor___vwsn_demo_DocumentEditorToolstrip_Initialize__vl_reflection_description_IValueSubscription;
|
||||
friend struct ::vl_workflow_global::__vwsnf175_Demo_demo_DocumentEditorToolstripConstructor___vwsn_demo_DocumentEditorToolstrip_Initialize_;
|
||||
friend struct ::vl_workflow_global::__vwsnf176_Demo_demo_DocumentEditorToolstripConstructor___vwsn_demo_DocumentEditorToolstrip_Initialize_;
|
||||
#ifndef VCZH_DEBUG_NO_REFLECTION
|
||||
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<DocumentEditorToolstrip>;
|
||||
#endif
|
||||
public:
|
||||
DocumentEditorToolstrip();
|
||||
~DocumentEditorToolstrip();
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#if defined( _MSC_VER)
|
||||
#pragma warning(pop)
|
||||
#elif defined(__GNUC__)
|
||||
-202
@@ -1,202 +0,0 @@
|
||||
/***********************************************************************
|
||||
!!!!!! DO NOT MODIFY !!!!!!
|
||||
|
||||
GacGen.exe Resource.xml
|
||||
|
||||
This file is generated by Workflow compiler
|
||||
https://github.com/vczh-libraries
|
||||
***********************************************************************/
|
||||
|
||||
#include "Demo.h"
|
||||
/* CodePack:BeginIgnore() */
|
||||
#ifndef VCZH_DEBUG_NO_REFLECTION
|
||||
/* CodePack:ConditionOff(VCZH_DEBUG_NO_REFLECTION, DemoReflection.h) */
|
||||
#include "DemoReflection.h"
|
||||
#endif
|
||||
/* CodePack:EndIgnore() */
|
||||
|
||||
#if defined( _MSC_VER)
|
||||
#pragma warning(push)
|
||||
#pragma warning(disable:4250)
|
||||
#elif defined(__GNUC__)
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wparentheses-equality"
|
||||
#elif defined(__clang__)
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wparentheses-equality"
|
||||
#endif
|
||||
|
||||
#define GLOBAL_SYMBOL ::vl_workflow_global::Demo::
|
||||
#define GLOBAL_NAME ::vl_workflow_global::Demo::Instance().
|
||||
#define GLOBAL_OBJ &::vl_workflow_global::Demo::Instance()
|
||||
|
||||
/***********************************************************************
|
||||
Class (::demo::DocumentEditorRibbon)
|
||||
***********************************************************************/
|
||||
|
||||
namespace demo
|
||||
{
|
||||
bool DocumentEditorRibbon::GetAlignLeftSelected()
|
||||
{
|
||||
return this->__vwsn_prop_AlignLeftSelected;
|
||||
}
|
||||
void DocumentEditorRibbon::SetAlignLeftSelected(bool __vwsn_value_)
|
||||
{
|
||||
if ((this->__vwsn_prop_AlignLeftSelected != __vwsn_value_))
|
||||
{
|
||||
(this->__vwsn_prop_AlignLeftSelected = __vwsn_value_);
|
||||
::vl::__vwsn::EventInvoke(this->AlignLeftSelectedChanged)();
|
||||
}
|
||||
}
|
||||
|
||||
bool DocumentEditorRibbon::GetAlignCenterSelected()
|
||||
{
|
||||
return this->__vwsn_prop_AlignCenterSelected;
|
||||
}
|
||||
void DocumentEditorRibbon::SetAlignCenterSelected(bool __vwsn_value_)
|
||||
{
|
||||
if ((this->__vwsn_prop_AlignCenterSelected != __vwsn_value_))
|
||||
{
|
||||
(this->__vwsn_prop_AlignCenterSelected = __vwsn_value_);
|
||||
::vl::__vwsn::EventInvoke(this->AlignCenterSelectedChanged)();
|
||||
}
|
||||
}
|
||||
|
||||
bool DocumentEditorRibbon::GetAlignRightSelected()
|
||||
{
|
||||
return this->__vwsn_prop_AlignRightSelected;
|
||||
}
|
||||
void DocumentEditorRibbon::SetAlignRightSelected(bool __vwsn_value_)
|
||||
{
|
||||
if ((this->__vwsn_prop_AlignRightSelected != __vwsn_value_))
|
||||
{
|
||||
(this->__vwsn_prop_AlignRightSelected = __vwsn_value_);
|
||||
::vl::__vwsn::EventInvoke(this->AlignRightSelectedChanged)();
|
||||
}
|
||||
}
|
||||
|
||||
::vl::Ptr<::vl::reflection::description::IValueList> DocumentEditorRibbon::GetStyleGroups()
|
||||
{
|
||||
return this->__vwsn_prop_StyleGroups;
|
||||
}
|
||||
void DocumentEditorRibbon::SetStyleGroups(::vl::Ptr<::vl::reflection::description::IValueList> __vwsn_value_)
|
||||
{
|
||||
if ((this->__vwsn_prop_StyleGroups.Obj() != __vwsn_value_.Obj()))
|
||||
{
|
||||
(this->__vwsn_prop_StyleGroups = __vwsn_value_);
|
||||
::vl::__vwsn::EventInvoke(this->StyleGroupsChanged)();
|
||||
}
|
||||
}
|
||||
|
||||
::vl::Ptr<::vl::reflection::description::IValueList> DocumentEditorRibbon::GenerateStyleGroups()
|
||||
{
|
||||
auto group1 = ::vl::Ptr<::demo::StyleGroup>(new ::demo::StyleGroup());
|
||||
(::vl::__vwsn::This(group1.Obj())->Name = ::vl::WString(L"Headers", false));
|
||||
::vl::__vwsn::This(::vl::__vwsn::This(group1.Obj())->Items.Obj())->Add(::vl::__vwsn::Box(::vl::Ptr<::demo::StyleItem>(new ::demo::StyleItem(::vl::WString(L"Header 1", false), [&](){ ::vl::presentation::DocumentFontSize __vwsn_temp__; __vwsn_temp__.size = static_cast<double>(2); __vwsn_temp__.relative = true; return __vwsn_temp__; }(), ::vl::Nullable<::vl::presentation::Color>(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#FF8000", false))), ::vl::Nullable<bool>(), ::vl::Nullable<bool>(), ::vl::Nullable<bool>(), ::vl::Nullable<bool>()))));
|
||||
::vl::__vwsn::This(::vl::__vwsn::This(group1.Obj())->Items.Obj())->Add(::vl::__vwsn::Box(::vl::Ptr<::demo::StyleItem>(new ::demo::StyleItem(::vl::WString(L"Header 2", false), [&](){ ::vl::presentation::DocumentFontSize __vwsn_temp__; __vwsn_temp__.size = static_cast<double>(1.6); __vwsn_temp__.relative = true; return __vwsn_temp__; }(), ::vl::Nullable<::vl::presentation::Color>(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#FF8000", false))), ::vl::Nullable<bool>(), ::vl::Nullable<bool>(), ::vl::Nullable<bool>(), ::vl::Nullable<bool>()))));
|
||||
::vl::__vwsn::This(::vl::__vwsn::This(group1.Obj())->Items.Obj())->Add(::vl::__vwsn::Box(::vl::Ptr<::demo::StyleItem>(new ::demo::StyleItem(::vl::WString(L"Header 3", false), [&](){ ::vl::presentation::DocumentFontSize __vwsn_temp__; __vwsn_temp__.size = static_cast<double>(1.3); __vwsn_temp__.relative = true; return __vwsn_temp__; }(), ::vl::Nullable<::vl::presentation::Color>(), ::vl::Nullable<bool>(), ::vl::Nullable<bool>(), ::vl::Nullable<bool>(), ::vl::Nullable<bool>()))));
|
||||
auto group2 = ::vl::Ptr<::demo::StyleGroup>(new ::demo::StyleGroup());
|
||||
(::vl::__vwsn::This(group2.Obj())->Name = ::vl::WString(L"Content", false));
|
||||
::vl::__vwsn::This(::vl::__vwsn::This(group2.Obj())->Items.Obj())->Add(::vl::__vwsn::Box(::vl::Ptr<::demo::StyleItem>(new ::demo::StyleItem(::vl::WString(L"Strong", false), ::vl::Nullable<::vl::presentation::DocumentFontSize>(), ::vl::Nullable<::vl::presentation::Color>(), ::vl::Nullable<bool>(true), ::vl::Nullable<bool>(), ::vl::Nullable<bool>(), ::vl::Nullable<bool>()))));
|
||||
::vl::__vwsn::This(::vl::__vwsn::This(group2.Obj())->Items.Obj())->Add(::vl::__vwsn::Box(::vl::Ptr<::demo::StyleItem>(new ::demo::StyleItem(::vl::WString(L"Quote", false), ::vl::Nullable<::vl::presentation::DocumentFontSize>(), ::vl::Nullable<::vl::presentation::Color>(), ::vl::Nullable<bool>(), ::vl::Nullable<bool>(true), ::vl::Nullable<bool>(), ::vl::Nullable<bool>()))));
|
||||
::vl::__vwsn::This(::vl::__vwsn::This(group2.Obj())->Items.Obj())->Add(::vl::__vwsn::Box(::vl::Ptr<::demo::StyleItem>(new ::demo::StyleItem(::vl::WString(L"Emphasis", false), ::vl::Nullable<::vl::presentation::DocumentFontSize>(), ::vl::Nullable<::vl::presentation::Color>(), ::vl::Nullable<bool>(), ::vl::Nullable<bool>(true), ::vl::Nullable<bool>(true), ::vl::Nullable<bool>()))));
|
||||
::vl::__vwsn::This(::vl::__vwsn::This(group2.Obj())->Items.Obj())->Add(::vl::__vwsn::Box(::vl::Ptr<::demo::StyleItem>(new ::demo::StyleItem(::vl::WString(L"Intense Emphasis", false), ::vl::Nullable<::vl::presentation::DocumentFontSize>(), ::vl::Nullable<::vl::presentation::Color>(::vl::__vwsn::Parse<::vl::presentation::Color>(::vl::WString(L"#8080FF", false))), ::vl::Nullable<bool>(), ::vl::Nullable<bool>(true), ::vl::Nullable<bool>(true), ::vl::Nullable<bool>()))));
|
||||
::vl::__vwsn::This(::vl::__vwsn::This(group2.Obj())->Items.Obj())->Add(::vl::__vwsn::Box(::vl::Ptr<::demo::StyleItem>(new ::demo::StyleItem(::vl::WString(L"Deleted", false), ::vl::Nullable<::vl::presentation::DocumentFontSize>(), ::vl::Nullable<::vl::presentation::Color>(), ::vl::Nullable<bool>(), ::vl::Nullable<bool>(), ::vl::Nullable<bool>(), ::vl::Nullable<bool>(true)))));
|
||||
auto styles = ::vl::__vwsn::UnboxCollection<::vl::reflection::description::IValueDictionary>(::vl::__vwsn::This(::vl::__vwsn::This(this->document)->GetDocument().Obj())->styles);
|
||||
{
|
||||
auto __vwsn_for_enumerable_styleItem = ::vl::Ptr<::vl::reflection::description::IValueEnumerable>(::vl::__vwsn::This(group1.Obj())->Items);
|
||||
auto __vwsn_for_enumerator_styleItem = ::vl::__vwsn::This(__vwsn_for_enumerable_styleItem.Obj())->CreateEnumerator();
|
||||
while (::vl::__vwsn::This(__vwsn_for_enumerator_styleItem.Obj())->Next())
|
||||
{
|
||||
auto styleItem = ::vl::__vwsn::Unbox<::vl::Ptr<::demo::StyleItem>>(::vl::__vwsn::This(__vwsn_for_enumerator_styleItem.Obj())->GetCurrent());
|
||||
{
|
||||
::vl::__vwsn::This(styles.Obj())->Set(::vl::__vwsn::Box(::vl::__vwsn::This(styleItem.Obj())->Name), ::vl::__vwsn::Box(::vl::__vwsn::This(styleItem.Obj())->Style));
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
auto __vwsn_for_enumerable_styleItem = ::vl::Ptr<::vl::reflection::description::IValueEnumerable>(::vl::__vwsn::This(group2.Obj())->Items);
|
||||
auto __vwsn_for_enumerator_styleItem = ::vl::__vwsn::This(__vwsn_for_enumerable_styleItem.Obj())->CreateEnumerator();
|
||||
while (::vl::__vwsn::This(__vwsn_for_enumerator_styleItem.Obj())->Next())
|
||||
{
|
||||
auto styleItem = ::vl::__vwsn::Unbox<::vl::Ptr<::demo::StyleItem>>(::vl::__vwsn::This(__vwsn_for_enumerator_styleItem.Obj())->GetCurrent());
|
||||
{
|
||||
::vl::__vwsn::This(styles.Obj())->Set(::vl::__vwsn::Box(::vl::__vwsn::This(styleItem.Obj())->Name), ::vl::__vwsn::Box(::vl::__vwsn::This(styleItem.Obj())->Style));
|
||||
}
|
||||
}
|
||||
}
|
||||
return (::vl::__vwsn::CreateList().Add(group1).Add(group2)).list;
|
||||
}
|
||||
|
||||
void DocumentEditorRibbon::SelectStyleName(const ::vl::Nullable<::vl::WString>& styleName)
|
||||
{
|
||||
if (static_cast<bool>(styleName))
|
||||
{
|
||||
{
|
||||
auto __vwsn_for_begin_groupIndex = static_cast<::vl::vint>(0);
|
||||
auto __vwsn_for_end_groupIndex = (::vl::__vwsn::This(this->GetStyleGroups().Obj())->GetCount() - static_cast<::vl::vint>(1));
|
||||
auto groupIndex = __vwsn_for_begin_groupIndex;
|
||||
while ((groupIndex <= __vwsn_for_end_groupIndex))
|
||||
{
|
||||
{
|
||||
auto group = ::vl::__vwsn::Unbox<::vl::Ptr<::demo::StyleGroup>>(::vl::__vwsn::This(this->GetStyleGroups().Obj())->Get(groupIndex));
|
||||
{
|
||||
auto __vwsn_for_begin_itemIndex = static_cast<::vl::vint>(0);
|
||||
auto __vwsn_for_end_itemIndex = (::vl::__vwsn::This(::vl::__vwsn::This(group.Obj())->Items.Obj())->GetCount() - static_cast<::vl::vint>(1));
|
||||
auto itemIndex = __vwsn_for_begin_itemIndex;
|
||||
while ((itemIndex <= __vwsn_for_end_itemIndex))
|
||||
{
|
||||
{
|
||||
if ((::vl::__vwsn::This(::vl::__vwsn::Unbox<::vl::Ptr<::demo::StyleItem>>(::vl::__vwsn::This(::vl::__vwsn::This(group.Obj())->Items.Obj())->Get(itemIndex)).Obj())->Name == styleName.Value()))
|
||||
{
|
||||
::vl::__vwsn::This(this->styleGallery)->SelectItem(::vl::__vwsn::This(this->styleGallery)->GalleryPosToIndex([&](){ ::vl::presentation::controls::GalleryPos __vwsn_temp__; __vwsn_temp__.group = groupIndex; __vwsn_temp__.item = itemIndex; return __vwsn_temp__; }()));
|
||||
return;
|
||||
}
|
||||
}
|
||||
(itemIndex = (itemIndex + static_cast<::vl::vint>(1)));
|
||||
}
|
||||
}
|
||||
}
|
||||
(groupIndex = (groupIndex + static_cast<::vl::vint>(1)));
|
||||
}
|
||||
}
|
||||
}
|
||||
::vl::__vwsn::This(this->styleGallery)->SelectItem((- static_cast<::vl::vint>(1)));
|
||||
}
|
||||
|
||||
DocumentEditorRibbon::DocumentEditorRibbon()
|
||||
: __vwsn_prop_AlignLeftSelected(true)
|
||||
, __vwsn_prop_AlignCenterSelected(true)
|
||||
, __vwsn_prop_AlignRightSelected(true)
|
||||
, __vwsn_prop_StyleGroups(::vl::Ptr<::vl::reflection::description::IValueList>())
|
||||
{
|
||||
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"demo::DocumentEditorRibbon", false));
|
||||
auto __vwsn_resolver_ = ::vl::Ptr<::vl::presentation::GuiResourcePathResolver>(new ::vl::presentation::GuiResourcePathResolver(__vwsn_resource_, ::vl::__vwsn::This(__vwsn_resource_.Obj())->GetWorkingDirectory()));
|
||||
::vl::__vwsn::This(this)->SetResourceResolver(__vwsn_resolver_);
|
||||
::vl::__vwsn::This(this)->__vwsn_demo_DocumentEditorRibbon_Initialize(this);
|
||||
this->__vwsn_instance_ctor_();
|
||||
}
|
||||
|
||||
void DocumentEditorRibbon::__vwsn_instance_ctor_()
|
||||
{
|
||||
this->SetStyleGroups(this->GenerateStyleGroups());
|
||||
::vl::__vwsn::EventAttach(::vl::__vwsn::This(this->document)->SelectionChanged, LAMBDA(::vl_workflow_global::__vwsnf171_Demo_demo_DocumentEditorRibbon___vwsn_instance_ctor__(this)));
|
||||
}
|
||||
|
||||
DocumentEditorRibbon::~DocumentEditorRibbon()
|
||||
{
|
||||
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::controls::GuiCustomControl*>(this));
|
||||
}
|
||||
|
||||
}
|
||||
#undef GLOBAL_SYMBOL
|
||||
#undef GLOBAL_NAME
|
||||
#undef GLOBAL_OBJ
|
||||
|
||||
#if defined( _MSC_VER)
|
||||
#pragma warning(pop)
|
||||
#elif defined(__GNUC__)
|
||||
#pragma GCC diagnostic pop
|
||||
#elif defined(__clang__)
|
||||
#pragma clang diagnostic pop
|
||||
#endif
|
||||
-63
@@ -1,63 +0,0 @@
|
||||
/***********************************************************************
|
||||
!!!!!! DO NOT MODIFY !!!!!!
|
||||
|
||||
GacGen.exe Resource.xml
|
||||
|
||||
This file is generated by Workflow compiler
|
||||
https://github.com/vczh-libraries
|
||||
***********************************************************************/
|
||||
|
||||
#include "Demo.h"
|
||||
/* CodePack:BeginIgnore() */
|
||||
#ifndef VCZH_DEBUG_NO_REFLECTION
|
||||
/* CodePack:ConditionOff(VCZH_DEBUG_NO_REFLECTION, DemoReflection.h) */
|
||||
#include "DemoReflection.h"
|
||||
#endif
|
||||
/* CodePack:EndIgnore() */
|
||||
|
||||
#if defined( _MSC_VER)
|
||||
#pragma warning(push)
|
||||
#pragma warning(disable:4250)
|
||||
#elif defined(__GNUC__)
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wparentheses-equality"
|
||||
#elif defined(__clang__)
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wparentheses-equality"
|
||||
#endif
|
||||
|
||||
#define GLOBAL_SYMBOL ::vl_workflow_global::Demo::
|
||||
#define GLOBAL_NAME ::vl_workflow_global::Demo::Instance().
|
||||
#define GLOBAL_OBJ &::vl_workflow_global::Demo::Instance()
|
||||
|
||||
/***********************************************************************
|
||||
Class (::demo::DocumentEditorToolstrip)
|
||||
***********************************************************************/
|
||||
|
||||
namespace demo
|
||||
{
|
||||
DocumentEditorToolstrip::DocumentEditorToolstrip()
|
||||
{
|
||||
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"demo::DocumentEditorToolstrip", false));
|
||||
auto __vwsn_resolver_ = ::vl::Ptr<::vl::presentation::GuiResourcePathResolver>(new ::vl::presentation::GuiResourcePathResolver(__vwsn_resource_, ::vl::__vwsn::This(__vwsn_resource_.Obj())->GetWorkingDirectory()));
|
||||
::vl::__vwsn::This(this)->SetResourceResolver(__vwsn_resolver_);
|
||||
::vl::__vwsn::This(this)->__vwsn_demo_DocumentEditorToolstrip_Initialize(this);
|
||||
}
|
||||
|
||||
DocumentEditorToolstrip::~DocumentEditorToolstrip()
|
||||
{
|
||||
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::controls::GuiCustomControl*>(this));
|
||||
}
|
||||
|
||||
}
|
||||
#undef GLOBAL_SYMBOL
|
||||
#undef GLOBAL_NAME
|
||||
#undef GLOBAL_OBJ
|
||||
|
||||
#if defined( _MSC_VER)
|
||||
#pragma warning(pop)
|
||||
#elif defined(__GNUC__)
|
||||
#pragma GCC diagnostic pop
|
||||
#elif defined(__clang__)
|
||||
#pragma clang diagnostic pop
|
||||
#endif
|
||||
-53
@@ -1,53 +0,0 @@
|
||||
/***********************************************************************
|
||||
!!!!!! DO NOT MODIFY !!!!!!
|
||||
|
||||
GacGen.exe Resource.xml
|
||||
|
||||
This file is generated by Workflow compiler
|
||||
https://github.com/vczh-libraries
|
||||
***********************************************************************/
|
||||
|
||||
#ifndef VCZH_WORKFLOW_COMPILER_GENERATED_DOCUMENTEDITORTOOLSTRIP
|
||||
#define VCZH_WORKFLOW_COMPILER_GENERATED_DOCUMENTEDITORTOOLSTRIP
|
||||
|
||||
#include "DemoPartialClasses.h"
|
||||
#include "DocumentEditorBase.h"
|
||||
|
||||
#if defined( _MSC_VER)
|
||||
#pragma warning(push)
|
||||
#pragma warning(disable:4250)
|
||||
#elif defined(__GNUC__)
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wparentheses-equality"
|
||||
#elif defined(__clang__)
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wparentheses-equality"
|
||||
#endif
|
||||
|
||||
namespace demo
|
||||
{
|
||||
class DocumentEditorToolstrip : public ::demo::DocumentEditorBase, public ::demo::DocumentEditorToolstripConstructor, public ::vl::reflection::Description<DocumentEditorToolstrip>
|
||||
{
|
||||
friend class ::demo::DocumentEditorToolstripConstructor;
|
||||
friend class ::vl_workflow_global::__vwsnc76_Demo_demo_DocumentEditorToolstripConstructor___vwsn_demo_DocumentEditorToolstrip_Initialize__vl_reflection_description_IValueSubscription;
|
||||
friend class ::vl_workflow_global::__vwsnc77_Demo_demo_DocumentEditorToolstripConstructor___vwsn_demo_DocumentEditorToolstrip_Initialize__vl_reflection_description_IValueSubscription;
|
||||
friend struct ::vl_workflow_global::__vwsnf175_Demo_demo_DocumentEditorToolstripConstructor___vwsn_demo_DocumentEditorToolstrip_Initialize_;
|
||||
friend struct ::vl_workflow_global::__vwsnf176_Demo_demo_DocumentEditorToolstripConstructor___vwsn_demo_DocumentEditorToolstrip_Initialize_;
|
||||
#ifndef VCZH_DEBUG_NO_REFLECTION
|
||||
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<DocumentEditorToolstrip>;
|
||||
#endif
|
||||
public:
|
||||
DocumentEditorToolstrip();
|
||||
~DocumentEditorToolstrip();
|
||||
};
|
||||
|
||||
}
|
||||
#if defined( _MSC_VER)
|
||||
#pragma warning(pop)
|
||||
#elif defined(__GNUC__)
|
||||
#pragma GCC diagnostic pop
|
||||
#elif defined(__clang__)
|
||||
#pragma clang diagnostic pop
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user