mirror of
https://github.com/vczh-libraries/Release.git
synced 2026-05-22 15:22:23 +08:00
Update release
This commit is contained in:
@@ -1219,6 +1219,24 @@ namespace demo
|
||||
{
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
Class (::demo::MainWindow)
|
||||
***********************************************************************/
|
||||
|
||||
MainWindow::MainWindow()
|
||||
: ::vl::presentation::controls::GuiWindow(::vl::presentation::theme::ThemeName::Window)
|
||||
{
|
||||
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"demo::MainWindow", false));
|
||||
auto __vwsn_resolver_ = ::vl::Ptr<::vl::presentation::GuiResourcePathResolver>(new ::vl::presentation::GuiResourcePathResolver(__vwsn_resource_, ::vl::__vwsn::This(__vwsn_resource_.Obj())->GetWorkingDirectory()));
|
||||
::vl::__vwsn::This(this)->SetResourceResolver(__vwsn_resolver_);
|
||||
::vl::__vwsn::This(this)->__vwsn_demo_MainWindow_Initialize(this);
|
||||
}
|
||||
|
||||
MainWindow::~MainWindow()
|
||||
{
|
||||
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::controls::GuiControlHost*>(this));
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
Class (::demo::TriplePhaseButtonConstructor)
|
||||
***********************************************************************/
|
||||
@@ -1265,6 +1283,66 @@ Class (::demo::TriplePhaseButtonConstructor)
|
||||
{
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
Class (::demo::TriplePhaseButton)
|
||||
***********************************************************************/
|
||||
|
||||
::TripleState TriplePhaseButton::GetState()
|
||||
{
|
||||
return this->__vwsn_prop_State;
|
||||
}
|
||||
void TriplePhaseButton::SetState(::TripleState __vwsn_value_)
|
||||
{
|
||||
if ((this->__vwsn_prop_State != __vwsn_value_))
|
||||
{
|
||||
(this->__vwsn_prop_State = __vwsn_value_);
|
||||
::vl::__vwsn::EventInvoke(this->StateChanged)();
|
||||
}
|
||||
}
|
||||
|
||||
::vl::Ptr<::vl::presentation::GuiImageData> TriplePhaseButton::GetCheckedImage()
|
||||
{
|
||||
return this->__vwsn_prop_CheckedImage;
|
||||
}
|
||||
void TriplePhaseButton::SetCheckedImage(::vl::Ptr<::vl::presentation::GuiImageData> __vwsn_value_)
|
||||
{
|
||||
if ((this->__vwsn_prop_CheckedImage.Obj() != __vwsn_value_.Obj()))
|
||||
{
|
||||
(this->__vwsn_prop_CheckedImage = __vwsn_value_);
|
||||
::vl::__vwsn::EventInvoke(this->CheckedImageChanged)();
|
||||
}
|
||||
}
|
||||
|
||||
::vl::Ptr<::vl::presentation::GuiImageData> TriplePhaseButton::GetPartialImage()
|
||||
{
|
||||
return this->__vwsn_prop_PartialImage;
|
||||
}
|
||||
void TriplePhaseButton::SetPartialImage(::vl::Ptr<::vl::presentation::GuiImageData> __vwsn_value_)
|
||||
{
|
||||
if ((this->__vwsn_prop_PartialImage.Obj() != __vwsn_value_.Obj()))
|
||||
{
|
||||
(this->__vwsn_prop_PartialImage = __vwsn_value_);
|
||||
::vl::__vwsn::EventInvoke(this->PartialImageChanged)();
|
||||
}
|
||||
}
|
||||
|
||||
TriplePhaseButton::TriplePhaseButton()
|
||||
: ::vl::presentation::controls::GuiCustomControl(::vl::presentation::theme::ThemeName::CustomControl)
|
||||
, __vwsn_prop_State(::TripleState::Checked)
|
||||
, __vwsn_prop_CheckedImage(::vl::Ptr<::vl::presentation::GuiImageData>())
|
||||
, __vwsn_prop_PartialImage(::vl::Ptr<::vl::presentation::GuiImageData>())
|
||||
{
|
||||
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"demo::TriplePhaseButton", false));
|
||||
auto __vwsn_resolver_ = ::vl::Ptr<::vl::presentation::GuiResourcePathResolver>(new ::vl::presentation::GuiResourcePathResolver(__vwsn_resource_, ::vl::__vwsn::This(__vwsn_resource_.Obj())->GetWorkingDirectory()));
|
||||
::vl::__vwsn::This(this)->SetResourceResolver(__vwsn_resolver_);
|
||||
::vl::__vwsn::This(this)->__vwsn_demo_TriplePhaseButton_Initialize(this);
|
||||
}
|
||||
|
||||
TriplePhaseButton::~TriplePhaseButton()
|
||||
{
|
||||
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::controls::GuiCustomControl*>(this));
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
Class (::demo::TriplePhaseImageButtonTemplateConstructor)
|
||||
***********************************************************************/
|
||||
@@ -1384,84 +1462,6 @@ Class (::demo::TriplePhaseImageButtonTemplateConstructor)
|
||||
{
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
Class (::demo::MainWindow)
|
||||
***********************************************************************/
|
||||
|
||||
MainWindow::MainWindow()
|
||||
: ::vl::presentation::controls::GuiWindow(::vl::presentation::theme::ThemeName::Window)
|
||||
{
|
||||
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"demo::MainWindow", false));
|
||||
auto __vwsn_resolver_ = ::vl::Ptr<::vl::presentation::GuiResourcePathResolver>(new ::vl::presentation::GuiResourcePathResolver(__vwsn_resource_, ::vl::__vwsn::This(__vwsn_resource_.Obj())->GetWorkingDirectory()));
|
||||
::vl::__vwsn::This(this)->SetResourceResolver(__vwsn_resolver_);
|
||||
::vl::__vwsn::This(this)->__vwsn_demo_MainWindow_Initialize(this);
|
||||
}
|
||||
|
||||
MainWindow::~MainWindow()
|
||||
{
|
||||
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::controls::GuiControlHost*>(this));
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
Class (::demo::TriplePhaseButton)
|
||||
***********************************************************************/
|
||||
|
||||
::TripleState TriplePhaseButton::GetState()
|
||||
{
|
||||
return this->__vwsn_prop_State;
|
||||
}
|
||||
void TriplePhaseButton::SetState(::TripleState __vwsn_value_)
|
||||
{
|
||||
if ((this->__vwsn_prop_State != __vwsn_value_))
|
||||
{
|
||||
(this->__vwsn_prop_State = __vwsn_value_);
|
||||
::vl::__vwsn::EventInvoke(this->StateChanged)();
|
||||
}
|
||||
}
|
||||
|
||||
::vl::Ptr<::vl::presentation::GuiImageData> TriplePhaseButton::GetCheckedImage()
|
||||
{
|
||||
return this->__vwsn_prop_CheckedImage;
|
||||
}
|
||||
void TriplePhaseButton::SetCheckedImage(::vl::Ptr<::vl::presentation::GuiImageData> __vwsn_value_)
|
||||
{
|
||||
if ((this->__vwsn_prop_CheckedImage.Obj() != __vwsn_value_.Obj()))
|
||||
{
|
||||
(this->__vwsn_prop_CheckedImage = __vwsn_value_);
|
||||
::vl::__vwsn::EventInvoke(this->CheckedImageChanged)();
|
||||
}
|
||||
}
|
||||
|
||||
::vl::Ptr<::vl::presentation::GuiImageData> TriplePhaseButton::GetPartialImage()
|
||||
{
|
||||
return this->__vwsn_prop_PartialImage;
|
||||
}
|
||||
void TriplePhaseButton::SetPartialImage(::vl::Ptr<::vl::presentation::GuiImageData> __vwsn_value_)
|
||||
{
|
||||
if ((this->__vwsn_prop_PartialImage.Obj() != __vwsn_value_.Obj()))
|
||||
{
|
||||
(this->__vwsn_prop_PartialImage = __vwsn_value_);
|
||||
::vl::__vwsn::EventInvoke(this->PartialImageChanged)();
|
||||
}
|
||||
}
|
||||
|
||||
TriplePhaseButton::TriplePhaseButton()
|
||||
: ::vl::presentation::controls::GuiCustomControl(::vl::presentation::theme::ThemeName::CustomControl)
|
||||
, __vwsn_prop_State(::TripleState::Checked)
|
||||
, __vwsn_prop_CheckedImage(::vl::Ptr<::vl::presentation::GuiImageData>())
|
||||
, __vwsn_prop_PartialImage(::vl::Ptr<::vl::presentation::GuiImageData>())
|
||||
{
|
||||
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"demo::TriplePhaseButton", false));
|
||||
auto __vwsn_resolver_ = ::vl::Ptr<::vl::presentation::GuiResourcePathResolver>(new ::vl::presentation::GuiResourcePathResolver(__vwsn_resource_, ::vl::__vwsn::This(__vwsn_resource_.Obj())->GetWorkingDirectory()));
|
||||
::vl::__vwsn::This(this)->SetResourceResolver(__vwsn_resolver_);
|
||||
::vl::__vwsn::This(this)->__vwsn_demo_TriplePhaseButton_Initialize(this);
|
||||
}
|
||||
|
||||
TriplePhaseButton::~TriplePhaseButton()
|
||||
{
|
||||
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::controls::GuiCustomControl*>(this));
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
Class (::demo::TriplePhaseImageButtonTemplate)
|
||||
***********************************************************************/
|
||||
|
||||
@@ -52,22 +52,27 @@ namespace vl_workflow_global
|
||||
class __vwsnc9_Demo_demo_TriplePhaseImageButtonTemplateConstructor___vwsn_demo_TriplePhaseImageButtonTemplate_Initialize__vl_reflection_description_IValueSubscription;
|
||||
}
|
||||
|
||||
enum class TripleState : vl::vuint64_t
|
||||
namespace __vwsn_enums
|
||||
{
|
||||
Normal = 0UL,
|
||||
Checked = 1UL,
|
||||
Partial = 2UL,
|
||||
};
|
||||
inline TripleState operator& (TripleState a, TripleState b) { return static_cast<TripleState>(static_cast<::vl::vuint64_t>(a) & static_cast<::vl::vuint64_t>(b)); }
|
||||
inline TripleState operator| (TripleState a, TripleState b) { return static_cast<TripleState>(static_cast<::vl::vuint64_t>(a) | static_cast<::vl::vuint64_t>(b)); }
|
||||
enum class _TripleState : vl::vuint64_t
|
||||
{
|
||||
Normal = 0UL,
|
||||
Checked = 1UL,
|
||||
Partial = 2UL,
|
||||
};
|
||||
inline _TripleState operator& (_TripleState a, _TripleState b) { return static_cast<_TripleState>(static_cast<::vl::vuint64_t>(a) & static_cast<::vl::vuint64_t>(b)); }
|
||||
inline _TripleState operator| (_TripleState a, _TripleState b) { return static_cast<_TripleState>(static_cast<::vl::vuint64_t>(a) | static_cast<::vl::vuint64_t>(b)); }
|
||||
|
||||
}
|
||||
using TripleState = ::__vwsn_enums::_TripleState;
|
||||
|
||||
namespace demo
|
||||
{
|
||||
class MainWindowConstructor;
|
||||
class TriplePhaseButtonConstructor;
|
||||
class TriplePhaseImageButtonTemplateConstructor;
|
||||
class MainWindow;
|
||||
class TriplePhaseButtonConstructor;
|
||||
class TriplePhaseButton;
|
||||
class TriplePhaseImageButtonTemplateConstructor;
|
||||
class TriplePhaseImageButtonTemplate;
|
||||
|
||||
class MainWindowConstructor : public ::vl::Object, public ::vl::reflection::Description<MainWindowConstructor>
|
||||
@@ -94,6 +99,22 @@ namespace demo
|
||||
MainWindowConstructor();
|
||||
};
|
||||
|
||||
class MainWindow : public ::vl::presentation::controls::GuiWindow, public ::demo::MainWindowConstructor, public ::vl::reflection::Description<MainWindow>
|
||||
{
|
||||
friend class ::demo::MainWindowConstructor;
|
||||
friend class ::vl_workflow_global::__vwsnc1_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize__vl_reflection_description_IValueSubscription;
|
||||
friend class ::vl_workflow_global::__vwsnc2_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize__vl_reflection_description_IValueSubscription;
|
||||
friend struct ::vl_workflow_global::__vwsnf1_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_;
|
||||
friend struct ::vl_workflow_global::__vwsnf2_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_;
|
||||
friend struct ::vl_workflow_global::__vwsnf3_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_;
|
||||
#ifndef VCZH_DEBUG_NO_REFLECTION
|
||||
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<MainWindow>;
|
||||
#endif
|
||||
public:
|
||||
MainWindow();
|
||||
~MainWindow();
|
||||
};
|
||||
|
||||
class TriplePhaseButtonConstructor : public ::vl::Object, public ::vl::reflection::Description<TriplePhaseButtonConstructor>
|
||||
{
|
||||
friend class ::vl_workflow_global::__vwsnc3_Demo_demo_TriplePhaseButtonConstructor___vwsn_demo_TriplePhaseButton_Initialize__vl_reflection_description_IValueSubscription;
|
||||
@@ -114,6 +135,35 @@ namespace demo
|
||||
TriplePhaseButtonConstructor();
|
||||
};
|
||||
|
||||
class TriplePhaseButton : public ::vl::presentation::controls::GuiCustomControl, public ::demo::TriplePhaseButtonConstructor, public ::vl::reflection::Description<TriplePhaseButton>
|
||||
{
|
||||
friend class ::demo::TriplePhaseButtonConstructor;
|
||||
friend class ::vl_workflow_global::__vwsnc3_Demo_demo_TriplePhaseButtonConstructor___vwsn_demo_TriplePhaseButton_Initialize__vl_reflection_description_IValueSubscription;
|
||||
friend class ::vl_workflow_global::__vwsnc4_Demo_demo_TriplePhaseButtonConstructor___vwsn_demo_TriplePhaseButton_Initialize__vl_reflection_description_IValueSubscription;
|
||||
friend struct ::vl_workflow_global::__vwsnf4_Demo_demo_TriplePhaseButtonConstructor___vwsn_demo_TriplePhaseButton_Initialize_;
|
||||
friend struct ::vl_workflow_global::__vwsnf5_Demo_demo_TriplePhaseButtonConstructor___vwsn_demo_TriplePhaseButton_Initialize_;
|
||||
friend struct ::vl_workflow_global::__vwsnf6_Demo_demo_TriplePhaseButtonConstructor___vwsn_demo_TriplePhaseButton_Initialize_;
|
||||
friend struct ::vl_workflow_global::__vwsnf7_Demo_demo_TriplePhaseButtonConstructor___vwsn_demo_TriplePhaseButton_Initialize_;
|
||||
#ifndef VCZH_DEBUG_NO_REFLECTION
|
||||
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<TriplePhaseButton>;
|
||||
#endif
|
||||
public:
|
||||
::TripleState __vwsn_prop_State;
|
||||
::TripleState GetState();
|
||||
void SetState(::TripleState __vwsn_value_);
|
||||
::vl::Event<void()> StateChanged;
|
||||
::vl::Ptr<::vl::presentation::GuiImageData> __vwsn_prop_CheckedImage;
|
||||
::vl::Ptr<::vl::presentation::GuiImageData> GetCheckedImage();
|
||||
void SetCheckedImage(::vl::Ptr<::vl::presentation::GuiImageData> __vwsn_value_);
|
||||
::vl::Event<void()> CheckedImageChanged;
|
||||
::vl::Ptr<::vl::presentation::GuiImageData> __vwsn_prop_PartialImage;
|
||||
::vl::Ptr<::vl::presentation::GuiImageData> GetPartialImage();
|
||||
void SetPartialImage(::vl::Ptr<::vl::presentation::GuiImageData> __vwsn_value_);
|
||||
::vl::Event<void()> PartialImageChanged;
|
||||
TriplePhaseButton();
|
||||
~TriplePhaseButton();
|
||||
};
|
||||
|
||||
class TriplePhaseImageButtonTemplateConstructor : public ::vl::Object, public ::vl::reflection::Description<TriplePhaseImageButtonTemplateConstructor>
|
||||
{
|
||||
friend class ::vl_workflow_global::__vwsnc10_Demo_demo_TriplePhaseImageButtonTemplateConstructor___vwsn_demo_TriplePhaseImageButtonTemplate_Initialize__vl_reflection_description_IValueSubscription;
|
||||
@@ -147,51 +197,6 @@ namespace demo
|
||||
TriplePhaseImageButtonTemplateConstructor();
|
||||
};
|
||||
|
||||
class MainWindow : public ::vl::presentation::controls::GuiWindow, public ::demo::MainWindowConstructor, public ::vl::reflection::Description<MainWindow>
|
||||
{
|
||||
friend class ::demo::MainWindowConstructor;
|
||||
friend class ::vl_workflow_global::__vwsnc1_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize__vl_reflection_description_IValueSubscription;
|
||||
friend class ::vl_workflow_global::__vwsnc2_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize__vl_reflection_description_IValueSubscription;
|
||||
friend struct ::vl_workflow_global::__vwsnf1_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_;
|
||||
friend struct ::vl_workflow_global::__vwsnf2_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_;
|
||||
friend struct ::vl_workflow_global::__vwsnf3_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_;
|
||||
#ifndef VCZH_DEBUG_NO_REFLECTION
|
||||
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<MainWindow>;
|
||||
#endif
|
||||
public:
|
||||
MainWindow();
|
||||
~MainWindow();
|
||||
};
|
||||
|
||||
class TriplePhaseButton : public ::vl::presentation::controls::GuiCustomControl, public ::demo::TriplePhaseButtonConstructor, public ::vl::reflection::Description<TriplePhaseButton>
|
||||
{
|
||||
friend class ::demo::TriplePhaseButtonConstructor;
|
||||
friend class ::vl_workflow_global::__vwsnc3_Demo_demo_TriplePhaseButtonConstructor___vwsn_demo_TriplePhaseButton_Initialize__vl_reflection_description_IValueSubscription;
|
||||
friend class ::vl_workflow_global::__vwsnc4_Demo_demo_TriplePhaseButtonConstructor___vwsn_demo_TriplePhaseButton_Initialize__vl_reflection_description_IValueSubscription;
|
||||
friend struct ::vl_workflow_global::__vwsnf4_Demo_demo_TriplePhaseButtonConstructor___vwsn_demo_TriplePhaseButton_Initialize_;
|
||||
friend struct ::vl_workflow_global::__vwsnf5_Demo_demo_TriplePhaseButtonConstructor___vwsn_demo_TriplePhaseButton_Initialize_;
|
||||
friend struct ::vl_workflow_global::__vwsnf6_Demo_demo_TriplePhaseButtonConstructor___vwsn_demo_TriplePhaseButton_Initialize_;
|
||||
friend struct ::vl_workflow_global::__vwsnf7_Demo_demo_TriplePhaseButtonConstructor___vwsn_demo_TriplePhaseButton_Initialize_;
|
||||
#ifndef VCZH_DEBUG_NO_REFLECTION
|
||||
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<TriplePhaseButton>;
|
||||
#endif
|
||||
public:
|
||||
::TripleState __vwsn_prop_State;
|
||||
::TripleState GetState();
|
||||
void SetState(::TripleState __vwsn_value_);
|
||||
::vl::Event<void()> StateChanged;
|
||||
::vl::Ptr<::vl::presentation::GuiImageData> __vwsn_prop_CheckedImage;
|
||||
::vl::Ptr<::vl::presentation::GuiImageData> GetCheckedImage();
|
||||
void SetCheckedImage(::vl::Ptr<::vl::presentation::GuiImageData> __vwsn_value_);
|
||||
::vl::Event<void()> CheckedImageChanged;
|
||||
::vl::Ptr<::vl::presentation::GuiImageData> __vwsn_prop_PartialImage;
|
||||
::vl::Ptr<::vl::presentation::GuiImageData> GetPartialImage();
|
||||
void SetPartialImage(::vl::Ptr<::vl::presentation::GuiImageData> __vwsn_value_);
|
||||
::vl::Event<void()> PartialImageChanged;
|
||||
TriplePhaseButton();
|
||||
~TriplePhaseButton();
|
||||
};
|
||||
|
||||
class TriplePhaseImageButtonTemplate : public ::vl::presentation::templates::GuiButtonTemplate, public ::demo::TriplePhaseImageButtonTemplateConstructor, public ::vl::reflection::Description<TriplePhaseImageButtonTemplate>
|
||||
{
|
||||
friend class ::demo::TriplePhaseImageButtonTemplateConstructor;
|
||||
|
||||
Reference in New Issue
Block a user