This commit is contained in:
Zihan Chen
2017-10-09 07:09:40 -07:00
parent 92413f04fd
commit 03e258f681
64 changed files with 10578 additions and 29153 deletions
@@ -1,6 +0,0 @@
pushd %~dp0
rmdir /S /Q FullControlTest
robocopy ..\..\..\..\..\GacUI\Test\GacUISrc\Host\Resources\FullControlTest FullControlTest /E
mkdir FullControlTest\Source
call ..\..\..\..\Tools\GacGen FullControlTest\Resource.xml
popd
@@ -85,22 +85,28 @@
<att.BoundsComposition-set AlignmentToParent="left:0 top:0 right:0 bottom:0"/>
<att.Pages>
<TabPage Text="RepeatStack" Alt="S">
<RepeatStack ref.Name="repeatStack" AlignmentToParent="left:0 top:0 right:0 bottom:0">
<att.Direction>Vertical</att.Direction>
<att.Padding>5</att.Padding>
<att.ExtraMargin>left:5 top:5 right:5 bottom:5</att.ExtraMargin>
<att.ItemTemplate>demo::RepeatItemTemplate</att.ItemTemplate>
<att.ItemSource-eval>self.itemsToBind</att.ItemSource-eval>
</RepeatStack>
<ScrollContainer ExtendToFullWidth="true" HorizontalAlwaysVisible="false">
<att.BoundsComposition-set AlignmentToParent="left:0 top:0 right:0 bottom:0"/>
<RepeatStack ref.Name="repeatStack" AlignmentToParent="left:0 top:0 right:0 bottom:0" MinSizeLimitation="LimitToElementAndChildren">
<att.Direction>Vertical</att.Direction>
<att.Padding>5</att.Padding>
<att.ExtraMargin>left:5 top:5 right:5 bottom:5</att.ExtraMargin>
<att.ItemTemplate>demo::RepeatItemTemplate</att.ItemTemplate>
<att.ItemSource-eval>self.itemsToBind</att.ItemSource-eval>
</RepeatStack>
</ScrollContainer>
</TabPage>
<TabPage Text="RepeatFlow" Alt="F">
<RepeatFlow ref.Name="repeatFlow" AlignmentToParent="left:0 top:0 right:0 bottom:0">
<att.RowPadding>5</att.RowPadding>
<att.ColumnPadding>5</att.ColumnPadding>
<att.ExtraMargin>left:5 top:5 right:5 bottom:5</att.ExtraMargin>
<att.ItemTemplate>demo::RepeatItemTemplate</att.ItemTemplate>
<att.ItemSource-eval>self.itemsToBind</att.ItemSource-eval>
</RepeatFlow>
<ScrollContainer ExtendToFullWidth="true" HorizontalAlwaysVisible="false">
<att.BoundsComposition-set AlignmentToParent="left:0 top:0 right:0 bottom:0"/>
<RepeatFlow ref.Name="repeatFlow" AlignmentToParent="left:0 top:0 right:0 bottom:0" MinSizeLimitation="LimitToElementAndChildren">
<att.RowPadding>5</att.RowPadding>
<att.ColumnPadding>5</att.ColumnPadding>
<att.ExtraMargin>left:5 top:5 right:5 bottom:5</att.ExtraMargin>
<att.ItemTemplate>demo::RepeatItemTemplate</att.ItemTemplate>
<att.ItemSource-eval>self.itemsToBind</att.ItemSource-eval>
</RepeatFlow>
</ScrollContainer>
</TabPage>
</att.Pages>
</Tab>
@@ -1,16 +0,0 @@
/***********************************************************************
!!!!!! DO NOT MODIFY !!!!!!
GacGen.exe Resource.xml
This file is generated by Workflow compiler
https://github.com/vczh-libraries
***********************************************************************/
#ifndef VCZH_WORKFLOW_COMPILER_GENERATED_DEMO
#define VCZH_WORKFLOW_COMPILER_GENERATED_DEMO
#include "DemoPartialClasses.h"
#include "MainWindow.h"
#endif
@@ -1,98 +0,0 @@
/***********************************************************************
!!!!!! DO NOT MODIFY !!!!!!
GacGen.exe Resource.xml
This file is generated by Workflow compiler
https://github.com/vczh-libraries
***********************************************************************/
#ifndef VCZH_WORKFLOW_COMPILER_GENERATED_DEMOREFLECTION
#define VCZH_WORKFLOW_COMPILER_GENERATED_DEMOREFLECTION
#include "Demo.h"
#if defined( _MSC_VER)
#pragma warning(push)
#pragma warning(disable:4250)
#elif defined(__GNUC__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wparentheses-equality"
#elif defined(__clang__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wparentheses-equality"
#endif
/***********************************************************************
Reflection
***********************************************************************/
namespace vl
{
namespace reflection
{
namespace description
{
#ifndef VCZH_DEBUG_NO_REFLECTION
DECL_TYPE_INFO(::demo::CategoryDisplayer)
DECL_TYPE_INFO(::demo::CategoryDisplayerConstructor)
DECL_TYPE_INFO(::demo::CategoryEditor)
DECL_TYPE_INFO(::demo::CategoryEditorConstructor)
DECL_TYPE_INFO(::demo::CategoryItemTemplate)
DECL_TYPE_INFO(::demo::CategoryItemTemplateConstructor)
DECL_TYPE_INFO(::demo::CategoryVisualizer)
DECL_TYPE_INFO(::demo::CategoryVisualizerConstructor)
DECL_TYPE_INFO(::demo::DataGridTabPage)
DECL_TYPE_INFO(::demo::DataGridTabPageConstructor)
DECL_TYPE_INFO(::demo::DateEditor)
DECL_TYPE_INFO(::demo::DateEditorConstructor)
DECL_TYPE_INFO(::demo::DateFilter)
DECL_TYPE_INFO(::demo::DateFilterConstructor)
DECL_TYPE_INFO(::demo::DocumentTabPage)
DECL_TYPE_INFO(::demo::DocumentTabPageConstructor)
DECL_TYPE_INFO(::demo::GenderDisplayer)
DECL_TYPE_INFO(::demo::GenderDisplayerConstructor)
DECL_TYPE_INFO(::demo::GenderEditor)
DECL_TYPE_INFO(::demo::GenderEditorConstructor)
DECL_TYPE_INFO(::demo::GenderItemTemplate)
DECL_TYPE_INFO(::demo::GenderItemTemplateConstructor)
DECL_TYPE_INFO(::demo::GenderVisualizer)
DECL_TYPE_INFO(::demo::GenderVisualizerConstructor)
DECL_TYPE_INFO(::demo::HyperlinkWindow)
DECL_TYPE_INFO(::demo::HyperlinkWindowConstructor)
DECL_TYPE_INFO(::demo::ListViewTabPage)
DECL_TYPE_INFO(::demo::ListViewTabPageConstructor)
DECL_TYPE_INFO(::demo::MainWindow)
DECL_TYPE_INFO(::demo::MainWindowConstructor)
DECL_TYPE_INFO(::demo::MyCategory)
DECL_TYPE_INFO(::demo::MyDataItem)
DECL_TYPE_INFO(::demo::MyGender)
DECL_TYPE_INFO(::demo::MyTextItem)
DECL_TYPE_INFO(::demo::RepeatItemTemplate)
DECL_TYPE_INFO(::demo::RepeatItemTemplateConstructor)
DECL_TYPE_INFO(::demo::RepeatTabPage)
DECL_TYPE_INFO(::demo::RepeatTabPageConstructor)
DECL_TYPE_INFO(::demo::TextBoxTabPage)
DECL_TYPE_INFO(::demo::TextBoxTabPageConstructor)
DECL_TYPE_INFO(::demo::TextEditor)
DECL_TYPE_INFO(::demo::TextEditorConstructor)
DECL_TYPE_INFO(::demo::TextListTabPage)
DECL_TYPE_INFO(::demo::TextListTabPageConstructor)
DECL_TYPE_INFO(::demo::TreeViewTabPage)
DECL_TYPE_INFO(::demo::TreeViewTabPageConstructor)
#endif
extern bool LoadDemoTypes();
}
}
}
#if defined( _MSC_VER)
#pragma warning(pop)
#elif defined(__GNUC__)
#pragma GCC diagnostic pop
#elif defined(__clang__)
#pragma clang diagnostic pop
#endif
#endif
@@ -1,66 +0,0 @@
/***********************************************************************
!!!!!! DO NOT MODIFY !!!!!!
GacGen.exe Resource.xml
This file is generated by Workflow compiler
https://github.com/vczh-libraries
***********************************************************************/
#include "Demo.h"
/* CodePack:BeginIgnore() */
#ifndef VCZH_DEBUG_NO_REFLECTION
/* CodePack:ConditionOff(VCZH_DEBUG_NO_REFLECTION, DemoReflection.h) */
#include "DemoReflection.h"
#endif
/* CodePack:EndIgnore() */
#if defined( _MSC_VER)
#pragma warning(push)
#pragma warning(disable:4250)
#elif defined(__GNUC__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wparentheses-equality"
#elif defined(__clang__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wparentheses-equality"
#endif
#define GLOBAL_SYMBOL ::vl_workflow_global::Demo::
#define GLOBAL_NAME ::vl_workflow_global::Demo::Instance().
#define GLOBAL_OBJ &::vl_workflow_global::Demo::Instance()
#define USERIMPL(...)
/***********************************************************************
Class (::demo::MainWindow)
***********************************************************************/
namespace demo
{
MainWindow::MainWindow()
: ::vl::presentation::controls::GuiWindow(::vl::__vwsn::This(::vl::presentation::theme::GetCurrentTheme())->CreateWindowStyle())
{
auto __vwsn_resource_ = ::vl::__vwsn::This(::vl::presentation::GetResourceManager())->GetResourceFromClassName(::vl::WString(L"demo::MainWindow", false));
auto __vwsn_resolver_ = ::vl::Ptr<::vl::presentation::GuiResourcePathResolver>(new ::vl::presentation::GuiResourcePathResolver(__vwsn_resource_, ::vl::__vwsn::This(__vwsn_resource_.Obj())->GetWorkingDirectory()));
::vl::__vwsn::This(this)->SetResourceResolver(__vwsn_resolver_);
::vl::__vwsn::This(this)->__vwsn_initialize_instance_(this);
}
MainWindow::~MainWindow()
{
this->FinalizeInstanceRecursively(static_cast<::vl::presentation::controls::GuiControlHost*>(this));
}
}
#undef GLOBAL_SYMBOL
#undef GLOBAL_NAME
#undef GLOBAL_OBJ
#undef USERIMPL
#if defined( _MSC_VER)
#pragma warning(pop)
#elif defined(__GNUC__)
#pragma GCC diagnostic pop
#elif defined(__clang__)
#pragma clang diagnostic pop
#endif
@@ -1,48 +0,0 @@
/***********************************************************************
!!!!!! DO NOT MODIFY !!!!!!
GacGen.exe Resource.xml
This file is generated by Workflow compiler
https://github.com/vczh-libraries
***********************************************************************/
#ifndef VCZH_WORKFLOW_COMPILER_GENERATED_MAINWINDOW
#define VCZH_WORKFLOW_COMPILER_GENERATED_MAINWINDOW
#include "DemoPartialClasses.h"
#if defined( _MSC_VER)
#pragma warning(push)
#pragma warning(disable:4250)
#elif defined(__GNUC__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wparentheses-equality"
#elif defined(__clang__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wparentheses-equality"
#endif
namespace demo
{
class MainWindow : public ::vl::presentation::controls::GuiWindow, public ::demo::MainWindowConstructor, public ::vl::reflection::Description<MainWindow>
{
friend class ::demo::MainWindowConstructor;
#ifndef VCZH_DEBUG_NO_REFLECTION
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<MainWindow>;
#endif
public:
MainWindow();
~MainWindow();
};
}
#if defined( _MSC_VER)
#pragma warning(pop)
#elif defined(__GNUC__)
#pragma GCC diagnostic pop
#elif defined(__clang__)
#pragma clang diagnostic pop
#endif
#endif
@@ -142,7 +142,7 @@ So as I pray, unlimited blade works.]]>
</Cell>
<Cell Site="row:1 column:0">
<MultilineTextBox ref.Name="textBoxM" Text-uri="res://TextBoxComponents/Text" Alt="M">
<MultilineTextBox ref.Name="textBoxM" Text-uri="res://TextBoxComponents/Text" Alt="M" HorizontalAlwaysVisible="false" VerticalAlwaysVisible="false">
<att.BoundsComposition-set AlignmentToParent="left:0 top:0 right:0 bottom:0"/>
</MultilineTextBox>
</Cell>