aboutsummaryrefslogtreecommitdiffstatsci
path: root/Samples/ShowCase/ui/Interfaces/TemplatedControl
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2020-05-20 02:15:16 +0200
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>2020-05-20 02:15:16 +0200
commit2befc4ca0c8c20f1db20ffa199950d988915911d (patch)
tree3beae8fc5498bfe4afad7dc16d24385ffced7192 /Samples/ShowCase/ui/Interfaces/TemplatedControl
parent31125f2b7fc7517a324e90058bce2f2cec063f7c (diff)
fix colors bugs
Diffstat (limited to 'Samples/ShowCase/ui/Interfaces/TemplatedControl')
-rw-r--r--Samples/ShowCase/ui/Interfaces/TemplatedControl/testButton.crow10
-rw-r--r--Samples/ShowCase/ui/Interfaces/TemplatedControl/testCheckbox.crow11
-rw-r--r--Samples/ShowCase/ui/Interfaces/TemplatedControl/testCombobox.crow4
-rw-r--r--Samples/ShowCase/ui/Interfaces/TemplatedControl/testItemTemplateTag.crow36
-rw-r--r--Samples/ShowCase/ui/Interfaces/TemplatedControl/testRadioButton.crow7
-rw-r--r--Samples/ShowCase/ui/Interfaces/TemplatedControl/testScrollbar.crow5
-rw-r--r--Samples/ShowCase/ui/Interfaces/TemplatedControl/testSpinner.crow10
7 files changed, 0 insertions, 83 deletions
diff --git a/Samples/ShowCase/ui/Interfaces/TemplatedControl/testButton.crow b/Samples/ShowCase/ui/Interfaces/TemplatedControl/testButton.crow
deleted file mode 100644
index 8911619d..00000000
--- a/Samples/ShowCase/ui/Interfaces/TemplatedControl/testButton.crow
+++ /dev/null
@@ -1,10 +0,0 @@
-<?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
deleted file mode 100644
index 7c8438c0..00000000
--- a/Samples/ShowCase/ui/Interfaces/TemplatedControl/testCheckbox.crow
+++ /dev/null
@@ -1,11 +0,0 @@
-<?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
deleted file mode 100644
index 4363986e..00000000
--- a/Samples/ShowCase/ui/Interfaces/TemplatedControl/testCombobox.crow
+++ /dev/null
@@ -1,4 +0,0 @@
-<?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
deleted file mode 100644
index b29be381..00000000
--- a/Samples/ShowCase/ui/Interfaces/TemplatedControl/testItemTemplateTag.crow
+++ /dev/null
@@ -1,36 +0,0 @@
-<?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
deleted file mode 100644
index a01d9041..00000000
--- a/Samples/ShowCase/ui/Interfaces/TemplatedControl/testRadioButton.crow
+++ /dev/null
@@ -1,7 +0,0 @@
-<?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
deleted file mode 100644
index f8c4a9ae..00000000
--- a/Samples/ShowCase/ui/Interfaces/TemplatedControl/testScrollbar.crow
+++ /dev/null
@@ -1,5 +0,0 @@
-<?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
deleted file mode 100644
index 01d53016..00000000
--- a/Samples/ShowCase/ui/Interfaces/TemplatedControl/testSpinner.crow
+++ /dev/null
@@ -1,10 +0,0 @@
-<?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