diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2020-01-28 07:24:29 +0100 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2020-01-28 07:24:29 +0100 |
| commit | 90015b93cd8d06f35d211ce65e2c9000e5fb4336 (patch) | |
| tree | 9ad0b27290d02414dd0ab5a323bf522d54d0be7d /Tests/Interfaces/TemplatedControl | |
| parent | c9a6611afb5943153b82ef8d1a9bad0c589baf8a (diff) | |
unit test with iFace updates (layouting/clipping/drawing), chmod clean
Diffstat (limited to 'Tests/Interfaces/TemplatedControl')
7 files changed, 0 insertions, 83 deletions
diff --git a/Tests/Interfaces/TemplatedControl/testButton.crow b/Tests/Interfaces/TemplatedControl/testButton.crow deleted file mode 100755 index 8911619d..00000000 --- a/Tests/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/Tests/Interfaces/TemplatedControl/testCheckbox.crow b/Tests/Interfaces/TemplatedControl/testCheckbox.crow deleted file mode 100755 index 7c8438c0..00000000 --- a/Tests/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/Tests/Interfaces/TemplatedControl/testCombobox.crow b/Tests/Interfaces/TemplatedControl/testCombobox.crow deleted file mode 100755 index 4363986e..00000000 --- a/Tests/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/Tests/Interfaces/TemplatedControl/testItemTemplateTag.crow b/Tests/Interfaces/TemplatedControl/testItemTemplateTag.crow deleted file mode 100755 index b29be381..00000000 --- a/Tests/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/Tests/Interfaces/TemplatedControl/testRadioButton.crow b/Tests/Interfaces/TemplatedControl/testRadioButton.crow deleted file mode 100755 index a01d9041..00000000 --- a/Tests/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/Tests/Interfaces/TemplatedControl/testScrollbar.crow b/Tests/Interfaces/TemplatedControl/testScrollbar.crow deleted file mode 100755 index f8c4a9ae..00000000 --- a/Tests/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/Tests/Interfaces/TemplatedControl/testSpinner.crow b/Tests/Interfaces/TemplatedControl/testSpinner.crow deleted file mode 100755 index 01d53016..00000000 --- a/Tests/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 |