aboutsummaryrefslogtreecommitdiffstatsci
path: root/Tests/Interfaces/Divers
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2018-02-20 14:17:56 +0100
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>2018-02-20 14:22:24 +0100
commitd8367a33368e783c15f2072daa9237b2643526d3 (patch)
treeb770c2b8d3d6f0b6f6f69676f0e42194af2c053a /Tests/Interfaces/Divers
parent0ce668c6c13521ebfcb9ed02365556a31a65b6b2 (diff)
debug threading with new TemplatedGroup arch, review examples.singleLeveledTemplatedGroup
Diffstat (limited to 'Tests/Interfaces/Divers')
-rwxr-xr-xTests/Interfaces/Divers/0.crow4
-rwxr-xr-xTests/Interfaces/Divers/testCtxMenu.crow4
-rw-r--r--Tests/Interfaces/Divers/testDock.crow7
-rw-r--r--Tests/Interfaces/Divers/testFileDialog.crow3
-rw-r--r--Tests/Interfaces/Divers/testIMLContainer.crow2
-rwxr-xr-xTests/Interfaces/Divers/testImage.crow2
-rw-r--r--Tests/Interfaces/Divers/welcome.crow26
7 files changed, 32 insertions, 16 deletions
diff --git a/Tests/Interfaces/Divers/0.crow b/Tests/Interfaces/Divers/0.crow
index 055b037e..47f36af5 100755
--- a/Tests/Interfaces/Divers/0.crow
+++ b/Tests/Interfaces/Divers/0.crow
@@ -148,8 +148,8 @@
<VerticalStack Width="30%" Margin="5">
<!-- <Border Margin="5" Height="Fit">
<Label Width="Stretched" Margin="1" Text="{../../dv.SelectedItem}"/>
- </Border>-->
-<!-- <Border Margin="5" Height="30%">
+ </Border>
+ <Border Margin="5" Height="30%">
<DirectoryView Name="dv" CurrentDirectory="/" Margin="1"/>
</Border>
<Splitter/>-->
diff --git a/Tests/Interfaces/Divers/testCtxMenu.crow b/Tests/Interfaces/Divers/testCtxMenu.crow
new file mode 100755
index 00000000..edffc70a
--- /dev/null
+++ b/Tests/Interfaces/Divers/testCtxMenu.crow
@@ -0,0 +1,4 @@
+<?xml version="1.0"?>
+<GraphicObject 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/Tests/Interfaces/Divers/testDock.crow b/Tests/Interfaces/Divers/testDock.crow
deleted file mode 100644
index 3dc9a6eb..00000000
--- a/Tests/Interfaces/Divers/testDock.crow
+++ /dev/null
@@ -1,7 +0,0 @@
-<?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> \ No newline at end of file
diff --git a/Tests/Interfaces/Divers/testFileDialog.crow b/Tests/Interfaces/Divers/testFileDialog.crow
new file mode 100644
index 00000000..868baf63
--- /dev/null
+++ b/Tests/Interfaces/Divers/testFileDialog.crow
@@ -0,0 +1,3 @@
+<?xml version="1.0"?>
+<FileDialog Caption="Open File" CurrentDirectory="/" SearchPattern="*.*"/>
+
diff --git a/Tests/Interfaces/Divers/testIMLContainer.crow b/Tests/Interfaces/Divers/testIMLContainer.crow
new file mode 100644
index 00000000..2ba5f2cd
--- /dev/null
+++ b/Tests/Interfaces/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/Tests/Interfaces/Divers/testImage.crow b/Tests/Interfaces/Divers/testImage.crow
index cfa0f113..eddea8aa 100755
--- a/Tests/Interfaces/Divers/testImage.crow
+++ b/Tests/Interfaces/Divers/testImage.crow
@@ -2,7 +2,7 @@
<VerticalStack Fit="true">
<HorizontalStack Fit="true" Background="hgradient|0:DarkRed|1:Transparent" Margin="5">
<Label Text="SCALED PROPORTIONNAL" Width="150"/>
- <Image Width="50%" Height="Fit" Background="vgradient|0:SkyBlue|1:White" Path="#Tests.image.crow0.svg"/>
+ <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" />
diff --git a/Tests/Interfaces/Divers/welcome.crow b/Tests/Interfaces/Divers/welcome.crow
index c4ec889f..3a08829c 100644
--- a/Tests/Interfaces/Divers/welcome.crow
+++ b/Tests/Interfaces/Divers/welcome.crow
@@ -1,7 +1,21 @@
<?xml version="1.0"?>
-<VerticalStack Fit="true" VerticalAlignment="Top" Background="0.7,0.7,0.7,0.5"
- Margin="10" CornerRadius="10">
- <Label Font="20" Text="Press &lt;F3&gt; to cycle into the examples"/>
- <Label Font="20" Text="Those are basic tests used to validate changes"/>
- <Label Font="20" Text="{fps}"/>
-</VerticalStack> \ No newline at end of file
+<Border BorderStyle="Sunken" Fit="true" Background="0.7,0.7,0.7,0.5" CornerRadius="10">
+ <VerticalStack Margin="20">
+ <Image Path="#Crow.Images.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="Jet" Font="mono, 12" Text="{Build}"/>
+ </HorizontalStack>
+ <GraphicObject Height="30"/>
+ <Label Font="20" Text="Press &lt;F2&gt; and &lt;F3&gt; to cycle into the examples"/>
+ <Label Font="20" Text="Those are basic tests used to validate changes,"/>
+ <GraphicObject Height="30"/>
+ <Label Foreground="Jet" Font="20" Text="&lt;F5&gt; => File dialog example"/>
+ <Label Foreground="Jet" Font="20" Text="&lt;F6&gt; => Window example"/>
+ </VerticalStack>
+</Border> \ No newline at end of file