mirror of
https://github.com/vczh-libraries/Release.git
synced 2026-03-27 01:23:05 +08:00
...
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
#define GAC_HEADER_USE_NAMESPACE
|
||||
#include "UI/Source/Demo.h"
|
||||
#include <Windows.h>
|
||||
|
||||
|
||||
@@ -1411,67 +1411,67 @@ namespace vl
|
||||
IMPL_CPP_TYPE_INFO(demo::MainWindow)
|
||||
|
||||
BEGIN_CLASS_MEMBER(darkskin::BottomScrollButtonTemplate)
|
||||
CLASS_MEMBER_BASE(vl::presentation::templates::GuiButtonTemplate)
|
||||
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_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_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_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_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_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_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_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_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_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_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_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_BASE(::vl::presentation::templates::GuiScrollTemplate)
|
||||
CLASS_MEMBER_CONSTRUCTOR(darkskin::HScrollTemplate*(), NO_PARAMETER)
|
||||
|
||||
CLASS_MEMBER_FIELD(draggingHandle)
|
||||
@@ -1479,7 +1479,7 @@ namespace vl
|
||||
END_CLASS_MEMBER(darkskin::HScrollTemplate)
|
||||
|
||||
BEGIN_CLASS_MEMBER(darkskin::HTrackerTemplate)
|
||||
CLASS_MEMBER_BASE(vl::presentation::templates::GuiScrollTemplate)
|
||||
CLASS_MEMBER_BASE(::vl::presentation::templates::GuiScrollTemplate)
|
||||
CLASS_MEMBER_CONSTRUCTOR(darkskin::HTrackerTemplate*(), NO_PARAMETER)
|
||||
|
||||
CLASS_MEMBER_FIELD(draggingHandle)
|
||||
@@ -1487,157 +1487,157 @@ namespace vl
|
||||
END_CLASS_MEMBER(darkskin::HTrackerTemplate)
|
||||
|
||||
BEGIN_CLASS_MEMBER(darkskin::ItemBackgroundTemplate)
|
||||
CLASS_MEMBER_BASE(vl::presentation::templates::GuiSelectableButtonTemplate)
|
||||
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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_BASE(::vl::presentation::templates::GuiScrollTemplate)
|
||||
CLASS_MEMBER_CONSTRUCTOR(darkskin::VScrollTemplate*(), NO_PARAMETER)
|
||||
|
||||
CLASS_MEMBER_FIELD(draggingHandle)
|
||||
@@ -1645,7 +1645,7 @@ namespace vl
|
||||
END_CLASS_MEMBER(darkskin::VScrollTemplate)
|
||||
|
||||
BEGIN_CLASS_MEMBER(darkskin::VTrackerTemplate)
|
||||
CLASS_MEMBER_BASE(vl::presentation::templates::GuiScrollTemplate)
|
||||
CLASS_MEMBER_BASE(::vl::presentation::templates::GuiScrollTemplate)
|
||||
CLASS_MEMBER_CONSTRUCTOR(darkskin::VTrackerTemplate*(), NO_PARAMETER)
|
||||
|
||||
CLASS_MEMBER_FIELD(draggingHandle)
|
||||
@@ -1653,12 +1653,12 @@ namespace vl
|
||||
END_CLASS_MEMBER(darkskin::VTrackerTemplate)
|
||||
|
||||
BEGIN_CLASS_MEMBER(darkskin::WindowTemplate)
|
||||
CLASS_MEMBER_BASE(vl::presentation::templates::GuiWindowTemplate)
|
||||
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_BASE(::vl::presentation::controls::GuiWindow)
|
||||
CLASS_MEMBER_CONSTRUCTOR(demo::MainWindow*(), NO_PARAMETER)
|
||||
END_CLASS_MEMBER(demo::MainWindow)
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Binary file not shown.
@@ -81,7 +81,7 @@ namespace vl
|
||||
IMPL_CPP_TYPE_INFO(demo::NewFolderWindow)
|
||||
|
||||
BEGIN_CLASS_MEMBER(demo::ICategory)
|
||||
CLASS_MEMBER_BASE(vl::reflection::IDescriptable)
|
||||
CLASS_MEMBER_BASE(::vl::reflection::IDescriptable)
|
||||
CLASS_MEMBER_METHOD(GetParent, NO_PARAMETER);
|
||||
CLASS_MEMBER_METHOD(GetName, NO_PARAMETER);
|
||||
CLASS_MEMBER_METHOD(GetImage, NO_PARAMETER);
|
||||
@@ -95,7 +95,7 @@ namespace vl
|
||||
END_CLASS_MEMBER(demo::ICategory)
|
||||
|
||||
BEGIN_CLASS_MEMBER(demo::IContact)
|
||||
CLASS_MEMBER_BASE(vl::reflection::IDescriptable)
|
||||
CLASS_MEMBER_BASE(::vl::reflection::IDescriptable)
|
||||
CLASS_MEMBER_METHOD(GetName, NO_PARAMETER);
|
||||
CLASS_MEMBER_METHOD(GetBigImage, NO_PARAMETER);
|
||||
CLASS_MEMBER_METHOD(GetSmallImage, NO_PARAMETER);
|
||||
@@ -114,7 +114,7 @@ namespace vl
|
||||
END_CLASS_MEMBER(demo::IContact)
|
||||
|
||||
BEGIN_CLASS_MEMBER(demo::IViewModel)
|
||||
CLASS_MEMBER_BASE(vl::reflection::IDescriptable)
|
||||
CLASS_MEMBER_BASE(::vl::reflection::IDescriptable)
|
||||
CLASS_MEMBER_METHOD(GetRootCategory, NO_PARAMETER);
|
||||
CLASS_MEMBER_METHOD(GetSelectedCategory, NO_PARAMETER);
|
||||
CLASS_MEMBER_METHOD(SetSelectedCategory, { L"value" });
|
||||
@@ -132,21 +132,21 @@ namespace vl
|
||||
END_CLASS_MEMBER(demo::IViewModel)
|
||||
|
||||
BEGIN_CLASS_MEMBER(demo::MainWindow)
|
||||
CLASS_MEMBER_BASE(vl::presentation::controls::GuiWindow)
|
||||
CLASS_MEMBER_BASE(::vl::presentation::controls::GuiWindow)
|
||||
CLASS_MEMBER_CONSTRUCTOR(demo::MainWindow*(Ptr<demo::IViewModel>), { L"ViewModel" })
|
||||
|
||||
CLASS_MEMBER_GUIEVENT_HANDLER(commandBigIcon_Executed, vl::presentation::compositions::GuiEventArgs)
|
||||
CLASS_MEMBER_GUIEVENT_HANDLER(commandDetail_Executed, vl::presentation::compositions::GuiEventArgs)
|
||||
CLASS_MEMBER_GUIEVENT_HANDLER(commandInformation_Executed, vl::presentation::compositions::GuiEventArgs)
|
||||
CLASS_MEMBER_GUIEVENT_HANDLER(commandList_Executed, vl::presentation::compositions::GuiEventArgs)
|
||||
CLASS_MEMBER_GUIEVENT_HANDLER(commandSmallIcon_Executed, vl::presentation::compositions::GuiEventArgs)
|
||||
CLASS_MEMBER_GUIEVENT_HANDLER(commandTile_Executed, vl::presentation::compositions::GuiEventArgs)
|
||||
CLASS_MEMBER_GUIEVENT_HANDLER(commandBigIcon_Executed, ::vl::presentation::compositions::GuiEventArgs)
|
||||
CLASS_MEMBER_GUIEVENT_HANDLER(commandDetail_Executed, ::vl::presentation::compositions::GuiEventArgs)
|
||||
CLASS_MEMBER_GUIEVENT_HANDLER(commandInformation_Executed, ::vl::presentation::compositions::GuiEventArgs)
|
||||
CLASS_MEMBER_GUIEVENT_HANDLER(commandList_Executed, ::vl::presentation::compositions::GuiEventArgs)
|
||||
CLASS_MEMBER_GUIEVENT_HANDLER(commandSmallIcon_Executed, ::vl::presentation::compositions::GuiEventArgs)
|
||||
CLASS_MEMBER_GUIEVENT_HANDLER(commandTile_Executed, ::vl::presentation::compositions::GuiEventArgs)
|
||||
|
||||
CLASS_MEMBER_PROPERTY_READONLY_FAST(ViewModel)
|
||||
END_CLASS_MEMBER(demo::MainWindow)
|
||||
|
||||
BEGIN_CLASS_MEMBER(demo::NewContactWindow)
|
||||
CLASS_MEMBER_BASE(vl::presentation::controls::GuiWindow)
|
||||
CLASS_MEMBER_BASE(::vl::presentation::controls::GuiWindow)
|
||||
CLASS_MEMBER_CONSTRUCTOR(demo::NewContactWindow*(Ptr<demo::IContact>), { L"Contact" })
|
||||
|
||||
CLASS_MEMBER_PROPERTY_READONLY_FAST(Contact)
|
||||
@@ -157,7 +157,7 @@ namespace vl
|
||||
END_CLASS_MEMBER(demo::NewContactWindow)
|
||||
|
||||
BEGIN_CLASS_MEMBER(demo::NewFolderWindow)
|
||||
CLASS_MEMBER_BASE(vl::presentation::controls::GuiWindow)
|
||||
CLASS_MEMBER_BASE(::vl::presentation::controls::GuiWindow)
|
||||
CLASS_MEMBER_CONSTRUCTOR(demo::NewFolderWindow*(), NO_PARAMETER)
|
||||
|
||||
CLASS_MEMBER_EVENT(FolderNameChanged)
|
||||
|
||||
@@ -22,67 +22,67 @@ namespace demo
|
||||
class NewContactWindow;
|
||||
class NewFolderWindow;
|
||||
|
||||
class IContact : public virtual vl::reflection::IDescriptable, public vl::reflection::Description<IContact>
|
||||
class IContact : public virtual ::vl::reflection::IDescriptable, public vl::reflection::Description<IContact>
|
||||
{
|
||||
public:
|
||||
virtual vl::WString GetName() = 0;
|
||||
virtual vl::Ptr<vl::presentation::GuiImageData> GetBigImage() = 0;
|
||||
virtual vl::Ptr<vl::presentation::GuiImageData> GetSmallImage() = 0;
|
||||
virtual vl::DateTime GetBirthday() = 0;
|
||||
virtual vl::WString GetBirthdayText() = 0;
|
||||
virtual vl::WString GetPhone() = 0;
|
||||
virtual vl::WString GetAddress() = 0;
|
||||
virtual void Update(vl::WString name, vl::DateTime birthday, vl::WString phone, vl::WString address) = 0;
|
||||
virtual ::vl::WString GetName() = 0;
|
||||
virtual vl::Ptr<::vl::presentation::GuiImageData> GetBigImage() = 0;
|
||||
virtual vl::Ptr<::vl::presentation::GuiImageData> GetSmallImage() = 0;
|
||||
virtual ::vl::DateTime GetBirthday() = 0;
|
||||
virtual ::vl::WString GetBirthdayText() = 0;
|
||||
virtual ::vl::WString GetPhone() = 0;
|
||||
virtual ::vl::WString GetAddress() = 0;
|
||||
virtual void Update(::vl::WString name, ::vl::DateTime birthday, ::vl::WString phone, ::vl::WString address) = 0;
|
||||
};
|
||||
|
||||
class ICategory : public virtual vl::reflection::IDescriptable, public vl::reflection::Description<ICategory>
|
||||
class ICategory : public virtual ::vl::reflection::IDescriptable, public vl::reflection::Description<ICategory>
|
||||
{
|
||||
public:
|
||||
virtual demo::ICategory* GetParent() = 0;
|
||||
virtual vl::WString GetName() = 0;
|
||||
virtual vl::Ptr<vl::presentation::GuiImageData> GetImage() = 0;
|
||||
virtual vl::Ptr<vl::reflection::description::IValueObservableList> GetFolders() = 0;
|
||||
virtual vl::Ptr<vl::reflection::description::IValueObservableList> GetContacts() = 0;
|
||||
virtual ::demo::ICategory* GetParent() = 0;
|
||||
virtual ::vl::WString GetName() = 0;
|
||||
virtual vl::Ptr<::vl::presentation::GuiImageData> GetImage() = 0;
|
||||
virtual vl::Ptr<::vl::reflection::description::IValueObservableList> GetFolders() = 0;
|
||||
virtual vl::Ptr<::vl::reflection::description::IValueObservableList> GetContacts() = 0;
|
||||
};
|
||||
|
||||
class IViewModel : public virtual vl::reflection::IDescriptable, public vl::reflection::Description<IViewModel>
|
||||
class IViewModel : public virtual ::vl::reflection::IDescriptable, public vl::reflection::Description<IViewModel>
|
||||
{
|
||||
public:
|
||||
virtual vl::Ptr<demo::ICategory> GetRootCategory() = 0;
|
||||
virtual vl::Ptr<demo::ICategory> GetSelectedCategory() = 0;
|
||||
virtual void SetSelectedCategory(vl::Ptr<demo::ICategory> value) = 0;
|
||||
virtual vl::Ptr<::demo::ICategory> GetRootCategory() = 0;
|
||||
virtual vl::Ptr<::demo::ICategory> GetSelectedCategory() = 0;
|
||||
virtual void SetSelectedCategory(vl::Ptr<::demo::ICategory> value) = 0;
|
||||
vl::Event<void()> SelectedCategoryChanged;
|
||||
virtual vl::Ptr<demo::IContact> GetSelectedContact() = 0;
|
||||
virtual void SetSelectedContact(vl::Ptr<demo::IContact> value) = 0;
|
||||
virtual vl::Ptr<::demo::IContact> GetSelectedContact() = 0;
|
||||
virtual void SetSelectedContact(vl::Ptr<::demo::IContact> value) = 0;
|
||||
vl::Event<void()> SelectedContactChanged;
|
||||
virtual void AddCategory(vl::WString name) = 0;
|
||||
virtual void AddCategory(::vl::WString name) = 0;
|
||||
virtual void RemoveCategory() = 0;
|
||||
virtual vl::Ptr<demo::IContact> CreateContact() = 0;
|
||||
virtual void AddContact(vl::Ptr<demo::IContact> contact) = 0;
|
||||
virtual vl::Ptr<::demo::IContact> CreateContact() = 0;
|
||||
virtual void AddContact(vl::Ptr<::demo::IContact> contact) = 0;
|
||||
virtual void RemoveContact() = 0;
|
||||
};
|
||||
|
||||
template<typename TImpl>
|
||||
class MainWindow_ : public vl::presentation::controls::GuiWindow, public vl::presentation::GuiInstancePartialClass<vl::presentation::controls::GuiWindow>, public vl::reflection::Description<TImpl>
|
||||
class MainWindow_ : public ::vl::presentation::controls::GuiWindow, public vl::presentation::GuiInstancePartialClass<vl::presentation::controls::GuiWindow>, public vl::reflection::Description<TImpl>
|
||||
{
|
||||
friend struct vl::reflection::description::CustomTypeDescriptorSelector<TImpl>;
|
||||
private:
|
||||
Ptr<demo::IViewModel> ViewModel_;
|
||||
protected:
|
||||
vl::presentation::controls::GuiToolstripCommand* commandBigIcon;
|
||||
vl::presentation::controls::GuiToolstripCommand* commandDeleteContact;
|
||||
vl::presentation::controls::GuiToolstripCommand* commandDeleteFolder;
|
||||
vl::presentation::controls::GuiToolstripCommand* commandDetail;
|
||||
vl::presentation::controls::GuiToolstripCommand* commandEditContact;
|
||||
vl::presentation::controls::GuiToolstripCommand* commandInformation;
|
||||
vl::presentation::controls::GuiToolstripCommand* commandList;
|
||||
vl::presentation::controls::GuiToolstripCommand* commandNewContact;
|
||||
vl::presentation::controls::GuiToolstripCommand* commandNewFolder;
|
||||
vl::presentation::controls::GuiToolstripCommand* commandSmallIcon;
|
||||
vl::presentation::controls::GuiToolstripCommand* commandTile;
|
||||
vl::presentation::controls::GuiBindableListView* listViewContacts;
|
||||
vl::presentation::controls::GuiWindow* self;
|
||||
vl::presentation::controls::GuiBindableTreeView* treeViewFolders;
|
||||
::vl::presentation::controls::GuiToolstripCommand* commandBigIcon;
|
||||
::vl::presentation::controls::GuiToolstripCommand* commandDeleteContact;
|
||||
::vl::presentation::controls::GuiToolstripCommand* commandDeleteFolder;
|
||||
::vl::presentation::controls::GuiToolstripCommand* commandDetail;
|
||||
::vl::presentation::controls::GuiToolstripCommand* commandEditContact;
|
||||
::vl::presentation::controls::GuiToolstripCommand* commandInformation;
|
||||
::vl::presentation::controls::GuiToolstripCommand* commandList;
|
||||
::vl::presentation::controls::GuiToolstripCommand* commandNewContact;
|
||||
::vl::presentation::controls::GuiToolstripCommand* commandNewFolder;
|
||||
::vl::presentation::controls::GuiToolstripCommand* commandSmallIcon;
|
||||
::vl::presentation::controls::GuiToolstripCommand* commandTile;
|
||||
::vl::presentation::controls::GuiBindableListView* listViewContacts;
|
||||
::vl::presentation::controls::GuiWindow* self;
|
||||
::vl::presentation::controls::GuiBindableTreeView* treeViewFolders;
|
||||
|
||||
void InitializeComponents(Ptr<demo::IViewModel> ViewModel)
|
||||
{
|
||||
@@ -111,8 +111,8 @@ namespace demo
|
||||
}
|
||||
public:
|
||||
MainWindow_()
|
||||
:vl::presentation::GuiInstancePartialClass<vl::presentation::controls::GuiWindow>(L"demo::MainWindow")
|
||||
,vl::presentation::controls::GuiWindow(vl::presentation::theme::GetCurrentTheme()->CreateWindowStyle())
|
||||
:vl::presentation::GuiInstancePartialClass<::vl::presentation::controls::GuiWindow>(L"demo::MainWindow")
|
||||
,::vl::presentation::controls::GuiWindow(vl::presentation::theme::GetCurrentTheme()->CreateWindowStyle())
|
||||
,commandBigIcon(0)
|
||||
,commandDeleteContact(0)
|
||||
,commandDeleteFolder(0)
|
||||
@@ -137,7 +137,7 @@ namespace demo
|
||||
};
|
||||
|
||||
template<typename TImpl>
|
||||
class NewContactWindow_ : public vl::presentation::controls::GuiWindow, public vl::presentation::GuiInstancePartialClass<vl::presentation::controls::GuiWindow>, public vl::reflection::Description<TImpl>
|
||||
class NewContactWindow_ : public ::vl::presentation::controls::GuiWindow, public vl::presentation::GuiInstancePartialClass<vl::presentation::controls::GuiWindow>, public vl::reflection::Description<TImpl>
|
||||
{
|
||||
friend struct vl::reflection::description::CustomTypeDescriptorSelector<TImpl>;
|
||||
private:
|
||||
@@ -145,11 +145,11 @@ namespace demo
|
||||
bool ForEdit_;
|
||||
bool Ready_;
|
||||
protected:
|
||||
vl::presentation::controls::GuiDatePicker* datePickerBirthday;
|
||||
vl::presentation::controls::GuiWindow* self;
|
||||
vl::presentation::controls::GuiDocumentLabel* textBoxAddress;
|
||||
vl::presentation::controls::GuiDocumentLabel* textBoxName;
|
||||
vl::presentation::controls::GuiDocumentLabel* textBoxPhone;
|
||||
::vl::presentation::controls::GuiDatePicker* datePickerBirthday;
|
||||
::vl::presentation::controls::GuiWindow* self;
|
||||
::vl::presentation::controls::GuiDocumentLabel* textBoxAddress;
|
||||
::vl::presentation::controls::GuiDocumentLabel* textBoxName;
|
||||
::vl::presentation::controls::GuiDocumentLabel* textBoxPhone;
|
||||
|
||||
void InitializeComponents(Ptr<demo::IContact> Contact)
|
||||
{
|
||||
@@ -169,16 +169,28 @@ namespace demo
|
||||
}
|
||||
public:
|
||||
NewContactWindow_()
|
||||
:vl::presentation::GuiInstancePartialClass<vl::presentation::controls::GuiWindow>(L"demo::NewContactWindow")
|
||||
,vl::presentation::controls::GuiWindow(vl::presentation::theme::GetCurrentTheme()->CreateWindowStyle())
|
||||
:vl::presentation::GuiInstancePartialClass<::vl::presentation::controls::GuiWindow>(L"demo::NewContactWindow")
|
||||
,::vl::presentation::controls::GuiWindow(vl::presentation::theme::GetCurrentTheme()->CreateWindowStyle())
|
||||
,datePickerBirthday(0)
|
||||
,self(0)
|
||||
,textBoxAddress(0)
|
||||
,textBoxName(0)
|
||||
,textBoxPhone(0)
|
||||
{
|
||||
this->ForEdit_ = vl::reflection::description::UnboxValue<bool>(vl::reflection::description::Value::From(L"false", reflection::description::GetTypeDescriptor<bool>()));
|
||||
this->Ready_ = vl::reflection::description::UnboxValue<bool>(vl::reflection::description::Value::From(L"true", reflection::description::GetTypeDescriptor<bool>()));
|
||||
this->ForEdit = vl::reflection::description::UnboxValue<bool>(
|
||||
[]()
|
||||
{
|
||||
vl::reflection::description::Value value;
|
||||
reflection::description::GetTypeDescriptor<bool>()->GetSerializableType()->Deserialize(L"false", value);
|
||||
return value;
|
||||
}());
|
||||
this->Ready = vl::reflection::description::UnboxValue<bool>(
|
||||
[]()
|
||||
{
|
||||
vl::reflection::description::Value value;
|
||||
reflection::description::GetTypeDescriptor<bool>()->GetSerializableType()->Deserialize(L"true", value);
|
||||
return value;
|
||||
}());
|
||||
}
|
||||
|
||||
Ptr<demo::IContact> GetContact()
|
||||
@@ -214,15 +226,15 @@ namespace demo
|
||||
};
|
||||
|
||||
template<typename TImpl>
|
||||
class NewFolderWindow_ : public vl::presentation::controls::GuiWindow, public vl::presentation::GuiInstancePartialClass<vl::presentation::controls::GuiWindow>, public vl::reflection::Description<TImpl>
|
||||
class NewFolderWindow_ : public ::vl::presentation::controls::GuiWindow, public vl::presentation::GuiInstancePartialClass<vl::presentation::controls::GuiWindow>, public vl::reflection::Description<TImpl>
|
||||
{
|
||||
friend struct vl::reflection::description::CustomTypeDescriptorSelector<TImpl>;
|
||||
private:
|
||||
vl::WString FolderName_;
|
||||
::vl::WString FolderName_;
|
||||
bool Ready_;
|
||||
protected:
|
||||
vl::presentation::controls::GuiWindow* self;
|
||||
vl::presentation::controls::GuiDocumentLabel* textBoxName;
|
||||
::vl::presentation::controls::GuiWindow* self;
|
||||
::vl::presentation::controls::GuiDocumentLabel* textBoxName;
|
||||
|
||||
void InitializeComponents()
|
||||
{
|
||||
@@ -237,23 +249,35 @@ namespace demo
|
||||
}
|
||||
public:
|
||||
NewFolderWindow_()
|
||||
:vl::presentation::GuiInstancePartialClass<vl::presentation::controls::GuiWindow>(L"demo::NewFolderWindow")
|
||||
,vl::presentation::controls::GuiWindow(vl::presentation::theme::GetCurrentTheme()->CreateWindowStyle())
|
||||
:vl::presentation::GuiInstancePartialClass<::vl::presentation::controls::GuiWindow>(L"demo::NewFolderWindow")
|
||||
,::vl::presentation::controls::GuiWindow(vl::presentation::theme::GetCurrentTheme()->CreateWindowStyle())
|
||||
,self(0)
|
||||
,textBoxName(0)
|
||||
{
|
||||
this->FolderName_ = vl::reflection::description::UnboxValue<vl::WString>(vl::reflection::description::Value::From(L"", reflection::description::GetTypeDescriptor<vl::WString>()));
|
||||
this->Ready_ = vl::reflection::description::UnboxValue<bool>(vl::reflection::description::Value::From(L"true", reflection::description::GetTypeDescriptor<bool>()));
|
||||
this->FolderName = vl::reflection::description::UnboxValue<::vl::WString>(
|
||||
[]()
|
||||
{
|
||||
vl::reflection::description::Value value;
|
||||
reflection::description::GetTypeDescriptor<::vl::WString>()->GetSerializableType()->Deserialize(L"", value);
|
||||
return value;
|
||||
}());
|
||||
this->Ready = vl::reflection::description::UnboxValue<bool>(
|
||||
[]()
|
||||
{
|
||||
vl::reflection::description::Value value;
|
||||
reflection::description::GetTypeDescriptor<bool>()->GetSerializableType()->Deserialize(L"true", value);
|
||||
return value;
|
||||
}());
|
||||
}
|
||||
|
||||
vl::Event<void()> FolderNameChanged;
|
||||
|
||||
vl::WString GetFolderName()
|
||||
::vl::WString GetFolderName()
|
||||
{
|
||||
return FolderName_;
|
||||
}
|
||||
|
||||
void SetFolderName(vl::WString value)
|
||||
void SetFolderName(::vl::WString value)
|
||||
{
|
||||
FolderName_ = value;
|
||||
FolderNameChanged();
|
||||
|
||||
@@ -12,6 +12,38 @@ namespace demo
|
||||
{
|
||||
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
|
||||
|
||||
void MainWindow::commandBigIcon_Executed(GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs& arguments)
|
||||
{
|
||||
}
|
||||
|
||||
void MainWindow::commandDetail_Executed(GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs& arguments)
|
||||
{
|
||||
}
|
||||
|
||||
void MainWindow::commandInformation_Executed(GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs& arguments)
|
||||
{
|
||||
}
|
||||
|
||||
void MainWindow::commandList_Executed(GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs& arguments)
|
||||
{
|
||||
}
|
||||
|
||||
void MainWindow::commandSmallIcon_Executed(GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs& arguments)
|
||||
{
|
||||
}
|
||||
|
||||
void MainWindow::commandTile_Executed(GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs& arguments)
|
||||
{
|
||||
}
|
||||
|
||||
void MainWindow::OnCreate()
|
||||
{
|
||||
}
|
||||
|
||||
void MainWindow::OnDestroy()
|
||||
{
|
||||
}
|
||||
|
||||
void MainWindow::commandBigIcon_Executed(GuiGraphicsComposition* sender, vl::presentation::compositions::GuiEventArgs& arguments)
|
||||
{
|
||||
ClearViewSelection();
|
||||
@@ -54,14 +86,6 @@ namespace demo
|
||||
listViewContacts->ChangeItemStyle(new list::ListViewTileContentProvider);
|
||||
}
|
||||
|
||||
void MainWindow::OnCreate()
|
||||
{
|
||||
}
|
||||
|
||||
void MainWindow::OnDestroy()
|
||||
{
|
||||
}
|
||||
|
||||
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER
|
||||
|
||||
void MainWindow::ClearViewSelection()
|
||||
|
||||
@@ -20,12 +20,12 @@ namespace demo
|
||||
protected:
|
||||
|
||||
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
|
||||
void commandBigIcon_Executed(GuiGraphicsComposition* sender, vl::presentation::compositions::GuiEventArgs& arguments);
|
||||
void commandDetail_Executed(GuiGraphicsComposition* sender, vl::presentation::compositions::GuiEventArgs& arguments);
|
||||
void commandInformation_Executed(GuiGraphicsComposition* sender, vl::presentation::compositions::GuiEventArgs& arguments);
|
||||
void commandList_Executed(GuiGraphicsComposition* sender, vl::presentation::compositions::GuiEventArgs& arguments);
|
||||
void commandSmallIcon_Executed(GuiGraphicsComposition* sender, vl::presentation::compositions::GuiEventArgs& arguments);
|
||||
void commandTile_Executed(GuiGraphicsComposition* sender, vl::presentation::compositions::GuiEventArgs& arguments);
|
||||
void commandBigIcon_Executed(GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs& arguments);
|
||||
void commandDetail_Executed(GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs& arguments);
|
||||
void commandInformation_Executed(GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs& arguments);
|
||||
void commandList_Executed(GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs& arguments);
|
||||
void commandSmallIcon_Executed(GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs& arguments);
|
||||
void commandTile_Executed(GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs& arguments);
|
||||
void OnCreate();
|
||||
void OnDestroy();
|
||||
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER
|
||||
|
||||
@@ -108,7 +108,7 @@ namespace vl
|
||||
IMPL_CPP_TYPE_INFO(demo::MainWindow)
|
||||
|
||||
BEGIN_CLASS_MEMBER(demo::IColorItem)
|
||||
CLASS_MEMBER_BASE(vl::reflection::IDescriptable)
|
||||
CLASS_MEMBER_BASE(::vl::reflection::IDescriptable)
|
||||
CLASS_MEMBER_METHOD(GetItemName, NO_PARAMETER);
|
||||
CLASS_MEMBER_METHOD(GetItemColor, NO_PARAMETER);
|
||||
CLASS_MEMBER_PROPERTY_READONLY(ItemName, GetItemName)
|
||||
@@ -116,13 +116,13 @@ namespace vl
|
||||
END_CLASS_MEMBER(demo::IColorItem)
|
||||
|
||||
BEGIN_CLASS_MEMBER(demo::IViewModel)
|
||||
CLASS_MEMBER_BASE(vl::reflection::IDescriptable)
|
||||
CLASS_MEMBER_BASE(::vl::reflection::IDescriptable)
|
||||
CLASS_MEMBER_METHOD(GetColorItems, NO_PARAMETER);
|
||||
CLASS_MEMBER_PROPERTY_READONLY(ColorItems, GetColorItems)
|
||||
END_CLASS_MEMBER(demo::IViewModel)
|
||||
|
||||
BEGIN_CLASS_MEMBER(demo::ColorBomboItemTemplate)
|
||||
CLASS_MEMBER_BASE(vl::presentation::templates::GuiControlTemplate)
|
||||
CLASS_MEMBER_BASE(::vl::presentation::templates::GuiControlTemplate)
|
||||
CLASS_MEMBER_CONSTRUCTOR(demo::ColorBomboItemTemplate*(Ptr<demo::IColorItem>), { L"ViewModel" })
|
||||
|
||||
CLASS_MEMBER_PROPERTY_READONLY_FAST(ViewModel)
|
||||
@@ -131,14 +131,14 @@ namespace vl
|
||||
END_CLASS_MEMBER(demo::ColorBomboItemTemplate)
|
||||
|
||||
BEGIN_CLASS_MEMBER(demo::ColorListItemTemplate)
|
||||
CLASS_MEMBER_BASE(vl::presentation::templates::GuiTextListItemTemplate)
|
||||
CLASS_MEMBER_BASE(::vl::presentation::templates::GuiTextListItemTemplate)
|
||||
CLASS_MEMBER_CONSTRUCTOR(demo::ColorListItemTemplate*(Ptr<demo::IColorItem>), { L"ViewModel" })
|
||||
|
||||
CLASS_MEMBER_PROPERTY_READONLY_FAST(ViewModel)
|
||||
END_CLASS_MEMBER(demo::ColorListItemTemplate)
|
||||
|
||||
BEGIN_CLASS_MEMBER(demo::MainWindow)
|
||||
CLASS_MEMBER_BASE(vl::presentation::controls::GuiWindow)
|
||||
CLASS_MEMBER_BASE(::vl::presentation::controls::GuiWindow)
|
||||
CLASS_MEMBER_CONSTRUCTOR(demo::MainWindow*(Ptr<demo::IViewModel>), { L"ViewModel" })
|
||||
|
||||
CLASS_MEMBER_PROPERTY_READONLY_FAST(ViewModel)
|
||||
|
||||
@@ -21,28 +21,28 @@ namespace demo
|
||||
class ColorListItemTemplate;
|
||||
class MainWindow;
|
||||
|
||||
class IColorItem : public virtual vl::reflection::IDescriptable, public vl::reflection::Description<IColorItem>
|
||||
class IColorItem : public virtual ::vl::reflection::IDescriptable, public vl::reflection::Description<IColorItem>
|
||||
{
|
||||
public:
|
||||
virtual vl::WString GetItemName() = 0;
|
||||
virtual vl::presentation::Color GetItemColor() = 0;
|
||||
virtual ::vl::WString GetItemName() = 0;
|
||||
virtual ::vl::presentation::Color GetItemColor() = 0;
|
||||
};
|
||||
|
||||
class IViewModel : public virtual vl::reflection::IDescriptable, public vl::reflection::Description<IViewModel>
|
||||
class IViewModel : public virtual ::vl::reflection::IDescriptable, public vl::reflection::Description<IViewModel>
|
||||
{
|
||||
public:
|
||||
virtual vl::collections::LazyList<vl::Ptr<demo::IColorItem>> GetColorItems() = 0;
|
||||
virtual vl::collections::LazyList<vl::Ptr<::demo::IColorItem>> GetColorItems() = 0;
|
||||
};
|
||||
|
||||
template<typename TImpl>
|
||||
class ColorBomboItemTemplate_ : public vl::presentation::templates::GuiControlTemplate, public vl::presentation::GuiInstancePartialClass<vl::presentation::templates::GuiControlTemplate>, public vl::reflection::Description<TImpl>
|
||||
class ColorBomboItemTemplate_ : public ::vl::presentation::templates::GuiControlTemplate, public vl::presentation::GuiInstancePartialClass<vl::presentation::templates::GuiControlTemplate>, public vl::reflection::Description<TImpl>
|
||||
{
|
||||
friend struct vl::reflection::description::CustomTypeDescriptorSelector<TImpl>;
|
||||
private:
|
||||
Ptr<demo::IColorItem> ViewModel_;
|
||||
vl::presentation::Color TextColor_;
|
||||
::vl::presentation::Color TextColor_;
|
||||
protected:
|
||||
vl::presentation::templates::GuiControlTemplate* self;
|
||||
::vl::presentation::templates::GuiControlTemplate* self;
|
||||
|
||||
void InitializeComponents(Ptr<demo::IColorItem> ViewModel)
|
||||
{
|
||||
@@ -58,10 +58,16 @@ namespace demo
|
||||
}
|
||||
public:
|
||||
ColorBomboItemTemplate_()
|
||||
:vl::presentation::GuiInstancePartialClass<vl::presentation::templates::GuiControlTemplate>(L"demo::ColorBomboItemTemplate")
|
||||
:vl::presentation::GuiInstancePartialClass<::vl::presentation::templates::GuiControlTemplate>(L"demo::ColorBomboItemTemplate")
|
||||
,self(0)
|
||||
{
|
||||
this->TextColor_ = vl::reflection::description::UnboxValue<vl::presentation::Color>(vl::reflection::description::Value::From(L"", reflection::description::GetTypeDescriptor<vl::presentation::Color>()));
|
||||
this->TextColor = vl::reflection::description::UnboxValue<::vl::presentation::Color>(
|
||||
[]()
|
||||
{
|
||||
vl::reflection::description::Value value;
|
||||
reflection::description::GetTypeDescriptor<::vl::presentation::Color>()->GetSerializableType()->Deserialize(L"", value);
|
||||
return value;
|
||||
}());
|
||||
}
|
||||
|
||||
Ptr<demo::IColorItem> GetViewModel()
|
||||
@@ -71,12 +77,12 @@ namespace demo
|
||||
|
||||
vl::Event<void()> TextColorChanged;
|
||||
|
||||
vl::presentation::Color GetTextColor()
|
||||
::vl::presentation::Color GetTextColor()
|
||||
{
|
||||
return TextColor_;
|
||||
}
|
||||
|
||||
void SetTextColor(vl::presentation::Color value)
|
||||
void SetTextColor(::vl::presentation::Color value)
|
||||
{
|
||||
TextColor_ = value;
|
||||
TextColorChanged();
|
||||
@@ -84,13 +90,13 @@ namespace demo
|
||||
};
|
||||
|
||||
template<typename TImpl>
|
||||
class ColorListItemTemplate_ : public vl::presentation::templates::GuiTextListItemTemplate, public vl::presentation::GuiInstancePartialClass<vl::presentation::templates::GuiTextListItemTemplate>, public vl::reflection::Description<TImpl>
|
||||
class ColorListItemTemplate_ : public ::vl::presentation::templates::GuiTextListItemTemplate, public vl::presentation::GuiInstancePartialClass<vl::presentation::templates::GuiTextListItemTemplate>, public vl::reflection::Description<TImpl>
|
||||
{
|
||||
friend struct vl::reflection::description::CustomTypeDescriptorSelector<TImpl>;
|
||||
private:
|
||||
Ptr<demo::IColorItem> ViewModel_;
|
||||
protected:
|
||||
vl::presentation::templates::GuiTextListItemTemplate* self;
|
||||
::vl::presentation::templates::GuiTextListItemTemplate* self;
|
||||
|
||||
void InitializeComponents(Ptr<demo::IColorItem> ViewModel)
|
||||
{
|
||||
@@ -106,7 +112,7 @@ namespace demo
|
||||
}
|
||||
public:
|
||||
ColorListItemTemplate_()
|
||||
:vl::presentation::GuiInstancePartialClass<vl::presentation::templates::GuiTextListItemTemplate>(L"demo::ColorListItemTemplate")
|
||||
:vl::presentation::GuiInstancePartialClass<::vl::presentation::templates::GuiTextListItemTemplate>(L"demo::ColorListItemTemplate")
|
||||
,self(0)
|
||||
{
|
||||
}
|
||||
@@ -118,7 +124,7 @@ namespace demo
|
||||
};
|
||||
|
||||
template<typename TImpl>
|
||||
class MainWindow_ : public vl::presentation::controls::GuiWindow, public vl::presentation::GuiInstancePartialClass<vl::presentation::controls::GuiWindow>, public vl::reflection::Description<TImpl>
|
||||
class MainWindow_ : public ::vl::presentation::controls::GuiWindow, public vl::presentation::GuiInstancePartialClass<vl::presentation::controls::GuiWindow>, public vl::reflection::Description<TImpl>
|
||||
{
|
||||
friend struct vl::reflection::description::CustomTypeDescriptorSelector<TImpl>;
|
||||
private:
|
||||
@@ -138,8 +144,8 @@ namespace demo
|
||||
}
|
||||
public:
|
||||
MainWindow_()
|
||||
:vl::presentation::GuiInstancePartialClass<vl::presentation::controls::GuiWindow>(L"demo::MainWindow")
|
||||
,vl::presentation::controls::GuiWindow(vl::presentation::theme::GetCurrentTheme()->CreateWindowStyle())
|
||||
:vl::presentation::GuiInstancePartialClass<::vl::presentation::controls::GuiWindow>(L"demo::MainWindow")
|
||||
,::vl::presentation::controls::GuiWindow(vl::presentation::theme::GetCurrentTheme()->CreateWindowStyle())
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@@ -48,7 +48,7 @@ namespace vl
|
||||
IMPL_CPP_TYPE_INFO(demo::MainWindow)
|
||||
|
||||
BEGIN_CLASS_MEMBER(demo::MainWindow)
|
||||
CLASS_MEMBER_BASE(vl::presentation::controls::GuiWindow)
|
||||
CLASS_MEMBER_BASE(::vl::presentation::controls::GuiWindow)
|
||||
CLASS_MEMBER_CONSTRUCTOR(demo::MainWindow*(), NO_PARAMETER)
|
||||
END_CLASS_MEMBER(demo::MainWindow)
|
||||
|
||||
|
||||
@@ -18,12 +18,12 @@ namespace demo
|
||||
class MainWindow;
|
||||
|
||||
template<typename TImpl>
|
||||
class MainWindow_ : public vl::presentation::controls::GuiWindow, public vl::presentation::GuiInstancePartialClass<vl::presentation::controls::GuiWindow>, public vl::reflection::Description<TImpl>
|
||||
class MainWindow_ : public ::vl::presentation::controls::GuiWindow, public vl::presentation::GuiInstancePartialClass<vl::presentation::controls::GuiWindow>, public vl::reflection::Description<TImpl>
|
||||
{
|
||||
friend struct vl::reflection::description::CustomTypeDescriptorSelector<TImpl>;
|
||||
private:
|
||||
protected:
|
||||
vl::presentation::controls::GuiSelectableButton::MutexGroupController* radioGroup;
|
||||
::vl::presentation::controls::GuiSelectableButton::MutexGroupController* radioGroup;
|
||||
|
||||
void InitializeComponents()
|
||||
{
|
||||
@@ -37,8 +37,8 @@ namespace demo
|
||||
}
|
||||
public:
|
||||
MainWindow_()
|
||||
:vl::presentation::GuiInstancePartialClass<vl::presentation::controls::GuiWindow>(L"demo::MainWindow")
|
||||
,vl::presentation::controls::GuiWindow(vl::presentation::theme::GetCurrentTheme()->CreateWindowStyle())
|
||||
:vl::presentation::GuiInstancePartialClass<::vl::presentation::controls::GuiWindow>(L"demo::MainWindow")
|
||||
,::vl::presentation::controls::GuiWindow(vl::presentation::theme::GetCurrentTheme()->CreateWindowStyle())
|
||||
,radioGroup(0)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -13,9 +13,8 @@ namespace demo
|
||||
{
|
||||
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
|
||||
|
||||
void AboutWindow::documentLabel_ActiveHyperlinkExecuted(GuiGraphicsComposition* sender, vl::presentation::compositions::GuiEventArgs& arguments)
|
||||
void AboutWindow::documentLabel_ActiveHyperlinkExecuted(GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs& arguments)
|
||||
{
|
||||
ShellExecute(NULL, L"OPEN", documentLabel->GetActiveHyperlinkReference().Buffer(), NULL, NULL, SW_MAXIMIZE);
|
||||
}
|
||||
|
||||
void AboutWindow::OnCreate()
|
||||
@@ -26,6 +25,11 @@ namespace demo
|
||||
{
|
||||
}
|
||||
|
||||
void AboutWindow::documentLabel_ActiveHyperlinkExecuted(GuiGraphicsComposition* sender, vl::presentation::compositions::GuiEventArgs& arguments)
|
||||
{
|
||||
ShellExecute(NULL, L"OPEN", documentLabel->GetActiveHyperlinkReference().Buffer(), NULL, NULL, SW_MAXIMIZE);
|
||||
}
|
||||
|
||||
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER
|
||||
|
||||
AboutWindow::AboutWindow()
|
||||
|
||||
@@ -20,7 +20,7 @@ namespace demo
|
||||
protected:
|
||||
|
||||
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
|
||||
void documentLabel_ActiveHyperlinkExecuted(GuiGraphicsComposition* sender, vl::presentation::compositions::GuiEventArgs& arguments);
|
||||
void documentLabel_ActiveHyperlinkExecuted(GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs& arguments);
|
||||
void OnCreate();
|
||||
void OnDestroy();
|
||||
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER
|
||||
|
||||
@@ -51,46 +51,46 @@ namespace vl
|
||||
IMPL_CPP_TYPE_INFO(demo::MainWindow)
|
||||
|
||||
BEGIN_CLASS_MEMBER(vm::IFindWindowViewModel)
|
||||
CLASS_MEMBER_BASE(vl::reflection::IDescriptable)
|
||||
CLASS_MEMBER_BASE(::vl::reflection::IDescriptable)
|
||||
CLASS_MEMBER_METHOD(FindNext, { L"toFind" _ L"caseSensitive" _ L"down" });
|
||||
END_CLASS_MEMBER(vm::IFindWindowViewModel)
|
||||
|
||||
BEGIN_CLASS_MEMBER(demo::AboutWindow)
|
||||
CLASS_MEMBER_BASE(vl::presentation::controls::GuiWindow)
|
||||
CLASS_MEMBER_BASE(::vl::presentation::controls::GuiWindow)
|
||||
CLASS_MEMBER_CONSTRUCTOR(demo::AboutWindow*(), NO_PARAMETER)
|
||||
|
||||
CLASS_MEMBER_GUIEVENT_HANDLER(documentLabel_ActiveHyperlinkExecuted, vl::presentation::compositions::GuiEventArgs)
|
||||
CLASS_MEMBER_GUIEVENT_HANDLER(documentLabel_ActiveHyperlinkExecuted, ::vl::presentation::compositions::GuiEventArgs)
|
||||
END_CLASS_MEMBER(demo::AboutWindow)
|
||||
|
||||
BEGIN_CLASS_MEMBER(demo::FindWindow)
|
||||
CLASS_MEMBER_BASE(vl::presentation::controls::GuiWindow)
|
||||
CLASS_MEMBER_BASE(::vl::presentation::controls::GuiWindow)
|
||||
CLASS_MEMBER_CONSTRUCTOR(demo::FindWindow*(Ptr<vm::IFindWindowViewModel>), { L"ViewModel" })
|
||||
|
||||
CLASS_MEMBER_PROPERTY_READONLY_FAST(ViewModel)
|
||||
END_CLASS_MEMBER(demo::FindWindow)
|
||||
|
||||
BEGIN_CLASS_MEMBER(demo::MainWindow)
|
||||
CLASS_MEMBER_BASE(vl::presentation::controls::GuiWindow)
|
||||
CLASS_MEMBER_BASE(::vl::presentation::controls::GuiWindow)
|
||||
CLASS_MEMBER_CONSTRUCTOR(demo::MainWindow*(), NO_PARAMETER)
|
||||
|
||||
CLASS_MEMBER_GUIEVENT_HANDLER(commandAbout_Executed, vl::presentation::compositions::GuiEventArgs)
|
||||
CLASS_MEMBER_GUIEVENT_HANDLER(commandEditCopy_Executed, vl::presentation::compositions::GuiEventArgs)
|
||||
CLASS_MEMBER_GUIEVENT_HANDLER(commandEditCut_Executed, vl::presentation::compositions::GuiEventArgs)
|
||||
CLASS_MEMBER_GUIEVENT_HANDLER(commandEditDelete_Executed, vl::presentation::compositions::GuiEventArgs)
|
||||
CLASS_MEMBER_GUIEVENT_HANDLER(commandEditFind_Executed, vl::presentation::compositions::GuiEventArgs)
|
||||
CLASS_MEMBER_GUIEVENT_HANDLER(commandEditPaste_Executed, vl::presentation::compositions::GuiEventArgs)
|
||||
CLASS_MEMBER_GUIEVENT_HANDLER(commandEditRedo_Executed, vl::presentation::compositions::GuiEventArgs)
|
||||
CLASS_MEMBER_GUIEVENT_HANDLER(commandEditSelect_Executed, vl::presentation::compositions::GuiEventArgs)
|
||||
CLASS_MEMBER_GUIEVENT_HANDLER(commandEditUndo_Executed, vl::presentation::compositions::GuiEventArgs)
|
||||
CLASS_MEMBER_GUIEVENT_HANDLER(commandFileExit_Executed, vl::presentation::compositions::GuiEventArgs)
|
||||
CLASS_MEMBER_GUIEVENT_HANDLER(commandFileNewText_Executed, vl::presentation::compositions::GuiEventArgs)
|
||||
CLASS_MEMBER_GUIEVENT_HANDLER(commandFileNewXml_Executed, vl::presentation::compositions::GuiEventArgs)
|
||||
CLASS_MEMBER_GUIEVENT_HANDLER(commandFileOpenText_Executed, vl::presentation::compositions::GuiEventArgs)
|
||||
CLASS_MEMBER_GUIEVENT_HANDLER(commandFileOpenXml_Executed, vl::presentation::compositions::GuiEventArgs)
|
||||
CLASS_MEMBER_GUIEVENT_HANDLER(commandFileOpen_Executed, vl::presentation::compositions::GuiEventArgs)
|
||||
CLASS_MEMBER_GUIEVENT_HANDLER(commandFileSaveAs_Executed, vl::presentation::compositions::GuiEventArgs)
|
||||
CLASS_MEMBER_GUIEVENT_HANDLER(commandFileSave_Executed, vl::presentation::compositions::GuiEventArgs)
|
||||
CLASS_MEMBER_GUIEVENT_HANDLER(window_Closing, vl::presentation::compositions::GuiRequestEventArgs)
|
||||
CLASS_MEMBER_GUIEVENT_HANDLER(commandAbout_Executed, ::vl::presentation::compositions::GuiEventArgs)
|
||||
CLASS_MEMBER_GUIEVENT_HANDLER(commandEditCopy_Executed, ::vl::presentation::compositions::GuiEventArgs)
|
||||
CLASS_MEMBER_GUIEVENT_HANDLER(commandEditCut_Executed, ::vl::presentation::compositions::GuiEventArgs)
|
||||
CLASS_MEMBER_GUIEVENT_HANDLER(commandEditDelete_Executed, ::vl::presentation::compositions::GuiEventArgs)
|
||||
CLASS_MEMBER_GUIEVENT_HANDLER(commandEditFind_Executed, ::vl::presentation::compositions::GuiEventArgs)
|
||||
CLASS_MEMBER_GUIEVENT_HANDLER(commandEditPaste_Executed, ::vl::presentation::compositions::GuiEventArgs)
|
||||
CLASS_MEMBER_GUIEVENT_HANDLER(commandEditRedo_Executed, ::vl::presentation::compositions::GuiEventArgs)
|
||||
CLASS_MEMBER_GUIEVENT_HANDLER(commandEditSelect_Executed, ::vl::presentation::compositions::GuiEventArgs)
|
||||
CLASS_MEMBER_GUIEVENT_HANDLER(commandEditUndo_Executed, ::vl::presentation::compositions::GuiEventArgs)
|
||||
CLASS_MEMBER_GUIEVENT_HANDLER(commandFileExit_Executed, ::vl::presentation::compositions::GuiEventArgs)
|
||||
CLASS_MEMBER_GUIEVENT_HANDLER(commandFileNewText_Executed, ::vl::presentation::compositions::GuiEventArgs)
|
||||
CLASS_MEMBER_GUIEVENT_HANDLER(commandFileNewXml_Executed, ::vl::presentation::compositions::GuiEventArgs)
|
||||
CLASS_MEMBER_GUIEVENT_HANDLER(commandFileOpenText_Executed, ::vl::presentation::compositions::GuiEventArgs)
|
||||
CLASS_MEMBER_GUIEVENT_HANDLER(commandFileOpenXml_Executed, ::vl::presentation::compositions::GuiEventArgs)
|
||||
CLASS_MEMBER_GUIEVENT_HANDLER(commandFileOpen_Executed, ::vl::presentation::compositions::GuiEventArgs)
|
||||
CLASS_MEMBER_GUIEVENT_HANDLER(commandFileSaveAs_Executed, ::vl::presentation::compositions::GuiEventArgs)
|
||||
CLASS_MEMBER_GUIEVENT_HANDLER(commandFileSave_Executed, ::vl::presentation::compositions::GuiEventArgs)
|
||||
CLASS_MEMBER_GUIEVENT_HANDLER(window_Closing, ::vl::presentation::compositions::GuiRequestEventArgs)
|
||||
END_CLASS_MEMBER(demo::MainWindow)
|
||||
|
||||
#undef _
|
||||
|
||||
@@ -26,23 +26,23 @@ namespace demo
|
||||
}
|
||||
namespace vm
|
||||
{
|
||||
class IFindWindowViewModel : public virtual vl::reflection::IDescriptable, public vl::reflection::Description<IFindWindowViewModel>
|
||||
class IFindWindowViewModel : public virtual ::vl::reflection::IDescriptable, public vl::reflection::Description<IFindWindowViewModel>
|
||||
{
|
||||
public:
|
||||
virtual bool FindNext(vl::WString toFind, bool caseSensitive, bool down) = 0;
|
||||
virtual bool FindNext(::vl::WString toFind, bool caseSensitive, bool down) = 0;
|
||||
};
|
||||
|
||||
}
|
||||
namespace demo
|
||||
{
|
||||
template<typename TImpl>
|
||||
class AboutWindow_ : public vl::presentation::controls::GuiWindow, public vl::presentation::GuiInstancePartialClass<vl::presentation::controls::GuiWindow>, public vl::reflection::Description<TImpl>
|
||||
class AboutWindow_ : public ::vl::presentation::controls::GuiWindow, public vl::presentation::GuiInstancePartialClass<vl::presentation::controls::GuiWindow>, public vl::reflection::Description<TImpl>
|
||||
{
|
||||
friend struct vl::reflection::description::CustomTypeDescriptorSelector<TImpl>;
|
||||
private:
|
||||
protected:
|
||||
vl::presentation::controls::GuiDocumentLabel* documentLabel;
|
||||
vl::presentation::controls::GuiWindow* self;
|
||||
::vl::presentation::controls::GuiDocumentLabel* documentLabel;
|
||||
::vl::presentation::controls::GuiWindow* self;
|
||||
|
||||
void InitializeComponents()
|
||||
{
|
||||
@@ -57,8 +57,8 @@ namespace demo
|
||||
}
|
||||
public:
|
||||
AboutWindow_()
|
||||
:vl::presentation::GuiInstancePartialClass<vl::presentation::controls::GuiWindow>(L"demo::AboutWindow")
|
||||
,vl::presentation::controls::GuiWindow(vl::presentation::theme::GetCurrentTheme()->CreateWindowStyle())
|
||||
:vl::presentation::GuiInstancePartialClass<::vl::presentation::controls::GuiWindow>(L"demo::AboutWindow")
|
||||
,::vl::presentation::controls::GuiWindow(vl::presentation::theme::GetCurrentTheme()->CreateWindowStyle())
|
||||
,documentLabel(0)
|
||||
,self(0)
|
||||
{
|
||||
@@ -66,19 +66,19 @@ namespace demo
|
||||
};
|
||||
|
||||
template<typename TImpl>
|
||||
class FindWindow_ : public vl::presentation::controls::GuiWindow, public vl::presentation::GuiInstancePartialClass<vl::presentation::controls::GuiWindow>, public vl::reflection::Description<TImpl>
|
||||
class FindWindow_ : public ::vl::presentation::controls::GuiWindow, public vl::presentation::GuiInstancePartialClass<vl::presentation::controls::GuiWindow>, public vl::reflection::Description<TImpl>
|
||||
{
|
||||
friend struct vl::reflection::description::CustomTypeDescriptorSelector<TImpl>;
|
||||
private:
|
||||
Ptr<vm::IFindWindowViewModel> ViewModel_;
|
||||
protected:
|
||||
vl::presentation::controls::GuiSelectableButton* checkCase;
|
||||
vl::presentation::controls::GuiMessageDialog* dialogContentNotFound;
|
||||
vl::presentation::controls::GuiSelectableButton::MutexGroupController* groupDirection;
|
||||
vl::presentation::controls::GuiSelectableButton* radioDown;
|
||||
vl::presentation::controls::GuiSelectableButton* radioUp;
|
||||
vl::presentation::controls::GuiWindow* self;
|
||||
vl::presentation::controls::GuiSinglelineTextBox* textFind;
|
||||
::vl::presentation::controls::GuiSelectableButton* checkCase;
|
||||
::vl::presentation::controls::GuiMessageDialog* dialogContentNotFound;
|
||||
::vl::presentation::controls::GuiSelectableButton::MutexGroupController* groupDirection;
|
||||
::vl::presentation::controls::GuiSelectableButton* radioDown;
|
||||
::vl::presentation::controls::GuiSelectableButton* radioUp;
|
||||
::vl::presentation::controls::GuiWindow* self;
|
||||
::vl::presentation::controls::GuiSinglelineTextBox* textFind;
|
||||
|
||||
void InitializeComponents(Ptr<vm::IFindWindowViewModel> ViewModel)
|
||||
{
|
||||
@@ -100,8 +100,8 @@ namespace demo
|
||||
}
|
||||
public:
|
||||
FindWindow_()
|
||||
:vl::presentation::GuiInstancePartialClass<vl::presentation::controls::GuiWindow>(L"demo::FindWindow")
|
||||
,vl::presentation::controls::GuiWindow(vl::presentation::theme::GetCurrentTheme()->CreateWindowStyle())
|
||||
:vl::presentation::GuiInstancePartialClass<::vl::presentation::controls::GuiWindow>(L"demo::FindWindow")
|
||||
,::vl::presentation::controls::GuiWindow(vl::presentation::theme::GetCurrentTheme()->CreateWindowStyle())
|
||||
,checkCase(0)
|
||||
,dialogContentNotFound(0)
|
||||
,groupDirection(0)
|
||||
@@ -119,35 +119,35 @@ namespace demo
|
||||
};
|
||||
|
||||
template<typename TImpl>
|
||||
class MainWindow_ : public vl::presentation::controls::GuiWindow, public vl::presentation::GuiInstancePartialClass<vl::presentation::controls::GuiWindow>, public vl::reflection::Description<TImpl>
|
||||
class MainWindow_ : public ::vl::presentation::controls::GuiWindow, public vl::presentation::GuiInstancePartialClass<vl::presentation::controls::GuiWindow>, public vl::reflection::Description<TImpl>
|
||||
{
|
||||
friend struct vl::reflection::description::CustomTypeDescriptorSelector<TImpl>;
|
||||
private:
|
||||
protected:
|
||||
vl::presentation::controls::GuiToolstripCommand* commandAbout;
|
||||
vl::presentation::controls::GuiToolstripCommand* commandEditCopy;
|
||||
vl::presentation::controls::GuiToolstripCommand* commandEditCut;
|
||||
vl::presentation::controls::GuiToolstripCommand* commandEditDelete;
|
||||
vl::presentation::controls::GuiToolstripCommand* commandEditFind;
|
||||
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* commandFileNewText;
|
||||
vl::presentation::controls::GuiToolstripCommand* commandFileNewXml;
|
||||
vl::presentation::controls::GuiToolstripCommand* commandFileOpen;
|
||||
vl::presentation::controls::GuiToolstripCommand* commandFileOpenText;
|
||||
vl::presentation::controls::GuiToolstripCommand* commandFileOpenXml;
|
||||
vl::presentation::controls::GuiToolstripCommand* commandFileSave;
|
||||
vl::presentation::controls::GuiToolstripCommand* commandFileSaveAs;
|
||||
vl::presentation::controls::GuiMessageDialog* dialogCannotOpen;
|
||||
vl::presentation::controls::GuiMessageDialog* dialogCannotSave;
|
||||
vl::presentation::controls::GuiOpenFileDialog* dialogOpen;
|
||||
vl::presentation::controls::GuiMessageDialog* dialogQueryClose;
|
||||
vl::presentation::controls::GuiSaveFileDialog* dialogSave;
|
||||
vl::presentation::controls::GuiWindow* self;
|
||||
vl::presentation::controls::GuiMultilineTextBox* textBox;
|
||||
::vl::presentation::controls::GuiToolstripCommand* commandAbout;
|
||||
::vl::presentation::controls::GuiToolstripCommand* commandEditCopy;
|
||||
::vl::presentation::controls::GuiToolstripCommand* commandEditCut;
|
||||
::vl::presentation::controls::GuiToolstripCommand* commandEditDelete;
|
||||
::vl::presentation::controls::GuiToolstripCommand* commandEditFind;
|
||||
::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* commandFileNewText;
|
||||
::vl::presentation::controls::GuiToolstripCommand* commandFileNewXml;
|
||||
::vl::presentation::controls::GuiToolstripCommand* commandFileOpen;
|
||||
::vl::presentation::controls::GuiToolstripCommand* commandFileOpenText;
|
||||
::vl::presentation::controls::GuiToolstripCommand* commandFileOpenXml;
|
||||
::vl::presentation::controls::GuiToolstripCommand* commandFileSave;
|
||||
::vl::presentation::controls::GuiToolstripCommand* commandFileSaveAs;
|
||||
::vl::presentation::controls::GuiMessageDialog* dialogCannotOpen;
|
||||
::vl::presentation::controls::GuiMessageDialog* dialogCannotSave;
|
||||
::vl::presentation::controls::GuiOpenFileDialog* dialogOpen;
|
||||
::vl::presentation::controls::GuiMessageDialog* dialogQueryClose;
|
||||
::vl::presentation::controls::GuiSaveFileDialog* dialogSave;
|
||||
::vl::presentation::controls::GuiWindow* self;
|
||||
::vl::presentation::controls::GuiMultilineTextBox* textBox;
|
||||
|
||||
void InitializeComponents()
|
||||
{
|
||||
@@ -184,8 +184,8 @@ namespace demo
|
||||
}
|
||||
public:
|
||||
MainWindow_()
|
||||
:vl::presentation::GuiInstancePartialClass<vl::presentation::controls::GuiWindow>(L"demo::MainWindow")
|
||||
,vl::presentation::controls::GuiWindow(vl::presentation::theme::GetCurrentTheme()->CreateWindowStyle())
|
||||
:vl::presentation::GuiInstancePartialClass<::vl::presentation::controls::GuiWindow>(L"demo::MainWindow")
|
||||
,::vl::presentation::controls::GuiWindow(vl::presentation::theme::GetCurrentTheme()->CreateWindowStyle())
|
||||
,commandAbout(0)
|
||||
,commandEditCopy(0)
|
||||
,commandEditCut(0)
|
||||
|
||||
@@ -86,6 +86,89 @@ namespace demo
|
||||
{
|
||||
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
|
||||
|
||||
void MainWindow::commandAbout_Executed(GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs& arguments)
|
||||
{
|
||||
}
|
||||
|
||||
void MainWindow::commandEditCopy_Executed(GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs& arguments)
|
||||
{
|
||||
}
|
||||
|
||||
void MainWindow::commandEditCut_Executed(GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs& arguments)
|
||||
{
|
||||
}
|
||||
|
||||
void MainWindow::commandEditDelete_Executed(GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs& arguments)
|
||||
{
|
||||
}
|
||||
|
||||
void MainWindow::commandEditFind_Executed(GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs& arguments)
|
||||
{
|
||||
}
|
||||
|
||||
void MainWindow::commandEditPaste_Executed(GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs& arguments)
|
||||
{
|
||||
}
|
||||
|
||||
void MainWindow::commandEditRedo_Executed(GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs& arguments)
|
||||
{
|
||||
}
|
||||
|
||||
void MainWindow::commandEditSelect_Executed(GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs& arguments)
|
||||
{
|
||||
}
|
||||
|
||||
void MainWindow::commandEditUndo_Executed(GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs& arguments)
|
||||
{
|
||||
}
|
||||
|
||||
void MainWindow::commandFileExit_Executed(GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs& arguments)
|
||||
{
|
||||
}
|
||||
|
||||
void MainWindow::commandFileNewText_Executed(GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs& arguments)
|
||||
{
|
||||
}
|
||||
|
||||
void MainWindow::commandFileNewXml_Executed(GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs& arguments)
|
||||
{
|
||||
}
|
||||
|
||||
void MainWindow::commandFileOpenText_Executed(GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs& arguments)
|
||||
{
|
||||
}
|
||||
|
||||
void MainWindow::commandFileOpenXml_Executed(GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs& arguments)
|
||||
{
|
||||
}
|
||||
|
||||
void MainWindow::commandFileOpen_Executed(GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs& arguments)
|
||||
{
|
||||
}
|
||||
|
||||
void MainWindow::commandFileSaveAs_Executed(GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs& arguments)
|
||||
{
|
||||
}
|
||||
|
||||
void MainWindow::commandFileSave_Executed(GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs& arguments)
|
||||
{
|
||||
}
|
||||
|
||||
void MainWindow::window_Closing(GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiRequestEventArgs& arguments)
|
||||
{
|
||||
}
|
||||
|
||||
void MainWindow::OnCreate()
|
||||
{
|
||||
findWindow = MakePtr<FindWindow>(MakePtr<FindWindowViewModel>(textBox));
|
||||
findWindow->MoveToScreenCenter();
|
||||
findWindow->GetNativeWindow()->SetParent(GetNativeWindow());
|
||||
}
|
||||
|
||||
void MainWindow::OnDestroy()
|
||||
{
|
||||
}
|
||||
|
||||
void MainWindow::commandAbout_Executed(GuiGraphicsComposition* sender, vl::presentation::compositions::GuiEventArgs& arguments)
|
||||
{
|
||||
auto window = new AboutWindow;
|
||||
@@ -188,17 +271,6 @@ namespace demo
|
||||
arguments.cancel = !CanCloseFile();
|
||||
}
|
||||
|
||||
void MainWindow::OnCreate()
|
||||
{
|
||||
findWindow = MakePtr<FindWindow>(MakePtr<FindWindowViewModel>(textBox));
|
||||
findWindow->MoveToScreenCenter();
|
||||
findWindow->GetNativeWindow()->SetParent(GetNativeWindow());
|
||||
}
|
||||
|
||||
void MainWindow::OnDestroy()
|
||||
{
|
||||
}
|
||||
|
||||
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER
|
||||
|
||||
bool MainWindow::CanCloseFile()
|
||||
|
||||
@@ -20,24 +20,24 @@ namespace demo
|
||||
protected:
|
||||
|
||||
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
|
||||
void commandAbout_Executed(GuiGraphicsComposition* sender, vl::presentation::compositions::GuiEventArgs& arguments);
|
||||
void commandEditCopy_Executed(GuiGraphicsComposition* sender, vl::presentation::compositions::GuiEventArgs& arguments);
|
||||
void commandEditCut_Executed(GuiGraphicsComposition* sender, vl::presentation::compositions::GuiEventArgs& arguments);
|
||||
void commandEditDelete_Executed(GuiGraphicsComposition* sender, vl::presentation::compositions::GuiEventArgs& arguments);
|
||||
void commandEditFind_Executed(GuiGraphicsComposition* sender, vl::presentation::compositions::GuiEventArgs& arguments);
|
||||
void commandEditPaste_Executed(GuiGraphicsComposition* sender, vl::presentation::compositions::GuiEventArgs& arguments);
|
||||
void commandEditRedo_Executed(GuiGraphicsComposition* sender, vl::presentation::compositions::GuiEventArgs& arguments);
|
||||
void commandEditSelect_Executed(GuiGraphicsComposition* sender, vl::presentation::compositions::GuiEventArgs& arguments);
|
||||
void commandEditUndo_Executed(GuiGraphicsComposition* sender, vl::presentation::compositions::GuiEventArgs& arguments);
|
||||
void commandFileExit_Executed(GuiGraphicsComposition* sender, vl::presentation::compositions::GuiEventArgs& arguments);
|
||||
void commandFileNewText_Executed(GuiGraphicsComposition* sender, vl::presentation::compositions::GuiEventArgs& arguments);
|
||||
void commandFileNewXml_Executed(GuiGraphicsComposition* sender, vl::presentation::compositions::GuiEventArgs& arguments);
|
||||
void commandFileOpenText_Executed(GuiGraphicsComposition* sender, vl::presentation::compositions::GuiEventArgs& arguments);
|
||||
void commandFileOpenXml_Executed(GuiGraphicsComposition* sender, vl::presentation::compositions::GuiEventArgs& arguments);
|
||||
void commandFileOpen_Executed(GuiGraphicsComposition* sender, vl::presentation::compositions::GuiEventArgs& arguments);
|
||||
void commandFileSaveAs_Executed(GuiGraphicsComposition* sender, vl::presentation::compositions::GuiEventArgs& arguments);
|
||||
void commandFileSave_Executed(GuiGraphicsComposition* sender, vl::presentation::compositions::GuiEventArgs& arguments);
|
||||
void window_Closing(GuiGraphicsComposition* sender, vl::presentation::compositions::GuiRequestEventArgs& arguments);
|
||||
void commandAbout_Executed(GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs& arguments);
|
||||
void commandEditCopy_Executed(GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs& arguments);
|
||||
void commandEditCut_Executed(GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs& arguments);
|
||||
void commandEditDelete_Executed(GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs& arguments);
|
||||
void commandEditFind_Executed(GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs& arguments);
|
||||
void commandEditPaste_Executed(GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs& arguments);
|
||||
void commandEditRedo_Executed(GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs& arguments);
|
||||
void commandEditSelect_Executed(GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs& arguments);
|
||||
void commandEditUndo_Executed(GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs& arguments);
|
||||
void commandFileExit_Executed(GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs& arguments);
|
||||
void commandFileNewText_Executed(GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs& arguments);
|
||||
void commandFileNewXml_Executed(GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs& arguments);
|
||||
void commandFileOpenText_Executed(GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs& arguments);
|
||||
void commandFileOpenXml_Executed(GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs& arguments);
|
||||
void commandFileOpen_Executed(GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs& arguments);
|
||||
void commandFileSaveAs_Executed(GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs& arguments);
|
||||
void commandFileSave_Executed(GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs& arguments);
|
||||
void window_Closing(GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiRequestEventArgs& arguments);
|
||||
void OnCreate();
|
||||
void OnDestroy();
|
||||
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,3 +1,4 @@
|
||||
#define GAC_HEADER_USE_NAMESPACE
|
||||
#include <GacUI.h>
|
||||
#include <Windows.h>
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#define GAC_HEADER_USE_NAMESPACE
|
||||
#include "UI/Source/HelloWorld.h"
|
||||
#include <Windows.h>
|
||||
|
||||
|
||||
@@ -48,7 +48,7 @@ namespace vl
|
||||
IMPL_CPP_TYPE_INFO(helloworld::MainWindow)
|
||||
|
||||
BEGIN_CLASS_MEMBER(helloworld::MainWindow)
|
||||
CLASS_MEMBER_BASE(vl::presentation::controls::GuiWindow)
|
||||
CLASS_MEMBER_BASE(::vl::presentation::controls::GuiWindow)
|
||||
CLASS_MEMBER_CONSTRUCTOR(helloworld::MainWindow*(), NO_PARAMETER)
|
||||
END_CLASS_MEMBER(helloworld::MainWindow)
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ namespace helloworld
|
||||
class MainWindow;
|
||||
|
||||
template<typename TImpl>
|
||||
class MainWindow_ : public vl::presentation::controls::GuiWindow, public vl::presentation::GuiInstancePartialClass<vl::presentation::controls::GuiWindow>, public vl::reflection::Description<TImpl>
|
||||
class MainWindow_ : public ::vl::presentation::controls::GuiWindow, public vl::presentation::GuiInstancePartialClass<vl::presentation::controls::GuiWindow>, public vl::reflection::Description<TImpl>
|
||||
{
|
||||
friend struct vl::reflection::description::CustomTypeDescriptorSelector<TImpl>;
|
||||
private:
|
||||
@@ -35,8 +35,8 @@ namespace helloworld
|
||||
}
|
||||
public:
|
||||
MainWindow_()
|
||||
:vl::presentation::GuiInstancePartialClass<vl::presentation::controls::GuiWindow>(L"helloworld::MainWindow")
|
||||
,vl::presentation::controls::GuiWindow(vl::presentation::theme::GetCurrentTheme()->CreateWindowStyle())
|
||||
:vl::presentation::GuiInstancePartialClass<::vl::presentation::controls::GuiWindow>(L"helloworld::MainWindow")
|
||||
,::vl::presentation::controls::GuiWindow(vl::presentation::theme::GetCurrentTheme()->CreateWindowStyle())
|
||||
{
|
||||
}
|
||||
};
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#define GAC_HEADER_USE_NAMESPACE
|
||||
#include "UI/Source/HelloWorld.h"
|
||||
|
||||
using namespace vl::collections;
|
||||
|
||||
@@ -21,7 +21,7 @@ namespace vl
|
||||
IMPL_CPP_TYPE_INFO(helloworld::MainWindow)
|
||||
|
||||
BEGIN_CLASS_MEMBER(vm::IViewModel)
|
||||
CLASS_MEMBER_BASE(vl::reflection::IDescriptable)
|
||||
CLASS_MEMBER_BASE(::vl::reflection::IDescriptable)
|
||||
CLASS_MEMBER_METHOD(GetUserName, NO_PARAMETER);
|
||||
CLASS_MEMBER_METHOD(SetUserName, { L"value" });
|
||||
CLASS_MEMBER_METHOD(GetPassword, NO_PARAMETER);
|
||||
@@ -38,10 +38,10 @@ namespace vl
|
||||
END_CLASS_MEMBER(vm::IViewModel)
|
||||
|
||||
BEGIN_CLASS_MEMBER(helloworld::MainWindow)
|
||||
CLASS_MEMBER_BASE(vl::presentation::controls::GuiWindow)
|
||||
CLASS_MEMBER_BASE(::vl::presentation::controls::GuiWindow)
|
||||
CLASS_MEMBER_CONSTRUCTOR(helloworld::MainWindow*(Ptr<vm::IViewModel>), { L"ViewModel" })
|
||||
|
||||
CLASS_MEMBER_GUIEVENT_HANDLER(buttonSignUp_Clicked, vl::presentation::compositions::GuiEventArgs)
|
||||
CLASS_MEMBER_GUIEVENT_HANDLER(buttonSignUp_Clicked, ::vl::presentation::compositions::GuiEventArgs)
|
||||
|
||||
CLASS_MEMBER_PROPERTY_READONLY_FAST(ViewModel)
|
||||
CLASS_MEMBER_EVENT(HasLoggedInChanged)
|
||||
|
||||
@@ -24,16 +24,16 @@ namespace helloworld
|
||||
}
|
||||
namespace vm
|
||||
{
|
||||
class IViewModel : public virtual vl::reflection::IDescriptable, public vl::reflection::Description<IViewModel>
|
||||
class IViewModel : public virtual ::vl::reflection::IDescriptable, public vl::reflection::Description<IViewModel>
|
||||
{
|
||||
public:
|
||||
virtual vl::WString GetUserName() = 0;
|
||||
virtual void SetUserName(vl::WString value) = 0;
|
||||
virtual vl::WString GetPassword() = 0;
|
||||
virtual void SetPassword(vl::WString value) = 0;
|
||||
virtual vl::WString GetUserNameError() = 0;
|
||||
virtual ::vl::WString GetUserName() = 0;
|
||||
virtual void SetUserName(::vl::WString value) = 0;
|
||||
virtual ::vl::WString GetPassword() = 0;
|
||||
virtual void SetPassword(::vl::WString value) = 0;
|
||||
virtual ::vl::WString GetUserNameError() = 0;
|
||||
vl::Event<void()> UserNameErrorChanged;
|
||||
virtual vl::WString GetPasswordError() = 0;
|
||||
virtual ::vl::WString GetPasswordError() = 0;
|
||||
vl::Event<void()> PasswordErrorChanged;
|
||||
virtual bool SignUp() = 0;
|
||||
};
|
||||
@@ -42,20 +42,20 @@ namespace vm
|
||||
namespace helloworld
|
||||
{
|
||||
template<typename TImpl>
|
||||
class MainWindow_ : public vl::presentation::controls::GuiWindow, public vl::presentation::GuiInstancePartialClass<vl::presentation::controls::GuiWindow>, public vl::reflection::Description<TImpl>
|
||||
class MainWindow_ : public ::vl::presentation::controls::GuiWindow, public vl::presentation::GuiInstancePartialClass<vl::presentation::controls::GuiWindow>, public vl::reflection::Description<TImpl>
|
||||
{
|
||||
friend struct vl::reflection::description::CustomTypeDescriptorSelector<TImpl>;
|
||||
private:
|
||||
Ptr<vm::IViewModel> ViewModel_;
|
||||
vl::Ptr<vm::IViewModel> ViewModel_;
|
||||
bool HasLoggedIn_;
|
||||
protected:
|
||||
vl::presentation::controls::GuiButton* buttonCancel;
|
||||
vl::presentation::controls::GuiButton* buttonSignUp;
|
||||
vl::presentation::controls::GuiWindow* self;
|
||||
vl::presentation::controls::GuiSinglelineTextBox* textBoxPassword;
|
||||
vl::presentation::controls::GuiSinglelineTextBox* textBoxUserName;
|
||||
::vl::presentation::controls::GuiButton* buttonCancel;
|
||||
::vl::presentation::controls::GuiButton* buttonSignUp;
|
||||
::vl::presentation::controls::GuiWindow* self;
|
||||
::vl::presentation::controls::GuiSinglelineTextBox* textBoxPassword;
|
||||
::vl::presentation::controls::GuiSinglelineTextBox* textBoxUserName;
|
||||
|
||||
void InitializeComponents(Ptr<vm::IViewModel> ViewModel)
|
||||
void InitializeComponents(vl::Ptr<vm::IViewModel> ViewModel)
|
||||
{
|
||||
ViewModel_ = ViewModel;
|
||||
if (InitializeFromResource())
|
||||
@@ -73,18 +73,24 @@ namespace helloworld
|
||||
}
|
||||
public:
|
||||
MainWindow_()
|
||||
:vl::presentation::GuiInstancePartialClass<vl::presentation::controls::GuiWindow>(L"helloworld::MainWindow")
|
||||
,vl::presentation::controls::GuiWindow(vl::presentation::theme::GetCurrentTheme()->CreateWindowStyle())
|
||||
:vl::presentation::GuiInstancePartialClass<::vl::presentation::controls::GuiWindow>(L"helloworld::MainWindow")
|
||||
,::vl::presentation::controls::GuiWindow(vl::presentation::theme::GetCurrentTheme()->CreateWindowStyle())
|
||||
,buttonCancel(0)
|
||||
,buttonSignUp(0)
|
||||
,self(0)
|
||||
,textBoxPassword(0)
|
||||
,textBoxUserName(0)
|
||||
{
|
||||
this->HasLoggedIn_ = vl::reflection::description::UnboxValue<bool>(vl::reflection::description::Value::From(L"false", reflection::description::GetTypeDescriptor<bool>()));
|
||||
this->HasLoggedIn_ = vl::reflection::description::UnboxValue<bool>(
|
||||
[]()
|
||||
{
|
||||
vl::reflection::description::Value value;
|
||||
vl::reflection::description::GetTypeDescriptor<bool>()->GetSerializableType()->Deserialize(L"false", value);
|
||||
return value;
|
||||
}());
|
||||
}
|
||||
|
||||
Ptr<vm::IViewModel> GetViewModel()
|
||||
vl::Ptr<vm::IViewModel> GetViewModel()
|
||||
{
|
||||
return ViewModel_;
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@ namespace helloworld
|
||||
{
|
||||
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
|
||||
|
||||
void MainWindow::buttonSignUp_Clicked(GuiGraphicsComposition* sender, vl::presentation::compositions::GuiEventArgs& arguments)
|
||||
void MainWindow::buttonSignUp_Clicked(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs& arguments)
|
||||
{
|
||||
if (this->GetViewModel()->SignUp())
|
||||
{
|
||||
@@ -31,7 +31,7 @@ namespace helloworld
|
||||
|
||||
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER
|
||||
|
||||
MainWindow::MainWindow(Ptr<vm::IViewModel> ViewModel)
|
||||
MainWindow::MainWindow(vl::Ptr<vm::IViewModel> ViewModel)
|
||||
{
|
||||
InitializeComponents(ViewModel);
|
||||
OnCreate();
|
||||
|
||||
@@ -20,12 +20,12 @@ namespace helloworld
|
||||
protected:
|
||||
|
||||
// #region CLASS_MEMBER_GUIEVENT_HANDLER (DO NOT PUT OTHER CONTENT IN THIS #region.)
|
||||
void buttonSignUp_Clicked(GuiGraphicsComposition* sender, vl::presentation::compositions::GuiEventArgs& arguments);
|
||||
void buttonSignUp_Clicked(::vl::presentation::compositions::GuiGraphicsComposition* sender, ::vl::presentation::compositions::GuiEventArgs& arguments);
|
||||
void OnCreate();
|
||||
void OnDestroy();
|
||||
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER
|
||||
public:
|
||||
MainWindow(Ptr<vm::IViewModel> ViewModel);
|
||||
MainWindow(vl::Ptr<vm::IViewModel> ViewModel);
|
||||
~MainWindow();
|
||||
};
|
||||
}
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,3 +1,4 @@
|
||||
#define GAC_HEADER_USE_NAMESPACE
|
||||
#include <GacUICompiler.h>
|
||||
#include <Windows.h>
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#define GAC_HEADER_USE_NAMESPACE
|
||||
#include <GacUIReflection.h>
|
||||
#include <Windows.h>
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#define GAC_HEADER_USE_NAMESPACE
|
||||
#include "UI/Source/Demo.h"
|
||||
#include <Windows.h>
|
||||
|
||||
|
||||
@@ -48,7 +48,7 @@ namespace vl
|
||||
IMPL_CPP_TYPE_INFO(demo::MainWindow)
|
||||
|
||||
BEGIN_CLASS_MEMBER(demo::MainWindow)
|
||||
CLASS_MEMBER_BASE(vl::presentation::controls::GuiWindow)
|
||||
CLASS_MEMBER_BASE(::vl::presentation::controls::GuiWindow)
|
||||
CLASS_MEMBER_CONSTRUCTOR(demo::MainWindow*(), NO_PARAMETER)
|
||||
END_CLASS_MEMBER(demo::MainWindow)
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ namespace demo
|
||||
class MainWindow;
|
||||
|
||||
template<typename TImpl>
|
||||
class MainWindow_ : public vl::presentation::controls::GuiWindow, public vl::presentation::GuiInstancePartialClass<vl::presentation::controls::GuiWindow>, public vl::reflection::Description<TImpl>
|
||||
class MainWindow_ : public ::vl::presentation::controls::GuiWindow, public vl::presentation::GuiInstancePartialClass<vl::presentation::controls::GuiWindow>, public vl::reflection::Description<TImpl>
|
||||
{
|
||||
friend struct vl::reflection::description::CustomTypeDescriptorSelector<TImpl>;
|
||||
private:
|
||||
@@ -35,8 +35,8 @@ namespace demo
|
||||
}
|
||||
public:
|
||||
MainWindow_()
|
||||
:vl::presentation::GuiInstancePartialClass<vl::presentation::controls::GuiWindow>(L"demo::MainWindow")
|
||||
,vl::presentation::controls::GuiWindow(vl::presentation::theme::GetCurrentTheme()->CreateWindowStyle())
|
||||
:vl::presentation::GuiInstancePartialClass<::vl::presentation::controls::GuiWindow>(L"demo::MainWindow")
|
||||
,::vl::presentation::controls::GuiWindow(vl::presentation::theme::GetCurrentTheme()->CreateWindowStyle())
|
||||
{
|
||||
}
|
||||
};
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#define GAC_HEADER_USE_NAMESPACE
|
||||
#include "UI/Source/Demo.h"
|
||||
#include <Windows.h>
|
||||
|
||||
|
||||
@@ -48,7 +48,7 @@ namespace vl
|
||||
IMPL_CPP_TYPE_INFO(demo::MainWindow)
|
||||
|
||||
BEGIN_CLASS_MEMBER(demo::MainWindow)
|
||||
CLASS_MEMBER_BASE(vl::presentation::controls::GuiWindow)
|
||||
CLASS_MEMBER_BASE(::vl::presentation::controls::GuiWindow)
|
||||
CLASS_MEMBER_CONSTRUCTOR(demo::MainWindow*(), NO_PARAMETER)
|
||||
END_CLASS_MEMBER(demo::MainWindow)
|
||||
|
||||
|
||||
@@ -18,16 +18,16 @@ namespace demo
|
||||
class MainWindow;
|
||||
|
||||
template<typename TImpl>
|
||||
class MainWindow_ : public vl::presentation::controls::GuiWindow, public vl::presentation::GuiInstancePartialClass<vl::presentation::controls::GuiWindow>, public vl::reflection::Description<TImpl>
|
||||
class MainWindow_ : public ::vl::presentation::controls::GuiWindow, public vl::presentation::GuiInstancePartialClass<vl::presentation::controls::GuiWindow>, public vl::reflection::Description<TImpl>
|
||||
{
|
||||
friend struct vl::reflection::description::CustomTypeDescriptorSelector<TImpl>;
|
||||
private:
|
||||
protected:
|
||||
vl::presentation::compositions::GuiFlowComposition* flowLayout;
|
||||
vl::presentation::controls::GuiSelectableButton::MutexGroupController* groupAlignment;
|
||||
vl::presentation::controls::GuiSelectableButton::MutexGroupController* groupAxis;
|
||||
vl::presentation::controls::GuiControl* groupBoxAlignment;
|
||||
vl::presentation::controls::GuiControl* groupBoxAxis;
|
||||
::vl::presentation::compositions::GuiFlowComposition* flowLayout;
|
||||
::vl::presentation::controls::GuiSelectableButton::MutexGroupController* groupAlignment;
|
||||
::vl::presentation::controls::GuiSelectableButton::MutexGroupController* groupAxis;
|
||||
::vl::presentation::controls::GuiControl* groupBoxAlignment;
|
||||
::vl::presentation::controls::GuiControl* groupBoxAxis;
|
||||
|
||||
void InitializeComponents()
|
||||
{
|
||||
@@ -45,8 +45,8 @@ namespace demo
|
||||
}
|
||||
public:
|
||||
MainWindow_()
|
||||
:vl::presentation::GuiInstancePartialClass<vl::presentation::controls::GuiWindow>(L"demo::MainWindow")
|
||||
,vl::presentation::controls::GuiWindow(vl::presentation::theme::GetCurrentTheme()->CreateWindowStyle())
|
||||
:vl::presentation::GuiInstancePartialClass<::vl::presentation::controls::GuiWindow>(L"demo::MainWindow")
|
||||
,::vl::presentation::controls::GuiWindow(vl::presentation::theme::GetCurrentTheme()->CreateWindowStyle())
|
||||
,flowLayout(0)
|
||||
,groupAlignment(0)
|
||||
,groupAxis(0)
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#define GAC_HEADER_USE_NAMESPACE
|
||||
#include "UI/Source/Demo.h"
|
||||
#include <Windows.h>
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ namespace demo
|
||||
|
||||
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER
|
||||
|
||||
MainWindow::MainWindow(Ptr<demo::IViewModel> ViewModel)
|
||||
MainWindow::MainWindow(vl::Ptr<demo::IViewModel> ViewModel)
|
||||
{
|
||||
InitializeComponents(ViewModel);
|
||||
OnCreate();
|
||||
@@ -49,13 +49,13 @@ namespace vl
|
||||
IMPL_CPP_TYPE_INFO(demo::MainWindow)
|
||||
|
||||
BEGIN_CLASS_MEMBER(demo::IViewModel)
|
||||
CLASS_MEMBER_BASE(vl::reflection::IDescriptable)
|
||||
CLASS_MEMBER_BASE(::vl::reflection::IDescriptable)
|
||||
CLASS_MEMBER_METHOD(OpenUrl, { L"url" });
|
||||
END_CLASS_MEMBER(demo::IViewModel)
|
||||
|
||||
BEGIN_CLASS_MEMBER(demo::MainWindow)
|
||||
CLASS_MEMBER_BASE(vl::presentation::controls::GuiWindow)
|
||||
CLASS_MEMBER_CONSTRUCTOR(demo::MainWindow*(Ptr<demo::IViewModel>), { L"ViewModel" })
|
||||
CLASS_MEMBER_BASE(::vl::presentation::controls::GuiWindow)
|
||||
CLASS_MEMBER_CONSTRUCTOR(demo::MainWindow*(vl::Ptr<demo::IViewModel>), { L"ViewModel" })
|
||||
|
||||
CLASS_MEMBER_PROPERTY_READONLY_FAST(ViewModel)
|
||||
END_CLASS_MEMBER(demo::MainWindow)
|
||||
|
||||
@@ -18,22 +18,22 @@ namespace demo
|
||||
class IViewModel;
|
||||
class MainWindow;
|
||||
|
||||
class IViewModel : public virtual vl::reflection::IDescriptable, public vl::reflection::Description<IViewModel>
|
||||
class IViewModel : public virtual ::vl::reflection::IDescriptable, public vl::reflection::Description<IViewModel>
|
||||
{
|
||||
public:
|
||||
virtual void OpenUrl(vl::WString url) = 0;
|
||||
virtual void OpenUrl(::vl::WString url) = 0;
|
||||
};
|
||||
|
||||
template<typename TImpl>
|
||||
class MainWindow_ : public vl::presentation::controls::GuiWindow, public vl::presentation::GuiInstancePartialClass<vl::presentation::controls::GuiWindow>, public vl::reflection::Description<TImpl>
|
||||
class MainWindow_ : public ::vl::presentation::controls::GuiWindow, public vl::presentation::GuiInstancePartialClass<vl::presentation::controls::GuiWindow>, public vl::reflection::Description<TImpl>
|
||||
{
|
||||
friend struct vl::reflection::description::CustomTypeDescriptorSelector<TImpl>;
|
||||
private:
|
||||
Ptr<demo::IViewModel> ViewModel_;
|
||||
vl::Ptr<demo::IViewModel> ViewModel_;
|
||||
protected:
|
||||
vl::presentation::controls::GuiDocumentViewer* documentViewer;
|
||||
::vl::presentation::controls::GuiDocumentViewer* documentViewer;
|
||||
|
||||
void InitializeComponents(Ptr<demo::IViewModel> ViewModel)
|
||||
void InitializeComponents(vl::Ptr<demo::IViewModel> ViewModel)
|
||||
{
|
||||
ViewModel_ = ViewModel;
|
||||
if (InitializeFromResource())
|
||||
@@ -47,13 +47,13 @@ namespace demo
|
||||
}
|
||||
public:
|
||||
MainWindow_()
|
||||
:vl::presentation::GuiInstancePartialClass<vl::presentation::controls::GuiWindow>(L"demo::MainWindow")
|
||||
,vl::presentation::controls::GuiWindow(vl::presentation::theme::GetCurrentTheme()->CreateWindowStyle())
|
||||
:vl::presentation::GuiInstancePartialClass<::vl::presentation::controls::GuiWindow>(L"demo::MainWindow")
|
||||
,::vl::presentation::controls::GuiWindow(vl::presentation::theme::GetCurrentTheme()->CreateWindowStyle())
|
||||
,documentViewer(0)
|
||||
{
|
||||
}
|
||||
|
||||
Ptr<demo::IViewModel> GetViewModel()
|
||||
vl::Ptr<demo::IViewModel> GetViewModel()
|
||||
{
|
||||
return ViewModel_;
|
||||
}
|
||||
@@ -85,7 +85,7 @@ namespace demo
|
||||
void OnDestroy();
|
||||
// #endregion CLASS_MEMBER_GUIEVENT_HANDLER
|
||||
public:
|
||||
MainWindow(Ptr<demo::IViewModel> ViewModel);
|
||||
MainWindow(vl::Ptr<demo::IViewModel> ViewModel);
|
||||
~MainWindow();
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#define GAC_HEADER_USE_NAMESPACE
|
||||
#include "UI/Source/Demo.h"
|
||||
#include <Windows.h>
|
||||
|
||||
|
||||
@@ -48,7 +48,7 @@ namespace vl
|
||||
IMPL_CPP_TYPE_INFO(demo::MainWindow)
|
||||
|
||||
BEGIN_CLASS_MEMBER(demo::MainWindow)
|
||||
CLASS_MEMBER_BASE(vl::presentation::controls::GuiWindow)
|
||||
CLASS_MEMBER_BASE(::vl::presentation::controls::GuiWindow)
|
||||
CLASS_MEMBER_CONSTRUCTOR(demo::MainWindow*(), NO_PARAMETER)
|
||||
END_CLASS_MEMBER(demo::MainWindow)
|
||||
|
||||
|
||||
@@ -18,13 +18,13 @@ namespace demo
|
||||
class MainWindow;
|
||||
|
||||
template<typename TImpl>
|
||||
class MainWindow_ : public vl::presentation::controls::GuiWindow, public vl::presentation::GuiInstancePartialClass<vl::presentation::controls::GuiWindow>, public vl::reflection::Description<TImpl>
|
||||
class MainWindow_ : public ::vl::presentation::controls::GuiWindow, public vl::presentation::GuiInstancePartialClass<vl::presentation::controls::GuiWindow>, public vl::reflection::Description<TImpl>
|
||||
{
|
||||
friend struct vl::reflection::description::CustomTypeDescriptorSelector<TImpl>;
|
||||
private:
|
||||
protected:
|
||||
vl::presentation::controls::GuiSelectableButton::MutexGroupController* groupStackDirection;
|
||||
vl::presentation::compositions::GuiStackComposition* stackLayout;
|
||||
::vl::presentation::controls::GuiSelectableButton::MutexGroupController* groupStackDirection;
|
||||
::vl::presentation::compositions::GuiStackComposition* stackLayout;
|
||||
|
||||
void InitializeComponents()
|
||||
{
|
||||
@@ -39,8 +39,8 @@ namespace demo
|
||||
}
|
||||
public:
|
||||
MainWindow_()
|
||||
:vl::presentation::GuiInstancePartialClass<vl::presentation::controls::GuiWindow>(L"demo::MainWindow")
|
||||
,vl::presentation::controls::GuiWindow(vl::presentation::theme::GetCurrentTheme()->CreateWindowStyle())
|
||||
:vl::presentation::GuiInstancePartialClass<::vl::presentation::controls::GuiWindow>(L"demo::MainWindow")
|
||||
,::vl::presentation::controls::GuiWindow(vl::presentation::theme::GetCurrentTheme()->CreateWindowStyle())
|
||||
,groupStackDirection(0)
|
||||
,stackLayout(0)
|
||||
{
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#define GAC_HEADER_USE_NAMESPACE
|
||||
#include "UI/Source/Demo.h"
|
||||
#include <Windows.h>
|
||||
|
||||
|
||||
@@ -48,7 +48,7 @@ namespace vl
|
||||
IMPL_CPP_TYPE_INFO(demo::MainWindow)
|
||||
|
||||
BEGIN_CLASS_MEMBER(demo::MainWindow)
|
||||
CLASS_MEMBER_BASE(vl::presentation::controls::GuiWindow)
|
||||
CLASS_MEMBER_BASE(::vl::presentation::controls::GuiWindow)
|
||||
CLASS_MEMBER_CONSTRUCTOR(demo::MainWindow*(), NO_PARAMETER)
|
||||
END_CLASS_MEMBER(demo::MainWindow)
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user