diff options
Diffstat (limited to 'Samples/ShowCase')
118 files changed, 6089 insertions, 0 deletions
diff --git a/Samples/ShowCase/ShowCase.csproj b/Samples/ShowCase/ShowCase.csproj new file mode 100644 index 00000000..fd711e6d --- /dev/null +++ b/Samples/ShowCase/ShowCase.csproj @@ -0,0 +1,43 @@ +<Project Sdk="Microsoft.NET.Sdk"> + <Import Project="$(SolutionDir)netfx.props" /> + <PropertyGroup> + <TargetFrameworks>net471;netstandard2.0</TargetFrameworks> + <OutputPath>$(SolutionDir)build\$(Configuration)\</OutputPath> + <OutputType>Exe</OutputType> + <RepositoryUrl>https://github.com/jpbruyere/Crow</RepositoryUrl> + <License>MIT</License> + <AllowUnsafeBlocks>true</AllowUnsafeBlocks> + <EnableDefaultNoneItems>false</EnableDefaultNoneItems> + <ReleaseVersion>0.8.0</ReleaseVersion> + </PropertyGroup> + + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> + <DebugType>full</DebugType> + <DefineConstants>TRACE;DEBUG</DefineConstants> + <CheckForOverflowUnderflow>true</CheckForOverflowUnderflow> + </PropertyGroup> + + <ItemGroup Condition="$(TargetFramework.StartsWith('net4'))"> + <Reference Include="System" /> + </ItemGroup> + + <ItemGroup> + <ProjectReference Include="..\..\Crow\Crow.csproj" /> + </ItemGroup> + + <ItemGroup> + <Datas Include="..\data\**\*.*"> + <Link>data\%(RecursiveDir)%(Filename)%(Extension)</Link> + </Datas> + <EmbeddedResource Include="ui\*.*"> + <LogicalName>ShowCase.%(Filename)%(Extension)</LogicalName> + </EmbeddedResource> + <None Include="..\common\ui\Interfaces\**\*.*"> + <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> + <Link>Interfaces\%(RecursiveDir)%(Filename)%(Extension)</Link> + </None> + </ItemGroup> + <ItemGroup> + <Compile Remove="..\common\CrowWin.cs" /> + </ItemGroup> +</Project> diff --git a/Samples/ShowCase/main.cs b/Samples/ShowCase/main.cs new file mode 100644 index 00000000..c6ffc408 --- /dev/null +++ b/Samples/ShowCase/main.cs @@ -0,0 +1,230 @@ +// +// UIEditor.cs +// +// Author: +// Jean-Philippe Bruyère <jp.bruyere@hotmail.com> +// +// Copyright (c) 2013-2017 Jean-Philippe Bruyère +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. + +using System; +using Crow; +using System.IO; +using System.Collections.Generic; +using System.Reflection; +using System.Linq; +using System.Text; +using Crow.IML; + +namespace tests +{ + class Showcase : Interface + { + public Container crowContainer; + + [STAThread] + static void Main () + { + using (Showcase app = new Showcase ()) { + //app.Keyboard.KeyDown += App_KeyboardKeyDown; + + Widget g = app.Load ("#ShowCase.showcase.crow"); + g.DataSource = app; + app.crowContainer = g.FindByName ("CrowContainer") as Container; + //I set an empty object as datasource at this level to force update when new + //widgets are added to the interface + app.crowContainer.DataSource = new object (); + app.hideError (); + app.Run (); + + } + } + + static void App_KeyboardKeyDown (object sender, KeyEventArgs e) + { +#if DEBUG_LOG + switch (e.Key) { + case Key.F2: + DebugLog.save (sender as Interface); + break; + } +#endif + } + + public Showcase () + : base (1024, 800) + { + } + + + void Dv_SelectedItemChanged (object sender, SelectionChangeEventArgs e) + { + FileSystemInfo fi = e.NewValue as FileSystemInfo; + if (fi == null) + return; + if (fi is DirectoryInfo) + return; + hideError (); + lock (UpdateMutex) { + try { + Widget g = CreateInstance (fi.FullName); + crowContainer.SetChild (g); + g.DataSource = this; + } catch (Exception ex) { + Console.WriteLine (ex.ToString ()); + if (ex is InstantiatorException) + showError ((InstantiatorException)ex); + } + } + + string source = ""; + using (Stream s = new FileStream (fi.FullName, FileMode.Open)) { + using (StreamReader sr = new StreamReader (s)) { + source = sr.ReadToEnd (); + } + } + NotifyValueChanged ("source", source); + } + + void showError (InstantiatorException ex) + { + NotifyValueChanged ("ErrorMessage", ex.Path + ": " + ex.InnerException.Message); + NotifyValueChanged ("ShowError", true); + } + void hideError () + { + NotifyValueChanged ("ShowError", false); + } + + void Tb_TextChanged (object sender, TextChangeEventArgs e) + { + hideError (); + Widget g = null; + try { + lock (UpdateMutex) { + Instantiator inst = null; + using (MemoryStream ms = new MemoryStream (Encoding.UTF8.GetBytes (e.Text))) { + inst = new Instantiator (this, ms); + } + g = inst.CreateInstance (); + crowContainer.SetChild (g); + g.DataSource = this; + } + } catch (Exception ex) { + Console.WriteLine (ex.ToString ()); + if (ex is InstantiatorException) + showError ((InstantiatorException)ex); + } + } + + + #region Test values for Binding + public int intValue = 500; + DirectoryInfo curDir = new DirectoryInfo (Path.GetDirectoryName (Assembly.GetEntryAssembly ().Location)); + //DirectoryInfo curDir = new DirectoryInfo (@"/mnt/data/Images"); + public FileSystemInfo [] CurDirectory { + get { return curDir.GetFileSystemInfos (); } + } + public int IntValue { + get { + return intValue; + } + set { + intValue = value; + NotifyValueChanged ("IntValue", intValue); + } + } + void onSpinnerValueChange (object sender, ValueChangeEventArgs e) + { + if (e.MemberName != "Value") + return; + intValue = Convert.ToInt32 (e.NewValue); + } + void change_alignment (object sender, EventArgs e) + { + RadioButton rb = sender as RadioButton; + if (rb == null) + return; + NotifyValueChanged ("alignment", Enum.Parse (typeof (Alignment), rb.Caption)); + } + public IList<String> List2 = new List<string> (new string [] + { + "string1", + "string2", + "string3", + // "string4", + // "string5", + // "string6", + // "string7", + // "string8", + // "string8", + // "string8", + // "string8", + // "string8", + // "string8", + // "string9" + } + ); + public IList<String> TestList2 { + set { + List2 = value; + NotifyValueChanged ("TestList2", testList); + } + get { return List2; } + } + IList<Color> testList = Color.ColorDic.Values.ToList (); + public IList<Color> TestList { + set { + testList = value; + NotifyValueChanged ("TestList", testList); + } + get { return testList; } + } + string curSources = ""; + public string CurSources { + get { return curSources; } + set { + if (value == curSources) + return; + curSources = value; + NotifyValueChanged ("CurSources", curSources); + } + } + bool boolVal = true; + public bool BoolVal { + get { return boolVal; } + set { + if (boolVal == value) + return; + boolVal = value; + NotifyValueChanged ("BoolVal", boolVal); + } + } + + #endregion + + void OnClear (object sender, MouseButtonEventArgs e) => TestList = null; + + void OnLoadList (object sender, MouseButtonEventArgs e) => TestList = Color.ColorDic.Values.ToList (); + + } + + +}
\ No newline at end of file diff --git a/Samples/ShowCase/obj/ShowCase.csproj.nuget.cache b/Samples/ShowCase/obj/ShowCase.csproj.nuget.cache new file mode 100644 index 00000000..d4028d31 --- /dev/null +++ b/Samples/ShowCase/obj/ShowCase.csproj.nuget.cache @@ -0,0 +1,5 @@ +{ + "version": 1, + "dgSpecHash": "Lonjf74CSvIz4D0v5YsXwKD/S11cKW+FVV4HlbnO9USLfjai/RrGsCWS5/zgY3KGAmveVub6J2bqJrRa4Nltbg==", + "success": true +}
\ No newline at end of file diff --git a/Samples/ShowCase/obj/ShowCase.csproj.nuget.g.props b/Samples/ShowCase/obj/ShowCase.csproj.nuget.g.props new file mode 100644 index 00000000..c3a7e591 --- /dev/null +++ b/Samples/ShowCase/obj/ShowCase.csproj.nuget.g.props @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="utf-8" standalone="no"?> +<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' "> + <RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess> + <RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool> + <ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">/mnt/devel/Crow/Samples/ShowCase/obj/project.assets.json</ProjectAssetsFile> + <NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">/home/jp/.nuget/packages/</NuGetPackageRoot> + <NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">/home/jp/.nuget/packages/;/usr/share/dotnet/sdk/NuGetFallbackFolder</NuGetPackageFolders> + <NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle> + <NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">4.8.0</NuGetToolVersion> + </PropertyGroup> + <PropertyGroup> + <MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects> + </PropertyGroup> +</Project>
\ No newline at end of file diff --git a/Samples/ShowCase/obj/ShowCase.csproj.nuget.g.targets b/Samples/ShowCase/obj/ShowCase.csproj.nuget.g.targets new file mode 100644 index 00000000..889c631f --- /dev/null +++ b/Samples/ShowCase/obj/ShowCase.csproj.nuget.g.targets @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="utf-8" standalone="no"?> +<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects> + </PropertyGroup> + <ImportGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' AND '$(ExcludeRestorePackageImports)' != 'true' "> + <Import Project="/usr/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/NETStandard.Library.targets" Condition="Exists('/usr/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/NETStandard.Library.targets')" /> + </ImportGroup> +</Project>
\ No newline at end of file diff --git a/Samples/ShowCase/obj/project.assets.json b/Samples/ShowCase/obj/project.assets.json new file mode 100644 index 00000000..0a926534 --- /dev/null +++ b/Samples/ShowCase/obj/project.assets.json @@ -0,0 +1,937 @@ +{ + "version": 3, + "targets": { + ".NETFramework,Version=v4.7.1": { + "Crow/0.8.1-beta": { + "type": "project", + "framework": ".NETFramework,Version=v4.7.1", + "compile": { + "bin/placeholder/Crow.dll": {} + }, + "runtime": { + "bin/placeholder/Crow.dll": {} + } + } + }, + ".NETStandard,Version=v2.0": { + "Microsoft.NETCore.Platforms/1.1.0": { + "type": "package", + "compile": { + "lib/netstandard1.0/_._": {} + }, + "runtime": { + "lib/netstandard1.0/_._": {} + } + }, + "Microsoft.NETCore.Targets/1.1.0": { + "type": "package", + "compile": { + "lib/netstandard1.0/_._": {} + }, + "runtime": { + "lib/netstandard1.0/_._": {} + } + }, + "NETStandard.Library/2.0.3": { + "type": "package", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0" + }, + "compile": { + "lib/netstandard1.0/_._": {} + }, + "runtime": { + "lib/netstandard1.0/_._": {} + }, + "build": { + "build/netstandard2.0/NETStandard.Library.targets": {} + } + }, + "System.IO/4.3.0": { + "type": "package", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0", + "System.Text.Encoding": "4.3.0", + "System.Threading.Tasks": "4.3.0" + }, + "compile": { + "ref/netstandard1.5/System.IO.dll": {} + } + }, + "System.Reflection/4.3.0": { + "type": "package", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.IO": "4.3.0", + "System.Reflection.Primitives": "4.3.0", + "System.Runtime": "4.3.0" + }, + "compile": { + "ref/netstandard1.5/System.Reflection.dll": {} + } + }, + "System.Reflection.Emit.ILGeneration/4.3.0": { + "type": "package", + "dependencies": { + "System.Reflection": "4.3.0", + "System.Reflection.Primitives": "4.3.0", + "System.Runtime": "4.3.0" + }, + "compile": { + "ref/netstandard1.0/System.Reflection.Emit.ILGeneration.dll": {} + }, + "runtime": { + "lib/netstandard1.3/System.Reflection.Emit.ILGeneration.dll": {} + } + }, + "System.Reflection.Emit.Lightweight/4.3.0": { + "type": "package", + "dependencies": { + "System.Reflection": "4.3.0", + "System.Reflection.Emit.ILGeneration": "4.3.0", + "System.Reflection.Primitives": "4.3.0", + "System.Runtime": "4.3.0" + }, + "compile": { + "ref/netstandard1.0/System.Reflection.Emit.Lightweight.dll": {} + }, + "runtime": { + "lib/netstandard1.3/System.Reflection.Emit.Lightweight.dll": {} + } + }, + "System.Reflection.Primitives/4.3.0": { + "type": "package", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + }, + "compile": { + "ref/netstandard1.0/System.Reflection.Primitives.dll": {} + } + }, + "System.Runtime/4.3.0": { + "type": "package", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0" + }, + "compile": { + "ref/netstandard1.5/System.Runtime.dll": {} + } + }, + "System.Text.Encoding/4.3.0": { + "type": "package", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + }, + "compile": { + "ref/netstandard1.3/System.Text.Encoding.dll": {} + } + }, + "System.Threading.Tasks/4.3.0": { + "type": "package", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + }, + "compile": { + "ref/netstandard1.3/System.Threading.Tasks.dll": {} + } + }, + "Crow/0.8.1-beta": { + "type": "project", + "framework": ".NETStandard,Version=v2.0", + "dependencies": { + "System.Reflection.Emit.ILGeneration": "4.3.0", + "System.Reflection.Emit.Lightweight": "4.3.0" + }, + "compile": { + "bin/placeholder/Crow.dll": {} + }, + "runtime": { + "bin/placeholder/Crow.dll": {} + } + } + } + }, + "libraries": { + "Microsoft.NETCore.Platforms/1.1.0": { + "sha512": "a/iSwnRZb+LHFk49hQOyThh/ZNC3vsbZsF65XwQIb863qF6msmhdQtxGXFL28Ob2NsCz/drEj28BJd/YPpLRBg==", + "type": "package", + "path": "microsoft.netcore.platforms/1.1.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "ThirdPartyNotices.txt", + "dotnet_library_license.txt", + "lib/netstandard1.0/_._", + "microsoft.netcore.platforms.1.1.0.nupkg.sha512", + "microsoft.netcore.platforms.nuspec", + "runtime.json" + ] + }, + "Microsoft.NETCore.Targets/1.1.0": { + "sha512": "aOZA3BWfz9RXjpzt0sRJJMjAscAUm3Hoa4UWAfceV9UTYxgwZ1lZt5nO2myFf+/jetYQo4uTP7zS8sJY67BBxg==", + "type": "package", + "path": "microsoft.netcore.targets/1.1.0", + "files": [ + ".nupkg.metadata", + "ThirdPartyNotices.txt", + "dotnet_library_license.txt", + "lib/netstandard1.0/_._", + "microsoft.netcore.targets.1.1.0.nupkg.sha512", + "microsoft.netcore.targets.nuspec", + "runtime.json" + ] + }, + "NETStandard.Library/2.0.3": { + "sha512": "st47PosZSHrjECdjeIzZQbzivYBJFv6P2nv4cj2ypdI204DO+vZ7l5raGMiX4eXMJ53RfOIg+/s4DHVZ54Nu2A==", + "type": "package", + "path": "netstandard.library/2.0.3", + "files": [ + ".nupkg.metadata", + "LICENSE.TXT", + "THIRD-PARTY-NOTICES.TXT", + "build/netstandard2.0/NETStandard.Library.targets", + "build/netstandard2.0/ref/Microsoft.Win32.Primitives.dll", + "build/netstandard2.0/ref/System.AppContext.dll", + "build/netstandard2.0/ref/System.Collections.Concurrent.dll", + "build/netstandard2.0/ref/System.Collections.NonGeneric.dll", + "build/netstandard2.0/ref/System.Collections.Specialized.dll", + "build/netstandard2.0/ref/System.Collections.dll", + "build/netstandard2.0/ref/System.ComponentModel.Composition.dll", + "build/netstandard2.0/ref/System.ComponentModel.EventBasedAsync.dll", + "build/netstandard2.0/ref/System.ComponentModel.Primitives.dll", + "build/netstandard2.0/ref/System.ComponentModel.TypeConverter.dll", + "build/netstandard2.0/ref/System.ComponentModel.dll", + "build/netstandard2.0/ref/System.Console.dll", + "build/netstandard2.0/ref/System.Core.dll", + "build/netstandard2.0/ref/System.Data.Common.dll", + "build/netstandard2.0/ref/System.Data.dll", + "build/netstandard2.0/ref/System.Diagnostics.Contracts.dll", + "build/netstandard2.0/ref/System.Diagnostics.Debug.dll", + "build/netstandard2.0/ref/System.Diagnostics.FileVersionInfo.dll", + "build/netstandard2.0/ref/System.Diagnostics.Process.dll", + "build/netstandard2.0/ref/System.Diagnostics.StackTrace.dll", + "build/netstandard2.0/ref/System.Diagnostics.TextWriterTraceListener.dll", + "build/netstandard2.0/ref/System.Diagnostics.Tools.dll", + "build/netstandard2.0/ref/System.Diagnostics.TraceSource.dll", + "build/netstandard2.0/ref/System.Diagnostics.Tracing.dll", + "build/netstandard2.0/ref/System.Drawing.Primitives.dll", + "build/netstandard2.0/ref/System.Drawing.dll", + "build/netstandard2.0/ref/System.Dynamic.Runtime.dll", + "build/netstandard2.0/ref/System.Globalization.Calendars.dll", + "build/netstandard2.0/ref/System.Globalization.Extensions.dll", + "build/netstandard2.0/ref/System.Globalization.dll", + "build/netstandard2.0/ref/System.IO.Compression.FileSystem.dll", + "build/netstandard2.0/ref/System.IO.Compression.ZipFile.dll", + "build/netstandard2.0/ref/System.IO.Compression.dll", + "build/netstandard2.0/ref/System.IO.FileSystem.DriveInfo.dll", + "build/netstandard2.0/ref/System.IO.FileSystem.Primitives.dll", + "build/netstandard2.0/ref/System.IO.FileSystem.Watcher.dll", + "build/netstandard2.0/ref/System.IO.FileSystem.dll", + "build/netstandard2.0/ref/System.IO.IsolatedStorage.dll", + "build/netstandard2.0/ref/System.IO.MemoryMappedFiles.dll", + "build/netstandard2.0/ref/System.IO.Pipes.dll", + "build/netstandard2.0/ref/System.IO.UnmanagedMemoryStream.dll", + "build/netstandard2.0/ref/System.IO.dll", + "build/netstandard2.0/ref/System.Linq.Expressions.dll", + "build/netstandard2.0/ref/System.Linq.Parallel.dll", + "build/netstandard2.0/ref/System.Linq.Queryable.dll", + "build/netstandard2.0/ref/System.Linq.dll", + "build/netstandard2.0/ref/System.Net.Http.dll", + "build/netstandard2.0/ref/System.Net.NameResolution.dll", + "build/netstandard2.0/ref/System.Net.NetworkInformation.dll", + "build/netstandard2.0/ref/System.Net.Ping.dll", + "build/netstandard2.0/ref/System.Net.Primitives.dll", + "build/netstandard2.0/ref/System.Net.Requests.dll", + "build/netstandard2.0/ref/System.Net.Security.dll", + "build/netstandard2.0/ref/System.Net.Sockets.dll", + "build/netstandard2.0/ref/System.Net.WebHeaderCollection.dll", + "build/netstandard2.0/ref/System.Net.WebSockets.Client.dll", + "build/netstandard2.0/ref/System.Net.WebSockets.dll", + "build/netstandard2.0/ref/System.Net.dll", + "build/netstandard2.0/ref/System.Numerics.dll", + "build/netstandard2.0/ref/System.ObjectModel.dll", + "build/netstandard2.0/ref/System.Reflection.Extensions.dll", + "build/netstandard2.0/ref/System.Reflection.Primitives.dll", + "build/netstandard2.0/ref/System.Reflection.dll", + "build/netstandard2.0/ref/System.Resources.Reader.dll", + "build/netstandard2.0/ref/System.Resources.ResourceManager.dll", + "build/netstandard2.0/ref/System.Resources.Writer.dll", + "build/netstandard2.0/ref/System.Runtime.CompilerServices.VisualC.dll", + "build/netstandard2.0/ref/System.Runtime.Extensions.dll", + "build/netstandard2.0/ref/System.Runtime.Handles.dll", + "build/netstandard2.0/ref/System.Runtime.InteropServices.RuntimeInformation.dll", + "build/netstandard2.0/ref/System.Runtime.InteropServices.dll", + "build/netstandard2.0/ref/System.Runtime.Numerics.dll", + "build/netstandard2.0/ref/System.Runtime.Serialization.Formatters.dll", + "build/netstandard2.0/ref/System.Runtime.Serialization.Json.dll", + "build/netstandard2.0/ref/System.Runtime.Serialization.Primitives.dll", + "build/netstandard2.0/ref/System.Runtime.Serialization.Xml.dll", + "build/netstandard2.0/ref/System.Runtime.Serialization.dll", + "build/netstandard2.0/ref/System.Runtime.dll", + "build/netstandard2.0/ref/System.Security.Claims.dll", + "build/netstandard2.0/ref/System.Security.Cryptography.Algorithms.dll", + "build/netstandard2.0/ref/System.Security.Cryptography.Csp.dll", + "build/netstandard2.0/ref/System.Security.Cryptography.Encoding.dll", + "build/netstandard2.0/ref/System.Security.Cryptography.Primitives.dll", + "build/netstandard2.0/ref/System.Security.Cryptography.X509Certificates.dll", + "build/netstandard2.0/ref/System.Security.Principal.dll", + "build/netstandard2.0/ref/System.Security.SecureString.dll", + "build/netstandard2.0/ref/System.ServiceModel.Web.dll", + "build/netstandard2.0/ref/System.Text.Encoding.Extensions.dll", + "build/netstandard2.0/ref/System.Text.Encoding.dll", + "build/netstandard2.0/ref/System.Text.RegularExpressions.dll", + "build/netstandard2.0/ref/System.Threading.Overlapped.dll", + "build/netstandard2.0/ref/System.Threading.Tasks.Parallel.dll", + "build/netstandard2.0/ref/System.Threading.Tasks.dll", + "build/netstandard2.0/ref/System.Threading.Thread.dll", + "build/netstandard2.0/ref/System.Threading.ThreadPool.dll", + "build/netstandard2.0/ref/System.Threading.Timer.dll", + "build/netstandard2.0/ref/System.Threading.dll", + "build/netstandard2.0/ref/System.Transactions.dll", + "build/netstandard2.0/ref/System.ValueTuple.dll", + "build/netstandard2.0/ref/System.Web.dll", + "build/netstandard2.0/ref/System.Windows.dll", + "build/netstandard2.0/ref/System.Xml.Linq.dll", + "build/netstandard2.0/ref/System.Xml.ReaderWriter.dll", + "build/netstandard2.0/ref/System.Xml.Serialization.dll", + "build/netstandard2.0/ref/System.Xml.XDocument.dll", + "build/netstandard2.0/ref/System.Xml.XPath.XDocument.dll", + "build/netstandard2.0/ref/System.Xml.XPath.dll", + "build/netstandard2.0/ref/System.Xml.XmlDocument.dll", + "build/netstandard2.0/ref/System.Xml.XmlSerializer.dll", + "build/netstandard2.0/ref/System.Xml.dll", + "build/netstandard2.0/ref/System.dll", + "build/netstandard2.0/ref/mscorlib.dll", + "build/netstandard2.0/ref/netstandard.dll", + "build/netstandard2.0/ref/netstandard.xml", + "lib/netstandard1.0/_._", + "netstandard.library.2.0.3.nupkg.sha512", + "netstandard.library.nuspec" + ] + }, + "System.IO/4.3.0": { + "sha512": "3qjaHvxQPDpSOYICjUoTsmoq5u6QJAFRUITgeT/4gqkF1bajbSmb1kwSxEA8AHlofqgcKJcM8udgieRNhaJ5Cg==", + "type": "package", + "path": "system.io/4.3.0", + "files": [ + ".nupkg.metadata", + "ThirdPartyNotices.txt", + "dotnet_library_license.txt", + "lib/MonoAndroid10/_._", + "lib/MonoTouch10/_._", + "lib/net45/_._", + "lib/net462/System.IO.dll", + "lib/portable-net45+win8+wp8+wpa81/_._", + "lib/win8/_._", + "lib/wp80/_._", + "lib/wpa81/_._", + "lib/xamarinios10/_._", + "lib/xamarinmac20/_._", + "lib/xamarintvos10/_._", + "lib/xamarinwatchos10/_._", + "ref/MonoAndroid10/_._", + "ref/MonoTouch10/_._", + "ref/net45/_._", + "ref/net462/System.IO.dll", + "ref/netcore50/System.IO.dll", + "ref/netcore50/System.IO.xml", + "ref/netcore50/de/System.IO.xml", + "ref/netcore50/es/System.IO.xml", + "ref/netcore50/fr/System.IO.xml", + "ref/netcore50/it/System.IO.xml", + "ref/netcore50/ja/System.IO.xml", + "ref/netcore50/ko/System.IO.xml", + "ref/netcore50/ru/System.IO.xml", + "ref/netcore50/zh-hans/System.IO.xml", + "ref/netcore50/zh-hant/System.IO.xml", + "ref/netstandard1.0/System.IO.dll", + "ref/netstandard1.0/System.IO.xml", + "ref/netstandard1.0/de/System.IO.xml", + "ref/netstandard1.0/es/System.IO.xml", + "ref/netstandard1.0/fr/System.IO.xml", + "ref/netstandard1.0/it/System.IO.xml", + "ref/netstandard1.0/ja/System.IO.xml", + "ref/netstandard1.0/ko/System.IO.xml", + "ref/netstandard1.0/ru/System.IO.xml", + "ref/netstandard1.0/zh-hans/System.IO.xml", + "ref/netstandard1.0/zh-hant/System.IO.xml", + "ref/netstandard1.3/System.IO.dll", + "ref/netstandard1.3/System.IO.xml", + "ref/netstandard1.3/de/System.IO.xml", + "ref/netstandard1.3/es/System.IO.xml", + "ref/netstandard1.3/fr/System.IO.xml", + "ref/netstandard1.3/it/System.IO.xml", + "ref/netstandard1.3/ja/System.IO.xml", + "ref/netstandard1.3/ko/System.IO.xml", + "ref/netstandard1.3/ru/System.IO.xml", + "ref/netstandard1.3/zh-hans/System.IO.xml", + "ref/netstandard1.3/zh-hant/System.IO.xml", + "ref/netstandard1.5/System.IO.dll", + "ref/netstandard1.5/System.IO.xml", + "ref/netstandard1.5/de/System.IO.xml", + "ref/netstandard1.5/es/System.IO.xml", + "ref/netstandard1.5/fr/System.IO.xml", + "ref/netstandard1.5/it/System.IO.xml", + "ref/netstandard1.5/ja/System.IO.xml", + "ref/netstandard1.5/ko/System.IO.xml", + "ref/netstandard1.5/ru/System.IO.xml", + "ref/netstandard1.5/zh-hans/System.IO.xml", + "ref/netstandard1.5/zh-hant/System.IO.xml", + "ref/portable-net45+win8+wp8+wpa81/_._", + "ref/win8/_._", + "ref/wp80/_._", + "ref/wpa81/_._", + "ref/xamarinios10/_._", + "ref/xamarinmac20/_._", + "ref/xamarintvos10/_._", + "ref/xamarinwatchos10/_._", + "system.io.4.3.0.nupkg.sha512", + "system.io.nuspec" + ] + }, + "System.Reflection/4.3.0": { + "sha512": "KMiAFoW7MfJGa9nDFNcfu+FpEdiHpWgTcS2HdMpDvt9saK3y/G4GwprPyzqjFH9NTaGPQeWNHU+iDlDILj96aQ==", + "type": "package", + "path": "system.reflection/4.3.0", + "files": [ + ".nupkg.metadata", + "ThirdPartyNotices.txt", + "dotnet_library_license.txt", + "lib/MonoAndroid10/_._", + "lib/MonoTouch10/_._", + "lib/net45/_._", + "lib/net462/System.Reflection.dll", + "lib/portable-net45+win8+wp8+wpa81/_._", + "lib/win8/_._", + "lib/wp80/_._", + "lib/wpa81/_._", + "lib/xamarinios10/_._", + "lib/xamarinmac20/_._", + "lib/xamarintvos10/_._", + "lib/xamarinwatchos10/_._", + "ref/MonoAndroid10/_._", + "ref/MonoTouch10/_._", + "ref/net45/_._", + "ref/net462/System.Reflection.dll", + "ref/netcore50/System.Reflection.dll", + "ref/netcore50/System.Reflection.xml", + "ref/netcore50/de/System.Reflection.xml", + "ref/netcore50/es/System.Reflection.xml", + "ref/netcore50/fr/System.Reflection.xml", + "ref/netcore50/it/System.Reflection.xml", + "ref/netcore50/ja/System.Reflection.xml", + "ref/netcore50/ko/System.Reflection.xml", + "ref/netcore50/ru/System.Reflection.xml", + "ref/netcore50/zh-hans/System.Reflection.xml", + "ref/netcore50/zh-hant/System.Reflection.xml", + "ref/netstandard1.0/System.Reflection.dll", + "ref/netstandard1.0/System.Reflection.xml", + "ref/netstandard1.0/de/System.Reflection.xml", + "ref/netstandard1.0/es/System.Reflection.xml", + "ref/netstandard1.0/fr/System.Reflection.xml", + "ref/netstandard1.0/it/System.Reflection.xml", + "ref/netstandard1.0/ja/System.Reflection.xml", + "ref/netstandard1.0/ko/System.Reflection.xml", + "ref/netstandard1.0/ru/System.Reflection.xml", + "ref/netstandard1.0/zh-hans/System.Reflection.xml", + "ref/netstandard1.0/zh-hant/System.Reflection.xml", + "ref/netstandard1.3/System.Reflection.dll", + "ref/netstandard1.3/System.Reflection.xml", + "ref/netstandard1.3/de/System.Reflection.xml", + "ref/netstandard1.3/es/System.Reflection.xml", + "ref/netstandard1.3/fr/System.Reflection.xml", + "ref/netstandard1.3/it/System.Reflection.xml", + "ref/netstandard1.3/ja/System.Reflection.xml", + "ref/netstandard1.3/ko/System.Reflection.xml", + "ref/netstandard1.3/ru/System.Reflection.xml", + "ref/netstandard1.3/zh-hans/System.Reflection.xml", + "ref/netstandard1.3/zh-hant/System.Reflection.xml", + "ref/netstandard1.5/System.Reflection.dll", + "ref/netstandard1.5/System.Reflection.xml", + "ref/netstandard1.5/de/System.Reflection.xml", + "ref/netstandard1.5/es/System.Reflection.xml", + "ref/netstandard1.5/fr/System.Reflection.xml", + "ref/netstandard1.5/it/System.Reflection.xml", + "ref/netstandard1.5/ja/System.Reflection.xml", + "ref/netstandard1.5/ko/System.Reflection.xml", + "ref/netstandard1.5/ru/System.Reflection.xml", + "ref/netstandard1.5/zh-hans/System.Reflection.xml", + "ref/netstandard1.5/zh-hant/System.Reflection.xml", + "ref/portable-net45+win8+wp8+wpa81/_._", + "ref/win8/_._", + "ref/wp80/_._", + "ref/wpa81/_._", + "ref/xamarinios10/_._", + "ref/xamarinmac20/_._", + "ref/xamarintvos10/_._", + "ref/xamarinwatchos10/_._", + "system.reflection.4.3.0.nupkg.sha512", + "system.reflection.nuspec" + ] + }, + "System.Reflection.Emit.ILGeneration/4.3.0": { + "sha512": "59tBslAk9733NXLrUJrwNZEzbMAcu8k344OYo+wfSVygcgZ9lgBdGIzH/nrg3LYhXceynyvTc8t5/GD4Ri0/ng==", + "type": "package", + "path": "system.reflection.emit.ilgeneration/4.3.0", + "files": [ + ".nupkg.metadata", + "ThirdPartyNotices.txt", + "dotnet_library_license.txt", + "lib/MonoAndroid10/_._", + "lib/MonoTouch10/_._", + "lib/net45/_._", + "lib/netcore50/System.Reflection.Emit.ILGeneration.dll", + "lib/netstandard1.3/System.Reflection.Emit.ILGeneration.dll", + "lib/portable-net45+wp8/_._", + "lib/wp80/_._", + "lib/xamarinios10/_._", + "lib/xamarinmac20/_._", + "lib/xamarintvos10/_._", + "lib/xamarinwatchos10/_._", + "ref/MonoAndroid10/_._", + "ref/MonoTouch10/_._", + "ref/net45/_._", + "ref/netstandard1.0/System.Reflection.Emit.ILGeneration.dll", + "ref/netstandard1.0/System.Reflection.Emit.ILGeneration.xml", + "ref/netstandard1.0/de/System.Reflection.Emit.ILGeneration.xml", + "ref/netstandard1.0/es/System.Reflection.Emit.ILGeneration.xml", + "ref/netstandard1.0/fr/System.Reflection.Emit.ILGeneration.xml", + "ref/netstandard1.0/it/System.Reflection.Emit.ILGeneration.xml", + "ref/netstandard1.0/ja/System.Reflection.Emit.ILGeneration.xml", + "ref/netstandard1.0/ko/System.Reflection.Emit.ILGeneration.xml", + "ref/netstandard1.0/ru/System.Reflection.Emit.ILGeneration.xml", + "ref/netstandard1.0/zh-hans/System.Reflection.Emit.ILGeneration.xml", + "ref/netstandard1.0/zh-hant/System.Reflection.Emit.ILGeneration.xml", + "ref/portable-net45+wp8/_._", + "ref/wp80/_._", + "ref/xamarinios10/_._", + "ref/xamarinmac20/_._", + "ref/xamarintvos10/_._", + "ref/xamarinwatchos10/_._", + "runtimes/aot/lib/netcore50/_._", + "system.reflection.emit.ilgeneration.4.3.0.nupkg.sha512", + "system.reflection.emit.ilgeneration.nuspec" + ] + }, + "System.Reflection.Emit.Lightweight/4.3.0": { + "sha512": "oadVHGSMsTmZsAF864QYN1t1QzZjIcuKU3l2S9cZOwDdDueNTrqq1yRj7koFfIGEnKpt6NjpL3rOzRhs4ryOgA==", + "type": "package", + "path": "system.reflection.emit.lightweight/4.3.0", + "files": [ + ".nupkg.metadata", + "ThirdPartyNotices.txt", + "dotnet_library_license.txt", + "lib/MonoAndroid10/_._", + "lib/MonoTouch10/_._", + "lib/net45/_._", + "lib/netcore50/System.Reflection.Emit.Lightweight.dll", + "lib/netstandard1.3/System.Reflection.Emit.Lightweight.dll", + "lib/portable-net45+wp8/_._", + "lib/wp80/_._", + "lib/xamarinios10/_._", + "lib/xamarinmac20/_._", + "lib/xamarintvos10/_._", + "lib/xamarinwatchos10/_._", + "ref/MonoAndroid10/_._", + "ref/MonoTouch10/_._", + "ref/net45/_._", + "ref/netstandard1.0/System.Reflection.Emit.Lightweight.dll", + "ref/netstandard1.0/System.Reflection.Emit.Lightweight.xml", + "ref/netstandard1.0/de/System.Reflection.Emit.Lightweight.xml", + "ref/netstandard1.0/es/System.Reflection.Emit.Lightweight.xml", + "ref/netstandard1.0/fr/System.Reflection.Emit.Lightweight.xml", + "ref/netstandard1.0/it/System.Reflection.Emit.Lightweight.xml", + "ref/netstandard1.0/ja/System.Reflection.Emit.Lightweight.xml", + "ref/netstandard1.0/ko/System.Reflection.Emit.Lightweight.xml", + "ref/netstandard1.0/ru/System.Reflection.Emit.Lightweight.xml", + "ref/netstandard1.0/zh-hans/System.Reflection.Emit.Lightweight.xml", + "ref/netstandard1.0/zh-hant/System.Reflection.Emit.Lightweight.xml", + "ref/portable-net45+wp8/_._", + "ref/wp80/_._", + "ref/xamarinios10/_._", + "ref/xamarinmac20/_._", + "ref/xamarintvos10/_._", + "ref/xamarinwatchos10/_._", + "runtimes/aot/lib/netcore50/_._", + "system.reflection.emit.lightweight.4.3.0.nupkg.sha512", + "system.reflection.emit.lightweight.nuspec" + ] + }, + "System.Reflection.Primitives/4.3.0": { + "sha512": "5RXItQz5As4xN2/YUDxdpsEkMhvw3e6aNveFXUn4Hl/udNTCNhnKp8lT9fnc3MhvGKh1baak5CovpuQUXHAlIA==", + "type": "package", + "path": "system.reflection.primitives/4.3.0", + "files": [ + ".nupkg.metadata", + "ThirdPartyNotices.txt", + "dotnet_library_license.txt", + "lib/MonoAndroid10/_._", + "lib/MonoTouch10/_._", + "lib/net45/_._", + "lib/portable-net45+win8+wp8+wpa81/_._", + "lib/win8/_._", + "lib/wp80/_._", + "lib/wpa81/_._", + "lib/xamarinios10/_._", + "lib/xamarinmac20/_._", + "lib/xamarintvos10/_._", + "lib/xamarinwatchos10/_._", + "ref/MonoAndroid10/_._", + "ref/MonoTouch10/_._", + "ref/net45/_._", + "ref/netcore50/System.Reflection.Primitives.dll", + "ref/netcore50/System.Reflection.Primitives.xml", + "ref/netcore50/de/System.Reflection.Primitives.xml", + "ref/netcore50/es/System.Reflection.Primitives.xml", + "ref/netcore50/fr/System.Reflection.Primitives.xml", + "ref/netcore50/it/System.Reflection.Primitives.xml", + "ref/netcore50/ja/System.Reflection.Primitives.xml", + "ref/netcore50/ko/System.Reflection.Primitives.xml", + "ref/netcore50/ru/System.Reflection.Primitives.xml", + "ref/netcore50/zh-hans/System.Reflection.Primitives.xml", + "ref/netcore50/zh-hant/System.Reflection.Primitives.xml", + "ref/netstandard1.0/System.Reflection.Primitives.dll", + "ref/netstandard1.0/System.Reflection.Primitives.xml", + "ref/netstandard1.0/de/System.Reflection.Primitives.xml", + "ref/netstandard1.0/es/System.Reflection.Primitives.xml", + "ref/netstandard1.0/fr/System.Reflection.Primitives.xml", + "ref/netstandard1.0/it/System.Reflection.Primitives.xml", + "ref/netstandard1.0/ja/System.Reflection.Primitives.xml", + "ref/netstandard1.0/ko/System.Reflection.Primitives.xml", + "ref/netstandard1.0/ru/System.Reflection.Primitives.xml", + "ref/netstandard1.0/zh-hans/System.Reflection.Primitives.xml", + "ref/netstandard1.0/zh-hant/System.Reflection.Primitives.xml", + "ref/portable-net45+win8+wp8+wpa81/_._", + "ref/win8/_._", + "ref/wp80/_._", + "ref/wpa81/_._", + "ref/xamarinios10/_._", + "ref/xamarinmac20/_._", + "ref/xamarintvos10/_._", + "ref/xamarinwatchos10/_._", + "system.reflection.primitives.4.3.0.nupkg.sha512", + "system.reflection.primitives.nuspec" + ] + }, + "System.Runtime/4.3.0": { + "sha512": "JufQi0vPQ0xGnAczR13AUFglDyVYt4Kqnz1AZaiKZ5+GICq0/1MH/mO/eAJHt/mHW1zjKBJd7kV26SrxddAhiw==", + "type": "package", + "path": "system.runtime/4.3.0", + "files": [ + ".nupkg.metadata", + "ThirdPartyNotices.txt", + "dotnet_library_license.txt", + "lib/MonoAndroid10/_._", + "lib/MonoTouch10/_._", + "lib/net45/_._", + "lib/net462/System.Runtime.dll", + "lib/portable-net45+win8+wp80+wpa81/_._", + "lib/win8/_._", + "lib/wp80/_._", + "lib/wpa81/_._", + "lib/xamarinios10/_._", + "lib/xamarinmac20/_._", + "lib/xamarintvos10/_._", + "lib/xamarinwatchos10/_._", + "ref/MonoAndroid10/_._", + "ref/MonoTouch10/_._", + "ref/net45/_._", + "ref/net462/System.Runtime.dll", + "ref/netcore50/System.Runtime.dll", + "ref/netcore50/System.Runtime.xml", + "ref/netcore50/de/System.Runtime.xml", + "ref/netcore50/es/System.Runtime.xml", + "ref/netcore50/fr/System.Runtime.xml", + "ref/netcore50/it/System.Runtime.xml", + "ref/netcore50/ja/System.Runtime.xml", + "ref/netcore50/ko/System.Runtime.xml", + "ref/netcore50/ru/System.Runtime.xml", + "ref/netcore50/zh-hans/System.Runtime.xml", + "ref/netcore50/zh-hant/System.Runtime.xml", + "ref/netstandard1.0/System.Runtime.dll", + "ref/netstandard1.0/System.Runtime.xml", + "ref/netstandard1.0/de/System.Runtime.xml", + "ref/netstandard1.0/es/System.Runtime.xml", + "ref/netstandard1.0/fr/System.Runtime.xml", + "ref/netstandard1.0/it/System.Runtime.xml", + "ref/netstandard1.0/ja/System.Runtime.xml", + "ref/netstandard1.0/ko/System.Runtime.xml", + "ref/netstandard1.0/ru/System.Runtime.xml", + "ref/netstandard1.0/zh-hans/System.Runtime.xml", + "ref/netstandard1.0/zh-hant/System.Runtime.xml", + "ref/netstandard1.2/System.Runtime.dll", + "ref/netstandard1.2/System.Runtime.xml", + "ref/netstandard1.2/de/System.Runtime.xml", + "ref/netstandard1.2/es/System.Runtime.xml", + "ref/netstandard1.2/fr/System.Runtime.xml", + "ref/netstandard1.2/it/System.Runtime.xml", + "ref/netstandard1.2/ja/System.Runtime.xml", + "ref/netstandard1.2/ko/System.Runtime.xml", + "ref/netstandard1.2/ru/System.Runtime.xml", + "ref/netstandard1.2/zh-hans/System.Runtime.xml", + "ref/netstandard1.2/zh-hant/System.Runtime.xml", + "ref/netstandard1.3/System.Runtime.dll", + "ref/netstandard1.3/System.Runtime.xml", + "ref/netstandard1.3/de/System.Runtime.xml", + "ref/netstandard1.3/es/System.Runtime.xml", + "ref/netstandard1.3/fr/System.Runtime.xml", + "ref/netstandard1.3/it/System.Runtime.xml", + "ref/netstandard1.3/ja/System.Runtime.xml", + "ref/netstandard1.3/ko/System.Runtime.xml", + "ref/netstandard1.3/ru/System.Runtime.xml", + "ref/netstandard1.3/zh-hans/System.Runtime.xml", + "ref/netstandard1.3/zh-hant/System.Runtime.xml", + "ref/netstandard1.5/System.Runtime.dll", + "ref/netstandard1.5/System.Runtime.xml", + "ref/netstandard1.5/de/System.Runtime.xml", + "ref/netstandard1.5/es/System.Runtime.xml", + "ref/netstandard1.5/fr/System.Runtime.xml", + "ref/netstandard1.5/it/System.Runtime.xml", + "ref/netstandard1.5/ja/System.Runtime.xml", + "ref/netstandard1.5/ko/System.Runtime.xml", + "ref/netstandard1.5/ru/System.Runtime.xml", + "ref/netstandard1.5/zh-hans/System.Runtime.xml", + "ref/netstandard1.5/zh-hant/System.Runtime.xml", + "ref/portable-net45+win8+wp80+wpa81/_._", + "ref/win8/_._", + "ref/wp80/_._", + "ref/wpa81/_._", + "ref/xamarinios10/_._", + "ref/xamarinmac20/_._", + "ref/xamarintvos10/_._", + "ref/xamarinwatchos10/_._", + "system.runtime.4.3.0.nupkg.sha512", + "system.runtime.nuspec" + ] + }, + "System.Text.Encoding/4.3.0": { + "sha512": "BiIg+KWaSDOITze6jGQynxg64naAPtqGHBwDrLaCtixsa5bKiR8dpPOHA7ge3C0JJQizJE+sfkz1wV+BAKAYZw==", + "type": "package", + "path": "system.text.encoding/4.3.0", + "files": [ + ".nupkg.metadata", + "ThirdPartyNotices.txt", + "dotnet_library_license.txt", + "lib/MonoAndroid10/_._", + "lib/MonoTouch10/_._", + "lib/net45/_._", + "lib/portable-net45+win8+wp8+wpa81/_._", + "lib/win8/_._", + "lib/wp80/_._", + "lib/wpa81/_._", + "lib/xamarinios10/_._", + "lib/xamarinmac20/_._", + "lib/xamarintvos10/_._", + "lib/xamarinwatchos10/_._", + "ref/MonoAndroid10/_._", + "ref/MonoTouch10/_._", + "ref/net45/_._", + "ref/netcore50/System.Text.Encoding.dll", + "ref/netcore50/System.Text.Encoding.xml", + "ref/netcore50/de/System.Text.Encoding.xml", + "ref/netcore50/es/System.Text.Encoding.xml", + "ref/netcore50/fr/System.Text.Encoding.xml", + "ref/netcore50/it/System.Text.Encoding.xml", + "ref/netcore50/ja/System.Text.Encoding.xml", + "ref/netcore50/ko/System.Text.Encoding.xml", + "ref/netcore50/ru/System.Text.Encoding.xml", + "ref/netcore50/zh-hans/System.Text.Encoding.xml", + "ref/netcore50/zh-hant/System.Text.Encoding.xml", + "ref/netstandard1.0/System.Text.Encoding.dll", + "ref/netstandard1.0/System.Text.Encoding.xml", + "ref/netstandard1.0/de/System.Text.Encoding.xml", + "ref/netstandard1.0/es/System.Text.Encoding.xml", + "ref/netstandard1.0/fr/System.Text.Encoding.xml", + "ref/netstandard1.0/it/System.Text.Encoding.xml", + "ref/netstandard1.0/ja/System.Text.Encoding.xml", + "ref/netstandard1.0/ko/System.Text.Encoding.xml", + "ref/netstandard1.0/ru/System.Text.Encoding.xml", + "ref/netstandard1.0/zh-hans/System.Text.Encoding.xml", + "ref/netstandard1.0/zh-hant/System.Text.Encoding.xml", + "ref/netstandard1.3/System.Text.Encoding.dll", + "ref/netstandard1.3/System.Text.Encoding.xml", + "ref/netstandard1.3/de/System.Text.Encoding.xml", + "ref/netstandard1.3/es/System.Text.Encoding.xml", + "ref/netstandard1.3/fr/System.Text.Encoding.xml", + "ref/netstandard1.3/it/System.Text.Encoding.xml", + "ref/netstandard1.3/ja/System.Text.Encoding.xml", + "ref/netstandard1.3/ko/System.Text.Encoding.xml", + "ref/netstandard1.3/ru/System.Text.Encoding.xml", + "ref/netstandard1.3/zh-hans/System.Text.Encoding.xml", + "ref/netstandard1.3/zh-hant/System.Text.Encoding.xml", + "ref/portable-net45+win8+wp8+wpa81/_._", + "ref/win8/_._", + "ref/wp80/_._", + "ref/wpa81/_._", + "ref/xamarinios10/_._", + "ref/xamarinmac20/_._", + "ref/xamarintvos10/_._", + "ref/xamarinwatchos10/_._", + "system.text.encoding.4.3.0.nupkg.sha512", + "system.text.encoding.nuspec" + ] + }, + "System.Threading.Tasks/4.3.0": { + "sha512": "LbSxKEdOUhVe8BezB/9uOGGppt+nZf6e1VFyw6v3DN6lqitm0OSn2uXMOdtP0M3W4iMcqcivm2J6UgqiwwnXiA==", + "type": "package", + "path": "system.threading.tasks/4.3.0", + "files": [ + ".nupkg.metadata", + "ThirdPartyNotices.txt", + "dotnet_library_license.txt", + "lib/MonoAndroid10/_._", + "lib/MonoTouch10/_._", + "lib/net45/_._", + "lib/portable-net45+win8+wp8+wpa81/_._", + "lib/win8/_._", + "lib/wp80/_._", + "lib/wpa81/_._", + "lib/xamarinios10/_._", + "lib/xamarinmac20/_._", + "lib/xamarintvos10/_._", + "lib/xamarinwatchos10/_._", + "ref/MonoAndroid10/_._", + "ref/MonoTouch10/_._", + "ref/net45/_._", + "ref/netcore50/System.Threading.Tasks.dll", + "ref/netcore50/System.Threading.Tasks.xml", + "ref/netcore50/de/System.Threading.Tasks.xml", + "ref/netcore50/es/System.Threading.Tasks.xml", + "ref/netcore50/fr/System.Threading.Tasks.xml", + "ref/netcore50/it/System.Threading.Tasks.xml", + "ref/netcore50/ja/System.Threading.Tasks.xml", + "ref/netcore50/ko/System.Threading.Tasks.xml", + "ref/netcore50/ru/System.Threading.Tasks.xml", + "ref/netcore50/zh-hans/System.Threading.Tasks.xml", + "ref/netcore50/zh-hant/System.Threading.Tasks.xml", + "ref/netstandard1.0/System.Threading.Tasks.dll", + "ref/netstandard1.0/System.Threading.Tasks.xml", + "ref/netstandard1.0/de/System.Threading.Tasks.xml", + "ref/netstandard1.0/es/System.Threading.Tasks.xml", + "ref/netstandard1.0/fr/System.Threading.Tasks.xml", + "ref/netstandard1.0/it/System.Threading.Tasks.xml", + "ref/netstandard1.0/ja/System.Threading.Tasks.xml", + "ref/netstandard1.0/ko/System.Threading.Tasks.xml", + "ref/netstandard1.0/ru/System.Threading.Tasks.xml", + "ref/netstandard1.0/zh-hans/System.Threading.Tasks.xml", + "ref/netstandard1.0/zh-hant/System.Threading.Tasks.xml", + "ref/netstandard1.3/System.Threading.Tasks.dll", + "ref/netstandard1.3/System.Threading.Tasks.xml", + "ref/netstandard1.3/de/System.Threading.Tasks.xml", + "ref/netstandard1.3/es/System.Threading.Tasks.xml", + "ref/netstandard1.3/fr/System.Threading.Tasks.xml", + "ref/netstandard1.3/it/System.Threading.Tasks.xml", + "ref/netstandard1.3/ja/System.Threading.Tasks.xml", + "ref/netstandard1.3/ko/System.Threading.Tasks.xml", + "ref/netstandard1.3/ru/System.Threading.Tasks.xml", + "ref/netstandard1.3/zh-hans/System.Threading.Tasks.xml", + "ref/netstandard1.3/zh-hant/System.Threading.Tasks.xml", + "ref/portable-net45+win8+wp8+wpa81/_._", + "ref/win8/_._", + "ref/wp80/_._", + "ref/wpa81/_._", + "ref/xamarinios10/_._", + "ref/xamarinmac20/_._", + "ref/xamarintvos10/_._", + "ref/xamarinwatchos10/_._", + "system.threading.tasks.4.3.0.nupkg.sha512", + "system.threading.tasks.nuspec" + ] + }, + "Crow/0.8.1-beta": { + "type": "project", + "path": "../../Crow/Crow.csproj", + "msbuildProject": "../../Crow/Crow.csproj" + } + }, + "projectFileDependencyGroups": { + ".NETFramework,Version=v4.7.1": [ + "Crow >= 0.8.1-beta" + ], + ".NETStandard,Version=v2.0": [ + "Crow >= 0.8.1-beta", + "NETStandard.Library >= 2.0.3" + ] + }, + "packageFolders": { + "/home/jp/.nuget/packages/": {}, + "/usr/share/dotnet/sdk/NuGetFallbackFolder": {} + }, + "project": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "/mnt/devel/Crow/Samples/ShowCase/ShowCase.csproj", + "projectName": "ShowCase", + "projectPath": "/mnt/devel/Crow/Samples/ShowCase/ShowCase.csproj", + "packagesPath": "/home/jp/.nuget/packages/", + "outputPath": "/mnt/devel/Crow/Samples/ShowCase/obj/", + "projectStyle": "PackageReference", + "crossTargeting": true, + "fallbackFolders": [ + "/usr/share/dotnet/sdk/NuGetFallbackFolder" + ], + "configFilePaths": [ + "/home/jp/.config/NuGet/NuGet.Config" + ], + "originalTargetFrameworks": [ + "net471", + "netstandard2.0" + ], + "sources": { + "/opt/localNuget": {}, + "https://api.nuget.org/v3/index.json": {}, + "https://www.myget.org/F/opentk-develop": {}, + "https://www.nuget.org/api/v2/": {} + }, + "frameworks": { + "net471": { + "projectReferences": { + "/mnt/devel/Crow/Crow/Crow.csproj": { + "projectPath": "/mnt/devel/Crow/Crow/Crow.csproj" + } + } + }, + "netstandard2.0": { + "projectReferences": { + "/mnt/devel/Crow/Crow/Crow.csproj": { + "projectPath": "/mnt/devel/Crow/Crow/Crow.csproj" + } + } + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + } + }, + "frameworks": { + "net471": {}, + "netstandard2.0": { + "dependencies": { + "NETStandard.Library": { + "suppressParent": "All", + "target": "Package", + "version": "[2.0.3, )", + "autoReferenced": true + } + }, + "imports": [ + "net461" + ], + "assetTargetFallback": true, + "warn": true + } + } + } +}
\ No newline at end of file diff --git a/Samples/ShowCase/packages.config b/Samples/ShowCase/packages.config new file mode 100644 index 00000000..fba81ebc --- /dev/null +++ b/Samples/ShowCase/packages.config @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="utf-8"?> +<packages> + <package id="CVKL" version="0.1.2" targetFramework="net471" /> + <package id="glTF2Loader" version="1.1.3-alpha" targetFramework="net471" /> + <package id="Newtonsoft.Json" version="12.0.2" targetFramework="net471" /> + <package id="System.Numerics.Vectors" version="4.6.0-preview4.19212.13" targetFramework="net471" /> + <package id="System.Runtime.CompilerServices.Unsafe" version="4.6.0-preview4.19212.13" targetFramework="net471" /> + <package id="Vulkan" version="0.1.2.6" targetFramework="net471" /> +</packages>
\ No newline at end of file diff --git a/Samples/ShowCase/ui/Interfaces/CheckBox2.imlt b/Samples/ShowCase/ui/Interfaces/CheckBox2.imlt new file mode 100644 index 00000000..c2bfe8da --- /dev/null +++ b/Samples/ShowCase/ui/Interfaces/CheckBox2.imlt @@ -0,0 +1,7 @@ +<Label Font="{./Font}" Text="{./Caption}" Height="{./HeightPolicy}" Width="{./WidthPolicy}" + Margin="3" + Background="{./Background}" + Foreground="DimGrey" + TextAlignment="Center" + MouseEnter="{Foreground=White}" + MouseLeave="{Foreground=DimGrey}"/>
\ No newline at end of file diff --git a/Samples/ShowCase/ui/Interfaces/Container/0.crow b/Samples/ShowCase/ui/Interfaces/Container/0.crow new file mode 100755 index 00000000..5ad8de0a --- /dev/null +++ b/Samples/ShowCase/ui/Interfaces/Container/0.crow @@ -0,0 +1,5 @@ +<?xml version="1.0"?> +<Container Background="DimGrey" Margin="10" Width="90%" Height="90%"> + <Widget Margin="10" Background="SeaGreen" + MinimumSize="50,50"/> +</Container>
\ No newline at end of file diff --git a/Samples/ShowCase/ui/Interfaces/Container/1.crow b/Samples/ShowCase/ui/Interfaces/Container/1.crow new file mode 100755 index 00000000..e879bcea --- /dev/null +++ b/Samples/ShowCase/ui/Interfaces/Container/1.crow @@ -0,0 +1,5 @@ +<?xml version="1.0"?> +<Container Background="Lust" Margin="10" Width="90%" Height="90%"> + <Widget Margin="10" Width="50%" Height="50%" Background="Maize" + MinimumSize="50,50"/> +</Container>
\ No newline at end of file diff --git a/Samples/ShowCase/ui/Interfaces/Container/2.crow b/Samples/ShowCase/ui/Interfaces/Container/2.crow new file mode 100755 index 00000000..98d1add0 --- /dev/null +++ b/Samples/ShowCase/ui/Interfaces/Container/2.crow @@ -0,0 +1,5 @@ +<?xml version="1.0"?> +<Container Background="MediumSeaGreen" Margin="10" Fit="true"> + <Widget Margin="10" Width="50%" Height="50%" Background="DarkGreen" + MinimumSize="50,50"/> +</Container>
\ No newline at end of file diff --git a/Samples/ShowCase/ui/Interfaces/Container/3.crow b/Samples/ShowCase/ui/Interfaces/Container/3.crow new file mode 100755 index 00000000..94655ca3 --- /dev/null +++ b/Samples/ShowCase/ui/Interfaces/Container/3.crow @@ -0,0 +1,4 @@ +<?xml version="1.0"?> +<Container Background="DimGrey" Margin="10" Fit="true"> + <Label Text="{fps}" Margin="10" Fit="true" Background="SeaGreen"/> +</Container>
\ No newline at end of file diff --git a/Samples/ShowCase/ui/Interfaces/DragAndDrop/0.crow b/Samples/ShowCase/ui/Interfaces/DragAndDrop/0.crow new file mode 100755 index 00000000..ca1a7bb5 --- /dev/null +++ b/Samples/ShowCase/ui/Interfaces/DragAndDrop/0.crow @@ -0,0 +1,20 @@ +<?xml version="1.0"?> +<HorizontalStack Background="DimGrey" Margin="10" Width="90%" Height="90%" Spacing="100" Focusable="true"> + <Container Name="source" StartDrag="{Background=DimGrey}" EndDrag="{Background=SeaGreen}" Focusable="true" Fit="true" + Drop="{../target.Background=Green}" + MouseEnter="{/txt.Foreground=Red}" MouseLeave="{/txt.Foreground=White}" MouseClick="{Background=SeaGreen}" + AllowDrag="true" Width="200" Height="200" Background="SeaGreen"> + <VerticalStack Margin="50"> + <Label Name="txt" Text="Drag me" Foreground="Grey"/> + <Label Text="Dragged" Visible="{../../IsDragged}" Foreground="Grey"/> + </VerticalStack> + </Container> + <Container Name="target" DragEnter="{Background=SeaGreen}" DragLeave="{Background=DimGrey}" Focusable="true" Fit="true" + MouseEnter="{/txt.Foreground=Red}" MouseLeave="{/txt.Foreground=White}" + AllowDrop="true" Background="DimGrey"> + <VerticalStack Margin="50"> + <Label Name="txt" Text="Drop here" Foreground="Grey"/> + <Label Text="Dragged" Visible="{../../IsDragged}" Foreground="Grey"/> + </VerticalStack> + </Container> +</HorizontalStack>
\ No newline at end of file diff --git a/Samples/ShowCase/ui/Interfaces/Experimental/DockWindow.template b/Samples/ShowCase/ui/Interfaces/Experimental/DockWindow.template new file mode 100755 index 00000000..6c91312b --- /dev/null +++ b/Samples/ShowCase/ui/Interfaces/Experimental/DockWindow.template @@ -0,0 +1,39 @@ +<?xml version="1.0"?> +<!--<Widget Background="{./Background}"/>--> +<Border BorderWidth="1" Foreground="Black" CornerRadius="{./CornerRadius}" + Background="{./Background}" + MouseEnter="./onBorderMouseEnter" + MouseLeave="./onBorderMouseLeave"> + <VerticalStack Spacing="0"> + <HorizontalStack Height="Fit"> + <Label Text="{./Name}" TextAlignment="Left" Width="Fit" + Foreground="White" /> + <Label Text="{./DockingPosition}" TextAlignment="Left" Width="Fit" + Foreground="White" /> + </HorizontalStack> + <Label Text="{./Width}" TextAlignment="Left" Width="Fit" + Foreground="White" /> + <Label Text="{./Height}" TextAlignment="Left" Width="Fit" + Foreground="White" /> + + <HorizontalStack Visible="{./IsDocked}" Height="Fit" Margin="1" Background="Grey"> + <Label Text="{./Caption}" TextAlignment="Left" Width="Stretched" + Foreground="Jet" /> + <Image Width="8" Height="8" Focusable="true" Margin="0" Path="#Crow.Icons.exit2.svg" + MouseClick="./butQuitPress"/> + </HorizontalStack> + <HorizontalStack Background="vgradient|0:0.5,0.6,0.5,0.5|1:0.2,0.3,0.3,0.7" + Name="hs" Margin="0" Spacing="0" Height="Fit" Visible="{./IsFloating}"> + <Widget Width="5"/> + <Image Margin="1" Width="10" Height="10" Path="{./Icon}"/> + <Label Width="Stretched" Foreground="White" Margin="1" TextAlignment="Left" Text="{./Caption}" /> + <Border CornerRadius="6" BorderWidth="1" Foreground="Transparent" Height="10" Width="10" + MouseEnter="{Foreground=White}" MouseLeave="{Foreground=Transparent}"> + <Image Focusable="true" Name="Image" Margin="0" Path="#Crow.Icons.exit2.svg" + MouseClick="./butQuitPress"/> + </Border> + <Widget Width="5"/> + </HorizontalStack> + <Container Name="Content" MinimumSize="50,50"/> + </VerticalStack> +</Border> diff --git a/Samples/ShowCase/ui/Interfaces/Experimental/testDock.crow b/Samples/ShowCase/ui/Interfaces/Experimental/testDock.crow new file mode 100644 index 00000000..f09552c6 --- /dev/null +++ b/Samples/ShowCase/ui/Interfaces/Experimental/testDock.crow @@ -0,0 +1,27 @@ +<?xml version="1.0"?> +<Window Width="Stretched" Height="Stretched" Background="Jet"> + <DockStack Name="mainDock" Background="DarkRed" Margin="20"> + </DockStack> +</Window> +<!--- + <DockWindow Left="450" Top="450" Width="150" Height="150" Background="Maize"/>--> + + +<!--<Group Background="DimGrey" Margin = "0" Focusable="true" > + <Window Top="100" Left="100" Focusable="true" Caption="View 1" Width="300" Height="300"><Widget Background="Green" Focusable="true" MouseEnter="{Background=Grey}" MouseLeave="{Background=Green}"/></Window> + <Window Top="200" Left="200" Focusable="true" Caption="View 2" Resizable = "true" Width="300" Height="300"><Widget Focusable="true" Background="Blue" MouseEnter="{Background=Grey}" MouseLeave="{Background=Blue}"/></Window> + <Window Top="300" Left="300" Focusable="true" Caption="View 3" Resizable = "true" Width="300" Height="300"><Widget Focusable="true" Background="Yellow" MouseEnter="{Background=Grey}" MouseLeave="{Background=Yellow}"/></Window> + <Window Top="400" Left="400" Focusable="true" Caption="View 4" Resizable = "true" Width="300" Height="300"><Widget Focusable="true" Background="Black" MouseEnter="{Background=Grey}" MouseLeave="{Background=Black}"/></Window> +</Group>--> +<!--<Docker > + <DockWindow Resizable = "true" Top="100" Left="100" Caption="View 1" Width="300" Height="300"> + <VerticalStack Background="DarkGreen" Focusable="true"> + <Label Text="{../../Left}" Background="Black" Width="Stretched"/> + <Label Text="{../../Top}" Background="Black"/> + <Label Text="{../../LogicalParent}" Background="Black"/> + </VerticalStack> + </DockWindow> + <DockWindow Top="200" Left="200" Focusable="true" Caption="View 2" Resizable = "true" Width="300" Height="300"><Widget Focusable="true" Background="Blue" MouseEnter="{Background=Grey}" MouseLeave="{Background=Blue}"/></DockWindow> + <DockWindow Top="300" Left="300" Focusable="true" Caption="View 3" Resizable = "true" Width="300" Height="300"><Widget Focusable="true" Background="Yellow" MouseEnter="{Background=Grey}" MouseLeave="{Background=Yellow}"/></DockWindow> + <DockWindow Top="400" Left="400" Focusable="true" Caption="View 4" Resizable = "true" Width="300" Height="300"><Widget Focusable="true" Background="Black" MouseEnter="{Background=Grey}" MouseLeave="{Background=Black}"/></DockWindow> +</Docker>-->
\ No newline at end of file diff --git a/Samples/ShowCase/ui/Interfaces/Experimental/testDock2.crow b/Samples/ShowCase/ui/Interfaces/Experimental/testDock2.crow new file mode 100644 index 00000000..5ff6f704 --- /dev/null +++ b/Samples/ShowCase/ui/Interfaces/Experimental/testDock2.crow @@ -0,0 +1,26 @@ +<?xml version="1.0"?> +<Docker > + <DockWindow Left="100" Top="100" Width="150" Height="150" Background="DarkRed"/> + <DockWindow Left="200" Top="200" Width="150" Height="150" Background="DarkGreen"/> + <DockWindow Left="300" Top="300" Width="150" Height="150" Background="Blue"/> + <DockWindow Left="400" Top="400" Width="150" Height="150" Background="DarkYellow"/> + <DockWindow Left="500" Top="500" Width="150" Height="150" Background="Yellow"/> +</Docker> +<!--<Group Background="DimGrey" Margin = "0" Focusable="true" > + <Window Top="100" Left="100" Focusable="true" Caption="View 1" Width="300" Height="300"><Widget Background="Green" Focusable="true" MouseEnter="{Background=Grey}" MouseLeave="{Background=Green}"/></Window> + <Window Top="200" Left="200" Focusable="true" Caption="View 2" Resizable = "true" Width="300" Height="300"><Widget Focusable="true" Background="Blue" MouseEnter="{Background=Grey}" MouseLeave="{Background=Blue}"/></Window> + <Window Top="300" Left="300" Focusable="true" Caption="View 3" Resizable = "true" Width="300" Height="300"><Widget Focusable="true" Background="Yellow" MouseEnter="{Background=Grey}" MouseLeave="{Background=Yellow}"/></Window> + <Window Top="400" Left="400" Focusable="true" Caption="View 4" Resizable = "true" Width="300" Height="300"><Widget Focusable="true" Background="Black" MouseEnter="{Background=Grey}" MouseLeave="{Background=Black}"/></Window> +</Group>--> +<!--<Docker > + <DockWindow Resizable = "true" Top="100" Left="100" Caption="View 1" Width="300" Height="300"> + <VerticalStack Background="DarkGreen" Focusable="true"> + <Label Text="{../../Left}" Background="Black" Width="Stretched"/> + <Label Text="{../../Top}" Background="Black"/> + <Label Text="{../../LogicalParent}" Background="Black"/> + </VerticalStack> + </DockWindow> + <DockWindow Top="200" Left="200" Focusable="true" Caption="View 2" Resizable = "true" Width="300" Height="300"><Widget Focusable="true" Background="Blue" MouseEnter="{Background=Grey}" MouseLeave="{Background=Blue}"/></DockWindow> + <DockWindow Top="300" Left="300" Focusable="true" Caption="View 3" Resizable = "true" Width="300" Height="300"><Widget Focusable="true" Background="Yellow" MouseEnter="{Background=Grey}" MouseLeave="{Background=Yellow}"/></DockWindow> + <DockWindow Top="400" Left="400" Focusable="true" Caption="View 4" Resizable = "true" Width="300" Height="300"><Widget Focusable="true" Background="Black" MouseEnter="{Background=Grey}" MouseLeave="{Background=Black}"/></DockWindow> +</Docker>-->
\ No newline at end of file diff --git a/Samples/ShowCase/ui/Interfaces/Experimental/testStack.crow b/Samples/ShowCase/ui/Interfaces/Experimental/testStack.crow new file mode 100644 index 00000000..0348f0b5 --- /dev/null +++ b/Samples/ShowCase/ui/Interfaces/Experimental/testStack.crow @@ -0,0 +1,32 @@ +<?xml version="1.0"?> +<Window Width="600" Height="500"> +<VerticalStack Margin="20" Background="DimGrey" Spacing="10"> + <Widget Height="100" Width="500" Background="Green"/> + <Splitter/> + <HorizontalStack> + <Widget Height="Stretched" Width="100" Background="Red"/> + <Splitter/> + <Widget Height="Stretched" Width="100" Background="DarkRed"/> + </HorizontalStack> + <Splitter/> + <Widget Height="100" Width="500" Background="Green"/> +</VerticalStack> +</Window> +<!--<Group Background="DimGrey" Margin = "0" Focusable="true" > + <Window Top="100" Left="100" Focusable="true" Caption="View 1" Width="300" Height="300"><Widget Background="Green" Focusable="true" MouseEnter="{Background=Grey}" MouseLeave="{Background=Green}"/></Window> + <Window Top="200" Left="200" Focusable="true" Caption="View 2" Resizable = "true" Width="300" Height="300"><Widget Focusable="true" Background="Blue" MouseEnter="{Background=Grey}" MouseLeave="{Background=Blue}"/></Window> + <Window Top="300" Left="300" Focusable="true" Caption="View 3" Resizable = "true" Width="300" Height="300"><Widget Focusable="true" Background="Yellow" MouseEnter="{Background=Grey}" MouseLeave="{Background=Yellow}"/></Window> + <Window Top="400" Left="400" Focusable="true" Caption="View 4" Resizable = "true" Width="300" Height="300"><Widget Focusable="true" Background="Black" MouseEnter="{Background=Grey}" MouseLeave="{Background=Black}"/></Window> +</Group>--> +<!--<Docker > + <DockWindow Resizable = "true" Top="100" Left="100" Caption="View 1" Width="300" Height="300"> + <VerticalStack Background="DarkGreen" Focusable="true"> + <Label Text="{../../Left}" Background="Black" Width="Stretched"/> + <Label Text="{../../Top}" Background="Black"/> + <Label Text="{../../LogicalParent}" Background="Black"/> + </VerticalStack> + </DockWindow> + <DockWindow Top="200" Left="200" Focusable="true" Caption="View 2" Resizable = "true" Width="300" Height="300"><Widget Focusable="true" Background="Blue" MouseEnter="{Background=Grey}" MouseLeave="{Background=Blue}"/></DockWindow> + <DockWindow Top="300" Left="300" Focusable="true" Caption="View 3" Resizable = "true" Width="300" Height="300"><Widget Focusable="true" Background="Yellow" MouseEnter="{Background=Grey}" MouseLeave="{Background=Yellow}"/></DockWindow> + <DockWindow Top="400" Left="400" Focusable="true" Caption="View 4" Resizable = "true" Width="300" Height="300"><Widget Focusable="true" Background="Black" MouseEnter="{Background=Grey}" MouseLeave="{Background=Black}"/></DockWindow> +</Docker>-->
\ No newline at end of file diff --git a/Samples/ShowCase/ui/Interfaces/Experimental/testTypeViewer.goml b/Samples/ShowCase/ui/Interfaces/Experimental/testTypeViewer.goml new file mode 100755 index 00000000..caa454fc --- /dev/null +++ b/Samples/ShowCase/ui/Interfaces/Experimental/testTypeViewer.goml @@ -0,0 +1,10 @@ +<?xml version="1.0"?> + + <VerticalStack Height="Fit" Width="250" Name="hstack" Margin="0" Spacing="0"> + <Border Height="Fit" Width="Stretched" BorderWidth="2" CornerRadius="10" Background="SteelBlue"> + <Label Name="labName" Text="{Name}" Width="Stretched" Height="Fit" Margin="3"/> + </Border> + <ListBox Data="{Members}" Width="Stretched" Height="400" ItemTemplate="Interfaces/tmpMembers.goml" Focusable="true"> + + </ListBox> + </VerticalStack> diff --git a/Samples/ShowCase/ui/Interfaces/GraphicObject/0.crow b/Samples/ShowCase/ui/Interfaces/GraphicObject/0.crow new file mode 100755 index 00000000..542e2ba4 --- /dev/null +++ b/Samples/ShowCase/ui/Interfaces/GraphicObject/0.crow @@ -0,0 +1,4 @@ +<?xml version="1.0"?> + + <Button CornerRadius="0" Background="Red"/> + diff --git a/Samples/ShowCase/ui/Interfaces/GraphicObject/1.crow b/Samples/ShowCase/ui/Interfaces/GraphicObject/1.crow new file mode 100755 index 00000000..d74f4949 --- /dev/null +++ b/Samples/ShowCase/ui/Interfaces/GraphicObject/1.crow @@ -0,0 +1,3 @@ +<?xml version="1.0"?> +<Widget Margin="10" Width="150" Height="150" Background="SeaGreen" + MinimumSize="50,50"/>
\ No newline at end of file diff --git a/Samples/ShowCase/ui/Interfaces/GraphicObject/2.crow b/Samples/ShowCase/ui/Interfaces/GraphicObject/2.crow new file mode 100755 index 00000000..af2998ac --- /dev/null +++ b/Samples/ShowCase/ui/Interfaces/GraphicObject/2.crow @@ -0,0 +1,4 @@ +<?xml version="1.0"?> +<Widget Margin="10" Width="50%" Height="50%" + Background="hgradient|0:Red|0.25:Blue|0.5:Green|0.75:Yellow|1:Red" + MinimumSize="50,50"/>
\ No newline at end of file diff --git a/Samples/ShowCase/ui/Interfaces/GraphicObject/4.crow b/Samples/ShowCase/ui/Interfaces/GraphicObject/4.crow new file mode 100755 index 00000000..f696a9ec --- /dev/null +++ b/Samples/ShowCase/ui/Interfaces/GraphicObject/4.crow @@ -0,0 +1,377 @@ +<?xml version="1.0"?> +<HorizontalStack Fit="true"> + <VerticalStack Fit="true" Name="vsFps" Spacing="10" > + <ProgressBar CornerRadius="5" Background="DimGray" Margin="1" Maximum="1000" Value="{fps}" Width="200" Height="15"/> + <HorizontalStack Fit="true"> + <Label Text="Memory:" Width="50" TextAlignment="Right"/> + <Label Text="{memory}" Font="droid,12" TextAlignment="Center" + Background="vgradient|0:BlueCrayola|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Update:" Width="50" TextAlignment="Right"/> + <Label Name="labUpdate" Text="{update}" Font="droid,12" Width="80" TextAlignment="Center" + Background="vgradient|0:AoEnglish|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Layouting:" Width="50" TextAlignment="Right"/> + <Label Name="labLayouting" Text="{layouting}" Font="droid,12" Width="80" TextAlignment="Center" + Background="vgradient|0:AoEnglish|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Drawing:" Width="50" TextAlignment="Right"/> + <Label Name="labDrawing" Text="{drawing}" Font="droid,12" Width="80" TextAlignment="Center" + Background="vgradient|0:AoEnglish|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Name="captionFps" Text="Fps:" Width="50" TextAlignment="Right"/> + <Label Name="valueFps" Text="{fps}" Font="droid , 12" Width="50" TextAlignment="Center" + Background="vgradient|0:AoEnglish|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Min:" Width="50" TextAlignment="Right"/> + <Label Text="{fpsMin}" Font="droid , 12" Width="50" TextAlignment="Center" + Background="vgradient|0:AoEnglish|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Max:" Width="50" TextAlignment="Right"/> + <Label Text="{fpsMax}" Font="droid , 12" Width="50" TextAlignment="Center" + Background="vgradient|0:AoEnglish|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Update:" Width="50" TextAlignment="Right"/> + <Label Name="labUpdate" Text="{update}" Font="droid,12" Width="80" TextAlignment="Center" + Background="vgradient|0:AoEnglish|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Layouting:" Width="50" TextAlignment="Right"/> + <Label Name="labLayouting" Text="{layouting}" Font="droid,12" Width="80" TextAlignment="Center" + Background="vgradient|0:AoEnglish|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Drawing:" Width="50" TextAlignment="Right"/> + <Label Name="labDrawing" Text="{drawing}" Font="droid,12" Width="80" TextAlignment="Center" + Background="vgradient|0:AoEnglish|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Name="captionFps" Text="Fps:" Width="50" TextAlignment="Right"/> + <Label Name="valueFps" Text="{fps}" Font="droid , 12" Width="50" TextAlignment="Center" + Background="vgradient|0:AoEnglish|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Min:" Width="50" TextAlignment="Right"/> + <Label Text="{fpsMin}" Font="droid , 12" Width="50" TextAlignment="Center" + Background="vgradient|0:AoEnglish|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Max:" Width="50" TextAlignment="Right"/> + <Label Text="{fpsMax}" Font="droid , 12" Width="50" TextAlignment="Center" + Background="vgradient|0:AoEnglish|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Update:" Width="50" TextAlignment="Right"/> + <Label Name="labUpdate" Text="{update}" Font="droid,12" Width="80" TextAlignment="Center" + Background="vgradient|0:AoEnglish|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Layouting:" Width="50" TextAlignment="Right"/> + <Label Name="labLayouting" Text="{layouting}" Font="droid,12" Width="80" TextAlignment="Center" + Background="vgradient|0:AoEnglish|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Drawing:" Width="50" TextAlignment="Right"/> + <Label Name="labDrawing" Text="{drawing}" Font="droid,12" Width="80" TextAlignment="Center" + Background="vgradient|0:AoEnglish|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Name="captionFps" Text="Fps:" Width="50" TextAlignment="Right"/> + <Label Name="valueFps" Text="{fps}" Font="droid , 12" Width="50" TextAlignment="Center" + Background="vgradient|0:AoEnglish|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Min:" Width="50" TextAlignment="Right"/> + <Label Text="{fpsMin}" Font="droid , 12" Width="50" TextAlignment="Center" + Background="vgradient|0:AoEnglish|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Max:" Width="50" TextAlignment="Right"/> + <Label Text="{fpsMax}" Font="droid , 12" Width="50" TextAlignment="Center" + Background="vgradient|0:AoEnglish|1:Black"/> + </HorizontalStack> + </VerticalStack> + <VerticalStack Fit="true" Name="vsFps" Spacing="10" > + <HorizontalStack Fit="true"> + <Label Text="Update:" Width="50" TextAlignment="Right"/> + <Label Name="labUpdate" Text="{update}" Font="droid,12" Width="80" TextAlignment="Center" + Background="vgradient|0:AoEnglish|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Layouting:" Width="50" TextAlignment="Right"/> + <Label Name="labLayouting" Text="{layouting}" Font="droid,12" Width="80" TextAlignment="Center" + Background="vgradient|0:AoEnglish|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Drawing:" Width="50" TextAlignment="Right"/> + <Label Name="labDrawing" Text="{drawing}" Font="droid,12" Width="80" TextAlignment="Center" + Background="vgradient|0:AoEnglish|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Name="captionFps" Text="Fps:" Width="50" TextAlignment="Right"/> + <Label Name="valueFps" Text="{fps}" Font="droid , 12" Width="50" TextAlignment="Center" + Background="vgradient|0:AoEnglish|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Min:" Width="50" TextAlignment="Right"/> + <Label Text="{fpsMin}" Font="droid , 12" Width="50" TextAlignment="Center" + Background="vgradient|0:AoEnglish|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Max:" Width="50" TextAlignment="Right"/> + <Label Text="{fpsMax}" Font="droid , 12" Width="50" TextAlignment="Center" + Background="vgradient|0:AoEnglish|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Update:" Width="50" TextAlignment="Right"/> + <Label Name="labUpdate" Text="{update}" Font="droid,12" Width="80" TextAlignment="Center" + Background="vgradient|0:AoEnglish|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Layouting:" Width="50" TextAlignment="Right"/> + <Label Name="labLayouting" Text="{layouting}" Font="droid,12" Width="80" TextAlignment="Center" + Background="vgradient|0:AoEnglish|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Drawing:" Width="50" TextAlignment="Right"/> + <Label Name="labDrawing" Text="{drawing}" Font="droid,12" Width="80" TextAlignment="Center" + Background="vgradient|0:AoEnglish|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Name="captionFps" Text="Fps:" Width="50" TextAlignment="Right"/> + <Label Name="valueFps" Text="{fps}" Font="droid , 12" Width="50" TextAlignment="Center" + Background="vgradient|0:AoEnglish|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Min:" Width="50" TextAlignment="Right"/> + <Label Text="{fpsMin}" Font="droid , 12" Width="50" TextAlignment="Center" + Background="vgradient|0:AoEnglish|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Max:" Width="50" TextAlignment="Right"/> + <Label Text="{fpsMax}" Font="droid , 12" Width="50" TextAlignment="Center" + Background="vgradient|0:AoEnglish|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Update:" Width="50" TextAlignment="Right"/> + <Label Name="labUpdate" Text="{update}" Font="droid,12" Width="80" TextAlignment="Center" + Background="vgradient|0:AoEnglish|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Layouting:" Width="50" TextAlignment="Right"/> + <Label Name="labLayouting" Text="{layouting}" Font="droid,12" Width="80" TextAlignment="Center" + Background="vgradient|0:AoEnglish|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Drawing:" Width="50" TextAlignment="Right"/> + <Label Name="labDrawing" Text="{drawing}" Font="droid,12" Width="80" TextAlignment="Center" + Background="vgradient|0:AoEnglish|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Name="captionFps" Text="Fps:" Width="50" TextAlignment="Right"/> + <Label Name="valueFps" Text="{fps}" Font="droid , 12" Width="50" TextAlignment="Center" + Background="vgradient|0:AoEnglish|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Min:" Width="50" TextAlignment="Right"/> + <Label Text="{fpsMin}" Font="droid , 12" Width="50" TextAlignment="Center" + Background="vgradient|0:AoEnglish|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Max:" Width="50" TextAlignment="Right"/> + <Label Text="{fpsMax}" Font="droid , 12" Width="50" TextAlignment="Center" + Background="vgradient|0:AoEnglish|1:Black"/> + </HorizontalStack> + </VerticalStack> + <VerticalStack Fit="true" Name="vsFps" Spacing="10" > + <HorizontalStack Fit="true"> + <Label Text="Update:" Width="50" TextAlignment="Right"/> + <Label Name="labUpdate" Text="{update}" Font="droid,12" Width="80" TextAlignment="Center" + Background="vgradient|0:AoEnglish|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Layouting:" Width="50" TextAlignment="Right"/> + <Label Name="labLayouting" Text="{layouting}" Font="droid,12" Width="80" TextAlignment="Center" + Background="vgradient|0:AoEnglish|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Drawing:" Width="50" TextAlignment="Right"/> + <Label Name="labDrawing" Text="{drawing}" Font="droid,12" Width="80" TextAlignment="Center" + Background="vgradient|0:AoEnglish|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Name="captionFps" Text="Fps:" Width="50" TextAlignment="Right"/> + <Label Name="valueFps" Text="{fps}" Font="droid , 12" Width="50" TextAlignment="Center" + Background="vgradient|0:AoEnglish|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Min:" Width="50" TextAlignment="Right"/> + <Label Text="{fpsMin}" Font="droid , 12" Width="50" TextAlignment="Center" + Background="vgradient|0:AoEnglish|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Max:" Width="50" TextAlignment="Right"/> + <Label Text="{fpsMax}" Font="droid , 12" Width="50" TextAlignment="Center" + Background="vgradient|0:AoEnglish|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Update:" Width="50" TextAlignment="Right"/> + <Label Name="labUpdate" Text="{update}" Font="droid,12" Width="80" TextAlignment="Center" + Background="vgradient|0:AoEnglish|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Layouting:" Width="50" TextAlignment="Right"/> + <Label Name="labLayouting" Text="{layouting}" Font="droid,12" Width="80" TextAlignment="Center" + Background="vgradient|0:AoEnglish|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Drawing:" Width="50" TextAlignment="Right"/> + <Label Name="labDrawing" Text="{drawing}" Font="droid,12" Width="80" TextAlignment="Center" + Background="vgradient|0:AoEnglish|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Name="captionFps" Text="Fps:" Width="50" TextAlignment="Right"/> + <Label Name="valueFps" Text="{fps}" Font="droid , 12" Width="50" TextAlignment="Center" + Background="vgradient|0:AoEnglish|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Min:" Width="50" TextAlignment="Right"/> + <Label Text="{fpsMin}" Font="droid , 12" Width="50" TextAlignment="Center" + Background="vgradient|0:AoEnglish|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Max:" Width="50" TextAlignment="Right"/> + <Label Text="{fpsMax}" Font="droid , 12" Width="50" TextAlignment="Center" + Background="vgradient|0:AoEnglish|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Update:" Width="50" TextAlignment="Right"/> + <Label Name="labUpdate" Text="{update}" Font="droid,12" Width="80" TextAlignment="Center" + Background="vgradient|0:AoEnglish|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Layouting:" Width="50" TextAlignment="Right"/> + <Label Name="labLayouting" Text="{layouting}" Font="droid,12" Width="80" TextAlignment="Center" + Background="vgradient|0:AoEnglish|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Drawing:" Width="50" TextAlignment="Right"/> + <Label Name="labDrawing" Text="{drawing}" Font="droid,12" Width="80" TextAlignment="Center" + Background="vgradient|0:AoEnglish|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Name="captionFps" Text="Fps:" Width="50" TextAlignment="Right"/> + <Label Name="valueFps" Text="{fps}" Font="droid , 12" Width="50" TextAlignment="Center" + Background="vgradient|0:AoEnglish|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Min:" Width="50" TextAlignment="Right"/> + <Label Text="{fpsMin}" Font="droid , 12" Width="50" TextAlignment="Center" + Background="vgradient|0:AoEnglish|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Max:" Width="50" TextAlignment="Right"/> + <Label Text="{fpsMax}" Font="droid , 12" Width="50" TextAlignment="Center" + Background="vgradient|0:AoEnglish|1:Black"/> + </HorizontalStack> + </VerticalStack> + <VerticalStack Fit="true" Name="vsFps" Spacing="10" > + <HorizontalStack Fit="true"> + <Label Text="Update:" Width="50" TextAlignment="Right"/> + <Label Name="labUpdate" Text="{update}" Font="droid,12" Width="80" TextAlignment="Center" + Background="vgradient|0:AoEnglish|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Layouting:" Width="50" TextAlignment="Right"/> + <Label Name="labLayouting" Text="{layouting}" Font="droid,12" Width="80" TextAlignment="Center" + Background="vgradient|0:AoEnglish|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Drawing:" Width="50" TextAlignment="Right"/> + <Label Name="labDrawing" Text="{drawing}" Font="droid,12" Width="80" TextAlignment="Center" + Background="vgradient|0:AoEnglish|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Name="captionFps" Text="Fps:" Width="50" TextAlignment="Right"/> + <Label Name="valueFps" Text="{fps}" Font="droid , 12" Width="50" TextAlignment="Center" + Background="vgradient|0:AoEnglish|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Min:" Width="50" TextAlignment="Right"/> + <Label Text="{fpsMin}" Font="droid , 12" Width="50" TextAlignment="Center" + Background="vgradient|0:AoEnglish|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Max:" Width="50" TextAlignment="Right"/> + <Label Text="{fpsMax}" Font="droid , 12" Width="50" TextAlignment="Center" + Background="vgradient|0:AoEnglish|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Update:" Width="50" TextAlignment="Right"/> + <Label Name="labUpdate" Text="{update}" Font="droid,12" Width="80" TextAlignment="Center" + Background="vgradient|0:AoEnglish|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Layouting:" Width="50" TextAlignment="Right"/> + <Label Name="labLayouting" Text="{layouting}" Font="droid,12" Width="80" TextAlignment="Center" + Background="vgradient|0:AoEnglish|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Drawing:" Width="50" TextAlignment="Right"/> + <Label Name="labDrawing" Text="{drawing}" Font="droid,12" Width="80" TextAlignment="Center" + Background="vgradient|0:AoEnglish|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Name="captionFps" Text="Fps:" Width="50" TextAlignment="Right"/> + <Label Name="valueFps" Text="{fps}" Font="droid , 12" Width="50" TextAlignment="Center" + Background="vgradient|0:AoEnglish|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Min:" Width="50" TextAlignment="Right"/> + <Label Text="{fpsMin}" Font="droid , 12" Width="50" TextAlignment="Center" + Background="vgradient|0:AoEnglish|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Max:" Width="50" TextAlignment="Right"/> + <Label Text="{fpsMax}" Font="droid , 12" Width="50" TextAlignment="Center" + Background="vgradient|0:AoEnglish|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Update:" Width="50" TextAlignment="Right"/> + <Label Name="labUpdate" Text="{update}" Font="droid,12" Width="80" TextAlignment="Center" + Background="vgradient|0:AoEnglish|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Layouting:" Width="50" TextAlignment="Right"/> + <Label Name="labLayouting" Text="{layouting}" Font="droid,12" Width="80" TextAlignment="Center" + Background="vgradient|0:AoEnglish|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Drawing:" Width="50" TextAlignment="Right"/> + <Label Name="labDrawing" Text="{drawing}" Font="droid,12" Width="80" TextAlignment="Center" + Background="vgradient|0:AoEnglish|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Name="captionFps" Text="Fps:" Width="50" TextAlignment="Right"/> + <Label Name="valueFps" Text="{fps}" Font="droid , 12" Width="50" TextAlignment="Center" + Background="vgradient|0:AoEnglish|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Min:" Width="50" TextAlignment="Right"/> + <Label Text="{fpsMin}" Font="droid , 12" Width="50" TextAlignment="Center" + Background="vgradient|0:AoEnglish|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Max:" Width="50" TextAlignment="Right"/> + <Label Text="{fpsMax}" Font="droid , 12" Width="50" TextAlignment="Center" + Background="vgradient|0:AoEnglish|1:Black"/> + </HorizontalStack> + </VerticalStack> +</HorizontalStack>
\ No newline at end of file diff --git a/Samples/ShowCase/ui/Interfaces/GraphicObject/5.crow b/Samples/ShowCase/ui/Interfaces/GraphicObject/5.crow new file mode 100755 index 00000000..4922474a --- /dev/null +++ b/Samples/ShowCase/ui/Interfaces/GraphicObject/5.crow @@ -0,0 +1,10 @@ +<?xml version="1.0"?> +<HorizontalStack Width="Stretched" Height="Fit" Margin="5" Background="Mantis"> + <GraphicObject Background="Carmine" Width="10%" Height="20"/> + <GraphicObject Background="Carmine" Width="Stretched" Height="20"/> + <GraphicObject Background="Carmine" Width="10%" Height="20"/> + <GraphicObject Background="Carmine" Width="10%" Height="20"/> + <GraphicObject Background="Carmine" Width="10%" Height="20"/> + <GraphicObject Background="Carmine" Width="10%" Height="20"/> + <GraphicObject Background="Carmine" Width="10%" Height="20"/> +</HorizontalStack> diff --git a/Samples/ShowCase/ui/Interfaces/GraphicObject/6.crow b/Samples/ShowCase/ui/Interfaces/GraphicObject/6.crow new file mode 100755 index 00000000..c37ca360 --- /dev/null +++ b/Samples/ShowCase/ui/Interfaces/GraphicObject/6.crow @@ -0,0 +1,6 @@ +<?xml version="1.0"?> +<VerticalStack Fit="true" Background="DimGray" Margin="5"> +<!-- <RadioButton/>--> + <Label Text="a" Width="Stretched" Background="Red"/> + <Label Text="{fps}" HorizontalAlignment="Right" Background="LimeGreen"/> +</VerticalStack> diff --git a/Samples/ShowCase/ui/Interfaces/GraphicObject/7.crow b/Samples/ShowCase/ui/Interfaces/GraphicObject/7.crow new file mode 100755 index 00000000..d8e9cd38 --- /dev/null +++ b/Samples/ShowCase/ui/Interfaces/GraphicObject/7.crow @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<VerticalStack Height="Fit" Width="Fit"> + <Label Width="0"/> + <Expandable Width="Fit" Background="Gray"> + <Expandable Background="LightBlue"> + <Expandable Background="Green"> + <Expandable Background="LimeGreen"> + <Expandable Background="DimGray"> + <Expandable Width="0" Background="Yellow"> + <Expandable Background="NavyBlue"> + <Expandable Width="0" Background="Blue"> + <Expandable Width="0" Background="BlueCrayola"> + <Expandable Width="0" Background="Green"> + <Label Background="Red"/> + </Expandable> + </Expandable> + </Expandable> + </Expandable> + </Expandable> + </Expandable> + </Expandable> + </Expandable> + </Expandable> + </Expandable> + <Expandable Width="0" Background="Gray"> + <Expandable Width="0" Background="LightBlue"> + <Expandable Width="0" Background="Green"> + <Expandable Width="0" Background="LimeGreen"> + <Expandable Width="0" Background="DimGray"> + <Expandable Width="0" Background="Yellow"> + <Expandable Width="0" Background="NavyBlue"> + <Expandable Width="0" Background="Blue"> + <Expandable Width="0" Background="BlueCrayola"> + <Expandable Width="0" Background="Green"> + <Label Background="Red"/> + </Expandable> + </Expandable> + </Expandable> + </Expandable> + </Expandable> + </Expandable> + </Expandable> + </Expandable> + </Expandable> + </Expandable> +</VerticalStack> diff --git a/Samples/ShowCase/ui/Interfaces/Group/0.crow b/Samples/ShowCase/ui/Interfaces/Group/0.crow new file mode 100755 index 00000000..db09cab0 --- /dev/null +++ b/Samples/ShowCase/ui/Interfaces/Group/0.crow @@ -0,0 +1,11 @@ +<?xml version="1.0"?> +<Group MinimumSize="50,50" Background="DimGrey" Margin="10" Width="90%" Height="90%"> + <Widget Margin="10" Width="Stretched" Height="Fit" Background="SeaGreen" + VerticalAlignment="Top" + MinimumSize="10,10"/> + <Widget Margin="10" Width="Stretched" Height="Fit" Background="SeaGreen" + MinimumSize="10,10"/> + <Widget Margin="10" Width="Stretched" Height="Fit" Background="SeaGreen" + VerticalAlignment="Bottom" + MinimumSize="10,10"/> +</Group>
\ No newline at end of file diff --git a/Samples/ShowCase/ui/Interfaces/Group/1.crow b/Samples/ShowCase/ui/Interfaces/Group/1.crow new file mode 100755 index 00000000..2d378d3d --- /dev/null +++ b/Samples/ShowCase/ui/Interfaces/Group/1.crow @@ -0,0 +1,33 @@ +<?xml version="1.0"?> +<Group Background="DimGrey" Margin="10" Width="90%" Height="90%"> + <Widget Margin="10" Width="20%" Height="20%" Background="SeaGreen" + VerticalAlignment="Top" + HorizontalAlignment="Left" + MinimumSize="10,10"/> + <Widget Margin="10" Width="20%" Height="20%" Background="SeaGreen" + VerticalAlignment="Top" + MinimumSize="10,10"/> + <Widget Margin="10" Width="20%" Height="20%" Background="SeaGreen" + VerticalAlignment="Top" + HorizontalAlignment="Right" + MinimumSize="10,10"/> + <Widget Margin="10" Width="20%" Height="20%" Background="SeaGreen" + HorizontalAlignment="Left" + MinimumSize="10,10"/> + <Widget Margin="10" Width="20%" Height="20%" Background="SeaGreen" + MinimumSize="10,10"/> + <Widget Margin="10" Width="20%" Height="20%" Background="SeaGreen" + HorizontalAlignment="Right" + MinimumSize="10,10"/> + <Widget Margin="10" Width="20%" Height="20%" Background="SeaGreen" + VerticalAlignment="Bottom" + HorizontalAlignment="Left" + MinimumSize="10,10"/> + <Widget Margin="10" Width="20%" Height="20%" Background="SeaGreen" + VerticalAlignment="Bottom" + MinimumSize="10,10"/> + <Widget Margin="10" Width="20%" Height="20%" Background="SeaGreen" + VerticalAlignment="Bottom" + HorizontalAlignment="Right" + MinimumSize="10,10"/> +</Group>
\ No newline at end of file diff --git a/Samples/ShowCase/ui/Interfaces/Group/2.crow b/Samples/ShowCase/ui/Interfaces/Group/2.crow new file mode 100755 index 00000000..721790d9 --- /dev/null +++ b/Samples/ShowCase/ui/Interfaces/Group/2.crow @@ -0,0 +1,33 @@ +<?xml version="1.0"?> +<Group Background="DimGrey" Margin="10" Fit="true"> + <Widget Margin="10" Width="20%" Height="20%" Background="SeaGreen" + VerticalAlignment="Top" + HorizontalAlignment="Left" + MinimumSize="10,10"/> + <Widget Margin="10" Width="20%" Height="20%" Background="SeaGreen" + VerticalAlignment="Top" + MinimumSize="10,10"/> + <Widget Margin="10" Width="20%" Height="20%" Background="SeaGreen" + VerticalAlignment="Top" + HorizontalAlignment="Right" + MinimumSize="10,10"/> + <Widget Margin="10" Width="20%" Height="20%" Background="SeaGreen" + HorizontalAlignment="Left" + MinimumSize="10,10"/> + <Widget Margin="10" Width="20%" Height="20%" Background="SeaGreen" + MinimumSize="10,10"/> + <Widget Margin="10" Width="20%" Height="20%" Background="SeaGreen" + HorizontalAlignment="Right" + MinimumSize="10,10"/> + <Widget Margin="10" Width="20%" Height="20%" Background="SeaGreen" + VerticalAlignment="Bottom" + HorizontalAlignment="Left" + MinimumSize="10,10"/> + <Widget Margin="10" Width="20%" Height="20%" Background="SeaGreen" + VerticalAlignment="Bottom" + MinimumSize="10,10"/> + <Widget Margin="10" Width="20%" Height="20%" Background="SeaGreen" + VerticalAlignment="Bottom" + HorizontalAlignment="Right" + MinimumSize="10,10"/> +</Group>
\ No newline at end of file diff --git a/Samples/ShowCase/ui/Interfaces/Group/3.crow b/Samples/ShowCase/ui/Interfaces/Group/3.crow new file mode 100755 index 00000000..bcb57b20 --- /dev/null +++ b/Samples/ShowCase/ui/Interfaces/Group/3.crow @@ -0,0 +1,33 @@ +<?xml version="1.0"?> +<Group Background="DimGrey" Margin="10" Width="70%" Height="50%"> + <Widget Margin="10" Width="20%" Height="20%" Background="SeaGreen" + VerticalAlignment="Top" + HorizontalAlignment="Left" + MinimumSize="10,10"/> + <Widget Margin="10" Width="20%" Height="20%" Background="SeaGreen" + VerticalAlignment="Top" + MinimumSize="10,10"/> + <Widget Margin="10" Width="20%" Height="20%" Background="SeaGreen" + VerticalAlignment="Top" + HorizontalAlignment="Right" + MinimumSize="10,10"/> + <Widget Margin="10" Width="100%" Height="20%" Background="SeaGreen" + HorizontalAlignment="Left" + MinimumSize="10,10"/> + <Widget Margin="10" Width="20%" Height="20%" Background="SeaGreen" + MinimumSize="10,10"/> + <Widget Margin="10" Width="20%" Height="20%" Background="SeaGreen" + HorizontalAlignment="Right" + MinimumSize="10,10"/> + <Widget Margin="10" Width="20%" Height="20%" Background="SeaGreen" + VerticalAlignment="Bottom" + HorizontalAlignment="Left" + MinimumSize="10,10"/> + <Widget Margin="10" Width="20%" Height="20%" Background="SeaGreen" + VerticalAlignment="Bottom" + MinimumSize="10,10"/> + <Widget Margin="10" Width="20%" Height="20%" Background="SeaGreen" + VerticalAlignment="Bottom" + HorizontalAlignment="Right" + MinimumSize="10,10"/> +</Group>
\ No newline at end of file diff --git a/Samples/ShowCase/ui/Interfaces/Group/4.crow b/Samples/ShowCase/ui/Interfaces/Group/4.crow new file mode 100755 index 00000000..3e97341d --- /dev/null +++ b/Samples/ShowCase/ui/Interfaces/Group/4.crow @@ -0,0 +1,7 @@ +<?xml version="1.0"?> +<Group Background="DimGrey" Margin="10" Fit="true"> + <Label Font="droid bold,40" Text="{fps}" Margin="10" Fit="true"/> + <Widget Margin="10" Width="20%" Height="20%" Background="SeaGreen" + VerticalAlignment="Top" + MinimumSize="10,10"/> +</Group>
\ No newline at end of file diff --git a/Samples/ShowCase/ui/Interfaces/Splitter/1.crow b/Samples/ShowCase/ui/Interfaces/Splitter/1.crow new file mode 100755 index 00000000..48c1ea1e --- /dev/null +++ b/Samples/ShowCase/ui/Interfaces/Splitter/1.crow @@ -0,0 +1,30 @@ +<?xml version="1.0"?> +<HorizontalStack Width="80%" Height="50%"> + <Border Width="45%" CornerRadius="10" BorderWidth="1"> + <VerticalStack> + <VerticalStack Height="45%"> + <CheckBox Height="25%" IsChecked="false" Caption="Check 1" Background="hgradient|0:LimeGreen|1:Transparent"/> + <CheckBox Height="25%" IsChecked="false" Caption="Check 2" Background="hgradient|0:LimeGreen|1:Transparent"/> + <CheckBox Height="25%" IsChecked="true" Caption="Check 3" Background="hgradient|0:LimeGreen|1:Transparent"/> + <CheckBox Height="25%" IsChecked="false" Caption="Check 4" Background="hgradient|0:LimeGreen|1:Transparent"/> + </VerticalStack> + <Splitter Thickness="3"/> + <VerticalStack Height="45%"> + <CheckBox Height="25%" IsChecked="false" Caption="Check 1" Background="hgradient|0:LimeGreen|1:Transparent"/> + <CheckBox Height="25%" IsChecked="false" Caption="Check 2" Background="hgradient|0:LimeGreen|1:Transparent"/> + <CheckBox Height="25%" IsChecked="true" Caption="Check 3" Background="hgradient|0:LimeGreen|1:Transparent"/> + <CheckBox Height="25%" IsChecked="false" Caption="Check 4" Background="hgradient|0:LimeGreen|1:Transparent"/> + </VerticalStack> + </VerticalStack> + </Border> + <Splitter Thickness="3"/> + <Border Width="45%" CornerRadius="10" BorderWidth="1"> + <VerticalStack Width="50%" Height="50%" Background="DimGrey"> + <RadioButton IsChecked="false" Caption="Choice 1" Background="hgradient|0:DarkRed|1:Transparent"/> + <RadioButton IsChecked="false" Caption="Choice 2" Background="hgradient|0:DarkRed|1:Transparent"/> + <RadioButton IsChecked="true" Caption="Choice 3" Background="hgradient|0:DarkRed|1:Transparent"/> + <RadioButton IsChecked="false" Caption="Choice 4" Background="hgradient|0:DarkRed|1:Transparent"/> + </VerticalStack> + </Border> + <Splitter Thickness="3"/> +</HorizontalStack> diff --git a/Samples/ShowCase/ui/Interfaces/Splitter/3.crow b/Samples/ShowCase/ui/Interfaces/Splitter/3.crow new file mode 100755 index 00000000..582944a9 --- /dev/null +++ b/Samples/ShowCase/ui/Interfaces/Splitter/3.crow @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<VerticalStack Fit="true"> + <GraphicObject CornerRadius="5" Height="10" Width="600" Background="vgradient|0:Transparent|0,5:White|1:Transparent"/> + <HorizontalStack Fit="true" HorizontalAlignment="Left"> + <Border Fit="true" CornerRadius="10" BorderWidth="1"> + <VerticalStack Margin="10"> + <CheckBox IsChecked="false" Caption="Check 1" Background="hgradient|0:LimeGreen|1:Transparent"/> + <CheckBox IsChecked="false" Caption="Check 2" Background="hgradient|0:LimeGreen|1:Transparent"/> + <CheckBox IsChecked="true" Caption="Check 3" Background="hgradient|0:LimeGreen|1:Transparent"/> + <CheckBox IsChecked="false" Caption="Check 4" Background="hgradient|0:LimeGreen|1:Transparent"/> + </VerticalStack> + </Border> + <Splitter/> + <Border Fit="true" CornerRadius="10" BorderWidth="1"> + <VerticalStack Margin="10"> + <RadioButton IsChecked="false" Caption="Choice 1" Background="hgradient|0:DarkRed|1:Transparent"/> + <Splitter/> + <RadioButton Width="Stretched" IsChecked="false" Caption="Choice 2" Background="hgradient|0:DarkRed|1:Transparent"/> + <RadioButton IsChecked="true" Caption="Choice 3" Background="hgradient|0:DarkRed|1:Transparent"/> + <RadioButton IsChecked="false" Caption="Choice 4" Background="hgradient|0:DarkRed|1:Transparent"/> + </VerticalStack> + </Border> + <Splitter Thickness="3" /> + <Border Fit="true" CornerRadius="10" BorderWidth="1" MaximumSize="150;150" MinimumSize="50;50"> + <VerticalStack Margin="10"> + <Label Text="label 1" Background="hgradient|0:BlueCrayola|1:Transparent"/> + <Label Text="label 2" Background="hgradient|0:BlueCrayola|1:Transparent"/> + <Label Text="label 3" Background="hgradient|0:BlueCrayola|1:Transparent"/> + <Label Text="label 4" Width="Stretched" Background="hgradient|0:BlueCrayola|1:Transparent"/> + </VerticalStack> + </Border> + <Splitter/> + <Border Fit="true" CornerRadius="10" BorderWidth="1"> + <VerticalStack Margin="10"> + <Button Caption="Button 1" Background="hgradient|0:Red|1:DarkRed" CornerRadius="5"/> + <Button Caption="Button 2" Background="hgradient|0:AoEnglish|1:Arsenic" CornerRadius="3"/> + <Button Caption="Button 3" Background="hgradient|0:DarkRed|1:Transparent" CornerRadius="0"/> + <Button Caption="Button 4" Background="hgradient|0:DarkRed|1:Transparent" CornerRadius="8"/> + </VerticalStack> + </Border> + <Splitter/> + </HorizontalStack> + <GraphicObject CornerRadius="5" Height="10" Width="600" Background="vgradient|0:Transparent|0,5:White|1:Transparent"/> +</VerticalStack>
\ No newline at end of file diff --git a/Samples/ShowCase/ui/Interfaces/Stack/0.crow b/Samples/ShowCase/ui/Interfaces/Stack/0.crow new file mode 100755 index 00000000..e2ce6bb9 --- /dev/null +++ b/Samples/ShowCase/ui/Interfaces/Stack/0.crow @@ -0,0 +1,9 @@ +<?xml version="1.0"?> +<VerticalStack MinimumSize="50,50" Background="DimGrey" Margin="10" Width="90%" Height="90%"> + <Widget Margin="10" Width="Stretched" Height="Fit" Background="SeaGreen" + MinimumSize="10,10"/> + <Widget Margin="10" Width="Stretched" Height="Fit" Background="SeaGreen" + MinimumSize="10,10"/> + <Widget Margin="10" Width="Stretched" Height="Fit" Background="SeaGreen" + MinimumSize="10,10"/> +</VerticalStack>
\ No newline at end of file diff --git a/Samples/ShowCase/ui/Interfaces/Stack/0h.crow b/Samples/ShowCase/ui/Interfaces/Stack/0h.crow new file mode 100755 index 00000000..af596cbc --- /dev/null +++ b/Samples/ShowCase/ui/Interfaces/Stack/0h.crow @@ -0,0 +1,9 @@ +<?xml version="1.0"?> +<HorizontalStack MinimumSize="50,50" Background="DimGrey" Margin="10" Width="90%" Height="90%"> + <Widget Margin="10" Width="Stretched" Height="Fit" Background="SeaGreen" + MinimumSize="10,10"/> + <Widget Margin="10" Width="Stretched" Height="Fit" Background="SeaGreen" + MinimumSize="10,10"/> + <Widget Margin="10" Width="Stretched" Height="Fit" Background="SeaGreen" + MinimumSize="10,10"/> +</HorizontalStack>
\ No newline at end of file diff --git a/Samples/ShowCase/ui/Interfaces/Stack/1.crow b/Samples/ShowCase/ui/Interfaces/Stack/1.crow new file mode 100755 index 00000000..4b89bead --- /dev/null +++ b/Samples/ShowCase/ui/Interfaces/Stack/1.crow @@ -0,0 +1,9 @@ +<?xml version="1.0"?> +<VerticalStack Background="DimGrey" Margin="10" Width="90%" Height="90%"> + <Widget Margin="10" Width="Stretched" Height="20%" Background="SeaGreen" + MinimumSize="10,10"/> + <Widget Margin="10" Width="Stretched" Height="60%" Background="SeaGreen" + MinimumSize="10,10"/> + <Widget Margin="10" Width="Stretched" Height="20%" Background="SeaGreen" + MinimumSize="10,10"/> +</VerticalStack>
\ No newline at end of file diff --git a/Samples/ShowCase/ui/Interfaces/Stack/1h.crow b/Samples/ShowCase/ui/Interfaces/Stack/1h.crow new file mode 100755 index 00000000..5fb05514 --- /dev/null +++ b/Samples/ShowCase/ui/Interfaces/Stack/1h.crow @@ -0,0 +1,9 @@ +<?xml version="1.0"?> +<HorizontalStack Background="DimGrey" Margin="10" Width="90%" Height="90%"> + <Widget Margin="10" Width="Stretched" Height="20%" Background="SeaGreen" + MinimumSize="10,10"/> + <Widget Margin="10" Width="Stretched" Height="60%" Background="SeaGreen" + MinimumSize="10,10"/> + <Widget Margin="10" Width="Stretched" Height="20%" Background="SeaGreen" + MinimumSize="10,10"/> +</HorizontalStack>
\ No newline at end of file diff --git a/Samples/ShowCase/ui/Interfaces/Stack/2.crow b/Samples/ShowCase/ui/Interfaces/Stack/2.crow new file mode 100755 index 00000000..2498ee3e --- /dev/null +++ b/Samples/ShowCase/ui/Interfaces/Stack/2.crow @@ -0,0 +1,9 @@ +<?xml version="1.0"?> +<VerticalStack Background="DimGrey" Margin="10" Width="90%" Height="100%"> + <Widget Margin="10" Width="Stretched" Height="Fit" Background="SeaGreen" + MinimumSize="10,10"/> + <Widget Margin="10" Width="Stretched" Height="Stretched" Background="SeaGreen" + MinimumSize="10,10"/> + <Widget Margin="10" Width="Stretched" Height="Fit" Background="SeaGreen" + MinimumSize="10,10"/> +</VerticalStack>
\ No newline at end of file diff --git a/Samples/ShowCase/ui/Interfaces/Stack/2h.crow b/Samples/ShowCase/ui/Interfaces/Stack/2h.crow new file mode 100755 index 00000000..c72e9dab --- /dev/null +++ b/Samples/ShowCase/ui/Interfaces/Stack/2h.crow @@ -0,0 +1,9 @@ +<?xml version="1.0"?> +<HorizontalStack Background="DimGrey" Margin="10" Width="90%" Height="100%"> + <Widget Margin="10" Width="Stretched" Height="Fit" Background="SeaGreen" + MinimumSize="10,10"/> + <Widget Margin="10" Width="Stretched" Height="Stretched" Background="SeaGreen" + MinimumSize="10,10"/> + <Widget Margin="10" Width="Stretched" Height="Fit" Background="SeaGreen" + MinimumSize="10,10"/> +</HorizontalStack>
\ No newline at end of file diff --git a/Samples/ShowCase/ui/Interfaces/Stack/3.crow b/Samples/ShowCase/ui/Interfaces/Stack/3.crow new file mode 100755 index 00000000..7aa7c9e7 --- /dev/null +++ b/Samples/ShowCase/ui/Interfaces/Stack/3.crow @@ -0,0 +1,45 @@ +<?xml version="1.0"?> +<VerticalStack Background="DimGrey" Margin="10" Width="90%" Height="90%"> + <Widget Margin="1" Width="Stretched" Height="Fit" Background="SeaGreen" + MinimumSize="2,2"/> + <Widget Margin="1" Width="Stretched" Height="Stretched" Background="SeaGreen" + MinimumSize="2,2"/> + <Widget Margin="1" Width="Stretched" Height="Stretched" Background="SeaGreen" + MinimumSize="2,2"/> + <Widget Margin="1" Width="Stretched" Height="Fit" Background="SeaGreen" + MinimumSize="2,2"/> + <Widget Margin="1" Width="Stretched" Height="Fit" Background="SeaGreen" + MinimumSize="2,2"/> + <Widget Margin="1" Width="Stretched" Height="Fit" Background="SeaGreen" + MinimumSize="2,2"/> + <Widget Margin="1" Width="Stretched" Height="Fit" Background="SeaGreen" + MinimumSize="2,2"/> + <Widget Margin="1" Width="Stretched" Height="Fit" Background="SeaGreen" + MinimumSize="2,2"/> + <Widget Margin="1" Width="Stretched" Height="Fit" Background="SeaGreen" + MinimumSize="2,2"/> + <Widget Margin="1" Width="Stretched" Height="Fit" Background="SeaGreen" + MinimumSize="2,2"/> + <Widget Margin="1" Width="Stretched" Height="Fit" Background="SeaGreen" + MinimumSize="2,2"/> + <Widget Margin="1" Width="Stretched" Height="Fit" Background="SeaGreen" + MinimumSize="2,2"/> + <Widget Margin="1" Width="Stretched" Height="Fit" Background="SeaGreen" + MinimumSize="2,2"/> + <Widget Margin="1" Width="Stretched" Height="Fit" Background="SeaGreen" + MinimumSize="2,2"/> + <Widget Margin="1" Width="Stretched" Height="Fit" Background="SeaGreen" + MinimumSize="2,2"/> + <Widget Margin="1" Width="Stretched" Height="Fit" Background="SeaGreen" + MinimumSize="2,2"/> + <Widget Margin="1" Width="Stretched" Height="Fit" Background="SeaGreen" + MinimumSize="2,2"/> + <Widget Margin="1" Width="Stretched" Height="Fit" Background="SeaGreen" + MinimumSize="2,2"/> + <Widget Margin="1" Width="Stretched" Height="Fit" Background="SeaGreen" + MinimumSize="2,2"/> + <Widget Margin="1" Width="Stretched" Height="Fit" Background="SeaGreen" + MinimumSize="2,2"/> + <Widget Margin="1" Width="Stretched" Height="Fit" Background="SeaGreen" + MinimumSize="2,2"/> +</VerticalStack>
\ No newline at end of file diff --git a/Samples/ShowCase/ui/Interfaces/Stack/3h.crow b/Samples/ShowCase/ui/Interfaces/Stack/3h.crow new file mode 100755 index 00000000..2acdd49f --- /dev/null +++ b/Samples/ShowCase/ui/Interfaces/Stack/3h.crow @@ -0,0 +1,45 @@ +<?xml version="1.0"?> +<HorizontalStack Background="DimGrey" Margin="10" Width="90%" Height="90%"> + <Widget Margin="1" Width="Stretched" Height="Fit" Background="SeaGreen" + MinimumSize="2,2"/> + <Widget Margin="1" Width="Stretched" Height="Stretched" Background="SeaGreen" + MinimumSize="2,2"/> + <Widget Margin="1" Width="Stretched" Height="Stretched" Background="SeaGreen" + MinimumSize="2,2"/> + <Widget Margin="1" Width="Stretched" Height="Fit" Background="SeaGreen" + MinimumSize="2,2"/> + <Widget Margin="1" Width="Stretched" Height="Fit" Background="SeaGreen" + MinimumSize="2,2"/> + <Widget Margin="1" Width="Stretched" Height="Fit" Background="SeaGreen" + MinimumSize="2,2"/> + <Widget Margin="1" Width="Stretched" Height="Fit" Background="SeaGreen" + MinimumSize="2,2"/> + <Widget Margin="1" Width="Stretched" Height="Fit" Background="SeaGreen" + MinimumSize="2,2"/> + <Widget Margin="1" Width="Stretched" Height="Fit" Background="SeaGreen" + MinimumSize="2,2"/> + <Widget Margin="1" Width="Stretched" Height="Fit" Background="SeaGreen" + MinimumSize="2,2"/> + <Widget Margin="1" Width="Stretched" Height="Fit" Background="SeaGreen" + MinimumSize="2,2"/> + <Widget Margin="1" Width="Stretched" Height="Fit" Background="SeaGreen" + MinimumSize="2,2"/> + <Widget Margin="1" Width="Stretched" Height="Fit" Background="SeaGreen" + MinimumSize="2,2"/> + <Widget Margin="1" Width="Stretched" Height="Fit" Background="SeaGreen" + MinimumSize="2,2"/> + <Widget Margin="1" Width="Stretched" Height="Fit" Background="SeaGreen" + MinimumSize="2,2"/> + <Widget Margin="1" Width="Stretched" Height="Fit" Background="SeaGreen" + MinimumSize="2,2"/> + <Widget Margin="1" Width="Stretched" Height="Fit" Background="SeaGreen" + MinimumSize="2,2"/> + <Widget Margin="1" Width="Stretched" Height="Fit" Background="SeaGreen" + MinimumSize="2,2"/> + <Widget Margin="1" Width="Stretched" Height="Fit" Background="SeaGreen" + MinimumSize="2,2"/> + <Widget Margin="1" Width="Stretched" Height="Fit" Background="SeaGreen" + MinimumSize="2,2"/> + <Widget Margin="1" Width="Stretched" Height="Fit" Background="SeaGreen" + MinimumSize="2,2"/> +</HorizontalStack>
\ No newline at end of file diff --git a/Samples/ShowCase/ui/Interfaces/Stack/4.crow b/Samples/ShowCase/ui/Interfaces/Stack/4.crow new file mode 100755 index 00000000..33d57deb --- /dev/null +++ b/Samples/ShowCase/ui/Interfaces/Stack/4.crow @@ -0,0 +1,27 @@ +<?xml version="1.0"?> +<VerticalStack> + <HorizontalStack Background="DimGrey" Margin="10" Width="90%" Height="20%"> + <Label Font="droid bold, 20" Text="{fps}" Margin="5" Fit="true" Background="SeaGreen"/> + <Label Font="droid bold, 20" Text="{fps}" Margin="5" Fit="true" Background="SeaGreen"/> + <Label Font="droid bold, 20" Text="{fps}" Margin="5" Fit="true" Background="SeaGreen"/> + <Label Font="droid bold, 20" Text="{fps}" Margin="5" Fit="true" Background="SeaGreen"/> + <Label Font="droid bold, 20" Text="{fps}" Margin="5" Fit="true" Background="SeaGreen"/> + <Label Font="droid bold, 20" Text="{fps}" Margin="5" Fit="true" Background="SeaGreen"/> + <Label Font="droid bold, 20" Text="{fps}" Margin="5" Width="100%" Background="SeaGreen"/> + <Label Font="droid bold, 20" Text="{fps}" Margin="5" Fit="true" Background="SeaGreen"/> + <Label Font="droid bold, 20" Text="{fps}" Margin="5" Fit="true" Background="SeaGreen"/> + <Label Font="droid bold, 20" Text="{fps}" Margin="5" Fit="true" Background="SeaGreen"/> + </HorizontalStack> + <HorizontalStack Background="DimGrey" Margin="10" Width="Fit" Height="20%"> + <Label Font="droid bold, 20" Text="{fps}" Margin="5" Fit="true" Background="SeaGreen"/> + <Label Font="droid bold, 20" Text="{fps}" Margin="5" Fit="true" Background="SeaGreen"/> + <Label Font="droid bold, 20" Text="{fps}" Margin="5" Fit="true" Background="SeaGreen"/> + <Label Font="droid bold, 20" Text="{fps}" Margin="5" Fit="true" Background="SeaGreen"/> + <Label Font="droid bold, 20" Text="{fps}" Margin="5" Fit="true" Background="SeaGreen"/> + <Label Font="droid bold, 20" Text="{fps}" Margin="5" Fit="true" Background="SeaGreen"/> + <Label Font="droid bold, 20" Text="{fps}" Margin="5" Width="100%" Background="SeaGreen"/> + <Label Font="droid bold, 20" Text="{fps}" Margin="5" Fit="true" Background="SeaGreen"/> + <Label Font="droid bold, 20" Text="{fps}" Margin="5" Fit="true" Background="SeaGreen"/> + <Label Font="droid bold, 20" Text="{fps}" Margin="5" Fit="true" Background="SeaGreen"/> + </HorizontalStack> +</VerticalStack>
\ No newline at end of file diff --git a/Samples/ShowCase/ui/Interfaces/TabItem.template b/Samples/ShowCase/ui/Interfaces/TabItem.template new file mode 100644 index 00000000..fd0f310d --- /dev/null +++ b/Samples/ShowCase/ui/Interfaces/TabItem.template @@ -0,0 +1,24 @@ +<?xml version="1.0"?> +<GenericStack Orientation="Vertical" Spacing="0" + Background="{./Background}" + MouseEnter="{/caption.Foreground=White}" + MouseLeave="{/caption.Foreground=Grey}"> + <HorizontalStack Left="{./TabOffset}" + Name="TabTitle" + HorizontalAlignment="Left" + Height="{./TabHeight}" + Width="{./TabWidth}"> + <Label Name="caption" Text="{./Caption}" Foreground="Grey" Width="Stretched"/> + <Label Text="{./ViewIndex}" Foreground="Green"/> + <Label Text="{./TabOffset}" Foreground="Red"/> + <Border CornerRadius="5" BorderWidth="1" Foreground="Transparent" Height="12" Width="12" + MouseEnter="{Foreground=White}" MouseLeave="{Foreground=Transparent}"> + <Image Focusable="true" Name="Image" Margin="0" Width="Stretched" Height="Stretched" Path="#Crow.Icons.exit2.svg" + MouseClick="./butCloseTabClick"/> + </Border> + </HorizontalStack> + <Container Margin="20"> + <Container Background="DimGrey" Name="Content"/> + </Container> +</GenericStack> + diff --git a/Samples/ShowCase/ui/Interfaces/TemplatedContainer/0.crow b/Samples/ShowCase/ui/Interfaces/TemplatedContainer/0.crow new file mode 100755 index 00000000..5b267402 --- /dev/null +++ b/Samples/ShowCase/ui/Interfaces/TemplatedContainer/0.crow @@ -0,0 +1,13 @@ +<?xml version="1.0"?> +<Expandable Fit="true" Caption="Test expandable" Background="DimGrey"> + <VerticalStack Margin="5" > + <CheckBox Name="chk1" /> + <CheckBox Name="chk2" IsChecked="true"/> + <CheckBox Name="chk3" /> + <CheckBox Name="chk4" /> + <HorizontalStack Fit="true" Margin="2" Background="SeaGreen"> + <Label Name="captionFps" Text="Fps:" Width="30" TextAlignment="Right"/> + <Label Name="valueFps" Text="{fps}" Font="droid , 12" Width="Fit" TextAlignment="Center" Background="SeaGreen"/> + </HorizontalStack> + </VerticalStack> +</Expandable> diff --git a/Samples/ShowCase/ui/Interfaces/TemplatedContainer/6.crow b/Samples/ShowCase/ui/Interfaces/TemplatedContainer/6.crow new file mode 100755 index 00000000..641d58f9 --- /dev/null +++ b/Samples/ShowCase/ui/Interfaces/TemplatedContainer/6.crow @@ -0,0 +1,21 @@ +<Expandable Width="Stretched" Background="Grey"> + <Expandable Width="Stretched" Background="LightBlue"> + <Expandable Width="Stretched" Background="Green"> + <Expandable Width="Stretched" Background="LimeGreen"> + <Expandable Width="Stretched" Background="DimGrey"> + <Expandable Width="Stretched" Background="Yellow"> + <Expandable Width="Stretched" Background="SeaGreen"> + <Expandable Width="Stretched" Background="Blue"> + <Expandable Width="Stretched" Background="RoyalBlue"> + <Expandable Width="Stretched" Background="Green"> + <Label Background="Red" Text="{fps}"/> + </Expandable> + </Expandable> + </Expandable> + </Expandable> + </Expandable> + </Expandable> + </Expandable> + </Expandable> + </Expandable> + </Expandable>
\ No newline at end of file diff --git a/Samples/ShowCase/ui/Interfaces/TemplatedContainer/7.crow b/Samples/ShowCase/ui/Interfaces/TemplatedContainer/7.crow new file mode 100755 index 00000000..99a75079 --- /dev/null +++ b/Samples/ShowCase/ui/Interfaces/TemplatedContainer/7.crow @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<VerticalStack Height="Fit" Width="Fit"> + <Label Width="Stretched"/> + <Expandable Width="Fit" Background="Grey"> + <Expandable Background="LightBlue"> + <Expandable Background="Green"> + <Expandable Background="LimeGreen"> + <Expandable Background="DimGrey"> + <Expandable Width="Stretched" Background="Yellow"> + <Expandable Background="SeaGreen"> + <Expandable Width="Stretched" Background="Blue"> + <Expandable Width="Stretched" Background="RoyalBlue"> + <Expandable Width="Stretched" Background="Green"> + <Label Background="Red" Text="{fps}"/> + </Expandable> + </Expandable> + </Expandable> + </Expandable> + </Expandable> + </Expandable> + </Expandable> + </Expandable> + </Expandable> + </Expandable> +</VerticalStack> diff --git a/Samples/ShowCase/ui/Interfaces/TemplatedContainer/testGroupBox.crow b/Samples/ShowCase/ui/Interfaces/TemplatedContainer/testGroupBox.crow new file mode 100755 index 00000000..48581803 --- /dev/null +++ b/Samples/ShowCase/ui/Interfaces/TemplatedContainer/testGroupBox.crow @@ -0,0 +1,7 @@ +<?xml version="1.0"?> +<!--<Container Background="vgradient|0:DarkGrey|1:DimGrey">--> + <GroupBox Fit="true" Background="vgradient|0:SteelBlue|1:Transparent" + Foreground="White"> +<!-- <Label/>--> + </GroupBox> +<!--</Container>--> diff --git a/Samples/ShowCase/ui/Interfaces/TemplatedContainer/testMsgBox.crow b/Samples/ShowCase/ui/Interfaces/TemplatedContainer/testMsgBox.crow new file mode 100755 index 00000000..d60c281e --- /dev/null +++ b/Samples/ShowCase/ui/Interfaces/TemplatedContainer/testMsgBox.crow @@ -0,0 +1,4 @@ +<?xml version="1.0"?> +<MessageBox Caption="message" Message="this is a message box"/> +<!-- Ok="onMsgBoxOk" + Cancel="onMsgBoxCancel"/>-->
\ No newline at end of file diff --git a/Samples/ShowCase/ui/Interfaces/TemplatedContainer/testPopper.crow b/Samples/ShowCase/ui/Interfaces/TemplatedContainer/testPopper.crow new file mode 100755 index 00000000..27da8ea4 --- /dev/null +++ b/Samples/ShowCase/ui/Interfaces/TemplatedContainer/testPopper.crow @@ -0,0 +1,27 @@ +<?xml version="1.0"?> +<VerticalStack> + <Border Fit="true" Margin="10"> + <VerticalStack Width="150" Height="Fit"> + <RadioButton Caption="Left" IsChecked="true" Checked="change_alignment"/> + <RadioButton Caption="Right" Checked="change_alignment"/> + <RadioButton Caption="Top" Checked="change_alignment"/> + <RadioButton Caption="Bottom" Checked="change_alignment"/> + </VerticalStack> + </Border> + <Widget Height="200"/> + <Popper Caption="TestPopper" Width="100" Background="DimGrey" PopDirection="{alignment}"> + <Border Fit="True" Background="SteelBlue"> + <Image Fit="true" Path="#go.Images.Icons.tetra.png" Margin="10"/> + <VerticalStack Fit="true" Margin="10" Background="CornflowerBlue"> + <CheckBox Name="chk1" Background="Red"/> + <CheckBox Name="chk2" IsChecked="true"/> + <CheckBox Name="chk3"/> + <CheckBox Name="chk4"/> + <HorizontalStack Fit="true" Margin="20"> + <Label Name="captionFps" Text="Fps:" Width="50" TextAlignment="Right"/> + <Label Name="valueFps" Text="{fps}" Font="droid , 12" Width="50" TextAlignment="Center" Background="SeaGreen"/> + </HorizontalStack> + </VerticalStack> + </Border> + </Popper> +</VerticalStack> diff --git a/Samples/ShowCase/ui/Interfaces/TemplatedContainer/testTabView.crow b/Samples/ShowCase/ui/Interfaces/TemplatedContainer/testTabView.crow new file mode 100644 index 00000000..e3717c82 --- /dev/null +++ b/Samples/ShowCase/ui/Interfaces/TemplatedContainer/testTabView.crow @@ -0,0 +1,37 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<Group Height="90%" Width="95%"> +<VerticalStack > + <HorizontalStack Height="Fit"> + <Label Text="Selected Tab:"/> + <Label Text="{../../tabview1.SelectedTab}"/> + </HorizontalStack> + <TabView Name="tabview1" Background="DimGrey" Orientation="Horizontal"> + <TabItem Name="TabItem1" Caption="tab item 1" Background="DimGrey"> + <VerticalStack Margin="20"> + <CheckBox/> + <CheckBox/> + <CheckBox/> + <CheckBox/> + </VerticalStack> + </TabItem> + <TabItem Name="TabItem2" Caption="tab item 2" Background="DimGrey"> + <VerticalStack Height="Fit" Margin="10"> + <RadioButton Fit="true"/> + <RadioButton/> + <RadioButton/> + <RadioButton/> + </VerticalStack> + </TabItem> + <TabItem Name="TabItem3" Background="DimGrey" Caption="tab item 3"> + <Container Margin="5" CornerRadius="2" > + <TextBox Margin="5" Multiline="true" TextAlignment="TopLeft"/> + </Container> + </TabItem> + <TabItem Name="TabItem4" Background="DimGrey" Caption="tab item 4" Margin="0"> + <TextBox/> + </TabItem> + </TabView> + <Button Background="vgradient|0:DimGrey|1:Black" HorizontalAlignment="Right" + Caption="Add new tab" Width="Fit" Height="30" MouseDown="onAddTabButClick"/> +</VerticalStack> +</Group>
\ No newline at end of file diff --git a/Samples/ShowCase/ui/Interfaces/TemplatedContainer/testTabView2.crow b/Samples/ShowCase/ui/Interfaces/TemplatedContainer/testTabView2.crow new file mode 100644 index 00000000..67b87b07 --- /dev/null +++ b/Samples/ShowCase/ui/Interfaces/TemplatedContainer/testTabView2.crow @@ -0,0 +1,65 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<HorizontalStack Height="90%" Width="99%" Spacing="50"> + <VerticalStack Width="40%"> + <HorizontalStack Height="Fit"> + <Label Text="Selected Tab:"/> + <Label Text="{../../tabview1.SelectedTab}"/> + </HorizontalStack> + <TabView Name="tabview1" Background="DimGrey" Orientation="Horizontal" Margin="5" > + <TabItem Name="TabItem1" Caption="tab-1.1" Background="DimGrey"> + <VerticalStack Margin="20"> + <CheckBox/> + <CheckBox/> + <CheckBox/> + <CheckBox/> + </VerticalStack> + </TabItem> + <TabItem Name="TabItem2" Caption="tab-1.2" Background="DimGrey"> + <VerticalStack Height="Fit" Margin="10"> + <RadioButton Fit="true"/> + <RadioButton/> + <RadioButton/> + <RadioButton/> + </VerticalStack> + </TabItem> + <TabItem Name="TabItem3" Background="DimGrey" Caption="tab-1.3"> + <Container Margin="5" CornerRadius="2" > + <TextBox Margin="5" Multiline="true" TextAlignment="TopLeft"/> + </Container> + </TabItem> + </TabView> + <Button Background="vgradient|0:DimGrey|1:Black" HorizontalAlignment="Right" + Caption="Add new tab" Width="Fit" Height="30" MouseDown="onAddTabButClick"/> + </VerticalStack> + <VerticalStack Width="40%"> + <HorizontalStack Height="Fit"> + <Label Text="Selected Tab:"/> + <Label Text="{../../tabview2.SelectedTab}"/> + </HorizontalStack> + <TabView Name="tabview2" Background="DimGrey" Orientation="Horizontal" > + <TabItem Name="TabItem1" Caption="tab-2.1" Background="DimGrey"> + <VerticalStack Margin="20"> + <CheckBox/> + <CheckBox/> + <CheckBox/> + <CheckBox/> + </VerticalStack> + </TabItem> + <TabItem Name="TabItem2" Caption="tab-2.2" Background="DimGrey"> + <VerticalStack Height="Fit" Margin="10"> + <RadioButton Fit="true"/> + <RadioButton/> + <RadioButton/> + <RadioButton/> + </VerticalStack> + </TabItem> + <TabItem Name="TabItem3" Background="DimGrey" Caption="tab-2.3"> + <Container Margin="5" CornerRadius="2" > + <TextBox Margin="5" Multiline="true" TextAlignment="TopLeft"/> + </Container> + </TabItem> + </TabView> + <Button Background="vgradient|0:DimGrey|1:Black" HorizontalAlignment="Right" + Caption="Add new tab" Width="Fit" Height="30" MouseDown="onAddTabButClick2"/> + </VerticalStack> +</HorizontalStack> diff --git a/Samples/ShowCase/ui/Interfaces/TemplatedContainer/testTreeView.crow b/Samples/ShowCase/ui/Interfaces/TemplatedContainer/testTreeView.crow new file mode 100755 index 00000000..099ce66d --- /dev/null +++ b/Samples/ShowCase/ui/Interfaces/TemplatedContainer/testTreeView.crow @@ -0,0 +1,4 @@ +<?xml version="1.0"?> +<Border Margin="5" Height="90%" Width="50%"> + <DirectoryView Name="dv" CurrentDirectory="/" Margin="1"/> +</Border>
\ No newline at end of file diff --git a/Samples/ShowCase/ui/Interfaces/TemplatedContainer/testWindow.goml b/Samples/ShowCase/ui/Interfaces/TemplatedContainer/testWindow.goml new file mode 100755 index 00000000..e42a5c9f --- /dev/null +++ b/Samples/ShowCase/ui/Interfaces/TemplatedContainer/testWindow.goml @@ -0,0 +1,68 @@ +<?xml version="1.0"?> +<Window Left="10" Top="10" Caption="Test window" + Width="250" Height="550" > + <VerticalStack Name="contentVSStack" Margin="10" Spacing="10" Background="0.4,0.4,0.4,0.4"> + <Slider Name="slider" Height="12" Width="Stretched" CornerRadius="3"/> + <GroupBox Caption="test" Height="Fit" Width="Stretched" Margin="5"> + <VerticalStack Height="Fit" Width="Stretched" > + <RadioButton Caption="Radio 1" Background="Red" Width="Stretched"/> + <RadioButton Caption="Radio 2" IsChecked="true" /> + <RadioButton Caption="Radio 3" /> + <RadioButton Caption="Radio 1" Background="SkyBlue" Width="Stretched"/> + </VerticalStack> + </GroupBox> + <HorizontalStack Width="Stretched" Height="Fit" Margin="10" CornerRadius="5" Background="SkyBlue"> + <RadioButton Width="80" Height="Fit" Caption="Radio 2" IsChecked="true" /> + <Widget Width="Stretched"/> + <RadioButton Width="80" Height="Fit" Caption="Radio 3" /> + </HorizontalStack> + <HorizontalStack Width="Stretched" Height="Stretched" MinimumSize="10,40" Margin="0" CornerRadius="5" + Background="vgradient|0:White|0.1:SteelBlue|0.9:SteelBlue|1:Transparent"> + <CheckBox Height="Fit" Width="80"/> + <Widget Width="Stretched"/> + <CheckBox Height="Fit" Width="80" IsChecked="true"/> + </HorizontalStack> + <Border Fit="true" CornerRadius="5" BorderWidth="1" > + <Container Name="MainGrp" Background="0.5,0.5,0.5,0.4" Width="120" Fit="true" + Margin="10" Focusable="True" > + <VerticalStack Fit="true" Name="vsFps" Spacing="10" > + <HorizontalStack Fit="true"> + <Label Text="Layouting:" Width="50" TextAlignment="Right"/> + <Label Name="labLayouting" Text="{layouting}" Font="droid,12" Width="80" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Clipping:" Width="50" TextAlignment="Right"/> + <Label Text="{update}" Font="droid,12" Width="80" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Drawing:" Width="50" TextAlignment="Right"/> + <Label Name="labDrawing" Text="{drawing}" Font="droid,12" Width="80" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Name="captionFps" Text="Fps:" Width="50" TextAlignment="Right"/> + <Label Name="valueFps" Text="{fps}" Font="droid , 12" Width="50" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Min:" Width="50" TextAlignment="Right"/> + <Label Text="{fpsMin}" Font="droid , 12" Width="50" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Max:" Width="50" TextAlignment="Right"/> + <Label Text="{fpsMax}" Font="droid , 12" Width="50" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + </VerticalStack> + </Container> + </Border> + <HorizontalStack Fit="true" Background="RoyalBlue" Margin="3"> + <Widget Margin="10" Background="LimeGreen" Width="5" Height="5"/> + <TextBox Font="droid, 16" Multiline="true" Text="this is a test\nmultiline" Margin="2"/> + <Widget Margin="10" Background="LimeGreen" Width="5" Height="5"/> + </HorizontalStack> + </VerticalStack> +</Window>
\ No newline at end of file diff --git a/Samples/ShowCase/ui/Interfaces/TemplatedContainer/testWindow2.goml b/Samples/ShowCase/ui/Interfaces/TemplatedContainer/testWindow2.goml new file mode 100755 index 00000000..cf88e8cb --- /dev/null +++ b/Samples/ShowCase/ui/Interfaces/TemplatedContainer/testWindow2.goml @@ -0,0 +1,33 @@ +<?xml version="1.0"?> +<Window Focusable="true" Caption="Measures" Width="30%" Height="Fit" MinimumSize="100,100"> + <VerticalStack Width="90%" Height="Fit" Spacing="1" Margin="10"> + <HorizontalStack Height="Fit"> + <Label Text="Fps:" Style="FpsLabel"/> + <Label Text="{fps}" Style="FpsDisp"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Min:" Style="FpsLabel"/> + <Label Text="{fpsMin}" Style="FpsDisp"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Max:" Style="FpsLabel"/> + <Label Text="{fpsMax}" Style="FpsDisp"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Update:" Style="FpsLabel"/> + <Label Text="{update}" Style="FpsDisp"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Layouting:" Style="FpsLabel"/> + <Label Text="{layouting}" Style="FpsDisp"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Clipping:" Style="FpsLabel"/> + <Label Text="{clipping}" Style="FpsDisp"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Drawing:" Style="FpsLabel"/> + <Label Text="{drawing}" Style="FpsDisp"/> + </HorizontalStack> + </VerticalStack> +</Window> diff --git a/Samples/ShowCase/ui/Interfaces/TemplatedContainer/testWindow3.goml b/Samples/ShowCase/ui/Interfaces/TemplatedContainer/testWindow3.goml new file mode 100755 index 00000000..869615bf --- /dev/null +++ b/Samples/ShowCase/ui/Interfaces/TemplatedContainer/testWindow3.goml @@ -0,0 +1,11 @@ +<?xml version="1.0"?> +<Window Left="10" Top="10" Caption="Test window" Width="200" Height="200" Background="0.5,0.5,0.5,0.8" + Focusable="True" CornerRadius="20" MinimumSize="100,100" MaximumSize="500,500"> + <Template> + <Container Margin="20" Name="Content" Height="{../HeightPolicy}" Width="{../WidthPolicy}" Background="0.5,0.5,0.5,0.5"/> + </Template> +<!-- <Group Background="Green">--> + <Widget Height="50" Width="50" Background="Red" Margin="5"/> +<!-- <Scrollbar Orientation="Vertical" Height="Stretched" Width="10" Background="Blue" Margin="0" HorizontalAlignment="Right"/>--> +<!-- </Group>--> +</Window> diff --git a/Samples/ShowCase/ui/Interfaces/TemplatedContainer/test_Listbox.crow b/Samples/ShowCase/ui/Interfaces/TemplatedContainer/test_Listbox.crow new file mode 100755 index 00000000..47adb8ce --- /dev/null +++ b/Samples/ShowCase/ui/Interfaces/TemplatedContainer/test_Listbox.crow @@ -0,0 +1,13 @@ +<?xml version="1.0"?> +<!--<ListBox Data="{TestList}" Focusable="true"/>--> +<Border Margin="50"> + <VerticalStack > + <Label Text="{../ColorList.SelectedItem}" Background="DarkGreen"/> + <Label Text="{Hover}" Background="DarkGreen"/> + <Button Caption="Clear" Width="Stretched" MouseClick="OnClear"/> + <ListBox Name="ColorList" Data="{TestList}" Width="200" Height="200" + ItemTemplate="#Tests.Interfaces.colorItem.crow"> + </ListBox> + <Button Caption="Load list" Width="Stretched" MouseClick="OnLoadList"/> + </VerticalStack> +</Border>
\ No newline at end of file diff --git a/Samples/ShowCase/ui/Interfaces/TemplatedControl/testButton.crow b/Samples/ShowCase/ui/Interfaces/TemplatedControl/testButton.crow new file mode 100755 index 00000000..8911619d --- /dev/null +++ b/Samples/ShowCase/ui/Interfaces/TemplatedControl/testButton.crow @@ -0,0 +1,10 @@ +<?xml version="1.0"?> +<VerticalStack Fit="true" Background="vgradient|0:DimGrey|1:Black"> + <HorizontalStack Fit="True"> + <Button Caption="but" MouseClick="onButClick"/> + <Button Caption="but" MouseClick="onButClick" Fit="true"/> + <Button Width="60" Height="40" MouseClick="onButClick"/> + <Button Caption="Long text button" MouseClick="onButClick"/> + <Button Font="droid, 20" Caption="Button"/> + </HorizontalStack> +</VerticalStack>
\ No newline at end of file diff --git a/Samples/ShowCase/ui/Interfaces/TemplatedControl/testCheckbox.crow b/Samples/ShowCase/ui/Interfaces/TemplatedControl/testCheckbox.crow new file mode 100755 index 00000000..7c8438c0 --- /dev/null +++ b/Samples/ShowCase/ui/Interfaces/TemplatedControl/testCheckbox.crow @@ -0,0 +1,11 @@ +<?xml version="1.0"?> +<VerticalStack Fit="true" Margin="100" Background="DimGrey" > + <CheckBox Background="Grey" MouseEnter="{Background=Red}" MouseLeave="{Background=Transparent}"/> + <CheckBox Background="Grey" MouseEnter="{Background=Red}" MouseLeave="{Background=Transparent}"/> + <CheckBox Background="Grey" MouseEnter="{Background=Red}" MouseLeave="{Background=Transparent}"/> + <CheckBox Background="Grey" MouseEnter="{Background=Red}" MouseLeave="{Background=Transparent}"/> + <CheckBox Background="Grey" MouseEnter="{Background=Red}" MouseLeave="{Background=Transparent}"/> + <CheckBox Background="Grey" MouseEnter="{Background=Red}" MouseLeave="{Background=Transparent}"/> + <CheckBox Background="Grey" MouseEnter="{Background=Red}" MouseLeave="{Background=Transparent}"/> + <CheckBox Background="Grey" MouseEnter="{Background=Red}" MouseLeave="{Background=Transparent}"/> +</VerticalStack> diff --git a/Samples/ShowCase/ui/Interfaces/TemplatedControl/testCombobox.crow b/Samples/ShowCase/ui/Interfaces/TemplatedControl/testCombobox.crow new file mode 100755 index 00000000..4363986e --- /dev/null +++ b/Samples/ShowCase/ui/Interfaces/TemplatedControl/testCombobox.crow @@ -0,0 +1,4 @@ +<?xml version="1.0"?> +<Container Background="DimGrey" Width="300"> + <ComboBox Data="{TestList}" ItemTemplate="#Tests.Interfaces.colorItem.crow"/> +</Container>
\ No newline at end of file diff --git a/Samples/ShowCase/ui/Interfaces/TemplatedControl/testItemTemplateTag.crow b/Samples/ShowCase/ui/Interfaces/TemplatedControl/testItemTemplateTag.crow new file mode 100755 index 00000000..b29be381 --- /dev/null +++ b/Samples/ShowCase/ui/Interfaces/TemplatedControl/testItemTemplateTag.crow @@ -0,0 +1,36 @@ +<?xml version="1.0"?> +<Border BorderWidth="2" Fit="true"> + <VerticalStack Fit="true" Margin="5"> + <ListBox Data="{TestList}" Background="0.5,0.5,0.5,0.7" + HorizontalAlignment="Center" Width="200" Height="200" Margin="5"> + <Template> + <Border BorderWidth="1"> + <HorizontalStack Margin="1"> + <Scroller Name="scroller1" Margin="2"> + <VerticalStack Height="Fit" MinimumSize="10,10" + Name="ItemsContainer" Margin="0" VerticalAlignment="Top"/> + </Scroller> + <ScrollBar Name="scrollbar1" Value="{²../scroller1.ScrollY}" + LargeIncrement="{../scroller1.PageHeight}" SmallIncrement="30" CursorSize="{../scroller1.ChildHeightRatio}" + Maximum="{../scroller1.MaxScrollY}" Orientation="Vertical" + Width="14" /> + </HorizontalStack> + </Border> + </Template> + <ItemTemplate DataType="Crow.Color"> + <HorizontalStack + HorizontalAlignment="Left" + Height="Fit" Width="200" Margin="1" Focusable="true" + MouseEnter="{Background=hgradient|0:DarkRed|1:Transparent}" + MouseLeave="{Background=Transparent}"> + <Widget Height="12" Width="20" Background="{}" Margin="0" CornerRadius="3"/> + <Label Text="{}" Margin="0" Width="Stretched"/> + </HorizontalStack> + </ItemTemplate> + </ListBox> + <HorizontalStack Fit="true" HorizontalAlignment="Right"> + <Button Caption="Load list" MouseDown="OnLoadList"/> + <Button Caption="Clear" MouseDown="OnClear"/> + </HorizontalStack> + </VerticalStack> +</Border> diff --git a/Samples/ShowCase/ui/Interfaces/TemplatedControl/testRadioButton.crow b/Samples/ShowCase/ui/Interfaces/TemplatedControl/testRadioButton.crow new file mode 100755 index 00000000..a01d9041 --- /dev/null +++ b/Samples/ShowCase/ui/Interfaces/TemplatedControl/testRadioButton.crow @@ -0,0 +1,7 @@ +<?xml version="1.0"?> +<VerticalStack Width="200" Height="Fit" Margin="20" Background="DimGrey"> + <RadioButton Caption="Radio1"/> + <RadioButton Caption="Radio2" IsChecked="true"/> + <RadioButton Caption="Radio3"/> + <RadioButton Caption="Radio4"/> +</VerticalStack> diff --git a/Samples/ShowCase/ui/Interfaces/TemplatedControl/testScrollbar.crow b/Samples/ShowCase/ui/Interfaces/TemplatedControl/testScrollbar.crow new file mode 100755 index 00000000..f8c4a9ae --- /dev/null +++ b/Samples/ShowCase/ui/Interfaces/TemplatedControl/testScrollbar.crow @@ -0,0 +1,5 @@ +<?xml version="1.0"?> +<Group Name="TopContainer" Width="400" Height="400" + Focusable="True" Background="Grey"> + <ScrollBar Height="16" Orientation="Horizontal" Width="Stretched" Maximum="100"/> +</Group>
\ No newline at end of file diff --git a/Samples/ShowCase/ui/Interfaces/TemplatedControl/testSpinner.crow b/Samples/ShowCase/ui/Interfaces/TemplatedControl/testSpinner.crow new file mode 100755 index 00000000..01d53016 --- /dev/null +++ b/Samples/ShowCase/ui/Interfaces/TemplatedControl/testSpinner.crow @@ -0,0 +1,10 @@ +<?xml version="1.0"?> +<VerticalStack Name="TopContainer" Width="400" Height="Fit" + Margin="20" Background="DarkGrey"> + + <HorizontalStack Fit="true" Margin="5" Background="SkyBlue"> + <Spinner Name="sp1" Value="5" ValueChanged="onSpinnerValueChange"/> + <Spinner Value="5"/> + <Spinner Value="5"/> + </HorizontalStack> +</VerticalStack>
\ No newline at end of file diff --git a/Samples/ShowCase/ui/Interfaces/TemplatedGroup/0.crow b/Samples/ShowCase/ui/Interfaces/TemplatedGroup/0.crow new file mode 100755 index 00000000..92cd224b --- /dev/null +++ b/Samples/ShowCase/ui/Interfaces/TemplatedGroup/0.crow @@ -0,0 +1,28 @@ +<?xml version="1.0"?> +<Menu> + <MenuItem Caption="File" Width="Fit"> + <MenuItem Caption="New" /> + <MenuItem Caption="Open"/> + <MenuItem Caption="Save"/> + <MenuItem Caption="Quit"/> + </MenuItem> + <MenuItem Caption="Edit" Name="edit" Width="Fit"> + <MenuItem Caption="Cut"/> + <MenuItem Caption="Copy"/> + <MenuItem Caption="Paste"/> + <MenuItem Caption="Special" Name="special" Width="Fit"> + <MenuItem Caption="Cut"/> + <MenuItem Caption="Copy"/> + <MenuItem Caption="Paste"/> + </MenuItem> + <MenuItem Caption="Special2" Name="special" Width="Fit"> + <MenuItem Caption="Cut"/> + <MenuItem Caption="Copy"/> + <MenuItem Caption="Paste"/> + </MenuItem> + </MenuItem> + <MenuItem Caption="Help" Width="Fit"> + <MenuItem Caption="About"/> + <MenuItem Caption="Help"/> + </MenuItem> +</Menu>
\ No newline at end of file diff --git a/Samples/ShowCase/ui/Interfaces/TemplatedGroup/1.crow b/Samples/ShowCase/ui/Interfaces/TemplatedGroup/1.crow new file mode 100755 index 00000000..f47e7aa0 --- /dev/null +++ b/Samples/ShowCase/ui/Interfaces/TemplatedGroup/1.crow @@ -0,0 +1,9 @@ +<?xml version="1.0"?> +<Menu> + <MenuItem Caption="File"> + <MenuItem Caption="New"/> + <MenuItem Caption="Open"/> + <MenuItem Caption="Save"/> + <MenuItem Caption="Quit"/> + </MenuItem> +</Menu> diff --git a/Samples/ShowCase/ui/Interfaces/TemplatedGroup/2.crow b/Samples/ShowCase/ui/Interfaces/TemplatedGroup/2.crow new file mode 100755 index 00000000..8d25db5a --- /dev/null +++ b/Samples/ShowCase/ui/Interfaces/TemplatedGroup/2.crow @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<Menu> + <MenuItem Caption="Menu"> + <MenuItem Caption="File"> + <MenuItem Caption="New"></MenuItem> + <MenuItem Caption="Open"></MenuItem> + <MenuItem Caption="Save"></MenuItem> + <MenuItem Caption="Quit"></MenuItem> + </MenuItem> + <MenuItem Caption="Edit"> + <MenuItem Caption="Cut"/> + <MenuItem Caption="Copy"/> + <MenuItem Caption="Paste"/> + <MenuItem Caption="Special"> + <MenuItem Caption="Cut"/> + <MenuItem Caption="Copy"/> + <MenuItem Caption="Paste"/> + </MenuItem> + </MenuItem> + <MenuItem Caption="Help"> + <MenuItem Caption="About"/> + <MenuItem Caption="Help"/> + </MenuItem> + </MenuItem> +</Menu>
\ No newline at end of file diff --git a/Samples/ShowCase/ui/Interfaces/TmpExpandable.goml b/Samples/ShowCase/ui/Interfaces/TmpExpandable.goml new file mode 100755 index 00000000..9dddcebb --- /dev/null +++ b/Samples/ShowCase/ui/Interfaces/TmpExpandable.goml @@ -0,0 +1,12 @@ +<?xml version="1.0"?> +<!--<VerticalStack Height="{../HeightPolicy}" Width="{../WidthPolicy}" MouseClick="../onMouseClick"> + <Label Text="{../../Caption}" Width="{../../WidthPolicy}"/> + <Container Name="Content" Visible="false" Height="{../../HeightPolicy}" Width="{../../WidthPolicy}"/> +</VerticalStack>--> +<Group BorderWidth="1" Foreground="LightGray" + MouseClick="../onMouseClick"> + <VerticalStack> + <Label Text="{../../../Caption}"/> + <Container Name="Content" Visible="false"/> + </VerticalStack> +</Group>
\ No newline at end of file diff --git a/Samples/ShowCase/ui/Interfaces/Wrapper/1.1.crow b/Samples/ShowCase/ui/Interfaces/Wrapper/1.1.crow new file mode 100755 index 00000000..548aab39 --- /dev/null +++ b/Samples/ShowCase/ui/Interfaces/Wrapper/1.1.crow @@ -0,0 +1,14 @@ +<?xml version="1.0"?> +<Window Caption="Vertical Wrapper" Width="50%" Height="50%"> + <Wrapper Orientation="Vertical" Height="Fit" Width="90%" Margin="5" Background="MediumSeaGreen" Spacing="1" > + <Widget Width="50" Height="50" Background="SeaGreen"/> + <Widget Width="50" Height="50" Background="SeaGreen"/> + <Widget Width="50" Height="50" Background="SeaGreen"/> + <Widget Width="50" Height="50" Background="SeaGreen"/> + <Widget Width="50%" Height="50" Background="SeaGreen"/> + <Widget Width="50" Height="50" Background="SeaGreen"/> + <Widget Width="50" Height="50" Background="SeaGreen"/> + <Widget Width="50" Height="50%" Background="SeaGreen"/> + <Widget Width="50" Height="50" Background="SeaGreen"/> + </Wrapper> +</Window>
\ No newline at end of file diff --git a/Samples/ShowCase/ui/Interfaces/Wrapper/1.crow b/Samples/ShowCase/ui/Interfaces/Wrapper/1.crow new file mode 100755 index 00000000..58c79eea --- /dev/null +++ b/Samples/ShowCase/ui/Interfaces/Wrapper/1.crow @@ -0,0 +1,14 @@ +<?xml version="1.0"?> +<Window Caption="Vertical Wrapper" Width="50%" Height="50%"> + <Wrapper Orientation="Vertical" Height="Fit" Width="Fit" Margin="5" Background="MediumSeaGreen" Spacing="1" > + <Widget Width="50" Height="50" Background="SeaGreen"/> + <Widget Width="50" Height="50" Background="SeaGreen"/> + <Widget Width="50" Height="50" Background="SeaGreen"/> + <Widget Width="50" Height="50" Background="SeaGreen"/> + <Widget Width="50%" Height="50" Background="SeaGreen"/> + <Widget Width="50" Height="50" Background="SeaGreen"/> + <Widget Width="50" Height="50" Background="SeaGreen"/> + <Widget Width="50" Height="50%" Background="SeaGreen"/> + <Widget Width="50" Height="50" Background="SeaGreen"/> + </Wrapper> +</Window>
\ No newline at end of file diff --git a/Samples/ShowCase/ui/Interfaces/Wrapper/2.1.crow b/Samples/ShowCase/ui/Interfaces/Wrapper/2.1.crow new file mode 100755 index 00000000..2a352892 --- /dev/null +++ b/Samples/ShowCase/ui/Interfaces/Wrapper/2.1.crow @@ -0,0 +1,14 @@ +<?xml version="1.0"?> +<Window Caption="Horizontal Wrapper" Width="50%" Height="50%"> + <Wrapper Orientation="Horizontal" Height="90%" Width="Fit" Margin="5" Background="MediumSeaGreen" Spacing="1" > + <Widget Width="50" Height="50" Background="SeaGreen"/> + <Widget Width="50" Height="50" Background="SeaGreen"/> + <Widget Width="50" Height="50" Background="SeaGreen"/> + <Widget Width="50" Height="50" Background="SeaGreen"/> + <Widget Width="50%" Height="50" Background="SeaGreen"/> + <Widget Width="50" Height="50" Background="SeaGreen"/> + <Widget Width="50" Height="50" Background="SeaGreen"/> + <Widget Width="50" Height="50%" Background="SeaGreen"/> + <Widget Width="50" Height="50" Background="SeaGreen"/> + </Wrapper> +</Window>
\ No newline at end of file diff --git a/Samples/ShowCase/ui/Interfaces/Wrapper/2.2.crow b/Samples/ShowCase/ui/Interfaces/Wrapper/2.2.crow new file mode 100755 index 00000000..4621c14e --- /dev/null +++ b/Samples/ShowCase/ui/Interfaces/Wrapper/2.2.crow @@ -0,0 +1,32 @@ +<?xml version="1.0"?> +<Window Caption="Horizontal Wrapper" Width="50%" Height="50%"> + <Wrapper HorizontalAlignment="Left" Orientation="Horizontal" Height="100%" Width="Fit" Margin="0" Background="MediumSeaGreen" Spacing="1" > + <Widget Width="50" Height="50" Background="SeaGreen"/> + <Widget Width="50" Height="50" Background="SeaGreen"/> + <Widget Width="50" Height="50" Background="SeaGreen"/> + <Widget Width="50" Height="50" Background="SeaGreen"/> + <Widget Width="50%" Height="50" Background="SeaGreen"/> + <Widget Width="50" Height="50" Background="SeaGreen"/> + <Widget Width="50" Height="50" Background="SeaGreen"/> + <Widget Width="50" Height="50%" Background="SeaGreen"/> + <Widget Width="50" Height="50" Background="SeaGreen"/> + <Widget Width="50" Height="50" Background="SeaGreen"/> + <Widget Width="50" Height="50" Background="SeaGreen"/> + <Widget Width="50" Height="50" Background="SeaGreen"/> + <Widget Width="50" Height="50" Background="SeaGreen"/> + <Widget Width="50%" Height="50" Background="SeaGreen"/> + <Widget Width="50" Height="50" Background="SeaGreen"/> + <Widget Width="50" Height="50" Background="SeaGreen"/> + <Widget Width="50" Height="50%" Background="SeaGreen"/> + <Widget Width="50" Height="50" Background="SeaGreen"/> + <Widget Width="50" Height="50" Background="SeaGreen"/> + <Widget Width="50" Height="50" Background="SeaGreen"/> + <Widget Width="50" Height="50" Background="SeaGreen"/> + <Widget Width="50" Height="50" Background="SeaGreen"/> + <Widget Width="50%" Height="50" Background="SeaGreen"/> + <Widget Width="50" Height="50" Background="SeaGreen"/> + <Widget Width="50" Height="50" Background="SeaGreen"/> + <Widget Width="50" Height="50%" Background="SeaGreen"/> + <Widget Width="50" Height="50" Background="SeaGreen"/> + </Wrapper> +</Window>
\ No newline at end of file diff --git a/Samples/ShowCase/ui/Interfaces/Wrapper/2.crow b/Samples/ShowCase/ui/Interfaces/Wrapper/2.crow new file mode 100755 index 00000000..c1f234eb --- /dev/null +++ b/Samples/ShowCase/ui/Interfaces/Wrapper/2.crow @@ -0,0 +1,14 @@ +<?xml version="1.0"?> +<Window Caption="Horizontal Wrapper" Width="50%" Height="50%"> + <Wrapper Orientation="Horizontal" Height="Fit" Width="Fit" Margin="5" Background="MediumSeaGreen" Spacing="1" > + <Widget Width="50" Height="50" Background="SeaGreen"/> + <Widget Width="50" Height="50" Background="SeaGreen"/> + <Widget Width="50" Height="50" Background="SeaGreen"/> + <Widget Width="50" Height="50" Background="SeaGreen"/> + <Widget Width="50%" Height="50" Background="SeaGreen"/> + <Widget Width="50" Height="50" Background="SeaGreen"/> + <Widget Width="50" Height="50" Background="SeaGreen"/> + <Widget Width="50" Height="50%" Background="SeaGreen"/> + <Widget Width="50" Height="50" Background="SeaGreen"/> + </Wrapper> +</Window>
\ No newline at end of file diff --git a/Samples/ShowCase/ui/Interfaces/basicTests/7.crow b/Samples/ShowCase/ui/Interfaces/basicTests/7.crow new file mode 100755 index 00000000..8d1e441c --- /dev/null +++ b/Samples/ShowCase/ui/Interfaces/basicTests/7.crow @@ -0,0 +1,144 @@ +<?xml version="1.0"?> +<Window Title="Showcase" Height="90%" Width="90%"> + <HorizontalStack > + <VerticalStack Width="33%" Margin="5"> + <GroupBox Caption="Performance" Height="Fit"> + <VerticalStack Width="90%" Height="Fit" Spacing="2" > + <HorizontalStack Height="Fit"> + <Label Text="Fps:" Style="FpsLabel"/> + <Label Text="{fps}" Style="FpsDisp"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Min:" Style="FpsLabel"/> + <Label Text="{fpsMin}" Style="FpsDisp"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Max:" Style="FpsLabel"/> + <Label Text="{fpsMax}" Style="FpsDisp"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Update:" Style="FpsLabel"/> + <Label Text="{update}" Style="FpsDisp"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Layouting:" Style="FpsLabel"/> + <Label Text="{layouting}" Style="FpsDisp"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Clipping:" Style="FpsLabel"/> + <Label Text="{clipping}" Style="FpsDisp"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Drawing:" Style="FpsLabel"/> + <Label Text="{drawing}" Style="FpsDisp"/> + </HorizontalStack> + </VerticalStack> + </GroupBox> + <Label Width="Stretched" Margin="3" Background="Onyx"/> + <TextBox Text="TextBox" Multiline="true" Margin="3"/> + <HorizontalStack Height="Fit" Margin="5" Background="Onyx" CornerRadius="10"> + <VerticalStack Spacing="5" Width="50%"> + <CheckBox Fit="true"/> + <CheckBox Fit="true"/> + <CheckBox Fit="true"/> + <CheckBox Fit="true"/> + </VerticalStack> + <VerticalStack Spacing="5" Width="50%"> + <RadioButton Fit="true"/> + <RadioButton Fit="true"/> + <RadioButton Fit="true"/> + <RadioButton Fit="true"/> + </VerticalStack> + </HorizontalStack> + <HorizontalStack Height="Fit" Margin="5"> + <Label Text="MouseEvents" Width="50%" Margin="3" + Background="Onyx" + Foreground="DimGray" + TextAlignment="Center" + MouseEnter="{Foreground=White}" + MouseLeave="{Foreground=DimGray}" + MouseDown="{Background=DarkRed}" + MouseUp="{Background=Onyx}"/> + <Label Text="MouseEvents" Width="50%" Margin="3" + Background="Onyx" + Foreground="DimGray" + TextAlignment="Center" + MouseEnter="{Foreground=White}" + MouseLeave="{Foreground=DimGray}" + MouseDown="{Background=Mantis}" + MouseUp="{Background=Onyx}"/> + </HorizontalStack> + <GroupBox Caption="Templated controls" Height="Fit" Margin="5"> + <HorizontalStack Height="Fit"> + <VerticalStack Width="50%"> + <CheckBox Template="#Tests.Interfaces.CheckBox2.imlt" Style="CheckBox2"/> + <CheckBox Template="#Tests.Interfaces.CheckBox2.imlt" Style="CheckBox2"/> + <CheckBox Template="#Tests.Interfaces.CheckBox2.imlt" Style="CheckBox2"/> + <CheckBox Template="#Tests.Interfaces.CheckBox2.imlt" Style="CheckBox2"/> + </VerticalStack> + <Splitter/> + <VerticalStack Width="50%"> + <RadioButton Template="#Tests.Interfaces.CheckBox2.imlt" Style="RadioButton2"/> + <RadioButton Template="#Tests.Interfaces.CheckBox2.imlt" Style="RadioButton2"/> + <RadioButton Template="#Tests.Interfaces.CheckBox2.imlt" Style="RadioButton2"/> + <RadioButton Template="#Tests.Interfaces.CheckBox2.imlt" Style="RadioButton2"/> + </VerticalStack> + </HorizontalStack> + </GroupBox> + <Spinner Fit="true"/> + </VerticalStack> + <VerticalStack Width="33%" Margin="5" Spacing="5"> + <Expandable Background="DimGray"> + <Image Path="#Crow.Icons.crow.svg"/> + </Expandable> + <Popper Background="DimGray" PopDirection="Bottom"> + <Border Fit="True" Background="DimGray" CornerRadius="0" BorderWidth="1"> + <Image Path="#Crow.Icons.crow.svg" Width="100" Height="100" Margin="10" + MouseEnter="{Background=LightGray}" + MouseLeave="{Background=Transparent}"/> + </Border> + </Popper> + <Slider Height="10" Width="90%"/> + <Container Height="Fit" Background="Onyx" Margin="2" CornerRadius="5"> + <ProgressBar Background="DimGray" Height="10" Value="50"/> + </Container> + <Image Path="#Crow.Icons.crow.svg" Width="60" Height="60" Background="LightGray" /> + <TabView Name="tabview1" + Height="120" Orientation="Horizontal" Spacing="15"> + <TabItem Name="TabItem1" Caption="Tab 1" Margin="0"> + <VerticalStack Fit="true"> + <CheckBox/> + <CheckBox/> + <CheckBox/> + <CheckBox/> + </VerticalStack> + </TabItem> + <TabItem Name="TabItem2" Caption="Tab 2" Background="Gray"> + <VerticalStack Fit="true"> + <RadioButton/> + <RadioButton/> + <RadioButton/> + <RadioButton/> + </VerticalStack> + </TabItem> + <TabItem Name="TabItem2" Caption="Tab 3" Background="Gray"> + <Container Margin="5" CornerRadius="2"> + <TextBox Height="Stretched" Margin="5" Multiline="true" TextAlignment="TopLeft"/> + </Container> + </TabItem> + </TabView> + <MessageBox Movable="false"/> + </VerticalStack> + <VerticalStack Width="33%" Margin="5"> + <Border Margin="5" Background="Onyx" Height="Fit"> + <Label Width="Stretched" Margin="1" Text="{../../dv.SelectedItem}"/> + </Border> + <Border Margin="5" Background="Onyx" Height="50%"> + <DirectoryView Name="dv" Root="./" Margin="1"/> + </Border> + <ListBox Data="{TestList}" Background="Onyx" Margin="5" + ItemTemplate="#Tests.Interfaces.colorItem.crow" + Template="#Crow.Templates.ScrollingListBox.goml"/> + </VerticalStack> + </HorizontalStack> +</Window>
\ No newline at end of file diff --git a/Samples/ShowCase/ui/Interfaces/colorItem.crow b/Samples/ShowCase/ui/Interfaces/colorItem.crow new file mode 100755 index 00000000..30bfe3d3 --- /dev/null +++ b/Samples/ShowCase/ui/Interfaces/colorItem.crow @@ -0,0 +1,10 @@ +<?xml version="1.0"?> +<Border Foreground="Transparent" Focusable="true" HorizontalAlignment="Left" Height="Fit" Width="200"> + <HorizontalStack Margin="0" + MouseEnter="{Background=hgradient|0:DarkRed|1:Transparent}" + MouseLeave="{Background=Transparent}"> + <Widget Height="12" Width="20" Background="{}" Margin="0" CornerRadius="3"/> + <Label Text="{}" Margin="0" Width="Stretched"/> + </HorizontalStack> +</Border> + diff --git a/Samples/ShowCase/ui/Interfaces/colorItem2.crow b/Samples/ShowCase/ui/Interfaces/colorItem2.crow new file mode 100755 index 00000000..83239b32 --- /dev/null +++ b/Samples/ShowCase/ui/Interfaces/colorItem2.crow @@ -0,0 +1,10 @@ +<?xml version="1.0"?> +<Border Foreground="Transparent" Focusable="true" HorizontalAlignment="Left" Height="Fit"> + <HorizontalStack Margin="0" + MouseEnter="{Background=CornflowerBlue}" + MouseLeave="{Background=Transparent}"> + <Widget Height="8" Width="14" Background="{}" Margin="0" CornerRadius="2"/> + <Label Text="{}" Margin="0" Width="Stretched" Font="mono, 8"/> + </HorizontalStack> +</Border> + diff --git a/Samples/ShowCase/ui/Interfaces/itemTmp.goml b/Samples/ShowCase/ui/Interfaces/itemTmp.goml new file mode 100755 index 00000000..fadf5e63 --- /dev/null +++ b/Samples/ShowCase/ui/Interfaces/itemTmp.goml @@ -0,0 +1,8 @@ +<?xml version="1.0"?> +<Border BorderWidth="3"> + <Label Text="{Name}" Focusable="true" Width="Stretched" Height="Fit" Margin="0" + MouseEnter="{Background=Red}" + MouseLeave="{Background=Transparent}" + /> +</Border> + diff --git a/Samples/ShowCase/ui/Interfaces/log.xml b/Samples/ShowCase/ui/Interfaces/log.xml new file mode 100755 index 00000000..1039f7be --- /dev/null +++ b/Samples/ShowCase/ui/Interfaces/log.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<Container Name="topContainer" HorizontalAlignment="Center" VerticalAlignment="Top" + Margin="2" + Width="600" Height="-1"> + <Border Margin="2" BorderWidth="1" Background="0,6;0,6;0,6;0,6" Height="-1"> + <Group Width="0" Name="logs"> + <VerticalStack Name="VerticalStack" Width="0" Focusable="False"> + <Label Name="line1" Width="0" Text="Line1" Margin="0"/> + <Label Name="line2" Width="0" Text="Line2" Margin="0"/> + <Label Name="line3" Width="0" Text="Line3" Margin="0"/> + <Label Name="line4" Width="0" Text="Line4" Margin="0"/> + </VerticalStack> + <Button Name="btOk" Background="Gray" Fit="True" + HorizontalAlignment="Right" VerticalAlignment="Bottom" + MouseClick="BtOk_MouseClick"> + <Label Text="Ok" Margin="3" Foreground="White" /> + </Button> + </Group> + </Border> +</Container> + diff --git a/Samples/ShowCase/ui/Interfaces/perfMsr.crow b/Samples/ShowCase/ui/Interfaces/perfMsr.crow new file mode 100755 index 00000000..22a62ea1 --- /dev/null +++ b/Samples/ShowCase/ui/Interfaces/perfMsr.crow @@ -0,0 +1,36 @@ +<?xml version="1.0"?> + + <VerticalStack Spacing="1" Height="Fit" Width="Stretched"> + <HorizontalStack Background="DarkSlateGrey"> + <Label Text="{Name}" Width="Stretched" Font="doid bold, 10" Margin="2"/> + <Button Caption="Reset" MouseClick="onResetClick" Height="Fit"/> + </HorizontalStack> + <HorizontalStack> + <Label Text="Current:" Style="FpsLabel"/> + <Label Text="{current}" Style="FpsDisp"/> + </HorizontalStack> + <HorizontalStack> + <Label Text="Minimum:" Style="FpsLabel"/> + <Label Text="{minimum}" Style="FpsDisp"/> + </HorizontalStack> + <HorizontalStack> + <Label Text="Mean:" Style="FpsLabel"/> + <Label Text="{mean}" Style="FpsDisp"/> + </HorizontalStack> + <HorizontalStack> + <Label Text="Maximum:" Style="FpsLabel"/> + <Label Text="{maximum}" Style="FpsDisp"/> + </HorizontalStack> + <Border Foreground="White" Width="Stretched" Height="60"> + <Trend Background="Black" NewValue="{current}" Minimum="0" Maximum="100"/> + </Border> +<!-- <HorizontalStack> + <Label Text="Total:" Style="FpsLabel"/> + <Label Text="{total}" Style="FpsDisp"/> + </HorizontalStack> + <HorizontalStack> + <Label Text="Cpt:" Style="FpsLabel"/> + <Label Text="{cptMeasures}" Style="FpsDisp"/> + </HorizontalStack>--> + </VerticalStack> + diff --git a/Samples/ShowCase/ui/Interfaces/testMeter.goml b/Samples/ShowCase/ui/Interfaces/testMeter.goml new file mode 100755 index 00000000..2c840a8e --- /dev/null +++ b/Samples/ShowCase/ui/Interfaces/testMeter.goml @@ -0,0 +1,2 @@ +<?xml version="1.0"?> +<AnalogMeter Width="Fit" Height="Fit" Background="White" Foreground="Black" Value="{fps}" Minimum="Stretched" Maximum="100"/>
\ No newline at end of file diff --git a/Samples/ShowCase/ui/Interfaces/testWindow.goml.sav b/Samples/ShowCase/ui/Interfaces/testWindow.goml.sav new file mode 100755 index 00000000..42b4b744 --- /dev/null +++ b/Samples/ShowCase/ui/Interfaces/testWindow.goml.sav @@ -0,0 +1,26 @@ +<?xml version="1.0"?> +<!--<Group>--> +<Window Name="window1" Left="10" Top="10" Title="Test window" + Width="250" Height="300" > + <VerticalStack Name="contentVSStack" Margin="10" Spacing="10"> + <Slider Name="slider" Height="10" Width="0"/> + + <HorizontalStack Width="0" Height="-1" Margin="10" Background="BlueCrayola"> + <Checkbox Height="-1" Width="80"/> + <GraphicObject Width="0"/> + <Checkbox Height="-1" Width="80"/> + </HorizontalStack> + <Groupbox Text="test" Height="-1" Width="-1" Margin="5"> + <VerticalStack Height="-1" Width="0" > + <RadioButton Caption="Radio 1" Background="Red" /> + <RadioButton Caption="Radio 2" IsChecked="true" /> + <RadioButton Caption="Radio 3" /> + </VerticalStack> + </Groupbox> +<!-- <Checkbox Height="-1" Width="-1" Background="Red" Margin="0" VerticalAlignment="Center" HorizontalAlignment="Right"/>--> + </VerticalStack> +</Window> +<!--</Group>--> +<!-- <Label Text="{fps}" Background="DarkRed"/> + <Label Text="{fpsMin}" /> + <Label Text="{fpsMax}" />-->
\ No newline at end of file diff --git a/Samples/ShowCase/ui/Interfaces/tmpDirItem.goml b/Samples/ShowCase/ui/Interfaces/tmpDirItem.goml new file mode 100755 index 00000000..41665d13 --- /dev/null +++ b/Samples/ShowCase/ui/Interfaces/tmpDirItem.goml @@ -0,0 +1,11 @@ +<?xml version="1.0"?> + <HorizontalStack Width="Fit" Height="Fit" Focusable="true" + HorizontalAlignment="Left" + MouseEnter="{Background=RoyalBlue}" + MouseLeave="{Background=Transparent}"> + <Image Width="16" Height="16" Path="#Tests.image.folder1.svg" SvgSub="{Attributes}"/> + <Label Text="{Name}" Width="Fit" Height="Fit" Margin="0"/> + <Label Text="{Attributes}" Width="Fit" Height="Fit" Margin="0"/> + <Label Text="{Extension}" Width="Fit" Height="Fit" Margin="0"/> + </HorizontalStack> + diff --git a/Samples/ShowCase/ui/Interfaces/tmpMembers.goml b/Samples/ShowCase/ui/Interfaces/tmpMembers.goml new file mode 100755 index 00000000..f48d8d68 --- /dev/null +++ b/Samples/ShowCase/ui/Interfaces/tmpMembers.goml @@ -0,0 +1,9 @@ +<?xml version="1.0"?> + <HorizontalStack Width="Stretched" Height="Fit" Focusable="true" + MouseEnter="{Background=SkyBlue}" + MouseLeave="{Background=Transparent}"> + <Image Width="8" Height="8" Path="#Crow.Images.Icons.member.svg" SvgSub="{GetIcon}"/> + <Label Text="{Name}" Width="Stretched" Height="Fit" Margin="1"/> + <Label Text="{MemberType}" Width="Fit" Height="Fit" Margin="0"/> + </HorizontalStack> + diff --git a/Samples/ShowCase/ui/Interfaces/treeList.crow b/Samples/ShowCase/ui/Interfaces/treeList.crow new file mode 100755 index 00000000..ca59c17f --- /dev/null +++ b/Samples/ShowCase/ui/Interfaces/treeList.crow @@ -0,0 +1,2 @@ +<?xml version="1.0"?> +<VerticalStack Height="Fit" Name="List"/>
\ No newline at end of file diff --git a/Samples/ShowCase/ui/divers/0.crow b/Samples/ShowCase/ui/divers/0.crow new file mode 100755 index 00000000..e7cf3e2f --- /dev/null +++ b/Samples/ShowCase/ui/divers/0.crow @@ -0,0 +1,162 @@ +<?xml version="1.0"?> +<Window Caption="Showcase" Height="90%" Width="90%"> + <HorizontalStack > + <VerticalStack Width="30%" Margin="5"> + <GroupBox Caption="Performance" Height="Fit"> + <VerticalStack DataSource="{drawingMeasure}" Width="90%" Height="Fit" Spacing="2" > + <HorizontalStack Height="Fit" Tooltip="Frame per second"> + <Label Text="Fps:" Style="FpsLabel"/> + <Label Text="{minimum}" Style="FpsDisp"/> + </HorizontalStack> + <HorizontalStack Height="Fit" Tooltip="Minimum Frame per second"> + <Label Text="Min:" Style="FpsLabel"/> + <Label Text="{fpsMin}" Style="FpsDisp"/> + </HorizontalStack> + <HorizontalStack Height="Fit" Tooltip="Maximum Frame per second"> + <Label Text="Max:" Style="FpsLabel"/> + <Label Text="{fpsMax}" Style="FpsDisp"/> + </HorizontalStack> + <HorizontalStack Height="Fit" Tooltip="Update loop duration"> + <Label Text="Update:" Style="FpsLabel"/> + <Label Text="{update}" Style="FpsDisp"/> + </HorizontalStack> + <HorizontalStack Height="Fit" Tooltip="Layouting process duration"> + <Label Text="Layouting:" Style="FpsLabel"/> + <Label Text="{layouting}" Style="FpsDisp"/> + </HorizontalStack> + <HorizontalStack Height="Fit" Tooltip="Clipping duration"> + <Label Text="Clipping:" Style="FpsLabel"/> + <Label Text="{clipping}" Style="FpsDisp"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Drawing:" Style="FpsLabel"/> + <Label Text="{drawing}" Style="FpsDisp"/> + </HorizontalStack> + </VerticalStack> + </GroupBox> + <Label Width="Stretched" Margin="3" Background="DimGrey"/> + <TextBox Text="TextBox" Multiline="true" Margin="3"/> + <HorizontalStack Height="Fit" Margin="5" Background="DimGrey" CornerRadius="10"> + <VerticalStack Spacing="5" Width="50%"> + <CheckBox Fit="true" Caption="test"/> + <CheckBox Fit="true"/> + <CheckBox Fit="true"/> + <CheckBox Fit="true" IsChecked="true"/> + </VerticalStack> + <VerticalStack Spacing="5" Width="50%"> + <RadioButton Fit="true"/> + <RadioButton Fit="true" IsChecked="true"/> + <RadioButton Fit="true"/> + <RadioButton Fit="true"/> + </VerticalStack> + </HorizontalStack> + <HorizontalStack Height="Fit" Margin="5"> + <Label Text="MouseEvents" Width="50%" Margin="3" Focusable="true" + Background="Jet" + Foreground="DimGrey" + TextAlignment="Center" + MouseEnter="{Foreground=White}" + MouseLeave="{Foreground=DimGrey}" + MouseDown="{Background=DarkRed}" + MouseClick="{Foreground=Green}" + MouseDoubleClick="{Foreground=Yellow}" + MouseUp="{Background=Jet}"/> + <Label Text="MouseEvents" Width="50%" Margin="3" + Background="Jet" + Foreground="DimGrey" + TextAlignment="Center" + MouseClick="{Foreground=Green}" + MouseDoubleClick="{Foreground=Yellow}" + MouseEnter="{Foreground=White}" + MouseLeave="{Foreground=DimGrey}" + MouseDown="{Background=SeaGreen}" + MouseUp="{Background=DimGrey}"/> + </HorizontalStack> + <GroupBox Caption="Templated controls" Height="Fit" Margin="5"> + <HorizontalStack Height="Fit"> + <VerticalStack Width="50%"> + <CheckBox IsChecked="true" Style="CheckBox2"/> + <CheckBox Style="CheckBox2"/> + <CheckBox Style="CheckBox2"/> + <CheckBox Style="CheckBox2"/> + </VerticalStack> + <Splitter/> + <VerticalStack Width="50%"> + <RadioButton Style="RadioButton2"/> + <RadioButton Style="RadioButton2"/> + <RadioButton Style="RadioButton2"/> + <RadioButton Style="RadioButton2"/> + </VerticalStack> + </HorizontalStack> + </GroupBox> + <HorizontalStack Height="Fit"> + <Label Text="Spinner"/> + <Spinner Fit="true"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Button Caption="Button"/> + <Button Caption="Button" IsEnabled="false"/> + </HorizontalStack> + </VerticalStack> + <Splitter/> + <VerticalStack Width="40%" Margin="5" Spacing="5"> + <Expandable> + <Image Path="#Crow.Icons.crow.svg"/> + </Expandable> + <Popper> + <Border Fit="True" Background="DimGrey" CornerRadius="0" BorderWidth="1"> + <Image Path="#Crow.Icons.crow.svg" Width="100" Height="100" Margin="10" + MouseEnter="{Background=LightGrey}" + MouseLeave="{Background=Transparent}"/> + </Border> + </Popper> + <Slider Height="10" Width="90%"/> + <Container Height="Fit" Width="200" Background="DimGrey" Margin="2" CornerRadius="5"> + <ProgressBar Background="DimGrey" Height="10" Value="50"/> + </Container> + <Image Path="#Crow.Icons.crow.svg" Width="60" Height="60" Background="LightGrey" /> +<!-- <TabView Name="tabview1" + Height="120" Orientation="Horizontal" Spacing="15"> + <TabItem Name="TabItem1" Caption="Tab 1" Margin="0"> + <VerticalStack Fit="true"> + <CheckBox/> + <CheckBox/> + <CheckBox/> + <CheckBox/> + </VerticalStack> + </TabItem> + <TabItem Name="TabItem2" Caption="Tab 2" Background="Grey"> + <VerticalStack Fit="true"> + <RadioButton/> + <RadioButton/> + <RadioButton/> + <RadioButton/> + </VerticalStack> + </TabItem> + <TabItem Name="TabItem3" Caption="Tab 3" Background="Grey"> + <Container Margin="5" CornerRadius="2"> + <TextBox Height="Stretched" Margin="5" Multiline="true" TextAlignment="TopLeft"/> + </Container> + </TabItem> + </TabView>--> + <MessageBox Movable="false"/> + <ColorPicker SelectedColor="{²../go.Background}" Name="colorPicker" Margin="5" Fit="True" /> + <Widget Name="go" Width="100" Height="60" Background="{../../colorList.SelectedItem}"/> + <Label Text="{../colorPicker.SelectedColor}"/> + </VerticalStack> + <Splitter/> + <VerticalStack Width="30%" Margin="5"> +<!-- <Border Margin="5" Height="Fit"> + <Label Width="Stretched" Margin="1" Text="{../../dv.SelectedItem}"/> + </Border> + <Border Margin="5" Height="30%"> + <DirectoryView Name="dv" CurrentDirectory="/" Margin="1"/> + </Border> + <Splitter/>--> + <ListBox Name="colorList" Data="{TestList}" Margin="5" + ItemTemplate="Interfaces/colorItem.crow" + Template="#Crow.ScrollingListBox.template" + /> + </VerticalStack> + </HorizontalStack> +</Window>
\ No newline at end of file diff --git a/Samples/ShowCase/ui/divers/2.crow b/Samples/ShowCase/ui/divers/2.crow new file mode 100755 index 00000000..b4a06b68 --- /dev/null +++ b/Samples/ShowCase/ui/divers/2.crow @@ -0,0 +1,13 @@ +<?xml version="1.0"?> +<VerticalStack Fit="true"> + <TextBox Font="droid, 20" Text="test text box" Width="Stretched"/> + <HorizontalStack Margin="5" Fit="true" MouseEnter="{Background=White}" MouseLeave="{Background=Transparent}"> + <Label Text="centered" Width="80" Height="30" Background="DarkBlue" TextAlignment="Center"/> + <Label Text="top left" Width="80" Height="30" Background="DarkBlue" TextAlignment="TopLeft"/> + <Label Text="top right" Width="80" Height="30" Background="DarkBlue" TextAlignment="TopRight"/> + <Label Text="right center" Width="80" Height="30" Background="DarkBlue" TextAlignment="Right"/> + <Label Text="bottom left" Width="80" Height="30" Background="DarkBlue" TextAlignment="BottomLeft"/> + <Label Text="bottom center" Width="80" Height="30" Background="DarkBlue" TextAlignment="Bottom"/> + <Label Text="bottom right" Width="80" Height="30" Background="DarkBlue" TextAlignment="BottomRight"/> + </HorizontalStack> +</VerticalStack>
\ No newline at end of file diff --git a/Samples/ShowCase/ui/divers/3.crow b/Samples/ShowCase/ui/divers/3.crow new file mode 100755 index 00000000..a1f5e95d --- /dev/null +++ b/Samples/ShowCase/ui/divers/3.crow @@ -0,0 +1,377 @@ +<?xml version="1.0"?> +<HorizontalStack Fit="true"> + <VerticalStack Fit="true" Name="vsFps" Spacing="10" > + <ProgressBar CornerRadius="5" Background="DimGrey" Margin="1" Maximum="1000" Value="{fps}" Width="200" Height="15"/> + <HorizontalStack Fit="true"> + <Label Text="Memory:" Width="50" TextAlignment="Right"/> + <Label Text="{memory}" Font="droid,12" TextAlignment="Center" + Background="vgradient|0:RoyalBlue|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Update:" Width="50" TextAlignment="Right"/> + <Label Name="labUpdate" Text="{update}" Font="droid,12" Width="80" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Layouting:" Width="50" TextAlignment="Right"/> + <Label Name="labLayouting" Text="{layouting}" Font="droid,12" Width="80" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Drawing:" Width="50" TextAlignment="Right"/> + <Label Name="labDrawing" Text="{drawing}" Font="droid,12" Width="80" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Name="captionFps" Text="Fps:" Width="50" TextAlignment="Right"/> + <Label Name="valueFps" Text="{fps}" Font="droid , 12" Width="50" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Min:" Width="50" TextAlignment="Right"/> + <Label Text="{fpsMin}" Font="droid , 12" Width="50" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Max:" Width="50" TextAlignment="Right"/> + <Label Text="{fpsMax}" Font="droid , 12" Width="50" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Update:" Width="50" TextAlignment="Right"/> + <Label Name="labUpdate" Text="{update}" Font="droid,12" Width="80" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Layouting:" Width="50" TextAlignment="Right"/> + <Label Name="labLayouting" Text="{layouting}" Font="droid,12" Width="80" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Drawing:" Width="50" TextAlignment="Right"/> + <Label Name="labDrawing" Text="{drawing}" Font="droid,12" Width="80" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Name="captionFps" Text="Fps:" Width="50" TextAlignment="Right"/> + <Label Name="valueFps" Text="{fps}" Font="droid , 12" Width="50" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Min:" Width="50" TextAlignment="Right"/> + <Label Text="{fpsMin}" Font="droid , 12" Width="50" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Max:" Width="50" TextAlignment="Right"/> + <Label Text="{fpsMax}" Font="droid , 12" Width="50" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Update:" Width="50" TextAlignment="Right"/> + <Label Name="labUpdate" Text="{update}" Font="droid,12" Width="80" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Layouting:" Width="50" TextAlignment="Right"/> + <Label Name="labLayouting" Text="{layouting}" Font="droid,12" Width="80" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Drawing:" Width="50" TextAlignment="Right"/> + <Label Name="labDrawing" Text="{drawing}" Font="droid,12" Width="80" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Name="captionFps" Text="Fps:" Width="50" TextAlignment="Right"/> + <Label Name="valueFps" Text="{fps}" Font="droid , 12" Width="50" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Min:" Width="50" TextAlignment="Right"/> + <Label Text="{fpsMin}" Font="droid , 12" Width="50" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Max:" Width="50" TextAlignment="Right"/> + <Label Text="{fpsMax}" Font="droid , 12" Width="50" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + </VerticalStack> + <VerticalStack Fit="true" Name="vsFps" Spacing="10" > + <HorizontalStack Fit="true"> + <Label Text="Update:" Width="50" TextAlignment="Right"/> + <Label Name="labUpdate" Text="{update}" Font="droid,12" Width="80" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Layouting:" Width="50" TextAlignment="Right"/> + <Label Name="labLayouting" Text="{layouting}" Font="droid,12" Width="80" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Drawing:" Width="50" TextAlignment="Right"/> + <Label Name="labDrawing" Text="{drawing}" Font="droid,12" Width="80" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Name="captionFps" Text="Fps:" Width="50" TextAlignment="Right"/> + <Label Name="valueFps" Text="{fps}" Font="droid , 12" Width="50" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Min:" Width="50" TextAlignment="Right"/> + <Label Text="{fpsMin}" Font="droid , 12" Width="50" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Max:" Width="50" TextAlignment="Right"/> + <Label Text="{fpsMax}" Font="droid , 12" Width="50" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Update:" Width="50" TextAlignment="Right"/> + <Label Name="labUpdate" Text="{update}" Font="droid,12" Width="80" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Layouting:" Width="50" TextAlignment="Right"/> + <Label Name="labLayouting" Text="{layouting}" Font="droid,12" Width="80" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Drawing:" Width="50" TextAlignment="Right"/> + <Label Name="labDrawing" Text="{drawing}" Font="droid,12" Width="80" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Name="captionFps" Text="Fps:" Width="50" TextAlignment="Right"/> + <Label Name="valueFps" Text="{fps}" Font="droid , 12" Width="50" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Min:" Width="50" TextAlignment="Right"/> + <Label Text="{fpsMin}" Font="droid , 12" Width="50" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Max:" Width="50" TextAlignment="Right"/> + <Label Text="{fpsMax}" Font="droid , 12" Width="50" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Update:" Width="50" TextAlignment="Right"/> + <Label Name="labUpdate" Text="{update}" Font="droid,12" Width="80" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Layouting:" Width="50" TextAlignment="Right"/> + <Label Name="labLayouting" Text="{layouting}" Font="droid,12" Width="80" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Drawing:" Width="50" TextAlignment="Right"/> + <Label Name="labDrawing" Text="{drawing}" Font="droid,12" Width="80" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Name="captionFps" Text="Fps:" Width="50" TextAlignment="Right"/> + <Label Name="valueFps" Text="{fps}" Font="droid , 12" Width="50" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Min:" Width="50" TextAlignment="Right"/> + <Label Text="{fpsMin}" Font="droid , 12" Width="50" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Max:" Width="50" TextAlignment="Right"/> + <Label Text="{fpsMax}" Font="droid , 12" Width="50" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + </VerticalStack> + <VerticalStack Fit="true" Name="vsFps" Spacing="10" > + <HorizontalStack Fit="true"> + <Label Text="Update:" Width="50" TextAlignment="Right"/> + <Label Name="labUpdate" Text="{update}" Font="droid,12" Width="80" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Layouting:" Width="50" TextAlignment="Right"/> + <Label Name="labLayouting" Text="{layouting}" Font="droid,12" Width="80" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Drawing:" Width="50" TextAlignment="Right"/> + <Label Name="labDrawing" Text="{drawing}" Font="droid,12" Width="80" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Name="captionFps" Text="Fps:" Width="50" TextAlignment="Right"/> + <Label Name="valueFps" Text="{fps}" Font="droid , 12" Width="50" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Min:" Width="50" TextAlignment="Right"/> + <Label Text="{fpsMin}" Font="droid , 12" Width="50" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Max:" Width="50" TextAlignment="Right"/> + <Label Text="{fpsMax}" Font="droid , 12" Width="50" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Update:" Width="50" TextAlignment="Right"/> + <Label Name="labUpdate" Text="{update}" Font="droid,12" Width="80" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Layouting:" Width="50" TextAlignment="Right"/> + <Label Name="labLayouting" Text="{layouting}" Font="droid,12" Width="80" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Drawing:" Width="50" TextAlignment="Right"/> + <Label Name="labDrawing" Text="{drawing}" Font="droid,12" Width="80" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Name="captionFps" Text="Fps:" Width="50" TextAlignment="Right"/> + <Label Name="valueFps" Text="{fps}" Font="droid , 12" Width="50" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Min:" Width="50" TextAlignment="Right"/> + <Label Text="{fpsMin}" Font="droid , 12" Width="50" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Max:" Width="50" TextAlignment="Right"/> + <Label Text="{fpsMax}" Font="droid , 12" Width="50" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Update:" Width="50" TextAlignment="Right"/> + <Label Name="labUpdate" Text="{update}" Font="droid,12" Width="80" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Layouting:" Width="50" TextAlignment="Right"/> + <Label Name="labLayouting" Text="{layouting}" Font="droid,12" Width="80" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Drawing:" Width="50" TextAlignment="Right"/> + <Label Name="labDrawing" Text="{drawing}" Font="droid,12" Width="80" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Name="captionFps" Text="Fps:" Width="50" TextAlignment="Right"/> + <Label Name="valueFps" Text="{fps}" Font="droid , 12" Width="50" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Min:" Width="50" TextAlignment="Right"/> + <Label Text="{fpsMin}" Font="droid , 12" Width="50" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Max:" Width="50" TextAlignment="Right"/> + <Label Text="{fpsMax}" Font="droid , 12" Width="50" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + </VerticalStack> + <VerticalStack Fit="true" Name="vsFps" Spacing="10" > + <HorizontalStack Fit="true"> + <Label Text="Update:" Width="50" TextAlignment="Right"/> + <Label Name="labUpdate" Text="{update}" Font="droid,12" Width="80" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Layouting:" Width="50" TextAlignment="Right"/> + <Label Name="labLayouting" Text="{layouting}" Font="droid,12" Width="80" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Drawing:" Width="50" TextAlignment="Right"/> + <Label Name="labDrawing" Text="{drawing}" Font="droid,12" Width="80" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Name="captionFps" Text="Fps:" Width="50" TextAlignment="Right"/> + <Label Name="valueFps" Text="{fps}" Font="droid , 12" Width="50" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Min:" Width="50" TextAlignment="Right"/> + <Label Text="{fpsMin}" Font="droid , 12" Width="50" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Max:" Width="50" TextAlignment="Right"/> + <Label Text="{fpsMax}" Font="droid , 12" Width="50" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Update:" Width="50" TextAlignment="Right"/> + <Label Name="labUpdate" Text="{update}" Font="droid,12" Width="80" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Layouting:" Width="50" TextAlignment="Right"/> + <Label Name="labLayouting" Text="{layouting}" Font="droid,12" Width="80" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Drawing:" Width="50" TextAlignment="Right"/> + <Label Name="labDrawing" Text="{drawing}" Font="droid,12" Width="80" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Name="captionFps" Text="Fps:" Width="50" TextAlignment="Right"/> + <Label Name="valueFps" Text="{fps}" Font="droid , 12" Width="50" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Min:" Width="50" TextAlignment="Right"/> + <Label Text="{fpsMin}" Font="droid , 12" Width="50" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Max:" Width="50" TextAlignment="Right"/> + <Label Text="{fpsMax}" Font="droid , 12" Width="50" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Update:" Width="50" TextAlignment="Right"/> + <Label Name="labUpdate" Text="{update}" Font="droid,12" Width="80" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Layouting:" Width="50" TextAlignment="Right"/> + <Label Name="labLayouting" Text="{layouting}" Font="droid,12" Width="80" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Drawing:" Width="50" TextAlignment="Right"/> + <Label Name="labDrawing" Text="{drawing}" Font="droid,12" Width="80" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Name="captionFps" Text="Fps:" Width="50" TextAlignment="Right"/> + <Label Name="valueFps" Text="{fps}" Font="droid , 12" Width="50" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Min:" Width="50" TextAlignment="Right"/> + <Label Text="{fpsMin}" Font="droid , 12" Width="50" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Max:" Width="50" TextAlignment="Right"/> + <Label Text="{fpsMax}" Font="droid , 12" Width="50" TextAlignment="Center" + Background="vgradient|0:SeaGreen|1:Black"/> + </HorizontalStack> + </VerticalStack> +</HorizontalStack>
\ No newline at end of file diff --git a/Samples/ShowCase/ui/divers/4.crow b/Samples/ShowCase/ui/divers/4.crow new file mode 100755 index 00000000..ca696622 --- /dev/null +++ b/Samples/ShowCase/ui/divers/4.crow @@ -0,0 +1,1695 @@ +<?xml version="1.0"?> +<HorizontalStack> + <VerticalStack Width="15%"> + <HorizontalStack Height="Fit"> + <Label Text="Memory:" Style="labPerf" /> + <Label Text="{memory}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Update:" Style="labPerf" /> + <Label Text="{update}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Layouting:" Style="labPerf" /> + <Label Text="{layouting}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Drawing:" Style="labPerf" /> + <Label Text="{drawing}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Fps:" Style="labPerf" /> + <Label Text="{fps}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Min:" Style="labPerf" /> + <Label Text="{fpsMin}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Max:" Style="labPerf" /> + <Label Text="{fpsMax}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Memory:" Style="labPerf" /> + <Label Text="{memory}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Update:" Style="labPerf" /> + <Label Text="{update}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Layouting:" Style="labPerf" /> + <Label Text="{layouting}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Drawing:" Style="labPerf" /> + <Label Text="{drawing}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Fps:" Style="labPerf" /> + <Label Text="{fps}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Min:" Style="labPerf" /> + <Label Text="{fpsMin}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Max:" Style="labPerf" /> + <Label Text="{fpsMax}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Memory:" Style="labPerf" /> + <Label Text="{memory}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Update:" Style="labPerf" /> + <Label Text="{update}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Layouting:" Style="labPerf" /> + <Label Text="{layouting}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Drawing:" Style="labPerf" /> + <Label Text="{drawing}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Fps:" Style="labPerf" /> + <Label Text="{fps}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Min:" Style="labPerf" /> + <Label Text="{fpsMin}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Max:" Style="labPerf" /> + <Label Text="{fpsMax}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Memory:" Style="labPerf" /> + <Label Text="{memory}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Update:" Style="labPerf" /> + <Label Text="{update}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Layouting:" Style="labPerf" /> + <Label Text="{layouting}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Drawing:" Style="labPerf" /> + <Label Text="{drawing}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Fps:" Style="labPerf" /> + <Label Text="{fps}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Min:" Style="labPerf" /> + <Label Text="{fpsMin}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Max:" Style="labPerf" /> + <Label Text="{fpsMax}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Memory:" Style="labPerf" /> + <Label Text="{memory}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Update:" Style="labPerf" /> + <Label Text="{update}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Layouting:" Style="labPerf" /> + <Label Text="{layouting}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Drawing:" Style="labPerf" /> + <Label Text="{drawing}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Fps:" Style="labPerf" /> + <Label Text="{fps}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Min:" Style="labPerf" /> + <Label Text="{fpsMin}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Max:" Style="labPerf" /> + <Label Text="{fpsMax}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Memory:" Style="labPerf" /> + <Label Text="{memory}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Update:" Style="labPerf" /> + <Label Text="{update}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Layouting:" Style="labPerf" /> + <Label Text="{layouting}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Drawing:" Style="labPerf" /> + <Label Text="{drawing}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Fps:" Style="labPerf" /> + <Label Text="{fps}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Min:" Style="labPerf" /> + <Label Text="{fpsMin}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Max:" Style="labPerf" /> + <Label Text="{fpsMax}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Memory:" Style="labPerf" /> + <Label Text="{memory}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Update:" Style="labPerf" /> + <Label Text="{update}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Layouting:" Style="labPerf" /> + <Label Text="{layouting}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Drawing:" Style="labPerf" /> + <Label Text="{drawing}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Fps:" Style="labPerf" /> + <Label Text="{fps}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Min:" Style="labPerf" /> + <Label Text="{fpsMin}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Max:" Style="labPerf" /> + <Label Text="{fpsMax}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Memory:" Style="labPerf" /> + <Label Text="{memory}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Update:" Style="labPerf" /> + <Label Text="{update}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Layouting:" Style="labPerf" /> + <Label Text="{layouting}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Drawing:" Style="labPerf" /> + <Label Text="{drawing}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Fps:" Style="labPerf" /> + <Label Text="{fps}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Min:" Style="labPerf" /> + <Label Text="{fpsMin}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Max:" Style="labPerf" /> + <Label Text="{fpsMax}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Memory:" Style="labPerf" /> + <Label Text="{memory}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Update:" Style="labPerf" /> + <Label Text="{update}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Layouting:" Style="labPerf" /> + <Label Text="{layouting}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Drawing:" Style="labPerf" /> + <Label Text="{drawing}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Fps:" Style="labPerf" /> + <Label Text="{fps}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Min:" Style="labPerf" /> + <Label Text="{fpsMin}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Max:" Style="labPerf" /> + <Label Text="{fpsMax}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Memory:" Style="labPerf" /> + <Label Text="{memory}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Update:" Style="labPerf" /> + <Label Text="{update}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Layouting:" Style="labPerf" /> + <Label Text="{layouting}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Drawing:" Style="labPerf" /> + <Label Text="{drawing}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Fps:" Style="labPerf" /> + <Label Text="{fps}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Min:" Style="labPerf" /> + <Label Text="{fpsMin}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Max:" Style="labPerf" /> + <Label Text="{fpsMax}" Style="labPerfVal"/> + </HorizontalStack> + </VerticalStack> + <VerticalStack Width="15%"> + <HorizontalStack Height="Fit"> + <Label Text="Memory:" Style="labPerf" /> + <Label Text="{memory}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Update:" Style="labPerf" /> + <Label Text="{update}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Layouting:" Style="labPerf" /> + <Label Text="{layouting}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Drawing:" Style="labPerf" /> + <Label Text="{drawing}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Fps:" Style="labPerf" /> + <Label Text="{fps}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Min:" Style="labPerf" /> + <Label Text="{fpsMin}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Max:" Style="labPerf" /> + <Label Text="{fpsMax}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Memory:" Style="labPerf" /> + <Label Text="{memory}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Update:" Style="labPerf" /> + <Label Text="{update}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Layouting:" Style="labPerf" /> + <Label Text="{layouting}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Drawing:" Style="labPerf" /> + <Label Text="{drawing}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Fps:" Style="labPerf" /> + <Label Text="{fps}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Min:" Style="labPerf" /> + <Label Text="{fpsMin}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Max:" Style="labPerf" /> + <Label Text="{fpsMax}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Memory:" Style="labPerf" /> + <Label Text="{memory}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Update:" Style="labPerf" /> + <Label Text="{update}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Layouting:" Style="labPerf" /> + <Label Text="{layouting}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Drawing:" Style="labPerf" /> + <Label Text="{drawing}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Fps:" Style="labPerf" /> + <Label Text="{fps}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Min:" Style="labPerf" /> + <Label Text="{fpsMin}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Max:" Style="labPerf" /> + <Label Text="{fpsMax}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Memory:" Style="labPerf" /> + <Label Text="{memory}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Update:" Style="labPerf" /> + <Label Text="{update}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Layouting:" Style="labPerf" /> + <Label Text="{layouting}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Drawing:" Style="labPerf" /> + <Label Text="{drawing}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Fps:" Style="labPerf" /> + <Label Text="{fps}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Min:" Style="labPerf" /> + <Label Text="{fpsMin}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Max:" Style="labPerf" /> + <Label Text="{fpsMax}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Memory:" Style="labPerf" /> + <Label Text="{memory}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Update:" Style="labPerf" /> + <Label Text="{update}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Layouting:" Style="labPerf" /> + <Label Text="{layouting}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Drawing:" Style="labPerf" /> + <Label Text="{drawing}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Fps:" Style="labPerf" /> + <Label Text="{fps}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Min:" Style="labPerf" /> + <Label Text="{fpsMin}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Max:" Style="labPerf" /> + <Label Text="{fpsMax}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Memory:" Style="labPerf" /> + <Label Text="{memory}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Update:" Style="labPerf" /> + <Label Text="{update}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Layouting:" Style="labPerf" /> + <Label Text="{layouting}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Drawing:" Style="labPerf" /> + <Label Text="{drawing}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Fps:" Style="labPerf" /> + <Label Text="{fps}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Min:" Style="labPerf" /> + <Label Text="{fpsMin}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Max:" Style="labPerf" /> + <Label Text="{fpsMax}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Memory:" Style="labPerf" /> + <Label Text="{memory}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Update:" Style="labPerf" /> + <Label Text="{update}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Layouting:" Style="labPerf" /> + <Label Text="{layouting}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Drawing:" Style="labPerf" /> + <Label Text="{drawing}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Fps:" Style="labPerf" /> + <Label Text="{fps}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Min:" Style="labPerf" /> + <Label Text="{fpsMin}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Max:" Style="labPerf" /> + <Label Text="{fpsMax}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Memory:" Style="labPerf" /> + <Label Text="{memory}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Update:" Style="labPerf" /> + <Label Text="{update}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Layouting:" Style="labPerf" /> + <Label Text="{layouting}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Drawing:" Style="labPerf" /> + <Label Text="{drawing}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Fps:" Style="labPerf" /> + <Label Text="{fps}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Min:" Style="labPerf" /> + <Label Text="{fpsMin}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Max:" Style="labPerf" /> + <Label Text="{fpsMax}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Memory:" Style="labPerf" /> + <Label Text="{memory}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Update:" Style="labPerf" /> + <Label Text="{update}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Layouting:" Style="labPerf" /> + <Label Text="{layouting}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Drawing:" Style="labPerf" /> + <Label Text="{drawing}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Fps:" Style="labPerf" /> + <Label Text="{fps}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Min:" Style="labPerf" /> + <Label Text="{fpsMin}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Max:" Style="labPerf" /> + <Label Text="{fpsMax}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Memory:" Style="labPerf" /> + <Label Text="{memory}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Update:" Style="labPerf" /> + <Label Text="{update}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Layouting:" Style="labPerf" /> + <Label Text="{layouting}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Drawing:" Style="labPerf" /> + <Label Text="{drawing}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Fps:" Style="labPerf" /> + <Label Text="{fps}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Min:" Style="labPerf" /> + <Label Text="{fpsMin}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Max:" Style="labPerf" /> + <Label Text="{fpsMax}" Style="labPerfVal"/> + </HorizontalStack> + </VerticalStack> + <VerticalStack Width="15%"> + <HorizontalStack Height="Fit"> + <Label Text="Memory:" Style="labPerf" /> + <Label Text="{memory}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Update:" Style="labPerf" /> + <Label Text="{update}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Layouting:" Style="labPerf" /> + <Label Text="{layouting}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Drawing:" Style="labPerf" /> + <Label Text="{drawing}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Fps:" Style="labPerf" /> + <Label Text="{fps}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Min:" Style="labPerf" /> + <Label Text="{fpsMin}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Max:" Style="labPerf" /> + <Label Text="{fpsMax}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Memory:" Style="labPerf" /> + <Label Text="{memory}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Update:" Style="labPerf" /> + <Label Text="{update}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Layouting:" Style="labPerf" /> + <Label Text="{layouting}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Drawing:" Style="labPerf" /> + <Label Text="{drawing}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Fps:" Style="labPerf" /> + <Label Text="{fps}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Min:" Style="labPerf" /> + <Label Text="{fpsMin}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Max:" Style="labPerf" /> + <Label Text="{fpsMax}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Memory:" Style="labPerf" /> + <Label Text="{memory}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Update:" Style="labPerf" /> + <Label Text="{update}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Layouting:" Style="labPerf" /> + <Label Text="{layouting}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Drawing:" Style="labPerf" /> + <Label Text="{drawing}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Fps:" Style="labPerf" /> + <Label Text="{fps}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Min:" Style="labPerf" /> + <Label Text="{fpsMin}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Max:" Style="labPerf" /> + <Label Text="{fpsMax}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Memory:" Style="labPerf" /> + <Label Text="{memory}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Update:" Style="labPerf" /> + <Label Text="{update}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Layouting:" Style="labPerf" /> + <Label Text="{layouting}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Drawing:" Style="labPerf" /> + <Label Text="{drawing}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Fps:" Style="labPerf" /> + <Label Text="{fps}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Min:" Style="labPerf" /> + <Label Text="{fpsMin}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Max:" Style="labPerf" /> + <Label Text="{fpsMax}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Memory:" Style="labPerf" /> + <Label Text="{memory}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Update:" Style="labPerf" /> + <Label Text="{update}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Layouting:" Style="labPerf" /> + <Label Text="{layouting}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Drawing:" Style="labPerf" /> + <Label Text="{drawing}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Fps:" Style="labPerf" /> + <Label Text="{fps}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Min:" Style="labPerf" /> + <Label Text="{fpsMin}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Max:" Style="labPerf" /> + <Label Text="{fpsMax}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Memory:" Style="labPerf" /> + <Label Text="{memory}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Update:" Style="labPerf" /> + <Label Text="{update}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Layouting:" Style="labPerf" /> + <Label Text="{layouting}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Drawing:" Style="labPerf" /> + <Label Text="{drawing}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Fps:" Style="labPerf" /> + <Label Text="{fps}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Min:" Style="labPerf" /> + <Label Text="{fpsMin}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Max:" Style="labPerf" /> + <Label Text="{fpsMax}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Memory:" Style="labPerf" /> + <Label Text="{memory}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Update:" Style="labPerf" /> + <Label Text="{update}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Layouting:" Style="labPerf" /> + <Label Text="{layouting}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Drawing:" Style="labPerf" /> + <Label Text="{drawing}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Fps:" Style="labPerf" /> + <Label Text="{fps}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Min:" Style="labPerf" /> + <Label Text="{fpsMin}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Max:" Style="labPerf" /> + <Label Text="{fpsMax}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Memory:" Style="labPerf" /> + <Label Text="{memory}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Update:" Style="labPerf" /> + <Label Text="{update}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Layouting:" Style="labPerf" /> + <Label Text="{layouting}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Drawing:" Style="labPerf" /> + <Label Text="{drawing}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Fps:" Style="labPerf" /> + <Label Text="{fps}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Min:" Style="labPerf" /> + <Label Text="{fpsMin}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Max:" Style="labPerf" /> + <Label Text="{fpsMax}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Memory:" Style="labPerf" /> + <Label Text="{memory}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Update:" Style="labPerf" /> + <Label Text="{update}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Layouting:" Style="labPerf" /> + <Label Text="{layouting}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Drawing:" Style="labPerf" /> + <Label Text="{drawing}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Fps:" Style="labPerf" /> + <Label Text="{fps}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Min:" Style="labPerf" /> + <Label Text="{fpsMin}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Max:" Style="labPerf" /> + <Label Text="{fpsMax}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Memory:" Style="labPerf" /> + <Label Text="{memory}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Update:" Style="labPerf" /> + <Label Text="{update}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Layouting:" Style="labPerf" /> + <Label Text="{layouting}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Drawing:" Style="labPerf" /> + <Label Text="{drawing}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Fps:" Style="labPerf" /> + <Label Text="{fps}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Min:" Style="labPerf" /> + <Label Text="{fpsMin}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Max:" Style="labPerf" /> + <Label Text="{fpsMax}" Style="labPerfVal"/> + </HorizontalStack> + </VerticalStack> + <VerticalStack Width="15%"> + <HorizontalStack Height="Fit"> + <Label Text="Memory:" Style="labPerf" /> + <Label Text="{memory}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Update:" Style="labPerf" /> + <Label Text="{update}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Layouting:" Style="labPerf" /> + <Label Text="{layouting}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Drawing:" Style="labPerf" /> + <Label Text="{drawing}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Fps:" Style="labPerf" /> + <Label Text="{fps}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Min:" Style="labPerf" /> + <Label Text="{fpsMin}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Max:" Style="labPerf" /> + <Label Text="{fpsMax}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Memory:" Style="labPerf" /> + <Label Text="{memory}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Update:" Style="labPerf" /> + <Label Text="{update}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Layouting:" Style="labPerf" /> + <Label Text="{layouting}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Drawing:" Style="labPerf" /> + <Label Text="{drawing}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Fps:" Style="labPerf" /> + <Label Text="{fps}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Min:" Style="labPerf" /> + <Label Text="{fpsMin}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Max:" Style="labPerf" /> + <Label Text="{fpsMax}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Memory:" Style="labPerf" /> + <Label Text="{memory}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Update:" Style="labPerf" /> + <Label Text="{update}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Layouting:" Style="labPerf" /> + <Label Text="{layouting}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Drawing:" Style="labPerf" /> + <Label Text="{drawing}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Fps:" Style="labPerf" /> + <Label Text="{fps}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Min:" Style="labPerf" /> + <Label Text="{fpsMin}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Max:" Style="labPerf" /> + <Label Text="{fpsMax}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Memory:" Style="labPerf" /> + <Label Text="{memory}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Update:" Style="labPerf" /> + <Label Text="{update}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Layouting:" Style="labPerf" /> + <Label Text="{layouting}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Drawing:" Style="labPerf" /> + <Label Text="{drawing}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Fps:" Style="labPerf" /> + <Label Text="{fps}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Min:" Style="labPerf" /> + <Label Text="{fpsMin}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Max:" Style="labPerf" /> + <Label Text="{fpsMax}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Memory:" Style="labPerf" /> + <Label Text="{memory}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Update:" Style="labPerf" /> + <Label Text="{update}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Layouting:" Style="labPerf" /> + <Label Text="{layouting}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Drawing:" Style="labPerf" /> + <Label Text="{drawing}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Fps:" Style="labPerf" /> + <Label Text="{fps}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Min:" Style="labPerf" /> + <Label Text="{fpsMin}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Max:" Style="labPerf" /> + <Label Text="{fpsMax}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Memory:" Style="labPerf" /> + <Label Text="{memory}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Update:" Style="labPerf" /> + <Label Text="{update}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Layouting:" Style="labPerf" /> + <Label Text="{layouting}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Drawing:" Style="labPerf" /> + <Label Text="{drawing}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Fps:" Style="labPerf" /> + <Label Text="{fps}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Min:" Style="labPerf" /> + <Label Text="{fpsMin}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Max:" Style="labPerf" /> + <Label Text="{fpsMax}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Memory:" Style="labPerf" /> + <Label Text="{memory}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Update:" Style="labPerf" /> + <Label Text="{update}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Layouting:" Style="labPerf" /> + <Label Text="{layouting}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Drawing:" Style="labPerf" /> + <Label Text="{drawing}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Fps:" Style="labPerf" /> + <Label Text="{fps}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Min:" Style="labPerf" /> + <Label Text="{fpsMin}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Max:" Style="labPerf" /> + <Label Text="{fpsMax}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Memory:" Style="labPerf" /> + <Label Text="{memory}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Update:" Style="labPerf" /> + <Label Text="{update}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Layouting:" Style="labPerf" /> + <Label Text="{layouting}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Drawing:" Style="labPerf" /> + <Label Text="{drawing}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Fps:" Style="labPerf" /> + <Label Text="{fps}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Min:" Style="labPerf" /> + <Label Text="{fpsMin}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Max:" Style="labPerf" /> + <Label Text="{fpsMax}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Memory:" Style="labPerf" /> + <Label Text="{memory}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Update:" Style="labPerf" /> + <Label Text="{update}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Layouting:" Style="labPerf" /> + <Label Text="{layouting}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Drawing:" Style="labPerf" /> + <Label Text="{drawing}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Fps:" Style="labPerf" /> + <Label Text="{fps}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Min:" Style="labPerf" /> + <Label Text="{fpsMin}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Max:" Style="labPerf" /> + <Label Text="{fpsMax}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Memory:" Style="labPerf" /> + <Label Text="{memory}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Update:" Style="labPerf" /> + <Label Text="{update}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Layouting:" Style="labPerf" /> + <Label Text="{layouting}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Drawing:" Style="labPerf" /> + <Label Text="{drawing}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Fps:" Style="labPerf" /> + <Label Text="{fps}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Min:" Style="labPerf" /> + <Label Text="{fpsMin}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Max:" Style="labPerf" /> + <Label Text="{fpsMax}" Style="labPerfVal"/> + </HorizontalStack> + </VerticalStack> + <VerticalStack Width="15%"> + <HorizontalStack Height="Fit"> + <Label Text="Memory:" Style="labPerf" /> + <Label Text="{memory}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Update:" Style="labPerf" /> + <Label Text="{update}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Layouting:" Style="labPerf" /> + <Label Text="{layouting}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Drawing:" Style="labPerf" /> + <Label Text="{drawing}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Fps:" Style="labPerf" /> + <Label Text="{fps}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Min:" Style="labPerf" /> + <Label Text="{fpsMin}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Max:" Style="labPerf" /> + <Label Text="{fpsMax}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Memory:" Style="labPerf" /> + <Label Text="{memory}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Update:" Style="labPerf" /> + <Label Text="{update}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Layouting:" Style="labPerf" /> + <Label Text="{layouting}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Drawing:" Style="labPerf" /> + <Label Text="{drawing}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Fps:" Style="labPerf" /> + <Label Text="{fps}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Min:" Style="labPerf" /> + <Label Text="{fpsMin}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Max:" Style="labPerf" /> + <Label Text="{fpsMax}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Memory:" Style="labPerf" /> + <Label Text="{memory}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Update:" Style="labPerf" /> + <Label Text="{update}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Layouting:" Style="labPerf" /> + <Label Text="{layouting}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Drawing:" Style="labPerf" /> + <Label Text="{drawing}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Fps:" Style="labPerf" /> + <Label Text="{fps}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Min:" Style="labPerf" /> + <Label Text="{fpsMin}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Max:" Style="labPerf" /> + <Label Text="{fpsMax}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Memory:" Style="labPerf" /> + <Label Text="{memory}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Update:" Style="labPerf" /> + <Label Text="{update}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Layouting:" Style="labPerf" /> + <Label Text="{layouting}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Drawing:" Style="labPerf" /> + <Label Text="{drawing}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Fps:" Style="labPerf" /> + <Label Text="{fps}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Min:" Style="labPerf" /> + <Label Text="{fpsMin}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Max:" Style="labPerf" /> + <Label Text="{fpsMax}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Memory:" Style="labPerf" /> + <Label Text="{memory}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Update:" Style="labPerf" /> + <Label Text="{update}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Layouting:" Style="labPerf" /> + <Label Text="{layouting}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Drawing:" Style="labPerf" /> + <Label Text="{drawing}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Fps:" Style="labPerf" /> + <Label Text="{fps}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Min:" Style="labPerf" /> + <Label Text="{fpsMin}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Max:" Style="labPerf" /> + <Label Text="{fpsMax}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Memory:" Style="labPerf" /> + <Label Text="{memory}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Update:" Style="labPerf" /> + <Label Text="{update}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Layouting:" Style="labPerf" /> + <Label Text="{layouting}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Drawing:" Style="labPerf" /> + <Label Text="{drawing}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Fps:" Style="labPerf" /> + <Label Text="{fps}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Min:" Style="labPerf" /> + <Label Text="{fpsMin}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Max:" Style="labPerf" /> + <Label Text="{fpsMax}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Memory:" Style="labPerf" /> + <Label Text="{memory}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Update:" Style="labPerf" /> + <Label Text="{update}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Layouting:" Style="labPerf" /> + <Label Text="{layouting}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Drawing:" Style="labPerf" /> + <Label Text="{drawing}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Fps:" Style="labPerf" /> + <Label Text="{fps}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Min:" Style="labPerf" /> + <Label Text="{fpsMin}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Max:" Style="labPerf" /> + <Label Text="{fpsMax}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Memory:" Style="labPerf" /> + <Label Text="{memory}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Update:" Style="labPerf" /> + <Label Text="{update}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Layouting:" Style="labPerf" /> + <Label Text="{layouting}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Drawing:" Style="labPerf" /> + <Label Text="{drawing}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Fps:" Style="labPerf" /> + <Label Text="{fps}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Min:" Style="labPerf" /> + <Label Text="{fpsMin}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Max:" Style="labPerf" /> + <Label Text="{fpsMax}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Memory:" Style="labPerf" /> + <Label Text="{memory}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Update:" Style="labPerf" /> + <Label Text="{update}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Layouting:" Style="labPerf" /> + <Label Text="{layouting}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Drawing:" Style="labPerf" /> + <Label Text="{drawing}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Fps:" Style="labPerf" /> + <Label Text="{fps}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Min:" Style="labPerf" /> + <Label Text="{fpsMin}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Max:" Style="labPerf" /> + <Label Text="{fpsMax}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Memory:" Style="labPerf" /> + <Label Text="{memory}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Update:" Style="labPerf" /> + <Label Text="{update}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Layouting:" Style="labPerf" /> + <Label Text="{layouting}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Drawing:" Style="labPerf" /> + <Label Text="{drawing}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Fps:" Style="labPerf" /> + <Label Text="{fps}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Min:" Style="labPerf" /> + <Label Text="{fpsMin}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Max:" Style="labPerf" /> + <Label Text="{fpsMax}" Style="labPerfVal"/> + </HorizontalStack> + </VerticalStack> + <VerticalStack Width="15%"> + <HorizontalStack Height="Fit"> + <Label Text="Memory:" Style="labPerf" /> + <Label Text="{memory}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Update:" Style="labPerf" /> + <Label Text="{update}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Layouting:" Style="labPerf" /> + <Label Text="{layouting}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Drawing:" Style="labPerf" /> + <Label Text="{drawing}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Fps:" Style="labPerf" /> + <Label Text="{fps}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Min:" Style="labPerf" /> + <Label Text="{fpsMin}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Max:" Style="labPerf" /> + <Label Text="{fpsMax}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Memory:" Style="labPerf" /> + <Label Text="{memory}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Update:" Style="labPerf" /> + <Label Text="{update}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Layouting:" Style="labPerf" /> + <Label Text="{layouting}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Drawing:" Style="labPerf" /> + <Label Text="{drawing}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Fps:" Style="labPerf" /> + <Label Text="{fps}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Min:" Style="labPerf" /> + <Label Text="{fpsMin}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Max:" Style="labPerf" /> + <Label Text="{fpsMax}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Memory:" Style="labPerf" /> + <Label Text="{memory}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Update:" Style="labPerf" /> + <Label Text="{update}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Layouting:" Style="labPerf" /> + <Label Text="{layouting}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Drawing:" Style="labPerf" /> + <Label Text="{drawing}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Fps:" Style="labPerf" /> + <Label Text="{fps}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Min:" Style="labPerf" /> + <Label Text="{fpsMin}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Max:" Style="labPerf" /> + <Label Text="{fpsMax}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Memory:" Style="labPerf" /> + <Label Text="{memory}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Update:" Style="labPerf" /> + <Label Text="{update}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Layouting:" Style="labPerf" /> + <Label Text="{layouting}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Drawing:" Style="labPerf" /> + <Label Text="{drawing}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Fps:" Style="labPerf" /> + <Label Text="{fps}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Min:" Style="labPerf" /> + <Label Text="{fpsMin}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Max:" Style="labPerf" /> + <Label Text="{fpsMax}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Memory:" Style="labPerf" /> + <Label Text="{memory}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Update:" Style="labPerf" /> + <Label Text="{update}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Layouting:" Style="labPerf" /> + <Label Text="{layouting}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Drawing:" Style="labPerf" /> + <Label Text="{drawing}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Fps:" Style="labPerf" /> + <Label Text="{fps}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Min:" Style="labPerf" /> + <Label Text="{fpsMin}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Max:" Style="labPerf" /> + <Label Text="{fpsMax}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Memory:" Style="labPerf" /> + <Label Text="{memory}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Update:" Style="labPerf" /> + <Label Text="{update}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Layouting:" Style="labPerf" /> + <Label Text="{layouting}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Drawing:" Style="labPerf" /> + <Label Text="{drawing}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Fps:" Style="labPerf" /> + <Label Text="{fps}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Min:" Style="labPerf" /> + <Label Text="{fpsMin}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Max:" Style="labPerf" /> + <Label Text="{fpsMax}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Memory:" Style="labPerf" /> + <Label Text="{memory}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Update:" Style="labPerf" /> + <Label Text="{update}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Layouting:" Style="labPerf" /> + <Label Text="{layouting}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Drawing:" Style="labPerf" /> + <Label Text="{drawing}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Fps:" Style="labPerf" /> + <Label Text="{fps}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Min:" Style="labPerf" /> + <Label Text="{fpsMin}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Max:" Style="labPerf" /> + <Label Text="{fpsMax}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Memory:" Style="labPerf" /> + <Label Text="{memory}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Update:" Style="labPerf" /> + <Label Text="{update}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Layouting:" Style="labPerf" /> + <Label Text="{layouting}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Drawing:" Style="labPerf" /> + <Label Text="{drawing}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Fps:" Style="labPerf" /> + <Label Text="{fps}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Min:" Style="labPerf" /> + <Label Text="{fpsMin}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Max:" Style="labPerf" /> + <Label Text="{fpsMax}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Memory:" Style="labPerf" /> + <Label Text="{memory}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Update:" Style="labPerf" /> + <Label Text="{update}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Layouting:" Style="labPerf" /> + <Label Text="{layouting}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Drawing:" Style="labPerf" /> + <Label Text="{drawing}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Fps:" Style="labPerf" /> + <Label Text="{fps}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Min:" Style="labPerf" /> + <Label Text="{fpsMin}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Max:" Style="labPerf" /> + <Label Text="{fpsMax}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Memory:" Style="labPerf" /> + <Label Text="{memory}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Update:" Style="labPerf" /> + <Label Text="{update}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Layouting:" Style="labPerf" /> + <Label Text="{layouting}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Drawing:" Style="labPerf" /> + <Label Text="{drawing}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Fps:" Style="labPerf" /> + <Label Text="{fps}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Min:" Style="labPerf" /> + <Label Text="{fpsMin}" Style="labPerfVal"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Max:" Style="labPerf" /> + <Label Text="{fpsMax}" Style="labPerfVal"/> + </HorizontalStack> + </VerticalStack> +</HorizontalStack>
\ No newline at end of file diff --git a/Samples/ShowCase/ui/divers/5.crow b/Samples/ShowCase/ui/divers/5.crow new file mode 100755 index 00000000..7e3df064 --- /dev/null +++ b/Samples/ShowCase/ui/divers/5.crow @@ -0,0 +1,64 @@ +<?xml version="1.0"?> +<HorizontalStack Fit="true" Margin="5"> + <VerticalStack Fit="true" Margin="2" Spacing="2"> + <TextRun Text="text run test"/> +<!-- <Label Text="label test"/> + <TextBox Text="text box test"/> + <Button Caption="test button"/>--> +<!-- <CheckBox Caption="test checkbox"/> + <RadioButton Caption="test radiobutton"/> + <ComboBox/> + <Popper Caption="test popper"> + <Label Text="label test"/> + </Popper> + <Expandable Caption="test expandable"> + <Label Text="label test"/> + </Expandable> + <Border > + <Label Text="border test" Margin="3"/> + </Border> + <GroupBox Caption="Group box" > + <Label Text="border test" Margin="3"/> + </GroupBox> + <Container Fit="true" Background="DimGrey" Margin="3"> + <Widget Width="20" Height="20" Background="LightGrey"/> + </Container>--> +<!-- <ProgressBar Height="10" Width="150" Background="DimGrey" Value="50" /> + <Slider Value="5" Width="150" Height="10"/> + <ScrollBar Orientation="Horizontal" Maximum="100" Value="50" Height="16" Width="150"/> + <Spinner Value="100"/>--> + </VerticalStack> +<!-- <VerticalStack Width="150" Height="Fit" Margin="2" Spacing="2"> + <TextRun Text="text run test" Width="Stretched"/> + <Label Text="label test" Width="Stretched"/> + <TextBox Text="text box test" Width="Stretched"/> + <Button Caption="test button" Width="Stretched"/> + <CheckBox Caption="test checkbox" Width="Stretched"/> + <RadioButton Caption="test radiobutton" Width="Stretched"/> + <ComboBox Width="Stretched"/> + <Popper Caption="test popper" Width="Stretched"> + <Label Text="label test"/> + </Popper> + <Expandable Caption="test expandable" Width="Stretched"> + <Label Text="label test"/> + </Expandable> + <Border Width="Stretched"> + <Label Text="border test" Margin="3"/> + </Border> + <GroupBox Caption="Group box" Width="Stretched"> + <Label Text="border test" Margin="3"/> + </GroupBox> + <Container Height="Fit" Width="Stretched" Background="DimGrey" Margin="3"> + <Widget Width="20" Height="20" Background="LightGrey"/> + </Container> + <ProgressBar Height="10" Width="Stretched" Background="DimGrey" Value="50" /> + <Slider Value="5" Width="Stretched" Height="10"/> + <ScrollBar Orientation="Horizontal" Maximum="100" Value="50" Height="16" Width="Stretched"/> + <Spinner Value="100" Width="Stretched"/> + </VerticalStack>--> +</HorizontalStack> +<!--<HorizontalStack Fit="true" Background="RoyalBlue" Margin="5"> + <Widget Background="Red" Width="30" Height="20"/> + <Spinner Maximum="10000000000" SmallIncrement="10" Value="0"/> + <Widget Background="Green" Width="30" Height="20"/> +</HorizontalStack>-->
\ No newline at end of file diff --git a/Samples/ShowCase/ui/divers/6.crow b/Samples/ShowCase/ui/divers/6.crow new file mode 100755 index 00000000..f537a71d --- /dev/null +++ b/Samples/ShowCase/ui/divers/6.crow @@ -0,0 +1,6 @@ +<?xml version="1.0"?> +<VerticalStack Fit="true" Background="DimGrey" Margin="5"> +<!-- <RadioButton/>--> + <Label Text="a" Width="Stretched" Background="Red"/> + <Label Text="{fps}" HorizontalAlignment="Right" Background="LimeGreen"/> +</VerticalStack> diff --git a/Samples/ShowCase/ui/divers/clip0.crow b/Samples/ShowCase/ui/divers/clip0.crow new file mode 100755 index 00000000..0dee2ef1 --- /dev/null +++ b/Samples/ShowCase/ui/divers/clip0.crow @@ -0,0 +1,10 @@ +<?xml version="1.0"?> +<Container Fit="true" Margin="50" Background="LimeGreen" CacheEnabled="false" + HorizontalAlignment="Right" VerticalAlignment="Bottom" + MouseEnter="{Background=Grey}" + MouseLeave="{Background=LimeGreen}"> + <Label HorizontalAlignment="Center" VerticalAlignment="Center" CacheEnabled="false" + MouseEnter="{Background=DimGrey}" Width="100" + MouseLeave="{Background=RoyalBlue}" + Margin="10" Text="{drawing}" Background="RoyalBlue"/> + </Container>
\ No newline at end of file diff --git a/Samples/ShowCase/ui/divers/clip1.crow b/Samples/ShowCase/ui/divers/clip1.crow new file mode 100755 index 00000000..bc4c9279 --- /dev/null +++ b/Samples/ShowCase/ui/divers/clip1.crow @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<Container Fit="true" Margin="20" Background="SkyBlue" CacheEnabled="false" + HorizontalAlignment="Right" VerticalAlignment="Bottom" + MouseEnter="{Background=LightGrey}" + MouseLeave="{Background=SkyBlue}"> + <Container Fit="true" Margin="20" Background="Red" CacheEnabled="true" + HorizontalAlignment="Right" VerticalAlignment="Bottom" + MouseEnter="{Background=White}" + MouseLeave="{Background=Red}"> + <Container Fit="true" Margin="20" Background="Yellow" CacheEnabled="false" + HorizontalAlignment="Right" VerticalAlignment="Bottom" + MouseEnter="{Background=Blue}" + MouseLeave="{Background=Yellow}"> + <Container Margin="50" Background="LimeGreen" CacheEnabled="true" + HorizontalAlignment="Right" VerticalAlignment="Bottom" + MouseEnter="{Background=Grey}" + MouseLeave="{Background=LimeGreen}"> + <Label HorizontalAlignment="Center" VerticalAlignment="Center" CacheEnabled="true" + MouseEnter="{Background=DimGrey}" + MouseLeave="{Background=RoyalBlue}" + Margin="1" Text="{drawing}" Background="RoyalBlue"/> + </Container> + </Container> + </Container> + </Container>
\ No newline at end of file diff --git a/Samples/ShowCase/ui/divers/clip2.crow b/Samples/ShowCase/ui/divers/clip2.crow new file mode 100755 index 00000000..9292150f --- /dev/null +++ b/Samples/ShowCase/ui/divers/clip2.crow @@ -0,0 +1,15 @@ +<?xml version="1.0"?> +<Group Fit="true" Margin="50" Background="Yellow" CacheEnabled="true" + HorizontalAlignment="Right" VerticalAlignment="Bottom" + MouseEnter="{Background=DimGrey}" + MouseLeave="{Background=Yellow}"> +<Group Width="300" Height="200" Margin="50" Background="LimeGreen" CacheEnabled="false" + HorizontalAlignment="Right" VerticalAlignment="Bottom" + MouseEnter="{Background=Grey}" + MouseLeave="{Background=LimeGreen}"> + <Label Left="10" HorizontalAlignment="Right" VerticalAlignment="Center" CacheEnabled="true" + MouseEnter="{Background=DimGrey}" Width="100" + MouseLeave="{Background=RoyalBlue}" + Margin="10" Text="{drawing}" Background="RoyalBlue"/> + </Group> + </Group>
\ No newline at end of file diff --git a/Samples/ShowCase/ui/divers/clip3.crow b/Samples/ShowCase/ui/divers/clip3.crow new file mode 100755 index 00000000..82a98881 --- /dev/null +++ b/Samples/ShowCase/ui/divers/clip3.crow @@ -0,0 +1,34 @@ +<?xml version="1.0"?> +<Group Fit="true" Margin="50" Background="Yellow" CacheEnabled="true" + HorizontalAlignment="Right" VerticalAlignment="Bottom" + MouseEnter="{Background=DimGrey}" + MouseLeave="{Background=Yellow}"> + <HorizontalStack Fit="true"> + <VerticalStack Fit="true" Margin="50" Background="LimeGreen" CacheEnabled="false" + HorizontalAlignment="Right" VerticalAlignment="Bottom" + MouseEnter="{Background=Grey}" + MouseLeave="{Background=LimeGreen}"> + <Label HorizontalAlignment="Center" VerticalAlignment="Center" CacheEnabled="true" + MouseEnter="{Background=DimGrey}" Width="100" + MouseLeave="{Background=RoyalBlue}" + Margin="10" Text="{fps}" Background="RoyalBlue"/> + <Label HorizontalAlignment="Center" VerticalAlignment="Center" CacheEnabled="true" + MouseEnter="{Background=DimGrey}" Width="100" + MouseLeave="{Background=RoyalBlue}" + Margin="10" Text="{drawing}" Background="RoyalBlue"/> + </VerticalStack> + <VerticalStack Fit="true" Margin="50" Background="LimeGreen" CacheEnabled="false" + HorizontalAlignment="Right" VerticalAlignment="Bottom" + MouseEnter="{Background=Grey}" + MouseLeave="{Background=LimeGreen}"> + <Label HorizontalAlignment="Center" VerticalAlignment="Center" CacheEnabled="true" + MouseEnter="{Background=DimGrey}" Width="100" + MouseLeave="{Background=RoyalBlue}" + Margin="10" Text="{fpsMax}" Background="RoyalBlue"/> + <Label HorizontalAlignment="Center" VerticalAlignment="Center" CacheEnabled="true" + MouseEnter="{Background=DimGrey}" Width="100" + MouseLeave="{Background=RoyalBlue}" + Margin="10" Text="{fpsMin}" Background="RoyalBlue"/> + </VerticalStack> + </HorizontalStack> + </Group>
\ No newline at end of file diff --git a/Samples/ShowCase/ui/divers/clip4.crow b/Samples/ShowCase/ui/divers/clip4.crow new file mode 100755 index 00000000..5caaf771 --- /dev/null +++ b/Samples/ShowCase/ui/divers/clip4.crow @@ -0,0 +1,58 @@ +<?xml version="1.0"?> +<Border Fit="true" BorderWidth="2" > +<Scroller CornerRadius="2" Height="200" Width="300" Background="DimGrey" Margin="2"> + <VerticalStack Margin="10" VerticalAlignment="Top" Fit="true" Background="vgradient|0:RoyalBlue|1:Black" > + <Label MouseEnter="{Background=Grey}" MouseLeave="{Background=hgradient|0:DarkRed|1:Transparent}" Margin="5" Background="hgradient|0:DarkRed|1:Transparent" Font="droid,20" Text="label 1"/> + <Label MouseEnter="{Background=Grey}" MouseLeave="{Background=hgradient|0:DarkRed|1:Transparent}" Margin="5" Background="hgradient|0:DarkRed|1:Transparent" Font="droid,20" Text="label 2"/> + <Label MouseEnter="{Background=Grey}" MouseLeave="{Background=hgradient|0:DarkRed|1:Transparent}" Margin="5" Background="hgradient|0:DarkRed|1:Transparent" Font="droid,20" Text="label 3"/> + <Label MouseEnter="{Background=Grey}" MouseLeave="{Background=hgradient|0:DarkRed|1:Transparent}" Margin="5" Background="hgradient|0:DarkRed|1:Transparent" Font="droid,20" Text="label 4"/> + <Label MouseEnter="{Background=Grey}" MouseLeave="{Background=hgradient|0:DarkRed|1:Transparent}" Margin="5" Background="hgradient|0:DarkRed|1:Transparent" Font="droid,20" Text="label 5"/> + <Label MouseEnter="{Background=Grey}" MouseLeave="{Background=hgradient|0:DarkRed|1:Transparent}" Margin="5" Background="hgradient|0:DarkRed|1:Transparent" Font="droid,20" Text="label 6"/> + <Label MouseEnter="{Background=Grey}" MouseLeave="{Background=hgradient|0:DarkRed|1:Transparent}" Margin="5" Background="hgradient|0:DarkRed|1:Transparent" Font="droid,20" Text="label 7"/> + <Label MouseEnter="{Background=Grey}" MouseLeave="{Background=hgradient|0:DarkRed|1:Transparent}" Margin="5" Background="hgradient|0:DarkRed|1:Transparent" Font="droid,20" Text="label 8"/> + <Label MouseEnter="{Background=Grey}" MouseLeave="{Background=hgradient|0:DarkRed|1:Transparent}" Margin="5" Background="hgradient|0:DarkRed|1:Transparent" Font="droid,20" Text="label 9"/> + <Label MouseEnter="{Background=Grey}" MouseLeave="{Background=hgradient|0:DarkRed|1:Transparent}" Margin="5" Background="hgradient|0:DarkRed|1:Transparent" Font="droid,20" Text="label 10"/> + <Label MouseEnter="{Background=Grey}" MouseLeave="{Background=hgradient|0:DarkRed|1:Transparent}" Margin="5" Background="hgradient|0:DarkRed|1:Transparent" Font="droid,20" Text="label 11"/> + <Label MouseEnter="{Background=Grey}" MouseLeave="{Background=hgradient|0:DarkRed|1:Transparent}" Margin="5" Background="hgradient|0:DarkRed|1:Transparent" Font="droid,20" Text="label 12"/> + <Label MouseEnter="{Background=Grey}" MouseLeave="{Background=hgradient|0:DarkRed|1:Transparent}" Margin="5" Background="hgradient|0:DarkRed|1:Transparent" Font="droid,20" Text="label 13"/> + <Label MouseEnter="{Background=Grey}" MouseLeave="{Background=hgradient|0:DarkRed|1:Transparent}" Margin="5" Background="hgradient|0:DarkRed|1:Transparent" Font="droid,20" Text="label 14"/> + <Label MouseEnter="{Background=Grey}" MouseLeave="{Background=hgradient|0:DarkRed|1:Transparent}" Margin="5" Background="hgradient|0:DarkRed|1:Transparent" Font="droid,20" Text="label 15"/> + <Label MouseEnter="{Background=Grey}" MouseLeave="{Background=hgradient|0:DarkRed|1:Transparent}" Margin="5" Background="hgradient|0:DarkRed|1:Transparent" Font="droid,20" Text="label 16"/> + <Label MouseEnter="{Background=Grey}" MouseLeave="{Background=hgradient|0:DarkRed|1:Transparent}" Margin="5" Background="hgradient|0:DarkRed|1:Transparent" Font="droid,20" Text="label 17"/> + <Label MouseEnter="{Background=Grey}" MouseLeave="{Background=hgradient|0:DarkRed|1:Transparent}" Margin="5" Background="hgradient|0:DarkRed|1:Transparent" Font="droid,20" Text="label 18"/> + <Label MouseEnter="{Background=Grey}" MouseLeave="{Background=hgradient|0:DarkRed|1:Transparent}" Margin="5" Background="hgradient|0:DarkRed|1:Transparent" Font="droid,20" Text="label 19"/> + <Label MouseEnter="{Background=Grey}" MouseLeave="{Background=hgradient|0:DarkRed|1:Transparent}" Margin="5" Background="hgradient|0:DarkRed|1:Transparent" Font="droid,20" Text="label 20"/> + <Label MouseEnter="{Background=Grey}" MouseLeave="{Background=hgradient|0:DarkRed|1:Transparent}" Margin="5" Background="hgradient|0:DarkRed|1:Transparent" Font="droid,20" Text="label 21"/> + <Label MouseEnter="{Background=Grey}" MouseLeave="{Background=hgradient|0:DarkRed|1:Transparent}" Margin="5" Background="hgradient|0:DarkRed|1:Transparent" Font="droid,20" Text="label 22"/> + <Label MouseEnter="{Background=Grey}" MouseLeave="{Background=hgradient|0:DarkRed|1:Transparent}" Margin="5" Background="hgradient|0:DarkRed|1:Transparent" Font="droid,20" Text="label 23"/> + <Label MouseEnter="{Background=Grey}" MouseLeave="{Background=hgradient|0:DarkRed|1:Transparent}" Margin="5" Background="hgradient|0:DarkRed|1:Transparent" Font="droid,20" Text="label 24"/> + <Label MouseEnter="{Background=Grey}" MouseLeave="{Background=hgradient|0:DarkRed|1:Transparent}" Margin="5" Background="hgradient|0:DarkRed|1:Transparent" Font="droid,20" Text="label 25"/> + </VerticalStack> +</Scroller> +</Border> +<!--<VerticalStack Fit="true" Margin="50" Background="LimeGreen" CacheEnabled="false" + HorizontalAlignment="Right" VerticalAlignment="Bottom" + MouseEnter="{Background=Grey}" + MouseLeave="{Background=LimeGreen}"> + + <CheckBox Margin="20" Background="RoyalBlue"/> + <CheckBox/> + <CheckBox/> + <CheckBox/> + <CheckBox/> + <RadioButton/> + <RadioButton/> + <RadioButton/> + <RadioButton/> + <RadioButton/> + <CheckBox/> + + <Label HorizontalAlignment="Center" VerticalAlignment="Center" CacheEnabled="true" + MouseEnter="{Background=DimGrey}" Width="100" + MouseLeave="{Background=RoyalBlue}" + Margin="10" Text="{fps}" Background="RoyalBlue"/> + <Label HorizontalAlignment="Center" VerticalAlignment="Center" CacheEnabled="true" + MouseEnter="{Background=DimGrey}" Width="100" + MouseLeave="{Background=RoyalBlue}" + Margin="10" Text="{drawing}" Background="RoyalBlue"/> + </VerticalStack>-->
\ No newline at end of file diff --git a/Samples/ShowCase/ui/divers/colorPicker.crow b/Samples/ShowCase/ui/divers/colorPicker.crow new file mode 100755 index 00000000..afdef146 --- /dev/null +++ b/Samples/ShowCase/ui/divers/colorPicker.crow @@ -0,0 +1,7 @@ +<?xml version="1.0"?> +<VerticalStack> + <ColorPicker SelectedColor="{²../go.Background}" Name="colorPicker" Background="DimGrey" Margin="5" Fit="True" /> + <Widget Name="go" Width="100" Height="60" Background="DarkBlue"/> + <Widget Name="go" Width="100" Height="60" Background="{../colorPicker.SelectedColor}"/> + <Label Text="{../colorPicker.SelectedColor}"/> +</VerticalStack>
\ No newline at end of file diff --git a/Samples/ShowCase/ui/divers/fps.crow b/Samples/ShowCase/ui/divers/fps.crow new file mode 100755 index 00000000..1d515a15 --- /dev/null +++ b/Samples/ShowCase/ui/divers/fps.crow @@ -0,0 +1,24 @@ +<?xml version="1.0"?> +<Border Fit="true" CornerRadius="5" BorderWidth="1"> + <Container Name="MainGrp" Background="0.5,0.5,0.5,0.4" Width="120" Fit="true" + Margin="10" Focusable="True" > + <VerticalStack Fit="true" Name="vsFps" Spacing="10" > + <HorizontalStack Fit="true"> + <Label Text="Update:" Width="50" TextAlignment="Right"/> + <Label Margin="5" Name="labUpdate" Text="{update}" Font="droid,12" Background="SeaGreen" Width="50" TextAlignment="Center"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Name="captionFps" Text="Fps:" Width="50" TextAlignment="Right"/> + <Label Margin="5" Name="valueFps" Text="{fps}" Font="droid , 12" Width="50" TextAlignment="Center" Background="SeaGreen"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Min:" Width="50" TextAlignment="Right"/> + <Label Margin="5" Text="{fpsMin}" Font="droid , 12" Width="50" TextAlignment="Center" Background="SeaGreen"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <Label Text="Max:" Width="50" TextAlignment="Right"/> + <Label Margin="5" Text="{fpsMax}" Font="droid , 12" Background="SeaGreen" Width="50" TextAlignment="Center"/> + </HorizontalStack> + </VerticalStack> + </Container> +</Border>
\ No newline at end of file diff --git a/Samples/ShowCase/ui/divers/perfMeasures.crow b/Samples/ShowCase/ui/divers/perfMeasures.crow new file mode 100755 index 00000000..d2d5138f --- /dev/null +++ b/Samples/ShowCase/ui/divers/perfMeasures.crow @@ -0,0 +1,5 @@ +<?xml version="1.0"?> +<Window Focusable="true" Caption="Measures" Width="30%" Height="300" MinimumSize="100,100"> + <ListBox Data="{PerfMeasures}" + ItemTemplate="#ui.perfMsr.crow"/> +</Window> diff --git a/Samples/ShowCase/ui/divers/test1.1.crow b/Samples/ShowCase/ui/divers/test1.1.crow new file mode 100755 index 00000000..e6f8e2af --- /dev/null +++ b/Samples/ShowCase/ui/divers/test1.1.crow @@ -0,0 +1,15 @@ +<?xml version="1.0"?> +<Group Name="TopGroup" Width="500" Height="400" Margin="5" + Focusable="True" Background="Yellow"> + <Group Name="InnerGroup" Width="Fit" Height="Fit" Margin="50" + VerticalAlignment="Top" HorizontalAlignment="Left" + Focusable="True" Background="Green"> + <Image VerticalAlignment="Bottom" + Name="PhaseOverlay1" Width="100" Height="100" Path="image/u.svg" Background="Red"/> + <Image Top="100" + Name="PhaseOverlay2" Width="100" Height="100" Path="image/u.svg" Background="Red"/> + </Group> + <Image VerticalAlignment="Center" HorizontalAlignment="Right" + Name="PhaseOverlay0" Width="100" Height="100" Path="image/u.svg" Background="Red"/> + +</Group>
\ No newline at end of file diff --git a/Samples/ShowCase/ui/divers/test1.2.crow b/Samples/ShowCase/ui/divers/test1.2.crow new file mode 100755 index 00000000..00fb7d22 --- /dev/null +++ b/Samples/ShowCase/ui/divers/test1.2.crow @@ -0,0 +1,20 @@ +<?xml version="1.0"?> +<Container Background="Green" Height="400" Width="400"> +<VerticalStack Margin="10" Background="DarkBlue" Height="Fit" Width="Stretched"> + <Label Text="label11" Width="Stretched"/> + <Label Text="label21"/> + <HorizontalStack Width="Fit" Height="Fit" Margin="5" + Focusable="True" Background="Blue"> + <Label Text="label12"/> + <Label Text="label22"/> + <Label Text="label32"/> + <Label Text="label42"/> + <Label Text="label52"/> + </HorizontalStack> + <Label Text="label33" Background="Green" Width="Stretched"/> + <Button/> + <Label Text="label43"/> + <Label Text="label53"/> + +</VerticalStack> +</Container>
\ No newline at end of file diff --git a/Samples/ShowCase/ui/divers/test1.crow b/Samples/ShowCase/ui/divers/test1.crow new file mode 100755 index 00000000..74da4726 --- /dev/null +++ b/Samples/ShowCase/ui/divers/test1.crow @@ -0,0 +1,9 @@ +<?xml version="1.0"?> +<Container Name="TopContainer" Width="400" Height="350" + Margin="20" Focusable="True" Background="Yellow"> + <Container Name="MiddleContainer" Width="50%" Height="Stretched" + Margin="20" Focusable="True" Background="Green"> + <Image VerticalAlignment="Bottom" + Name="PhaseOverlay" Width="100" Height="100" Path="image/u.svg" Background="Red"/> + </Container> +</Container>
\ No newline at end of file diff --git a/Samples/ShowCase/ui/divers/test2WayBinding.crow b/Samples/ShowCase/ui/divers/test2WayBinding.crow new file mode 100755 index 00000000..cf76f72b --- /dev/null +++ b/Samples/ShowCase/ui/divers/test2WayBinding.crow @@ -0,0 +1,5 @@ +<?xml version="1.0"?> +<VerticalStack Fit="true"> + <CheckBox IsChecked="{²BoolVal}"/> + <CheckBox Caption="second" IsChecked="{²BoolVal}"/> +</VerticalStack>
\ No newline at end of file diff --git a/Samples/ShowCase/ui/divers/testBind0.crow b/Samples/ShowCase/ui/divers/testBind0.crow new file mode 100755 index 00000000..d8991c71 --- /dev/null +++ b/Samples/ShowCase/ui/divers/testBind0.crow @@ -0,0 +1,5 @@ +<?xml version="1.0"?> +<VerticalStack Fit="true"> + <TextBox Text="{Datas}" Width="100" /> + <Button Text="Set Text to Null" MouseClick="onSetDataToNull"/> +</VerticalStack>
\ No newline at end of file diff --git a/Samples/ShowCase/ui/divers/testCtxMenu.crow b/Samples/ShowCase/ui/divers/testCtxMenu.crow new file mode 100755 index 00000000..5fd6072a --- /dev/null +++ b/Samples/ShowCase/ui/divers/testCtxMenu.crow @@ -0,0 +1,4 @@ +<?xml version="1.0"?> +<Widget Margin="10" Width="50%" Height="50%" Focusable="true" + Background="hgradient|0:Red|0.25:Blue|0.5:Green|0.75:Yellow|1:Red" + MinimumSize="50,50" ContextCommands="{Commands}"/>
\ No newline at end of file diff --git a/Samples/ShowCase/ui/divers/testDisable.crow b/Samples/ShowCase/ui/divers/testDisable.crow new file mode 100644 index 00000000..68d1cebb --- /dev/null +++ b/Samples/ShowCase/ui/divers/testDisable.crow @@ -0,0 +1,17 @@ +<?xml version="1.0"?> +<VerticalStack Fit="true" VerticalAlignment="Top" Background="0.7,0.7,0.7,0.5" + Margin="10" CornerRadius="10" ClipToClientRect="false"> + <Label Font="20" Text="Enable / Disable test"/> + <Label Text="{fps}" IsEnabled="false" Font="30"/> + <Label Text="{fps}" IsEnabled="true" Font="30"/> + <Label Text="{fps}" IsEnabled="false" Font="30" Background="SeaGreen"/> + <Label Text="{fps}" IsEnabled="true" Font="30" Background="SeaGreen"/> + <Button Caption="Button" IsEnabled="true" Background="Grey"/> + <Button Caption="Button" IsEnabled="false" Background="Grey"/> + <Button Caption="Button" IsEnabled="true" /> + <Button Caption="Button" IsEnabled="false" /> + <Spinner Fit="true"/> + <Spinner IsEnabled="false" Fit="true"/> + <CheckBox/> + <CheckBox IsEnabled="false"/> +</VerticalStack>
\ No newline at end of file diff --git a/Samples/ShowCase/ui/divers/testFileDialog.crow b/Samples/ShowCase/ui/divers/testFileDialog.crow new file mode 100644 index 00000000..868baf63 --- /dev/null +++ b/Samples/ShowCase/ui/divers/testFileDialog.crow @@ -0,0 +1,3 @@ +<?xml version="1.0"?> +<FileDialog Caption="Open File" CurrentDirectory="/" SearchPattern="*.*"/> + diff --git a/Samples/ShowCase/ui/divers/testFocus.crow b/Samples/ShowCase/ui/divers/testFocus.crow new file mode 100755 index 00000000..1f262631 --- /dev/null +++ b/Samples/ShowCase/ui/divers/testFocus.crow @@ -0,0 +1,82 @@ +<?xml version="1.0"?> +<VerticalStack> + <Menu> + <MenuItem Caption="File" Width="Fit"> + <MenuItem Command="{CMDTest}"/> + <MenuItem Caption="Open"/> + <MenuItem Caption="Save"/> + <MenuItem Caption="Quit"/> + </MenuItem> + <MenuItem Caption="Edit" Name="edit" Width="Fit"> + <MenuItem Caption="Cut"/> + <MenuItem Caption="Copy"/> + <MenuItem Caption="Paste"/> + <MenuItem Caption="Special" Name="special" Width="Fit"> + <MenuItem Caption="Cut"/> + <MenuItem Caption="Copy"/> + <MenuItem Caption="Paste"/> + </MenuItem> + <MenuItem Caption="Special2" Name="special" Width="Fit"> + <MenuItem Caption="Cut"/> + <MenuItem Caption="Copy"/> + <MenuItem Caption="Paste"/> + </MenuItem> + </MenuItem> + <MenuItem Caption="Help" Width="Fit"> + <MenuItem Caption="About"/> + <MenuItem Caption="Help"/> + </MenuItem> + </Menu> + <HorizontalStack Height="Fit"> + <Label Text="Hover:" Width="50" Foreground="Grey"/> + <Label Text="{HoverWidget}"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Focus:" Width="50" Foreground="Grey"/> + <Label Text="{FocusedWidget}"/> + </HorizontalStack> + <HorizontalStack Height="Fit"> + <Label Text="Active:" Width="50" Foreground="Grey"/> + <Label Text="{ActiveWidget}"/> + </HorizontalStack> + <Container Fit="true" Margin="50" Background="SlateGrey"> + <Label Text="MouseEvents" Margin="3" Focusable="true" Fit="true" + Background="Jet" + Foreground="DimGrey" + TextAlignment="Center" + MouseEnter="{Foreground=White}" + MouseLeave="{Foreground=DimGrey}" + MouseDown="{Background=DarkRed}" + MouseClick="{Foreground=Green}" + MouseDoubleClick="{Foreground=Yellow}" + MouseUp="{Background=Jet}"/> + </Container> + <TextBox Width="300" Margin="10"/> + <Slider Width="300" Height="12"/> + <ComboBox Data="{TestList}" Width="120"> + <ItemTemplate DataType="Crow.Color"> + <HorizontalStack + HorizontalAlignment="Left" + Height="Fit" Width="200" Margin="1" Focusable="true" + MouseEnter="{Background=hgradient|0:DarkRed|1:Transparent}" + MouseLeave="{Background=Transparent}"> + <Widget Height="12" Width="20" Background="{}" Margin="0" CornerRadius="3"/> + <Label Text="{}" Margin="0" Width="Stretched"/> + </HorizontalStack> + </ItemTemplate> + </ComboBox> + <HorizontalStack Height="Fit" Margin="1" Background="DimGrey" Width="200"> + <VerticalStack Spacing="2" Width="50%"> + <CheckBox Caption="test" MouseEnter="{Background=Blue}" MouseLeave="{Background=Transparent}"/> + <CheckBox /> + <CheckBox /> + <CheckBox IsChecked="true"/> + </VerticalStack> + <VerticalStack Spacing="2" Width="50%"> + <RadioButton Fit="true"/> + <RadioButton Fit="true" IsChecked="true"/> + <RadioButton Fit="true"/> + <RadioButton Fit="true"/> + </VerticalStack> + </HorizontalStack> +</VerticalStack> diff --git a/Samples/ShowCase/ui/divers/testIMLContainer.crow b/Samples/ShowCase/ui/divers/testIMLContainer.crow new file mode 100644 index 00000000..2ba5f2cd --- /dev/null +++ b/Samples/ShowCase/ui/divers/testIMLContainer.crow @@ -0,0 +1,2 @@ +<?xml version="1.0"?> +<IMLContainer Path="Interfaces/Divers/colorPicker.crow"/>
\ No newline at end of file diff --git a/Samples/ShowCase/ui/divers/testImage.crow b/Samples/ShowCase/ui/divers/testImage.crow new file mode 100755 index 00000000..ccdd87c0 --- /dev/null +++ b/Samples/ShowCase/ui/divers/testImage.crow @@ -0,0 +1,87 @@ +<?xml version="1.0"?> +<VerticalStack Fit="true"> + <HorizontalStack Fit="true" Background="hgradient|0:DarkRed|1:Transparent" Margin="5"> + <Label Text="SCALED PROPORTIONNAL" Width="150"/> + <Image Width="10%" Height="Fit" Background="vgradient|0:SkyBlue|1:White" Path="#Tests.image.crow0.svg"/> + <Image Margin="10" Background="vgradient|0:SkyBlue|1:White" Path="#Tests.image.crow0.svg" /> + <Image Background="vgradient|0:SkyBlue|1:White" Width="20" Height="20" Path="#Tests.image.crow0.svg" /> + <Image Margin="2" Background="vgradient|0:SkyBlue|1:White" Width="20" Height="20" Path="#Tests.image.crow0.svg" /> + <Image Background="vgradient|0:SkyBlue|1:White" Width="50" Height="100" Path="#Tests.image.crow0.svg" /> + <Image Margin="10" Background="vgradient|0:SkyBlue|1:White" Width="50" Height="100" Path="#Tests.image.crow0.svg" /> + <Image Background="vgradient|0:SkyBlue|1:White" Width="100" Height="50" Path="#Tests.image.crow0.svg" /> + <Image Margin="10" Background="vgradient|0:SkyBlue|1:White" Width="100" Height="50" Path="#Tests.image.crow0.svg" /> + <Image Background="vgradient|0:SkyBlue|1:White" Width="50" Height="Fit" Path="#Tests.image.crow0.svg" /> + <Image Margin="10" Background="vgradient|0:SkyBlue|1:White" Width="50" Height="Fit" Path="#Tests.image.crow0.svg" /> + </HorizontalStack> + <HorizontalStack Fit="true" Background="hgradient|0:DarkRed|1:Transparent" Margin="5"> + <Label Text="SCALED NOT PROPORTIONNAL" Width="150"/> + <Image KeepProportions="false" Background="vgradient|0:SkyBlue|1:White" Path="#Tests.image.crow0.svg" /> + <Image KeepProportions="false" Margin="10" Background="vgradient|0:SkyBlue|1:White" Path="#Tests.image.crow0.svg" /> + <Image KeepProportions="false" Background="vgradient|0:SkyBlue|1:White" Width="20" Height="20" Path="#Tests.image.crow0.svg" /> + <Image KeepProportions="false" Margin="2" Background="vgradient|0:SkyBlue|1:White" Width="20" Height="20" Path="#Tests.image.crow0.svg" /> + <Image KeepProportions="false" Background="vgradient|0:SkyBlue|1:White" Width="50" Height="100" Path="#Tests.image.crow0.svg" /> + <Image KeepProportions="false" Margin="10" Background="vgradient|0:SkyBlue|1:White" Width="50" Height="100" Path="#Tests.image.crow0.svg" /> + <Image KeepProportions="false" Background="vgradient|0:SkyBlue|1:White" Width="100" Height="50" Path="#Tests.image.crow0.svg" /> + <Image KeepProportions="false" Margin="10" Background="vgradient|0:SkyBlue|1:White" Width="100" Height="50" Path="#Tests.image.crow0.svg" /> + <Image KeepProportions="false" Background="vgradient|0:SkyBlue|1:White" Width="50" Height="Fit" Path="#Tests.image.crow0.svg" /> + <Image KeepProportions="false" Margin="10" Background="vgradient|0:SkyBlue|1:White" Width="50" Height="Fit" Path="#Tests.image.crow0.svg" /> + </HorizontalStack> + <HorizontalStack Fit="true" Background="hgradient|0:DarkRed|1:Transparent" Margin="5"> + <Label Text="UNSCALED" Width="150"/> + <Image Scaled="false" Background="Blue" Path="#Tests.image.crow0.svg" /> + <Image Scaled="false" Margin="10" Background="Blue" Path="#Tests.image.crow0.svg" /> + <Image Scaled="false" Background="Blue" Width="20" Height="20" Path="#Tests.image.crow0.svg" /> + <Image Scaled="false" Margin="2" Background="Blue" Width="20" Height="20" Path="#Tests.image.crow0.svg" /> + <Image Scaled="false" Background="Blue" Width="50" Height="100" Path="#Tests.image.crow0.svg" /> + <Image Scaled="false" Margin="10" Background="Blue" Width="50" Height="100" Path="#Tests.image.crow0.svg" /> + <Image Scaled="false" Background="Blue" Width="100" Height="50" Path="#Tests.image.crow0.svg" /> + <Image Scaled="false" Margin="10" Background="Blue" Width="100" Height="50" Path="#Tests.image.crow0.svg" /> + <Image Scaled="false" Background="Blue" Width="50" Height="Fit" Path="#Tests.image.crow0.svg" /> + <Image Scaled="false" Margin="10" Background="Blue" Width="50" Height="Fit" Path="#Tests.image.crow0.svg" /> + </HorizontalStack> + <HorizontalStack Fit="true" Background="hgradient|0:DarkRed|1:Transparent" Margin="5"> + <Label Text="SCALED PROPORTIONNAL" Width="150"/> + <Image Background="Blue" Path="#Crow.Icons.tetra.png"/> + <Image Margin="10" Background="Blue" Path="#Crow.Icons.tetra.png"/> + <Image Background="Blue" Width="20" Height="20" Path="#Crow.Icons.tetra.png"/> + <Image Margin="2" Background="Blue" Width="20" Height="20" Path="#Crow.Icons.tetra.png"/> + <Image Background="Blue" Width="50" Height="100" Path="#Crow.Icons.tetra.png"/> + <Image Margin="10" Background="Blue" Width="50" Height="100" Path="#Crow.Images.Icons.tetra.png"/> + <Image Background="Blue" Width="100" Height="50" Path="#Crow.Icons.tetra.png"/> + <Image Margin="10" Background="Blue" Width="100" Height="50" Path="#Crow.Icons.tetra.png"/> + <Image Background="Blue" Width="50" Height="Fit" Path="#Crow.Icons.tetra.png"/> + <Image Margin="10" Background="Blue" Width="50" Height="Fit" Path="#Crow.Icons.tetra.png"/> + </HorizontalStack> + <HorizontalStack Fit="true" Background="hgradient|0:DarkRed|1:Transparent" Margin="5"> + <Label Text="SCALED NOT PROPORTIONNAL" Width="150"/> + <Image KeepProportions="false" Background="Blue" Path="#Crow.Icons.tetra.png"/> + <Image KeepProportions="false" Margin="10" Background="Blue" Path="#Crow.Icons.tetra.png"/> + <Image KeepProportions="false" Background="Blue" Width="20" Height="20" Path="#Crow.Icons.tetra.png"/> + <Image KeepProportions="false" Margin="2" Background="Blue" Width="20" Height="20" Path="#Crow.Icons.tetra.png"/> + <Image KeepProportions="false" Background="Blue" Width="50" Height="100" Path="#Crow.Icons.tetra.png"/> + <Image KeepProportions="false" Margin="10" Background="Blue" Width="50" Height="100" Path="#Crow.Images.Icons.tetra.png"/> + <Image KeepProportions="false" Background="Blue" Width="100" Height="50" Path="#Crow.Images.Icons.tetra.png"/> + <Image KeepProportions="false" Margin="10" Background="Blue" Width="100" Height="50" Path="#Crow.Images.Icons.tetra.png"/> + <Image KeepProportions="false" Background="Blue" Width="50" Height="Fit" Path="#Crow.Images.Icons.tetra.png"/> + <Image KeepProportions="false" Margin="10" Background="Blue" Width="50" Height="Fit" Path="#Crow.Images.Icons.tetra.png"/> + </HorizontalStack> + <HorizontalStack Fit="true" Background="hgradient|0:DarkRed|1:Transparent" Margin="5"> + <Label Text="UNSCALED" Width="150"/> + <Image Scaled="false" Background="Blue" Path="#Crow.Images.Icons.tetra.png"/> + <Image Scaled="false" Margin="10" Background="Blue" Path="#Crow.Images.Icons.tetra.png"/> + <Image Scaled="false" Background="Blue" Width="20" Height="20" Path="#Crow.Images.Icons.tetra.png"/> + <Image Scaled="false" Margin="2" Background="Blue" Width="20" Height="20" Path="#Crow.Images.Icons.tetra.png"/> + <Image Scaled="false" Background="Blue" Width="50" Height="100" Path="#Crow.Images.Icons.tetra.png"/> + <Image Scaled="false" Margin="10" Background="Blue" Width="50" Height="100" Path="#Crow.Images.Icons.tetra.png"/> + <Image Scaled="false" Background="Blue" Width="100" Height="50" Path="#Crow.Images.Icons.tetra.png"/> + <Image Scaled="false" Margin="10" Background="Blue" Width="100" Height="50" Path="#Crow.Images.Icons.tetra.png"/> + <Image Scaled="false" Background="Blue" Width="50" Height="Fit" Path="#Crow.Images.Icons.tetra.png"/> + <Image Scaled="false" Margin="10" Background="Blue" Width="50" Height="Fit" Path="#Crow.Images.Icons.tetra.png"/> + </HorizontalStack> + <HorizontalStack Width="Fit" Height="100" Background="hgradient|0:DarkRed|1:Transparent" Margin="5"> + <Image Background="Blue" Path="#Tests.image.crow0.svg" /> + <Image Margin="10" Background="White" Path="#Tests.image.crow0.svg" /> + <Image Background="White" Width="20" Height="10" Path="#Tests.image.crow0.svg" /> + <Image Margin="1" Background="White" Width="20" Height="10" Path="#Tests.image.crow0.svg" /> + </HorizontalStack> +</VerticalStack>
\ No newline at end of file diff --git a/Samples/ShowCase/ui/divers/testMenu.crow b/Samples/ShowCase/ui/divers/testMenu.crow new file mode 100755 index 00000000..08822445 --- /dev/null +++ b/Samples/ShowCase/ui/divers/testMenu.crow @@ -0,0 +1,6 @@ +<?xml version="1.0"?> +<Menu> + <MenuItem Caption="File" Width="Fit"> + <MenuItem Command="{CMDTest}"/> + </MenuItem> +</Menu> diff --git a/Samples/ShowCase/ui/divers/testOutOfClipUpdate.crow b/Samples/ShowCase/ui/divers/testOutOfClipUpdate.crow new file mode 100755 index 00000000..22523b8c --- /dev/null +++ b/Samples/ShowCase/ui/divers/testOutOfClipUpdate.crow @@ -0,0 +1,6 @@ +<?xml version="1.0"?> +<Container Width="200" Height="100" Background="DimGrey" Margin="5"> + <Container Width="Stretched" Height="800" Background="DarkBlue"> + <Label Text="{fps}" Background="RoyalBlue" VerticalAlignment="Center"/> + </Container> +</Container> diff --git a/Samples/ShowCase/ui/divers/testPropLess.crow b/Samples/ShowCase/ui/divers/testPropLess.crow new file mode 100755 index 00000000..42282c11 --- /dev/null +++ b/Samples/ShowCase/ui/divers/testPropLess.crow @@ -0,0 +1,2 @@ +<?xml version="1.0"?> +<Label Margin="50" MinimumSize="10,10" Background="DimGrey" Text="{PropertyLessBinding}"/>
\ No newline at end of file diff --git a/Samples/ShowCase/ui/divers/testShape.crow b/Samples/ShowCase/ui/divers/testShape.crow new file mode 100644 index 00000000..d1f9f3cc --- /dev/null +++ b/Samples/ShowCase/ui/divers/testShape.crow @@ -0,0 +1,6 @@ +<?xml version="1.0"?> +<Container Fit="true" Background="Red" Tooltip="test tooltip" > + <Shape Foreground="Transparent" Background="DimGrey" Path="M 5.5,0.5 L 10.5,10.5 L 0.5,10.5 Z" + MouseEnter="{Background=hgradient|0:DimGrey|0.5:RoyalBlue|1:Black}" + MouseLeave="{Background=DimGrey}"/> +</Container>
\ No newline at end of file diff --git a/Samples/ShowCase/ui/divers/testStacks.crow b/Samples/ShowCase/ui/divers/testStacks.crow new file mode 100755 index 00000000..99279cd4 --- /dev/null +++ b/Samples/ShowCase/ui/divers/testStacks.crow @@ -0,0 +1,86 @@ +<?xml version="1.0"?> +<Window Width="500" Height="300" MinimumSize="50,50"> +<HorizontalStack Margin="5" Background="DimGrey"> + <VerticalStack Width="200" Margin="5" Background="Grey"> + <VerticalStack Fit="true" Background="DimGrey" Margin="5"> + <TextRun Background="SkyBlue"/> + <TextRun Background="SkyBlue"/> + <TextRun Background="SkyBlue"/> + </VerticalStack> + <VerticalStack Width="Stretched" Height="Fit" Background="DimGrey" Margin="5"> + <TextRun Background="SkyBlue"/> + <TextRun Background="SkyBlue" Width="Stretched"/> + <TextRun Background="SkyBlue" Height="Stretched"/> + </VerticalStack> + <HorizontalStack Fit="true" Background="DimGrey" Margin="5"> + <TextRun Background="SkyBlue"/> + <TextRun Background="SkyBlue"/> + <TextRun Background="SkyBlue"/> + </HorizontalStack> + <HorizontalStack Width="Stretched" Height="Fit" Background="DimGrey" Margin="5"> + <TextRun Background="SkyBlue"/> + <TextRun Background="SkyBlue"/> + <TextRun Background="SkyBlue"/> + </HorizontalStack> + <HorizontalStack Width="Stretched" Height="Stretched" Background="DimGrey" Margin="5"> + <TextRun Background="SkyBlue"/> + <TextRun Background="SkyBlue" Width="Stretched"/> + <TextRun Background="SkyBlue"/> + </HorizontalStack> + </VerticalStack> + <VerticalStack Width="Stretched" Height="Stretched" Margin="5" Background="Grey"> + <VerticalStack Fit="true" Background="DimGrey" Margin="5"> + <TextRun Background="SkyBlue"/> + <TextRun Background="SkyBlue"/> + <TextRun Background="SkyBlue"/> + </VerticalStack> + <VerticalStack Width="Stretched" Height="Stretched" Background="DimGrey" Margin="5"> + <TextRun Background="SkyBlue"/> + <TextRun Background="SkyBlue" Width="Stretched"/> + <TextRun TextAlignment="Center" Background="SkyBlue" Width="Stretched" Height="Stretched"/> + </VerticalStack> + <HorizontalStack Fit="true" Background="DimGrey" Margin="5"> + <TextRun Background="SkyBlue"/> + <TextRun Background="SkyBlue"/> + <TextRun Background="SkyBlue"/> + </HorizontalStack> + <HorizontalStack Width="Stretched" Height="Fit" Background="DimGrey" Margin="5"> + <TextRun Background="SkyBlue"/> + <TextRun Background="SkyBlue"/> + <TextRun Background="SkyBlue"/> + </HorizontalStack> + <HorizontalStack Width="Stretched" Height="Fit" Background="DimGrey" Margin="5"> + <TextRun Background="SkyBlue"/> + <TextRun Background="SkyBlue" Width="Stretched"/> + <TextRun Background="SkyBlue"/> + </HorizontalStack> + </VerticalStack> + <VerticalStack Width="Fit" Margin="5" Background="Grey"> + <VerticalStack Width="Stretched" Height="Fit" Background="DimGrey" Margin="5"> + <TextRun Background="SkyBlue" HorizontalAlignment="Left"/> + <TextRun Background="SkyBlue"/> + <TextRun Background="SkyBlue"/> + </VerticalStack> + <VerticalStack Width="Stretched" Height="Fit" Background="DimGrey" Margin="5"> + <TextRun Background="SkyBlue"/> + <TextRun Background="SkyBlue" Width="Stretched"/> + <TextRun Background="SkyBlue" Height="Stretched"/> + </VerticalStack> + <HorizontalStack Fit="true" Background="DimGrey" Margin="5"> + <TextRun Background="SkyBlue"/> + <TextRun Background="SkyBlue"/> + <TextRun Background="SkyBlue"/> + </HorizontalStack> + <HorizontalStack Width="Stretched" Height="Fit" Background="DimGrey" Margin="5"> + <TextRun Background="SkyBlue"/> + <TextRun Background="SkyBlue"/> + <TextRun Background="SkyBlue"/> + </HorizontalStack> + <HorizontalStack Width="Stretched" Height="Stretched" Background="DimGrey" Margin="5"> + <TextRun Background="SkyBlue"/> + <TextRun Background="SkyBlue" Width="Stretched"/> + <TextRun Background="SkyBlue"/> + </HorizontalStack> + </VerticalStack> +</HorizontalStack> +</Window>
\ No newline at end of file diff --git a/Samples/ShowCase/ui/divers/testTextBox.crow b/Samples/ShowCase/ui/divers/testTextBox.crow new file mode 100755 index 00000000..d0fe0af4 --- /dev/null +++ b/Samples/ShowCase/ui/divers/testTextBox.crow @@ -0,0 +1,36 @@ +<?xml version="1.0"?> +<VerticalStack Background="SteelBlue" Fit="true"> + <HorizontalStack Fit="true"> + <TextBox Background="DarkGrey" Height="30" Width="50" TextAlignment="TopLeft"/> + <TextBox Background="DarkGrey" Height="30" Width="50" TextAlignment="Top"/> + <TextBox Background="DarkGrey" Height="30" Width="50" TextAlignment="TopRight"/> + <TextBox Background="DarkGrey" Height="30" Width="50" TextAlignment="Left"/> + <TextBox Background="DarkGrey" Height="30" Width="50" TextAlignment="Center"/> + <TextBox Background="DarkGrey" Height="30" Width="50" TextAlignment="Right"/> + <TextBox Background="DarkGrey" Height="30" Width="50" TextAlignment="BottomLeft"/> + <TextBox Background="DarkGrey" Height="30" Width="50" TextAlignment="Bottom"/> + <TextBox Background="DarkGrey" Height="30" Width="50" TextAlignment="BottomRight"/> + </HorizontalStack> + <HorizontalStack Fit="true"> + <TextBox Background="DarkGrey" Height="30" Width="70" TextAlignment="Top" HorizontalStretch="true" Text="TopStretch"/> + <TextBox Background="DarkGrey" Height="30" Width="60" TextAlignment="Center" HorizontalStretch="true" Text="HorizontalStretch" /> + <TextBox Background="DarkGrey" Height="30" Width="60" TextAlignment="Bottom" HorizontalStretch="true" Text="BottomStretch"/> + <TextBox Background="DarkGrey" Height="10" Width="70" TextAlignment="Left" VerticalStretch="true" Text="LeftStretch"/> + <TextBox Background="DarkGrey" Height="10" Width="70" TextAlignment="Center" VerticalStretch="true" Text="VerticalStretch"/> + <TextBox Background="DarkGrey" Height="10" Width="70" TextAlignment="Right" VerticalStretch="true" Text="RightStretch"/> + <TextBox Background="DarkGrey" Height="30" Width="50" HorizontalStretch="true" VerticalStretch="true" Text="Fit"/> + </HorizontalStack> + <TextBox Name="tb" Multiline="true" Font="droid,16" Margin="5" Text="A\nBB\nCCC\nDDDD"/> + <TextBox Multiline="true" Font="droid,16" Name="tb5" Margin="5" Text="{../tb.SelectedText}"/> +<!-- <TextBox Font="droid,10" Name="tb1" Margin="5" Text="this is a test of a text box"/> + <TextBox Width="300" Height="35" Text="this is a test of a text box"/>--> + <TextBox Font="droid,10" Name="tb2" Margin="0" Text="this is a test of a text box"/> + <TextBox Font="droid,10" Name="tb3" Margin="5" Text="this is a test of a text box"/> + <TextBox Font="droid,10" Name="tb4" Margin="5" Text="this is a test of a text box"/> + <TextBox Font="droid,10" Name="tb5" Margin="20" Text="this is a test of a text box"/> + <TextBox Multiline="true" Font="droid,10" Name="tb6" Margin="5" Text="this is a test of a text box\nthis is a test of a text box"/> + <TextBox Multiline="true" Font="droid,10" Name="tb7" Margin="1" TextAlignment="Center" + Text="this is a test of a text box\nthis is a test\nthis is a test when line are centered"/> + <TextBox Multiline="true" Font="droid,10" Name="tb8" Margin="1" TextAlignment="Center" + Text="this is a test of a text box\n\n\nthis is a test\nthis is a test when line are centered"/> +</VerticalStack>
\ No newline at end of file diff --git a/Samples/ShowCase/ui/divers/testVisibility.crow b/Samples/ShowCase/ui/divers/testVisibility.crow new file mode 100755 index 00000000..9f9464c9 --- /dev/null +++ b/Samples/ShowCase/ui/divers/testVisibility.crow @@ -0,0 +1,8 @@ +<?xml version="1.0"?> +<Container Margin="20" Background="Red" > + <Container Margin="20" Background="Green" MouseDown="{../go1.Visible=True}" > + <Widget Name="go1" Margin="20" Background="DimGrey" Visible="false" MouseDown="{Visible=false}" + MouseEnter="{Background=Blue}" + MouseLeave="{Background=DimGrey}"/> + </Container> +</Container> diff --git a/Samples/ShowCase/ui/divers/test_stack.crow b/Samples/ShowCase/ui/divers/test_stack.crow new file mode 100755 index 00000000..044fd7f0 --- /dev/null +++ b/Samples/ShowCase/ui/divers/test_stack.crow @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<VerticalStack Background="DarkBlue" Height="300" Width="200"> +<!-- <Label Text="label11" Width="Stretched" Background="Green"/> + <Label Text="label21"/>--> + <HorizontalStack Width="Fit" Height="Fit" Margin="5" + Focusable="True" Background="Blue"> + + <Label Text="label12"/> + <VerticalStack Background="Red" Fit="true"> + <Label Text="label99"/> + <Label Text="label999"/> + </VerticalStack> + <Label Text="label22"/> +<!-- <Label Text="label32"/> + <Label Text="label42"/> + <Label Text="label52"/>--> + </HorizontalStack> +<!-- <Label Text="label33" Background="Green" Width="Stretched"/>--> +<!-- <Label Text="label43"/>--> +<!-- <Border Margin="10"> + <Label Text="label53" Background="Red" Height="Stretched" CornerRadius="10"/> + </Border>--> + <Label Text="label43"/> + <Label Text="label43"/> +</VerticalStack> diff --git a/Samples/ShowCase/ui/divers/welcome.crow b/Samples/ShowCase/ui/divers/welcome.crow new file mode 100644 index 00000000..fa6da1e6 --- /dev/null +++ b/Samples/ShowCase/ui/divers/welcome.crow @@ -0,0 +1,21 @@ +<?xml version="1.0"?> +<Border BorderStyle="Sunken" Fit="true" Background="0.7,0.7,0.7,0.5" CornerRadius="10"> + <VerticalStack Margin="20"> + <Image Path="#Crow.Icons.crow.svg"/> +<!-- <Label Font="Times bold, 60" Text="C.R.O.W"/>--> + <HorizontalStack Fit="true" DataSource="{CrowVersion}" Spacing="0"> + <Label Foreground="Black" Font="mono, 12" Text="version: "/> + <Label Foreground="Black" Font="mono, 12" Text="{Major}"/> + <Label Foreground="Black" Font="mono, 12" Text="."/> + <Label Foreground="Black" Font="mono, 12" Text="{Minor}"/> + <Label Foreground="Black" Font="mono, 12" Text="."/> + <Label Foreground="DimGrey" Font="mono, 12" Text="{Build}"/> + </HorizontalStack> + <Widget Height="30"/> + <Label Font="20" Text="Press <F2> and <F3> to cycle into the examples"/> + <Label Font="20" Text="Those are basic tests used to validate changes,"/> + <Widget Height="30"/> + <Label Foreground="DimGrey" Font="20" Text="<F5> => File dialog example"/> + <Label Foreground="DimGrey" Font="20" Text="<F6> => Window example"/> + </VerticalStack> +</Border>
\ No newline at end of file diff --git a/Samples/ShowCase/ui/helloworld.crow b/Samples/ShowCase/ui/helloworld.crow new file mode 100644 index 00000000..1d1a3515 --- /dev/null +++ b/Samples/ShowCase/ui/helloworld.crow @@ -0,0 +1,8 @@ +<?xml version="1.0"?> +<Window Caption="Hello World" Icon="#Crow.Icons.crow.svg" Width="40%" Height="40%" CornerRadius="5"> + <VerticalStack> + <Label Text="Hello World" Font="mono, 20"/> + <Image Path="#Crow.Icons.crow.svg"/> + </VerticalStack> +</Window> + diff --git a/Samples/ShowCase/ui/showcase.crow b/Samples/ShowCase/ui/showcase.crow new file mode 100755 index 00000000..f14e965c --- /dev/null +++ b/Samples/ShowCase/ui/showcase.crow @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<HorizontalStack Background="Jet" Margin="5"> + <DirectoryView Name="dv" CurrentDirectory="Interfaces" Width="25%" SelectedItemChanged="Dv_SelectedItemChanged"/> + <Splitter Width="6"/> + <VerticalStack> + <Container Name="CrowContainer" Height="60%" Background="DimGrey"/> + <Splitter/> + <HorizontalStack> + <Scroller Name="scroller1" Background="White" + Margin="2" ScrollY="{../scrollbar1.Value}" + ValueChanged="./_scroller_ValueChanged"> + <TextBox VerticalAlignment="Top" TextChanged="Tb_TextChanged" + Text="{source}" Multiline="true" TextAlignment="TopLeft" + Font="Courriernew 10"/> + </Scroller> + <ScrollBar Name="scrollbar1" Value="{../scroller1.ScrollY}" + LargeIncrement="{../scroller1.PageHeight}" SmallIncrement="30" + CursorSize="{../scroller1.ChildHeightRatio}" + Maximum="{../scroller1.MaxScrollY}" Orientation="Vertical" + Width="14" /> + </HorizontalStack> + <Label Visible="{ShowError}" Text="{ErrorMessage}" Background="Red" Foreground="White" Width="Stretched" Margin="2" + Multiline="true"/> + </VerticalStack> +</HorizontalStack> |