diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2018-03-04 11:28:09 +0100 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2018-03-04 11:28:09 +0100 |
| commit | 27a85f2d4e9987ac1809199e280e17a36d68c783 (patch) | |
| tree | 48a15efb23c45724f0d44a0c01582f037c3acaee /Tests | |
| parent | 5bcd45c3ccc34edc68188a3acdb09e742b21aef3 (diff) | |
crowIde wip, docker wip, stack remove child debug
Diffstat (limited to 'Tests')
| -rw-r--r-- | Tests/Interfaces/Experimental/testDock.crow | 25 | ||||
| -rw-r--r-- | Tests/Interfaces/Experimental/testStack.crow | 32 | ||||
| -rw-r--r-- | Tests/Tests.csproj | 3 |
3 files changed, 51 insertions, 9 deletions
diff --git a/Tests/Interfaces/Experimental/testDock.crow b/Tests/Interfaces/Experimental/testDock.crow index 8a9df9c5..71301686 100644 --- a/Tests/Interfaces/Experimental/testDock.crow +++ b/Tests/Interfaces/Experimental/testDock.crow @@ -1,19 +1,26 @@ <?xml version="1.0"?> -<!--<Docker Background="Jet" Margin = "0" Focusable="true" > - <DockWindow Focusable="true" Caption="View 1" Width="100" Height="100"><GraphicObject Background="Green"/></DockWindow> - <DockWindow Focusable="true" Caption="View 2" Resizable = "true" Width="100" Height="100"><GraphicObject Background="Blue"/></DockWindow> - <DockWindow Focusable="true" Caption="View 3" Resizable = "true" Width="100" Height="100"><GraphicObject Background="Yellow"/></DockWindow> - <DockWindow Focusable="true" Caption="View 4" Resizable = "true" Width="100" Height="100"><GraphicObject Background="Black"/></DockWindow> -</Docker>--> +<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="Jet" Margin = "0" Focusable="true" > <Window Top="100" Left="100" Focusable="true" Caption="View 1" Width="300" Height="300"><GraphicObject Background="Green" Focusable="true" MouseEnter="{Background=Gray}" MouseLeave="{Background=Green}"/></Window> <Window Top="200" Left="200" Focusable="true" Caption="View 2" Resizable = "true" Width="300" Height="300"><GraphicObject Focusable="true" Background="Blue" MouseEnter="{Background=Gray}" MouseLeave="{Background=Blue}"/></Window> <Window Top="300" Left="300" Focusable="true" Caption="View 3" Resizable = "true" Width="300" Height="300"><GraphicObject Focusable="true" Background="Yellow" MouseEnter="{Background=Gray}" MouseLeave="{Background=Yellow}"/></Window> <Window Top="400" Left="400" Focusable="true" Caption="View 4" Resizable = "true" Width="300" Height="300"><GraphicObject Focusable="true" Background="Black" MouseEnter="{Background=Gray}" MouseLeave="{Background=Black}"/></Window> </Group>--> -<Docker Background="Jet" Margin = "0" Focusable="true" > - <DockWindow Top="100" Left="100" Focusable="true" Caption="View 1" Width="300" Height="300"><GraphicObject Background="Green" Focusable="true" MouseEnter="{Background=Gray}" MouseLeave="{Background=Green}"/></DockWindow> +<!--<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"><GraphicObject Focusable="true" Background="Blue" MouseEnter="{Background=Gray}" MouseLeave="{Background=Blue}"/></DockWindow> <DockWindow Top="300" Left="300" Focusable="true" Caption="View 3" Resizable = "true" Width="300" Height="300"><GraphicObject Focusable="true" Background="Yellow" MouseEnter="{Background=Gray}" MouseLeave="{Background=Yellow}"/></DockWindow> <DockWindow Top="400" Left="400" Focusable="true" Caption="View 4" Resizable = "true" Width="300" Height="300"><GraphicObject Focusable="true" Background="Black" MouseEnter="{Background=Gray}" MouseLeave="{Background=Black}"/></DockWindow> -</Docker>
\ No newline at end of file +</Docker>-->
\ No newline at end of file diff --git a/Tests/Interfaces/Experimental/testStack.crow b/Tests/Interfaces/Experimental/testStack.crow new file mode 100644 index 00000000..054c3f5f --- /dev/null +++ b/Tests/Interfaces/Experimental/testStack.crow @@ -0,0 +1,32 @@ +<?xml version="1.0"?> +<Window Width="600" Height="500"> +<VerticalStack Margin="20" Background="Jet" Spacing="10"> + <GraphicObject Height="100" Width="500" Background="Green"/> + <Splitter/> + <HorizontalStack> + <GraphicObject Height="Stretched" Width="100" Background="Red"/> + <Splitter/> + <GraphicObject Height="Stretched" Width="100" Background="DarkRed"/> + </HorizontalStack> + <Splitter/> + <GraphicObject Height="100" Width="500" Background="Green"/> +</VerticalStack> +</Window> +<!--<Group Background="Jet" Margin = "0" Focusable="true" > + <Window Top="100" Left="100" Focusable="true" Caption="View 1" Width="300" Height="300"><GraphicObject Background="Green" Focusable="true" MouseEnter="{Background=Gray}" MouseLeave="{Background=Green}"/></Window> + <Window Top="200" Left="200" Focusable="true" Caption="View 2" Resizable = "true" Width="300" Height="300"><GraphicObject Focusable="true" Background="Blue" MouseEnter="{Background=Gray}" MouseLeave="{Background=Blue}"/></Window> + <Window Top="300" Left="300" Focusable="true" Caption="View 3" Resizable = "true" Width="300" Height="300"><GraphicObject Focusable="true" Background="Yellow" MouseEnter="{Background=Gray}" MouseLeave="{Background=Yellow}"/></Window> + <Window Top="400" Left="400" Focusable="true" Caption="View 4" Resizable = "true" Width="300" Height="300"><GraphicObject Focusable="true" Background="Black" MouseEnter="{Background=Gray}" 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"><GraphicObject Focusable="true" Background="Blue" MouseEnter="{Background=Gray}" MouseLeave="{Background=Blue}"/></DockWindow> + <DockWindow Top="300" Left="300" Focusable="true" Caption="View 3" Resizable = "true" Width="300" Height="300"><GraphicObject Focusable="true" Background="Yellow" MouseEnter="{Background=Gray}" MouseLeave="{Background=Yellow}"/></DockWindow> + <DockWindow Top="400" Left="400" Focusable="true" Caption="View 4" Resizable = "true" Width="300" Height="300"><GraphicObject Focusable="true" Background="Black" MouseEnter="{Background=Gray}" MouseLeave="{Background=Black}"/></DockWindow> +</Docker>-->
\ No newline at end of file diff --git a/Tests/Tests.csproj b/Tests/Tests.csproj index 677eec33..30fe50c3 100644 --- a/Tests/Tests.csproj +++ b/Tests/Tests.csproj @@ -373,6 +373,9 @@ <None Include="Interfaces\Experimental\testDock.crow"> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> </None> + <None Include="Interfaces\Experimental\testStack.crow"> + <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> + </None> </ItemGroup> <ItemGroup> <Folder Include="Interfaces\" /> |