mirror of
https://github.com/vczh-libraries/Release.git
synced 2026-06-01 14:52:36 +08:00
Add tutorial: ColorPicker2
This commit is contained in:
@@ -38,8 +38,8 @@
|
|||||||
<Instance name="MainWindowResource">
|
<Instance name="MainWindowResource">
|
||||||
<Instance ref.CodeBehind="false" ref.Class="demo::MainWindow">
|
<Instance ref.CodeBehind="false" ref.Class="demo::MainWindow">
|
||||||
<ref.Parameter Name="ViewModel" Class="demo::IViewModel"/>
|
<ref.Parameter Name="ViewModel" Class="demo::IViewModel"/>
|
||||||
<Window Text="ColorPicker" ClientSize="x:480 y:320">
|
<Window Text="ColorPicker" ClientSize="x:360 y:120">
|
||||||
<att.ContainerComposition-set PreferredMinSize="x:480 y:320"/>
|
<att.ContainerComposition-set PreferredMinSize="x:360 y:120"/>
|
||||||
<Table CellPadding="10" AlignmentToParent="left:0 top:0 right:0 bottom:0">
|
<Table CellPadding="10" AlignmentToParent="left:0 top:0 right:0 bottom:0">
|
||||||
<att.Rows>
|
<att.Rows>
|
||||||
<CellOption>composeType:MinSize</CellOption>
|
<CellOption>composeType:MinSize</CellOption>
|
||||||
|
|||||||
@@ -543,10 +543,10 @@ Class (::demo::MainWindowConstructor)
|
|||||||
(this->ViewModel = ::vl::__vwsn::This(__vwsn_this_)->GetViewModel());
|
(this->ViewModel = ::vl::__vwsn::This(__vwsn_this_)->GetViewModel());
|
||||||
(this->__vwsn_precompile_8 = ::vl::__vwsn::This(this->__vwsn_precompile_0)->GetContainerComposition());
|
(this->__vwsn_precompile_8 = ::vl::__vwsn::This(this->__vwsn_precompile_0)->GetContainerComposition());
|
||||||
{
|
{
|
||||||
::vl::__vwsn::This(this->__vwsn_precompile_8)->SetPreferredMinSize([&](){ ::vl::presentation::Size __vwsn_temp__; __vwsn_temp__.x = static_cast<::vl::vint>(480); __vwsn_temp__.y = static_cast<::vl::vint>(320); return __vwsn_temp__; }());
|
::vl::__vwsn::This(this->__vwsn_precompile_8)->SetPreferredMinSize([&](){ ::vl::presentation::Size __vwsn_temp__; __vwsn_temp__.x = static_cast<::vl::vint>(360); __vwsn_temp__.y = static_cast<::vl::vint>(120); return __vwsn_temp__; }());
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetClientSize([&](){ ::vl::presentation::Size __vwsn_temp__; __vwsn_temp__.x = static_cast<::vl::vint>(480); __vwsn_temp__.y = static_cast<::vl::vint>(320); return __vwsn_temp__; }());
|
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetClientSize([&](){ ::vl::presentation::Size __vwsn_temp__; __vwsn_temp__.x = static_cast<::vl::vint>(360); __vwsn_temp__.y = static_cast<::vl::vint>(120); return __vwsn_temp__; }());
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetText(::vl::WString::Unmanaged(L"ColorPicker"));
|
::vl::__vwsn::This(this->__vwsn_precompile_0)->SetText(::vl::WString::Unmanaged(L"ColorPicker"));
|
||||||
|
|||||||
@@ -0,0 +1,164 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|Win32">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Debug|x64">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|x64">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<VCProjectVersion>16.0</VCProjectVersion>
|
||||||
|
<Keyword>Win32Proj</Keyword>
|
||||||
|
<ProjectGuid>{acc58445-c99b-463d-ab8b-fcc9b85693d4}</ProjectGuid>
|
||||||
|
<RootNamespace>ColorPicker2</RootNamespace>
|
||||||
|
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<PlatformToolset>v143</PlatformToolset>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<PlatformToolset>v143</PlatformToolset>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<PlatformToolset>v143</PlatformToolset>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<PlatformToolset>v143</PlatformToolset>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="Shared">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<IncludePath>$(ProjectDir)..\..\..\Import;$(IncludePath)</IncludePath>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<IncludePath>$(ProjectDir)..\..\..\Import;$(IncludePath)</IncludePath>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<IncludePath>$(ProjectDir)..\..\..\Import;$(IncludePath)</IncludePath>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<IncludePath>$(ProjectDir)..\..\..\Import;$(IncludePath)</IncludePath>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<SDLCheck>true</SDLCheck>
|
||||||
|
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions);VCZH_DEBUG_NO_REFLECTION</PreprocessorDefinitions>
|
||||||
|
<ConformanceMode>true</ConformanceMode>
|
||||||
|
<LanguageStandard>stdcpp20</LanguageStandard>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Windows</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<SDLCheck>true</SDLCheck>
|
||||||
|
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions);VCZH_DEBUG_NO_REFLECTION</PreprocessorDefinitions>
|
||||||
|
<ConformanceMode>true</ConformanceMode>
|
||||||
|
<LanguageStandard>stdcpp20</LanguageStandard>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Windows</SubSystem>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<SDLCheck>true</SDLCheck>
|
||||||
|
<PreprocessorDefinitions>_DEBUG;_WINDOWS;%(PreprocessorDefinitions);VCZH_DEBUG_NO_REFLECTION</PreprocessorDefinitions>
|
||||||
|
<ConformanceMode>true</ConformanceMode>
|
||||||
|
<LanguageStandard>stdcpp20</LanguageStandard>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Windows</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<SDLCheck>true</SDLCheck>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;_WINDOWS;%(PreprocessorDefinitions);VCZH_DEBUG_NO_REFLECTION</PreprocessorDefinitions>
|
||||||
|
<ConformanceMode>true</ConformanceMode>
|
||||||
|
<LanguageStandard>stdcpp20</LanguageStandard>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Windows</SubSystem>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="..\..\Lib\GacUILite\GacUILite.vcxproj">
|
||||||
|
<Project>{96c559ca-9718-4bec-a053-28a0ab6a8ca2}</Project>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="Main.cpp" />
|
||||||
|
<ClCompile Include="UI\Source\DemoPartialClasses.cpp" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Xml Include="UI\Resource.xml" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClInclude Include="UI\Source\Demo.h" />
|
||||||
|
<ClInclude Include="UI\Source\DemoPartialClasses.h" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,41 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup>
|
||||||
|
<Filter Include="Source Files">
|
||||||
|
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
|
||||||
|
<Extensions>cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
|
||||||
|
</Filter>
|
||||||
|
<Filter Include="Header Files">
|
||||||
|
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
|
||||||
|
<Extensions>h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd</Extensions>
|
||||||
|
</Filter>
|
||||||
|
<Filter Include="Resource Files">
|
||||||
|
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
|
||||||
|
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
|
||||||
|
</Filter>
|
||||||
|
<Filter Include="UI">
|
||||||
|
<UniqueIdentifier>{917fb8c7-d62c-42ef-84fa-c9991666efc2}</UniqueIdentifier>
|
||||||
|
</Filter>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="Main.cpp">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="UI\Source\DemoPartialClasses.cpp">
|
||||||
|
<Filter>UI</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Xml Include="UI\Resource.xml">
|
||||||
|
<Filter>Resource Files</Filter>
|
||||||
|
</Xml>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClInclude Include="UI\Source\Demo.h">
|
||||||
|
<Filter>UI</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="UI\Source\DemoPartialClasses.h">
|
||||||
|
<Filter>UI</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
</ItemGroup>
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,72 @@
|
|||||||
|
#define GAC_HEADER_USE_NAMESPACE
|
||||||
|
#include "UI/Source/Demo.h"
|
||||||
|
|
||||||
|
using namespace vl::collections;
|
||||||
|
using namespace vl::stream;
|
||||||
|
|
||||||
|
class ColorItem : public Object, public demo::IColorItem
|
||||||
|
{
|
||||||
|
protected:
|
||||||
|
WString name;
|
||||||
|
Color color;
|
||||||
|
|
||||||
|
public:
|
||||||
|
ColorItem(WString _name, WString _color)
|
||||||
|
:name(_name)
|
||||||
|
, color(Color::Parse(_color))
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
WString GetItemName()override
|
||||||
|
{
|
||||||
|
return name;
|
||||||
|
}
|
||||||
|
|
||||||
|
Color GetItemColor()override
|
||||||
|
{
|
||||||
|
return color;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
class ViewModel : public Object, public demo::IViewModel
|
||||||
|
{
|
||||||
|
protected:
|
||||||
|
List<Ptr<demo::IColorItem>> items;
|
||||||
|
|
||||||
|
public:
|
||||||
|
ViewModel()
|
||||||
|
{
|
||||||
|
items.Add(Ptr(new ColorItem(L"Black", L"#000000")));
|
||||||
|
items.Add(Ptr(new ColorItem(L"Maroon", L"#800000")));
|
||||||
|
items.Add(Ptr(new ColorItem(L"Green", L"#008000")));
|
||||||
|
items.Add(Ptr(new ColorItem(L"Olive", L"#808000")));
|
||||||
|
items.Add(Ptr(new ColorItem(L"Navy", L"#000080")));
|
||||||
|
items.Add(Ptr(new ColorItem(L"Purble", L"#800080")));
|
||||||
|
items.Add(Ptr(new ColorItem(L"Teal", L"#008080")));
|
||||||
|
items.Add(Ptr(new ColorItem(L"Silver", L"#C0C0C0")));
|
||||||
|
items.Add(Ptr(new ColorItem(L"Gray", L"#808080")));
|
||||||
|
items.Add(Ptr(new ColorItem(L"Red", L"#FF0000")));
|
||||||
|
items.Add(Ptr(new ColorItem(L"Lime", L"#00FF00")));
|
||||||
|
items.Add(Ptr(new ColorItem(L"Yellow", L"#FFFF00")));
|
||||||
|
items.Add(Ptr(new ColorItem(L"Blue", L"#0000FF")));
|
||||||
|
items.Add(Ptr(new ColorItem(L"Fuchsia", L"#FF00FF")));
|
||||||
|
items.Add(Ptr(new ColorItem(L"Aqua", L"#00FFFF")));
|
||||||
|
items.Add(Ptr(new ColorItem(L"White", L"#FFFFFF")));
|
||||||
|
}
|
||||||
|
|
||||||
|
LazyList<Ptr<demo::IColorItem>> GetColorItems()override
|
||||||
|
{
|
||||||
|
return items;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
void GuiMain()
|
||||||
|
{
|
||||||
|
{
|
||||||
|
FileStream fileStream(L"../UIRes/ColorPicker2.bin", FileStream::ReadOnly);
|
||||||
|
GetResourceManager()->LoadResourceOrPending(fileStream);
|
||||||
|
}
|
||||||
|
demo::MainWindow window(Ptr(new ViewModel));
|
||||||
|
window.MoveToScreenCenter();
|
||||||
|
GetApplication()->Run(&window);
|
||||||
|
}
|
||||||
@@ -0,0 +1,117 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Resource>
|
||||||
|
<Folder name="GacGenConfig">
|
||||||
|
<Folder name="Cpp">
|
||||||
|
<Text name="SourceFolder">Source</Text>
|
||||||
|
<Text name="Resource">..\..\UIRes\ColorPicker2.bin</Text>
|
||||||
|
<Text name="NormalInclude">GacUI.h</Text>
|
||||||
|
<Text name="ReflectionInclude">GacUIReflection.h</Text>
|
||||||
|
<Text name="Name">Demo</Text>
|
||||||
|
</Folder>
|
||||||
|
</Folder>
|
||||||
|
|
||||||
|
<Script name="ViewModelResource">
|
||||||
|
<Workflow>
|
||||||
|
<![CDATA[
|
||||||
|
module viewmodel;
|
||||||
|
|
||||||
|
using presentation::*;
|
||||||
|
|
||||||
|
namespace demo
|
||||||
|
{
|
||||||
|
interface IColorItem
|
||||||
|
{
|
||||||
|
prop ItemName : string {const, not observe}
|
||||||
|
prop ItemColor : Color {const, not observe}
|
||||||
|
}
|
||||||
|
|
||||||
|
interface IViewModel
|
||||||
|
{
|
||||||
|
prop ColorItems : IColorItem^{} {const, not observe}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]]>
|
||||||
|
</Workflow>
|
||||||
|
</Script>
|
||||||
|
|
||||||
|
<Folder name="MainWindow">
|
||||||
|
<Instance name="MainWindowResource">
|
||||||
|
<Instance ref.CodeBehind="false" ref.Class="demo::MainWindow">
|
||||||
|
<ref.Parameter Name="ViewModel" Class="demo::IViewModel"/>
|
||||||
|
<Window Text="ColorPicker" ClientSize="x:360 y:120">
|
||||||
|
<att.ContainerComposition-set PreferredMinSize="x:360 y:120"/>
|
||||||
|
<Table CellPadding="10" AlignmentToParent="left:0 top:0 right:0 bottom:0">
|
||||||
|
<att.Rows>
|
||||||
|
<CellOption>composeType:MinSize</CellOption>
|
||||||
|
<CellOption>composeType:MinSize</CellOption>
|
||||||
|
<CellOption>composeType:Percentage percentage:1.0</CellOption>
|
||||||
|
</att.Rows>
|
||||||
|
<att.Columns>
|
||||||
|
<CellOption>composeType:MinSize</CellOption>
|
||||||
|
<CellOption>composeType:Percentage percentage:1.0</CellOption>
|
||||||
|
</att.Columns>
|
||||||
|
|
||||||
|
<Cell Site="row:0 column:0">
|
||||||
|
<Label Text="ComboBox and BindableTextList using ItemTemplate:"/>
|
||||||
|
</Cell>
|
||||||
|
<Cell Site="row:1 column:0">
|
||||||
|
<ComboBox SelectedIndex-eval="0">
|
||||||
|
<att.ItemTemplate>demo::ColorBomboItemTemplate</att.ItemTemplate>
|
||||||
|
<att.BoundsComposition-set AlignmentToParent="left:0 top:0 right:0 bottom:0"/>
|
||||||
|
<att.ListControl>
|
||||||
|
<BindableTextList HorizontalAlwaysVisible="false" VerticalAlwaysVisible="false" env.ItemType="demo::IColorItem^">
|
||||||
|
<att.TextProperty>ItemName</att.TextProperty>
|
||||||
|
<att.ItemSource-eval>ViewModel.ColorItems</att.ItemSource-eval>
|
||||||
|
<att.ItemTemplate>demo::ColorListItemTemplate</att.ItemTemplate>
|
||||||
|
</BindableTextList>
|
||||||
|
</att.ListControl>
|
||||||
|
</ComboBox>
|
||||||
|
</Cell>
|
||||||
|
</Table>
|
||||||
|
</Window>
|
||||||
|
</Instance>
|
||||||
|
</Instance>
|
||||||
|
|
||||||
|
<Instance name="ColorBomboItemTemplateResource">
|
||||||
|
<Instance ref.CodeBehind="false" ref.Class="demo::ColorBomboItemTemplate">
|
||||||
|
<ref.Parameter Name="ViewModel" Class="demo::IColorItem"/>
|
||||||
|
<ref.Members>
|
||||||
|
<![CDATA[
|
||||||
|
prop TextColor : Color = (cast Color "#FFFFFF") {}
|
||||||
|
]]>
|
||||||
|
</ref.Members>
|
||||||
|
<ControlTemplate ref.Name="self" MinSizeLimitation="LimitToElementAndChildren">
|
||||||
|
<Table AlignmentToParent="left:0 top:0 right:0 bottom:0" MinSizeLimitation="LimitToElementAndChildren">
|
||||||
|
<att.Rows>
|
||||||
|
<CellOption>composeType:Percentage percentage:1.0</CellOption>
|
||||||
|
<CellOption>composeType:Absolute absolute:16</CellOption>
|
||||||
|
<CellOption>composeType:Percentage percentage:1.0</CellOption>
|
||||||
|
</att.Rows>
|
||||||
|
<att.Columns>
|
||||||
|
<CellOption>composeType:Absolute absolute:16</CellOption>
|
||||||
|
<CellOption>composeType:Absolute absolute:3</CellOption>
|
||||||
|
<CellOption>composeType:Percentage percentage:1.0</CellOption>
|
||||||
|
</att.Columns>
|
||||||
|
|
||||||
|
<Cell Site="row:1 column:0">
|
||||||
|
<SolidBackground Color-eval="ViewModel.ItemColor"/>
|
||||||
|
</Cell>
|
||||||
|
|
||||||
|
<Cell Site="row:0 column:2 rowSpan:3">
|
||||||
|
<SolidLabel Text-eval="ViewModel.ItemName" Font-bind="self.Font" Color-bind="self.TextColor" Ellipse="true" VerticalAlignment="Center"/>
|
||||||
|
</Cell>
|
||||||
|
</Table>
|
||||||
|
</ControlTemplate>
|
||||||
|
</Instance>
|
||||||
|
</Instance>
|
||||||
|
|
||||||
|
<Instance name="ColorListItemTemplateResource">
|
||||||
|
<Instance ref.CodeBehind="false" ref.Class="demo::ColorListItemTemplate" xmlns:x="demo::*">
|
||||||
|
<ref.Parameter Name="ViewModel" Class="demo::IColorItem"/>
|
||||||
|
<TextListItemTemplate ref.Name="self" MinSizeLimitation="LimitToElementAndChildren">
|
||||||
|
<x:ColorBomboItemTemplate ViewModel-eval="ViewModel" Font-bind="self.Font" AlignmentToParent="left:6 top:6 right:6 bottom:6"/>
|
||||||
|
</TextListItemTemplate>
|
||||||
|
</Instance>
|
||||||
|
</Instance>
|
||||||
|
</Folder>
|
||||||
|
</Resource>
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
/***********************************************************************
|
||||||
|
!!!!!! 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"
|
||||||
|
|
||||||
|
#endif
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,317 @@
|
|||||||
|
/***********************************************************************
|
||||||
|
!!!!!! DO NOT MODIFY !!!!!!
|
||||||
|
|
||||||
|
GacGen.exe Resource.xml
|
||||||
|
|
||||||
|
This file is generated by Workflow compiler
|
||||||
|
https://github.com/vczh-libraries
|
||||||
|
***********************************************************************/
|
||||||
|
|
||||||
|
#ifndef VCZH_WORKFLOW_COMPILER_GENERATED_DEMOPARTIALCLASSES
|
||||||
|
#define VCZH_WORKFLOW_COMPILER_GENERATED_DEMOPARTIALCLASSES
|
||||||
|
|
||||||
|
#include "GacUI.h"
|
||||||
|
|
||||||
|
#if defined( _MSC_VER)
|
||||||
|
#pragma warning(push)
|
||||||
|
#pragma warning(disable:4250)
|
||||||
|
#elif defined(__clang__)
|
||||||
|
#pragma clang diagnostic push
|
||||||
|
#pragma clang diagnostic ignored "-Wparentheses-equality"
|
||||||
|
#elif defined(__GNUC__)
|
||||||
|
#pragma GCC diagnostic push
|
||||||
|
#endif
|
||||||
|
|
||||||
|
namespace vl_workflow_global
|
||||||
|
{
|
||||||
|
struct __vwsnf1_Demo_demo_ColorBomboItemTemplateConstructor___vwsn_demo_ColorBomboItemTemplate_Initialize_;
|
||||||
|
struct __vwsnf2_Demo_demo_ColorBomboItemTemplateConstructor___vwsn_demo_ColorBomboItemTemplate_Initialize_;
|
||||||
|
struct __vwsnf3_Demo_demo_ColorListItemTemplateConstructor___vwsn_demo_ColorListItemTemplate_Initialize_;
|
||||||
|
struct __vwsnf4_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_;
|
||||||
|
struct __vwsnf5_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_;
|
||||||
|
struct __vwsnf6_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_;
|
||||||
|
class __vwsnc1_Demo_demo_ColorBomboItemTemplateConstructor___vwsn_demo_ColorBomboItemTemplate_Initialize__vl_reflection_description_IValueSubscription;
|
||||||
|
class __vwsnc2_Demo_demo_ColorBomboItemTemplateConstructor___vwsn_demo_ColorBomboItemTemplate_Initialize__vl_reflection_description_IValueSubscription;
|
||||||
|
class __vwsnc3_Demo_demo_ColorListItemTemplateConstructor___vwsn_demo_ColorListItemTemplate_Initialize__vl_reflection_description_IValueSubscription;
|
||||||
|
}
|
||||||
|
|
||||||
|
namespace demo
|
||||||
|
{
|
||||||
|
class ColorBomboItemTemplateConstructor;
|
||||||
|
class ColorBomboItemTemplate;
|
||||||
|
class ColorListItemTemplateConstructor;
|
||||||
|
class ColorListItemTemplate;
|
||||||
|
class IColorItem;
|
||||||
|
class IViewModel;
|
||||||
|
class MainWindowConstructor;
|
||||||
|
class MainWindow;
|
||||||
|
|
||||||
|
class ColorBomboItemTemplateConstructor : public ::vl::Object, public ::vl::reflection::Description<ColorBomboItemTemplateConstructor>
|
||||||
|
{
|
||||||
|
friend class ::vl_workflow_global::__vwsnc1_Demo_demo_ColorBomboItemTemplateConstructor___vwsn_demo_ColorBomboItemTemplate_Initialize__vl_reflection_description_IValueSubscription;
|
||||||
|
friend class ::vl_workflow_global::__vwsnc2_Demo_demo_ColorBomboItemTemplateConstructor___vwsn_demo_ColorBomboItemTemplate_Initialize__vl_reflection_description_IValueSubscription;
|
||||||
|
friend struct ::vl_workflow_global::__vwsnf1_Demo_demo_ColorBomboItemTemplateConstructor___vwsn_demo_ColorBomboItemTemplate_Initialize_;
|
||||||
|
friend struct ::vl_workflow_global::__vwsnf2_Demo_demo_ColorBomboItemTemplateConstructor___vwsn_demo_ColorBomboItemTemplate_Initialize_;
|
||||||
|
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
|
||||||
|
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<ColorBomboItemTemplateConstructor>;
|
||||||
|
#endif
|
||||||
|
protected:
|
||||||
|
::vl::Ptr<::demo::IColorItem> ViewModel;
|
||||||
|
::demo::ColorBomboItemTemplate* self;
|
||||||
|
::vl::presentation::compositions::GuiTableComposition* __vwsn_precompile_0;
|
||||||
|
::vl::presentation::compositions::GuiCellComposition* __vwsn_precompile_1;
|
||||||
|
::vl::Ptr<::vl::presentation::elements::GuiSolidBackgroundElement> __vwsn_precompile_2;
|
||||||
|
::vl::presentation::compositions::GuiCellComposition* __vwsn_precompile_3;
|
||||||
|
::vl::Ptr<::vl::presentation::elements::GuiSolidLabelElement> __vwsn_precompile_4;
|
||||||
|
void __vwsn_demo_ColorBomboItemTemplate_Initialize(::demo::ColorBomboItemTemplate* __vwsn_this_);
|
||||||
|
public:
|
||||||
|
ColorBomboItemTemplateConstructor();
|
||||||
|
};
|
||||||
|
|
||||||
|
class ColorBomboItemTemplate : public ::vl::presentation::templates::GuiControlTemplate, public ::demo::ColorBomboItemTemplateConstructor, public ::vl::reflection::Description<ColorBomboItemTemplate>
|
||||||
|
{
|
||||||
|
friend class ::demo::ColorBomboItemTemplateConstructor;
|
||||||
|
friend class ::vl_workflow_global::__vwsnc1_Demo_demo_ColorBomboItemTemplateConstructor___vwsn_demo_ColorBomboItemTemplate_Initialize__vl_reflection_description_IValueSubscription;
|
||||||
|
friend class ::vl_workflow_global::__vwsnc2_Demo_demo_ColorBomboItemTemplateConstructor___vwsn_demo_ColorBomboItemTemplate_Initialize__vl_reflection_description_IValueSubscription;
|
||||||
|
friend struct ::vl_workflow_global::__vwsnf1_Demo_demo_ColorBomboItemTemplateConstructor___vwsn_demo_ColorBomboItemTemplate_Initialize_;
|
||||||
|
friend struct ::vl_workflow_global::__vwsnf2_Demo_demo_ColorBomboItemTemplateConstructor___vwsn_demo_ColorBomboItemTemplate_Initialize_;
|
||||||
|
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
|
||||||
|
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<ColorBomboItemTemplate>;
|
||||||
|
#endif
|
||||||
|
public:
|
||||||
|
::vl::presentation::Color __vwsn_prop_TextColor;
|
||||||
|
::vl::presentation::Color GetTextColor();
|
||||||
|
void SetTextColor(::vl::presentation::Color __vwsn_value_);
|
||||||
|
::vl::Event<void()> TextColorChanged;
|
||||||
|
::vl::Ptr<::demo::IColorItem> __vwsn_parameter_ViewModel;
|
||||||
|
::vl::Ptr<::demo::IColorItem> GetViewModel();
|
||||||
|
ColorBomboItemTemplate(::vl::Ptr<::demo::IColorItem> __vwsn_ctor_parameter_ViewModel);
|
||||||
|
~ColorBomboItemTemplate();
|
||||||
|
};
|
||||||
|
|
||||||
|
class ColorListItemTemplateConstructor : public ::vl::Object, public ::vl::reflection::Description<ColorListItemTemplateConstructor>
|
||||||
|
{
|
||||||
|
friend class ::vl_workflow_global::__vwsnc3_Demo_demo_ColorListItemTemplateConstructor___vwsn_demo_ColorListItemTemplate_Initialize__vl_reflection_description_IValueSubscription;
|
||||||
|
friend struct ::vl_workflow_global::__vwsnf3_Demo_demo_ColorListItemTemplateConstructor___vwsn_demo_ColorListItemTemplate_Initialize_;
|
||||||
|
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
|
||||||
|
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<ColorListItemTemplateConstructor>;
|
||||||
|
#endif
|
||||||
|
protected:
|
||||||
|
::vl::Ptr<::demo::IColorItem> ViewModel;
|
||||||
|
::demo::ColorListItemTemplate* self;
|
||||||
|
::demo::ColorBomboItemTemplate* __vwsn_precompile_0;
|
||||||
|
void __vwsn_demo_ColorListItemTemplate_Initialize(::demo::ColorListItemTemplate* __vwsn_this_);
|
||||||
|
public:
|
||||||
|
ColorListItemTemplateConstructor();
|
||||||
|
};
|
||||||
|
|
||||||
|
class ColorListItemTemplate : public ::vl::presentation::templates::GuiTextListItemTemplate, public ::demo::ColorListItemTemplateConstructor, public ::vl::reflection::Description<ColorListItemTemplate>
|
||||||
|
{
|
||||||
|
friend class ::demo::ColorListItemTemplateConstructor;
|
||||||
|
friend class ::vl_workflow_global::__vwsnc3_Demo_demo_ColorListItemTemplateConstructor___vwsn_demo_ColorListItemTemplate_Initialize__vl_reflection_description_IValueSubscription;
|
||||||
|
friend struct ::vl_workflow_global::__vwsnf3_Demo_demo_ColorListItemTemplateConstructor___vwsn_demo_ColorListItemTemplate_Initialize_;
|
||||||
|
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
|
||||||
|
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<ColorListItemTemplate>;
|
||||||
|
#endif
|
||||||
|
public:
|
||||||
|
::vl::Ptr<::demo::IColorItem> __vwsn_parameter_ViewModel;
|
||||||
|
::vl::Ptr<::demo::IColorItem> GetViewModel();
|
||||||
|
ColorListItemTemplate(::vl::Ptr<::demo::IColorItem> __vwsn_ctor_parameter_ViewModel);
|
||||||
|
~ColorListItemTemplate();
|
||||||
|
};
|
||||||
|
|
||||||
|
class IColorItem : public virtual ::vl::reflection::IDescriptable, public ::vl::reflection::Description<IColorItem>
|
||||||
|
{
|
||||||
|
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
|
||||||
|
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<IColorItem>;
|
||||||
|
#endif
|
||||||
|
public:
|
||||||
|
virtual ::vl::WString GetItemName() = 0;
|
||||||
|
virtual ::vl::presentation::Color GetItemColor() = 0;
|
||||||
|
};
|
||||||
|
|
||||||
|
class IViewModel : public virtual ::vl::reflection::IDescriptable, public ::vl::reflection::Description<IViewModel>
|
||||||
|
{
|
||||||
|
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
|
||||||
|
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<IViewModel>;
|
||||||
|
#endif
|
||||||
|
public:
|
||||||
|
virtual ::vl::collections::LazyList<::vl::Ptr<::demo::IColorItem>> GetColorItems() = 0;
|
||||||
|
};
|
||||||
|
|
||||||
|
class MainWindowConstructor : public ::vl::Object, public ::vl::reflection::Description<MainWindowConstructor>
|
||||||
|
{
|
||||||
|
friend struct ::vl_workflow_global::__vwsnf4_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_;
|
||||||
|
friend struct ::vl_workflow_global::__vwsnf5_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_;
|
||||||
|
friend struct ::vl_workflow_global::__vwsnf6_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_;
|
||||||
|
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
|
||||||
|
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<MainWindowConstructor>;
|
||||||
|
#endif
|
||||||
|
protected:
|
||||||
|
::vl::Ptr<::demo::IViewModel> ViewModel;
|
||||||
|
::demo::MainWindow* __vwsn_precompile_0;
|
||||||
|
::vl::presentation::compositions::GuiTableComposition* __vwsn_precompile_1;
|
||||||
|
::vl::presentation::compositions::GuiCellComposition* __vwsn_precompile_2;
|
||||||
|
::vl::presentation::controls::GuiLabel* __vwsn_precompile_3;
|
||||||
|
::vl::presentation::compositions::GuiCellComposition* __vwsn_precompile_4;
|
||||||
|
::vl::presentation::controls::GuiComboBoxListControl* __vwsn_precompile_5;
|
||||||
|
::vl::presentation::controls::GuiBindableTextList* __vwsn_precompile_6;
|
||||||
|
::vl::presentation::compositions::GuiBoundsComposition* __vwsn_precompile_7;
|
||||||
|
::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_precompile_8;
|
||||||
|
void __vwsn_demo_MainWindow_Initialize(::demo::MainWindow* __vwsn_this_);
|
||||||
|
public:
|
||||||
|
MainWindowConstructor();
|
||||||
|
};
|
||||||
|
|
||||||
|
class MainWindow : public ::vl::presentation::controls::GuiWindow, public ::demo::MainWindowConstructor, public ::vl::reflection::Description<MainWindow>
|
||||||
|
{
|
||||||
|
friend class ::demo::MainWindowConstructor;
|
||||||
|
friend struct ::vl_workflow_global::__vwsnf4_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_;
|
||||||
|
friend struct ::vl_workflow_global::__vwsnf5_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_;
|
||||||
|
friend struct ::vl_workflow_global::__vwsnf6_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_;
|
||||||
|
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
|
||||||
|
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<MainWindow>;
|
||||||
|
#endif
|
||||||
|
public:
|
||||||
|
::vl::Ptr<::demo::IViewModel> __vwsn_parameter_ViewModel;
|
||||||
|
::vl::Ptr<::demo::IViewModel> GetViewModel();
|
||||||
|
MainWindow(::vl::Ptr<::demo::IViewModel> __vwsn_ctor_parameter_ViewModel);
|
||||||
|
~MainWindow();
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
|
/***********************************************************************
|
||||||
|
Global Variables and Functions
|
||||||
|
***********************************************************************/
|
||||||
|
|
||||||
|
namespace vl_workflow_global
|
||||||
|
{
|
||||||
|
class Demo
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
static Demo& Instance();
|
||||||
|
};
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
Closures
|
||||||
|
***********************************************************************/
|
||||||
|
|
||||||
|
struct __vwsnf1_Demo_demo_ColorBomboItemTemplateConstructor___vwsn_demo_ColorBomboItemTemplate_Initialize_
|
||||||
|
{
|
||||||
|
::demo::ColorBomboItemTemplateConstructor* __vwsnthis_0;
|
||||||
|
|
||||||
|
__vwsnf1_Demo_demo_ColorBomboItemTemplateConstructor___vwsn_demo_ColorBomboItemTemplate_Initialize_(::demo::ColorBomboItemTemplateConstructor* __vwsnctorthis_0);
|
||||||
|
|
||||||
|
void operator()(const ::vl::reflection::description::Value& __vwsn_value_) const;
|
||||||
|
};
|
||||||
|
|
||||||
|
struct __vwsnf2_Demo_demo_ColorBomboItemTemplateConstructor___vwsn_demo_ColorBomboItemTemplate_Initialize_
|
||||||
|
{
|
||||||
|
::demo::ColorBomboItemTemplateConstructor* __vwsnthis_0;
|
||||||
|
|
||||||
|
__vwsnf2_Demo_demo_ColorBomboItemTemplateConstructor___vwsn_demo_ColorBomboItemTemplate_Initialize_(::demo::ColorBomboItemTemplateConstructor* __vwsnctorthis_0);
|
||||||
|
|
||||||
|
void operator()(const ::vl::reflection::description::Value& __vwsn_value_) const;
|
||||||
|
};
|
||||||
|
|
||||||
|
struct __vwsnf3_Demo_demo_ColorListItemTemplateConstructor___vwsn_demo_ColorListItemTemplate_Initialize_
|
||||||
|
{
|
||||||
|
::demo::ColorListItemTemplateConstructor* __vwsnthis_0;
|
||||||
|
|
||||||
|
__vwsnf3_Demo_demo_ColorListItemTemplateConstructor___vwsn_demo_ColorListItemTemplate_Initialize_(::demo::ColorListItemTemplateConstructor* __vwsnctorthis_0);
|
||||||
|
|
||||||
|
void operator()(const ::vl::reflection::description::Value& __vwsn_value_) const;
|
||||||
|
};
|
||||||
|
|
||||||
|
struct __vwsnf4_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_
|
||||||
|
{
|
||||||
|
::demo::MainWindowConstructor* __vwsnthis_0;
|
||||||
|
|
||||||
|
__vwsnf4_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_(::demo::MainWindowConstructor* __vwsnctorthis_0);
|
||||||
|
|
||||||
|
::vl::WString operator()(const ::vl::reflection::description::Value& __vwsn_item_) const;
|
||||||
|
};
|
||||||
|
|
||||||
|
struct __vwsnf5_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_
|
||||||
|
{
|
||||||
|
::demo::MainWindowConstructor* __vwsnthis_0;
|
||||||
|
|
||||||
|
__vwsnf5_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_(::demo::MainWindowConstructor* __vwsnctorthis_0);
|
||||||
|
|
||||||
|
::vl::presentation::templates::GuiListItemTemplate* operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const;
|
||||||
|
};
|
||||||
|
|
||||||
|
struct __vwsnf6_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_
|
||||||
|
{
|
||||||
|
::demo::MainWindowConstructor* __vwsnthis_0;
|
||||||
|
|
||||||
|
__vwsnf6_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_(::demo::MainWindowConstructor* __vwsnctorthis_0);
|
||||||
|
|
||||||
|
::vl::presentation::templates::GuiTemplate* operator()(const ::vl::reflection::description::Value& __vwsn_viewModel_) const;
|
||||||
|
};
|
||||||
|
|
||||||
|
class __vwsnc1_Demo_demo_ColorBomboItemTemplateConstructor___vwsn_demo_ColorBomboItemTemplate_Initialize__vl_reflection_description_IValueSubscription : public ::vl::Object, public virtual ::vl::reflection::description::IValueSubscription
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
::demo::ColorBomboItemTemplateConstructor* __vwsnthis_0;
|
||||||
|
|
||||||
|
__vwsnc1_Demo_demo_ColorBomboItemTemplateConstructor___vwsn_demo_ColorBomboItemTemplate_Initialize__vl_reflection_description_IValueSubscription(::demo::ColorBomboItemTemplateConstructor* __vwsnctorthis_0);
|
||||||
|
|
||||||
|
::demo::ColorBomboItemTemplate* __vwsn_bind_cache_0 = nullptr;
|
||||||
|
::vl::Ptr<::vl::reflection::description::IEventHandler> __vwsn_bind_handler_0_0;
|
||||||
|
bool __vwsn_bind_opened_ = false;
|
||||||
|
bool __vwsn_bind_closed_ = false;
|
||||||
|
void __vwsn_bind_activator_();
|
||||||
|
void __vwsn_bind_callback_0_0();
|
||||||
|
bool Open() override;
|
||||||
|
bool Update() override;
|
||||||
|
bool Close() override;
|
||||||
|
};
|
||||||
|
|
||||||
|
class __vwsnc2_Demo_demo_ColorBomboItemTemplateConstructor___vwsn_demo_ColorBomboItemTemplate_Initialize__vl_reflection_description_IValueSubscription : public ::vl::Object, public virtual ::vl::reflection::description::IValueSubscription
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
::demo::ColorBomboItemTemplateConstructor* __vwsnthis_0;
|
||||||
|
|
||||||
|
__vwsnc2_Demo_demo_ColorBomboItemTemplateConstructor___vwsn_demo_ColorBomboItemTemplate_Initialize__vl_reflection_description_IValueSubscription(::demo::ColorBomboItemTemplateConstructor* __vwsnctorthis_0);
|
||||||
|
|
||||||
|
::demo::ColorBomboItemTemplate* __vwsn_bind_cache_0 = nullptr;
|
||||||
|
::vl::Ptr<::vl::reflection::description::IEventHandler> __vwsn_bind_handler_0_0;
|
||||||
|
bool __vwsn_bind_opened_ = false;
|
||||||
|
bool __vwsn_bind_closed_ = false;
|
||||||
|
void __vwsn_bind_activator_();
|
||||||
|
void __vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1);
|
||||||
|
bool Open() override;
|
||||||
|
bool Update() override;
|
||||||
|
bool Close() override;
|
||||||
|
};
|
||||||
|
|
||||||
|
class __vwsnc3_Demo_demo_ColorListItemTemplateConstructor___vwsn_demo_ColorListItemTemplate_Initialize__vl_reflection_description_IValueSubscription : public ::vl::Object, public virtual ::vl::reflection::description::IValueSubscription
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
::demo::ColorListItemTemplateConstructor* __vwsnthis_0;
|
||||||
|
|
||||||
|
__vwsnc3_Demo_demo_ColorListItemTemplateConstructor___vwsn_demo_ColorListItemTemplate_Initialize__vl_reflection_description_IValueSubscription(::demo::ColorListItemTemplateConstructor* __vwsnctorthis_0);
|
||||||
|
|
||||||
|
::demo::ColorListItemTemplate* __vwsn_bind_cache_0 = nullptr;
|
||||||
|
::vl::Ptr<::vl::reflection::description::IEventHandler> __vwsn_bind_handler_0_0;
|
||||||
|
bool __vwsn_bind_opened_ = false;
|
||||||
|
bool __vwsn_bind_closed_ = false;
|
||||||
|
void __vwsn_bind_activator_();
|
||||||
|
void __vwsn_bind_callback_0_0(::vl::presentation::compositions::GuiGraphicsComposition* __vwsn_bind_callback_argument_0, ::vl::presentation::compositions::GuiEventArgs* __vwsn_bind_callback_argument_1);
|
||||||
|
bool Open() override;
|
||||||
|
bool Update() override;
|
||||||
|
bool Close() override;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
#if defined( _MSC_VER)
|
||||||
|
#pragma warning(pop)
|
||||||
|
#elif defined(__clang__)
|
||||||
|
#pragma clang diagnostic pop
|
||||||
|
#elif defined(__GNUC__)
|
||||||
|
#pragma GCC diagnostic pop
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif
|
||||||
@@ -0,0 +1,171 @@
|
|||||||
|
/***********************************************************************
|
||||||
|
!!!!!! DO NOT MODIFY !!!!!!
|
||||||
|
|
||||||
|
GacGen.exe Resource.xml
|
||||||
|
|
||||||
|
This file is generated by Workflow compiler
|
||||||
|
https://github.com/vczh-libraries
|
||||||
|
***********************************************************************/
|
||||||
|
|
||||||
|
#include "DemoReflection.h"
|
||||||
|
|
||||||
|
#if defined( _MSC_VER)
|
||||||
|
#pragma warning(push)
|
||||||
|
#pragma warning(disable:4250)
|
||||||
|
#elif defined(__clang__)
|
||||||
|
#pragma clang diagnostic push
|
||||||
|
#pragma clang diagnostic ignored "-Wparentheses-equality"
|
||||||
|
#elif defined(__GNUC__)
|
||||||
|
#pragma GCC diagnostic push
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
Reflection
|
||||||
|
***********************************************************************/
|
||||||
|
|
||||||
|
namespace vl
|
||||||
|
{
|
||||||
|
namespace reflection
|
||||||
|
{
|
||||||
|
namespace description
|
||||||
|
{
|
||||||
|
#ifndef VCZH_DEBUG_NO_REFLECTION
|
||||||
|
IMPL_CPP_TYPE_INFO(demo::ColorBomboItemTemplate)
|
||||||
|
IMPL_CPP_TYPE_INFO(demo::ColorBomboItemTemplateConstructor)
|
||||||
|
IMPL_CPP_TYPE_INFO(demo::ColorListItemTemplate)
|
||||||
|
IMPL_CPP_TYPE_INFO(demo::ColorListItemTemplateConstructor)
|
||||||
|
IMPL_CPP_TYPE_INFO(demo::IColorItem)
|
||||||
|
IMPL_CPP_TYPE_INFO(demo::IViewModel)
|
||||||
|
IMPL_CPP_TYPE_INFO(demo::MainWindow)
|
||||||
|
IMPL_CPP_TYPE_INFO(demo::MainWindowConstructor)
|
||||||
|
|
||||||
|
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
|
||||||
|
#define _ ,
|
||||||
|
BEGIN_CLASS_MEMBER(::demo::ColorBomboItemTemplate)
|
||||||
|
CLASS_MEMBER_BASE(::vl::presentation::templates::GuiControlTemplate)
|
||||||
|
CLASS_MEMBER_BASE(::demo::ColorBomboItemTemplateConstructor)
|
||||||
|
CLASS_MEMBER_CONSTRUCTOR(::demo::ColorBomboItemTemplate*(::vl::Ptr<::demo::IColorItem>), { L"__vwsn_ctor_parameter_ViewModel" })
|
||||||
|
CLASS_MEMBER_METHOD(GetTextColor, NO_PARAMETER)
|
||||||
|
CLASS_MEMBER_METHOD(GetViewModel, NO_PARAMETER)
|
||||||
|
CLASS_MEMBER_METHOD(SetTextColor, { L"__vwsn_value_" })
|
||||||
|
CLASS_MEMBER_EVENT(TextColorChanged)
|
||||||
|
CLASS_MEMBER_FIELD(__vwsn_parameter_ViewModel)
|
||||||
|
CLASS_MEMBER_FIELD(__vwsn_prop_TextColor)
|
||||||
|
CLASS_MEMBER_PROPERTY_EVENT(TextColor, GetTextColor, SetTextColor, TextColorChanged)
|
||||||
|
CLASS_MEMBER_PROPERTY_READONLY(ViewModel, GetViewModel)
|
||||||
|
END_CLASS_MEMBER(::demo::ColorBomboItemTemplate)
|
||||||
|
|
||||||
|
BEGIN_CLASS_MEMBER(::demo::ColorBomboItemTemplateConstructor)
|
||||||
|
CLASS_MEMBER_BASE(::vl::reflection::DescriptableObject)
|
||||||
|
CLASS_MEMBER_CONSTRUCTOR(::vl::Ptr<::demo::ColorBomboItemTemplateConstructor>(), NO_PARAMETER)
|
||||||
|
CLASS_MEMBER_METHOD(__vwsn_demo_ColorBomboItemTemplate_Initialize, { L"__vwsn_this_" })
|
||||||
|
CLASS_MEMBER_FIELD(__vwsn_precompile_0)
|
||||||
|
CLASS_MEMBER_FIELD(__vwsn_precompile_1)
|
||||||
|
CLASS_MEMBER_FIELD(__vwsn_precompile_2)
|
||||||
|
CLASS_MEMBER_FIELD(__vwsn_precompile_3)
|
||||||
|
CLASS_MEMBER_FIELD(__vwsn_precompile_4)
|
||||||
|
CLASS_MEMBER_FIELD(ViewModel)
|
||||||
|
CLASS_MEMBER_FIELD(self)
|
||||||
|
END_CLASS_MEMBER(::demo::ColorBomboItemTemplateConstructor)
|
||||||
|
|
||||||
|
BEGIN_CLASS_MEMBER(::demo::ColorListItemTemplate)
|
||||||
|
CLASS_MEMBER_BASE(::vl::presentation::templates::GuiTextListItemTemplate)
|
||||||
|
CLASS_MEMBER_BASE(::demo::ColorListItemTemplateConstructor)
|
||||||
|
CLASS_MEMBER_CONSTRUCTOR(::demo::ColorListItemTemplate*(::vl::Ptr<::demo::IColorItem>), { L"__vwsn_ctor_parameter_ViewModel" })
|
||||||
|
CLASS_MEMBER_METHOD(GetViewModel, NO_PARAMETER)
|
||||||
|
CLASS_MEMBER_FIELD(__vwsn_parameter_ViewModel)
|
||||||
|
CLASS_MEMBER_PROPERTY_READONLY(ViewModel, GetViewModel)
|
||||||
|
END_CLASS_MEMBER(::demo::ColorListItemTemplate)
|
||||||
|
|
||||||
|
BEGIN_CLASS_MEMBER(::demo::ColorListItemTemplateConstructor)
|
||||||
|
CLASS_MEMBER_BASE(::vl::reflection::DescriptableObject)
|
||||||
|
CLASS_MEMBER_CONSTRUCTOR(::vl::Ptr<::demo::ColorListItemTemplateConstructor>(), NO_PARAMETER)
|
||||||
|
CLASS_MEMBER_METHOD(__vwsn_demo_ColorListItemTemplate_Initialize, { L"__vwsn_this_" })
|
||||||
|
CLASS_MEMBER_FIELD(__vwsn_precompile_0)
|
||||||
|
CLASS_MEMBER_FIELD(ViewModel)
|
||||||
|
CLASS_MEMBER_FIELD(self)
|
||||||
|
END_CLASS_MEMBER(::demo::ColorListItemTemplateConstructor)
|
||||||
|
|
||||||
|
BEGIN_INTERFACE_MEMBER(::demo::IColorItem)
|
||||||
|
CLASS_MEMBER_BASE(::vl::reflection::IDescriptable)
|
||||||
|
CLASS_MEMBER_METHOD(GetItemColor, NO_PARAMETER)
|
||||||
|
CLASS_MEMBER_METHOD(GetItemName, NO_PARAMETER)
|
||||||
|
CLASS_MEMBER_PROPERTY_READONLY(ItemColor, GetItemColor)
|
||||||
|
CLASS_MEMBER_PROPERTY_READONLY(ItemName, GetItemName)
|
||||||
|
END_INTERFACE_MEMBER(::demo::IColorItem)
|
||||||
|
|
||||||
|
BEGIN_INTERFACE_MEMBER(::demo::IViewModel)
|
||||||
|
CLASS_MEMBER_BASE(::vl::reflection::IDescriptable)
|
||||||
|
CLASS_MEMBER_METHOD(GetColorItems, NO_PARAMETER)
|
||||||
|
CLASS_MEMBER_PROPERTY_READONLY(ColorItems, GetColorItems)
|
||||||
|
END_INTERFACE_MEMBER(::demo::IViewModel)
|
||||||
|
|
||||||
|
BEGIN_CLASS_MEMBER(::demo::MainWindow)
|
||||||
|
CLASS_MEMBER_BASE(::vl::presentation::controls::GuiWindow)
|
||||||
|
CLASS_MEMBER_BASE(::demo::MainWindowConstructor)
|
||||||
|
CLASS_MEMBER_CONSTRUCTOR(::demo::MainWindow*(::vl::Ptr<::demo::IViewModel>), { L"__vwsn_ctor_parameter_ViewModel" })
|
||||||
|
CLASS_MEMBER_METHOD(GetViewModel, NO_PARAMETER)
|
||||||
|
CLASS_MEMBER_FIELD(__vwsn_parameter_ViewModel)
|
||||||
|
CLASS_MEMBER_PROPERTY_READONLY(ViewModel, GetViewModel)
|
||||||
|
END_CLASS_MEMBER(::demo::MainWindow)
|
||||||
|
|
||||||
|
BEGIN_CLASS_MEMBER(::demo::MainWindowConstructor)
|
||||||
|
CLASS_MEMBER_BASE(::vl::reflection::DescriptableObject)
|
||||||
|
CLASS_MEMBER_CONSTRUCTOR(::vl::Ptr<::demo::MainWindowConstructor>(), NO_PARAMETER)
|
||||||
|
CLASS_MEMBER_METHOD(__vwsn_demo_MainWindow_Initialize, { L"__vwsn_this_" })
|
||||||
|
CLASS_MEMBER_FIELD(__vwsn_precompile_0)
|
||||||
|
CLASS_MEMBER_FIELD(__vwsn_precompile_1)
|
||||||
|
CLASS_MEMBER_FIELD(__vwsn_precompile_2)
|
||||||
|
CLASS_MEMBER_FIELD(__vwsn_precompile_3)
|
||||||
|
CLASS_MEMBER_FIELD(__vwsn_precompile_4)
|
||||||
|
CLASS_MEMBER_FIELD(__vwsn_precompile_5)
|
||||||
|
CLASS_MEMBER_FIELD(__vwsn_precompile_6)
|
||||||
|
CLASS_MEMBER_FIELD(__vwsn_precompile_7)
|
||||||
|
CLASS_MEMBER_FIELD(__vwsn_precompile_8)
|
||||||
|
CLASS_MEMBER_FIELD(ViewModel)
|
||||||
|
END_CLASS_MEMBER(::demo::MainWindowConstructor)
|
||||||
|
|
||||||
|
#undef _
|
||||||
|
class DemoTypeLoader : public Object, public ITypeLoader
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
void Load(ITypeManager* manager)
|
||||||
|
{
|
||||||
|
ADD_TYPE_INFO(::demo::ColorBomboItemTemplate)
|
||||||
|
ADD_TYPE_INFO(::demo::ColorBomboItemTemplateConstructor)
|
||||||
|
ADD_TYPE_INFO(::demo::ColorListItemTemplate)
|
||||||
|
ADD_TYPE_INFO(::demo::ColorListItemTemplateConstructor)
|
||||||
|
ADD_TYPE_INFO(::demo::IColorItem)
|
||||||
|
ADD_TYPE_INFO(::demo::IViewModel)
|
||||||
|
ADD_TYPE_INFO(::demo::MainWindow)
|
||||||
|
ADD_TYPE_INFO(::demo::MainWindowConstructor)
|
||||||
|
}
|
||||||
|
|
||||||
|
void Unload(ITypeManager* manager)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
};
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
bool LoadDemoTypes()
|
||||||
|
{
|
||||||
|
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
|
||||||
|
if (auto manager = GetGlobalTypeManager())
|
||||||
|
{
|
||||||
|
return manager->AddTypeLoader(Ptr(new DemoTypeLoader));
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#if defined( _MSC_VER)
|
||||||
|
#pragma warning(pop)
|
||||||
|
#elif defined(__clang__)
|
||||||
|
#pragma clang diagnostic pop
|
||||||
|
#elif defined(__GNUC__)
|
||||||
|
#pragma GCC diagnostic pop
|
||||||
|
#endif
|
||||||
@@ -0,0 +1,83 @@
|
|||||||
|
/***********************************************************************
|
||||||
|
!!!!!! 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"
|
||||||
|
#ifndef VCZH_DEBUG_NO_REFLECTION
|
||||||
|
#include "GacUIReflection.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined( _MSC_VER)
|
||||||
|
#pragma warning(push)
|
||||||
|
#pragma warning(disable:4250)
|
||||||
|
#elif defined(__clang__)
|
||||||
|
#pragma clang diagnostic push
|
||||||
|
#pragma clang diagnostic ignored "-Wparentheses-equality"
|
||||||
|
#elif defined(__GNUC__)
|
||||||
|
#pragma GCC diagnostic push
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
Reflection
|
||||||
|
***********************************************************************/
|
||||||
|
|
||||||
|
namespace vl
|
||||||
|
{
|
||||||
|
namespace reflection
|
||||||
|
{
|
||||||
|
namespace description
|
||||||
|
{
|
||||||
|
#ifndef VCZH_DEBUG_NO_REFLECTION
|
||||||
|
DECL_TYPE_INFO(::demo::ColorBomboItemTemplate)
|
||||||
|
DECL_TYPE_INFO(::demo::ColorBomboItemTemplateConstructor)
|
||||||
|
DECL_TYPE_INFO(::demo::ColorListItemTemplate)
|
||||||
|
DECL_TYPE_INFO(::demo::ColorListItemTemplateConstructor)
|
||||||
|
DECL_TYPE_INFO(::demo::IColorItem)
|
||||||
|
DECL_TYPE_INFO(::demo::IViewModel)
|
||||||
|
DECL_TYPE_INFO(::demo::MainWindow)
|
||||||
|
DECL_TYPE_INFO(::demo::MainWindowConstructor)
|
||||||
|
|
||||||
|
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
|
||||||
|
|
||||||
|
BEGIN_INTERFACE_PROXY_NOPARENT_SHAREDPTR(::demo::IColorItem)
|
||||||
|
::vl::presentation::Color GetItemColor() override
|
||||||
|
{
|
||||||
|
INVOKEGET_INTERFACE_PROXY_NOPARAMS(GetItemColor);
|
||||||
|
}
|
||||||
|
::vl::WString GetItemName() override
|
||||||
|
{
|
||||||
|
INVOKEGET_INTERFACE_PROXY_NOPARAMS(GetItemName);
|
||||||
|
}
|
||||||
|
END_INTERFACE_PROXY(::demo::IColorItem)
|
||||||
|
|
||||||
|
BEGIN_INTERFACE_PROXY_NOPARENT_SHAREDPTR(::demo::IViewModel)
|
||||||
|
::vl::collections::LazyList<::vl::Ptr<::demo::IColorItem>> GetColorItems() override
|
||||||
|
{
|
||||||
|
INVOKEGET_INTERFACE_PROXY_NOPARAMS(GetColorItems);
|
||||||
|
}
|
||||||
|
END_INTERFACE_PROXY(::demo::IViewModel)
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
extern bool LoadDemoTypes();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#if defined( _MSC_VER)
|
||||||
|
#pragma warning(pop)
|
||||||
|
#elif defined(__clang__)
|
||||||
|
#pragma clang diagnostic pop
|
||||||
|
#elif defined(__GNUC__)
|
||||||
|
#pragma GCC diagnostic pop
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
# Visual Studio Version 16
|
# Visual Studio Version 17
|
||||||
VisualStudioVersion = 16.0.31515.178
|
VisualStudioVersion = 17.4.33205.214
|
||||||
MinimumVisualStudioVersion = 10.0.40219.1
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ContainersAndButtons", "ContainersAndButtons\ContainersAndButtons.vcxproj", "{0C211930-C5DA-4567-A752-1D847CADEC1C}"
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ContainersAndButtons", "ContainersAndButtons\ContainersAndButtons.vcxproj", "{0C211930-C5DA-4567-A752-1D847CADEC1C}"
|
||||||
EndProject
|
EndProject
|
||||||
@@ -41,6 +41,8 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "QueryService", "QueryServic
|
|||||||
EndProject
|
EndProject
|
||||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Win11ToolstripMenu", "Win11ToolstripMenu\Win11ToolstripMenu.vcxproj", "{1955DEBE-9913-45D6-B819-9ADB52E5A447}"
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Win11ToolstripMenu", "Win11ToolstripMenu\Win11ToolstripMenu.vcxproj", "{1955DEBE-9913-45D6-B819-9ADB52E5A447}"
|
||||||
EndProject
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ColorPicker2", "ColorPicker2\ColorPicker2.vcxproj", "{ACC58445-C99B-463D-AB8B-FCC9B85693D4}"
|
||||||
|
EndProject
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
Debug|Win32 = Debug|Win32
|
Debug|Win32 = Debug|Win32
|
||||||
@@ -183,6 +185,14 @@ Global
|
|||||||
{1955DEBE-9913-45D6-B819-9ADB52E5A447}.Release|Win32.Build.0 = Release|Win32
|
{1955DEBE-9913-45D6-B819-9ADB52E5A447}.Release|Win32.Build.0 = Release|Win32
|
||||||
{1955DEBE-9913-45D6-B819-9ADB52E5A447}.Release|x64.ActiveCfg = Release|x64
|
{1955DEBE-9913-45D6-B819-9ADB52E5A447}.Release|x64.ActiveCfg = Release|x64
|
||||||
{1955DEBE-9913-45D6-B819-9ADB52E5A447}.Release|x64.Build.0 = Release|x64
|
{1955DEBE-9913-45D6-B819-9ADB52E5A447}.Release|x64.Build.0 = Release|x64
|
||||||
|
{ACC58445-C99B-463D-AB8B-FCC9B85693D4}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{ACC58445-C99B-463D-AB8B-FCC9B85693D4}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{ACC58445-C99B-463D-AB8B-FCC9B85693D4}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{ACC58445-C99B-463D-AB8B-FCC9B85693D4}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{ACC58445-C99B-463D-AB8B-FCC9B85693D4}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{ACC58445-C99B-463D-AB8B-FCC9B85693D4}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{ACC58445-C99B-463D-AB8B-FCC9B85693D4}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{ACC58445-C99B-463D-AB8B-FCC9B85693D4}.Release|x64.Build.0 = Release|x64
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(SolutionProperties) = preSolution
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
HideSolutionNode = FALSE
|
HideSolutionNode = FALSE
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user