diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2021-08-20 20:23:23 +0200 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2021-08-20 20:23:23 +0200 |
| commit | 5ded9101522573336813c88d49e2ed27d70429fb (patch) | |
| tree | c1882937d54dab93be02a084b05dfb23cae517a1 /Samples/PathPainter/ui | |
| parent | 36f62cf1ca61cb10c6958787376ae76efb71a1ea (diff) | |
keep only HelloWorld, ShowCase and PerfTests samplesv0.9.5-beta
Diffstat (limited to 'Samples/PathPainter/ui')
| -rw-r--r-- | Samples/PathPainter/ui/Icons/Lines.svg | 7 | ||||
| -rw-r--r-- | Samples/PathPainter/ui/Icons/Rect.svg | 6 | ||||
| -rw-r--r-- | Samples/PathPainter/ui/Icons/Select.svg | 6 | ||||
| -rw-r--r-- | Samples/PathPainter/ui/Painter.style | 3 | ||||
| -rw-r--r-- | Samples/PathPainter/ui/Spinner.template | 14 | ||||
| -rw-r--r-- | Samples/PathPainter/ui/colorSelector.template | 11 | ||||
| -rw-r--r-- | Samples/PathPainter/ui/main.crow | 43 |
7 files changed, 0 insertions, 90 deletions
diff --git a/Samples/PathPainter/ui/Icons/Lines.svg b/Samples/PathPainter/ui/Icons/Lines.svg deleted file mode 100644 index 9fb54c4b..00000000 --- a/Samples/PathPainter/ui/Icons/Lines.svg +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Generated by IcoMoon.io --> -<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> -<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="16" height="16" viewBox="0 0 16 16"> -<path fill="#dddddd" d="M1 11.9l-1 4.1 4.1-1 9.2-9.2-3.1-3.1-9.2 9.2zM1.5 15l-0.4-0.5 0.4-2 2 2-2 0.5zM10.9 4.4l-8.1 8-0.6-0.6 8.1-8 0.6 0.6z"></path> -<path fill="#dddddd" d="M15.3 0.7c-1.1-1.1-2.6-0.5-2.6-0.5l-1.5 1.5 3.1 3.1 1.5-1.5c0-0.1 0.6-1.5-0.5-2.6zM13.4 1.6l-0.5-0.5c0.6-0.6 1.1-0.1 1.1-0.1l-0.6 0.6z"></path> -</svg> diff --git a/Samples/PathPainter/ui/Icons/Rect.svg b/Samples/PathPainter/ui/Icons/Rect.svg deleted file mode 100644 index d7d1dc8a..00000000 --- a/Samples/PathPainter/ui/Icons/Rect.svg +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Generated by IcoMoon.io --> -<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> -<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="16" height="16" viewBox="0 0 16 16"> -<path fill="#dddddd" d="M15 1h-14v14h14v-14zM14 14h-12v-12h12v12z"></path> -</svg> diff --git a/Samples/PathPainter/ui/Icons/Select.svg b/Samples/PathPainter/ui/Icons/Select.svg deleted file mode 100644 index 605c0e28..00000000 --- a/Samples/PathPainter/ui/Icons/Select.svg +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Generated by IcoMoon.io --> -<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> -<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="16" height="16" viewBox="0 0 16 16"> -<path fill="#dddddd" d="M11.6 5c-0.2 0-0.5 0-0.6 0 0-0.2-0.2-0.6-0.4-0.8s-0.6-0.4-1.1-0.4c-0.2 0-0.4 0-0.6 0.1-0.1-0.2-0.2-0.3-0.3-0.5-0.2-0.2-0.5-0.4-1.1-0.4-0.2 0-0.4 0-0.5 0.1v-1.7c0-0.6-0.4-1.4-1.4-1.4-0.4 0-0.8 0.2-1.1 0.4-0.5 0.6-0.5 1.4-0.5 1.4v4.3c-0.6 0.1-1.1 0.3-1.4 0.6-0.6 0.7-0.6 1.6-0.6 2.8 0 0.2 0 0.5 0 0.7 0 1.4 0.7 2.1 1.4 2.8l0.3 0.4c1.3 1.2 2.4 1.6 5.1 1.6 2.9 0 4.2-1.6 4.2-5.1v-2.5c0-0.7-0.2-2.1-1.4-2.4zM12 7.4v2.6c0 3.4-1.3 4.1-3.2 4.1-2.4 0-3.3-0.3-4.3-1.3-0.1-0.1-0.2-0.2-0.4-0.4-0.7-0.8-1.1-1.2-1.1-2.2 0-0.2 0-0.5 0-0.7 0-1 0-1.7 0.3-2.1 0.1-0.1 0.4-0.2 0.7-0.2v0.5l-0.3 1.5c0 0.1 0 0.1 0.1 0.2s0.2 0 0.2 0l1-1.2c0-0.1 0-0.2 0-0.2v-6.2c0-0.1 0-0.5 0.2-0.7 0.1 0 0.2-0.1 0.4-0.1 0.3 0 0.4 0.3 0.4 0.4v3.1c0 0 0 0 0 0v1.2c0 0.3 0.2 0.6 0.5 0.6s0.5-0.3 0.5-0.5v-1.3c0 0 0 0 0 0 0-0.1 0.1-0.5 0.5-0.5 0.3 0 0.5 0.1 0.5 0.4v1.3c0 0.3 0.2 0.6 0.5 0.6s0.5-0.3 0.5-0.5v-0.7c0-0.1 0.1-0.3 0.5-0.3 0.2 0 0.3 0.1 0.3 0.1 0.2 0.1 0.2 0.4 0.2 0.4v0.8c0 0.3 0.2 0.5 0.4 0.5 0.3 0 0.5-0.1 0.5-0.4 0-0.1 0.1-0.2 0.2-0.3 0 0 0.1 0 0.2 0 0.6 0.2 0.7 1.2 0.7 1.5 0-0.1 0-0.1 0 0z"></path> -</svg> diff --git a/Samples/PathPainter/ui/Painter.style b/Samples/PathPainter/ui/Painter.style deleted file mode 100644 index 02ad3e34..00000000 --- a/Samples/PathPainter/ui/Painter.style +++ /dev/null @@ -1,3 +0,0 @@ -DrawModeStyle { - Template="#polytest.ui.iconCheckBox.template"; -}
\ No newline at end of file diff --git a/Samples/PathPainter/ui/Spinner.template b/Samples/PathPainter/ui/Spinner.template deleted file mode 100644 index b4baf524..00000000 --- a/Samples/PathPainter/ui/Spinner.template +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0"?> -<VerticalStack> - <Label Text="{./Caption}"/> - <Border Style="ControlBorder" Background="{./Background}" CornerRadius="{./CornerRadius}"> - <HorizontalStack Spacing="1"> - <TextBox Style="ControlEditableText" Foreground="{./Foreground}" Font="{./Font}" Width="Stretched" - Text="{²./Value}" TextAlignment="Right" /> - <VerticalStack Width="16" Height="Stretched" Spacing="0" Margin="0"> - <Shape KeepProportions="false" Margin="1" Style="ArrowBut" Height="50%" MouseDown="./onUp" Size="10,10" Path="M 4.5,0.5 L 9.5,9.5 L 0.5,9.5 Z F"/> - <Shape KeepProportions="false" Margin="1" Style="ArrowBut" Height="50%" MouseDown="./onDown" Size="10,10" Path="M 0.5,0.5 L 9.5,0.5 L 4.5,9.5 Z F"/> - </VerticalStack> - </HorizontalStack> - </Border> -</VerticalStack>
\ No newline at end of file diff --git a/Samples/PathPainter/ui/colorSelector.template b/Samples/PathPainter/ui/colorSelector.template deleted file mode 100644 index cc12a623..00000000 --- a/Samples/PathPainter/ui/colorSelector.template +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0"?> -<CheckBox Caption="{./Caption}" IsChecked="{²./IsPopped}" Foreground="{./Foreground}" Background="{./Background}"> - <Template> - <Border Style="ControlBorder" CornerRadius="{./CornerRadius}"> - <HorizontalStack Spacing="10" Margin="5"> - <Label Style="ControlCaption" Text="{./Caption}" /> - <Border Foreground="White" Width="30" Height="20" Background="{./Background}" CornerRadius="5"/> - </HorizontalStack> - </Border> - </Template> -</CheckBox>
\ No newline at end of file diff --git a/Samples/PathPainter/ui/main.crow b/Samples/PathPainter/ui/main.crow deleted file mode 100644 index bb0a6297..00000000 --- a/Samples/PathPainter/ui/main.crow +++ /dev/null @@ -1,43 +0,0 @@ -<?xml version="1.0"?> -<HorizontalStack Background="DarkGrey" > - <VerticalStack> - <HorizontalStack Height="Fit"> - <EnumSelector Fit="true" Caption="Draw Mode" EnumValue="{²../../painter.CurrentDrawMode}" /> - <ComboBox Data="{../../painter.Zooms}" SelectedItem="{²../../painter.Zoom}" Width="60"/> - </HorizontalStack> - <HorizontalStack> - <Border Foreground="Black" Width="Stretched" Height="Stretched" Margin="0" HorizontalAlignment="Left" VerticalAlignment="Top"> - <Painter Name="painter" ShapeForeground="{Foreground}" ShapeBackground="{Background}" - Zoom="1" - Size="{Size}" Path="{²CurrentPath}" StrokeWidth="{StrokeWidth}"/> - </Border> - <ScrollBar Value="{²../painter.ScrollY}" - LargeIncrement="{../painter.PageHeight}" SmallIncrement="1" - CursorRatio="{../painter.ChildHeightRatio}" Maximum="{../painter.MaxScrollY}" /> - </HorizontalStack> - <ScrollBar Style="HScrollBar" Value="{²../painter.ScrollX}" - LargeIncrement="{../painter.PageWidth}" SmallIncrement="1" - CursorRatio="{../painter.ChildWidthRatio}" Maximum="{../painter.MaxScrollX}" /> - </VerticalStack> - <Splitter/> - <VerticalStack Margin="2" Spacing="2"> - <TextBox Width="Stretched" Text="{²CurrentPath}"/> - <HorizontalStack Height="Fit"> - <Spinner Caption="Stroke Width" SmallIncrement="0.1" LargeIncrement="0.5" Value="{²StrokeWidth}" Width="Fit" Template="#ui.Spinner.template"/> - <Spinner Caption="Size" Value="{²CurrentSize}" Width="Fit" Template="#ui.Spinner.template"/> - <Popper Caption="Foreground" Background="{Foreground}" Fit="True" Template="#ui.colorSelector.template"> - <ColorPicker CurrentColor="{²Foreground}" Background="Onyx" Width="{../PopWidth}"/> - </Popper> - <Popper Caption="Background" Background="{Background}" Fit="True" Template="#ui.colorSelector.template"> - <ColorPicker CurrentColor="{²Background}" Background="Onyx" Width="{../PopWidth}"/> - </Popper> - </HorizontalStack> - <Group Height="200" Background="Jet"> - <Shape Left="23" Top="9" Margin="0" Width="16" Height="16" Foreground="{Foreground}" Background="{Background}" Size="{Size}" Path="{CurrentPath}" StrokeWidth="{StrokeWidth}"/> - <Shape Left="17" Top="31" Margin="0" Width="32" Height="32" Foreground="{Foreground}" Background="{Background}" Size="{Size}" Path="{CurrentPath}" StrokeWidth="{StrokeWidth}"/> - <Shape Left="65" Top="1" Margin="0" Width="64" Height="64" Foreground="{Foreground}" Background="{Background}" Size="{Size}" Path="{CurrentPath}" StrokeWidth="{StrokeWidth}"/> - <Shape Left="1" Top="66" Margin="0" Width="128" Height="128" Foreground="{Foreground}" Background="{Background}" Size="{Size}" Path="{CurrentPath}" StrokeWidth="{StrokeWidth}"/> - </Group> - - </VerticalStack> -</HorizontalStack> |