diff options
Diffstat (limited to 'Samples/dockableWindows/ui')
| -rw-r--r-- | Samples/dockableWindows/ui/GTreeExp.itemp | 32 | ||||
| -rw-r--r-- | Samples/dockableWindows/ui/TabView.template | 32 | ||||
| -rw-r--r-- | Samples/dockableWindows/ui/dock.style | 15 | ||||
| -rw-r--r-- | Samples/dockableWindows/ui/dockWin.template | 43 | ||||
| -rw-r--r-- | Samples/dockableWindows/ui/test.crow | 46 |
5 files changed, 0 insertions, 168 deletions
diff --git a/Samples/dockableWindows/ui/GTreeExp.itemp b/Samples/dockableWindows/ui/GTreeExp.itemp deleted file mode 100644 index f2a7c2ba..00000000 --- a/Samples/dockableWindows/ui/GTreeExp.itemp +++ /dev/null @@ -1,32 +0,0 @@ -<?xml version="1.0"?> -<Expandable IsExpanded="{²IsExpanded}" MouseDoubleClick="/onClickForExpand"> - <Template> - <VerticalStack> - <Border CornerRadius="2" Margin="0" Height="Fit" - Foreground="Transparent" - MouseEnter="{Foreground=DimGrey}" - MouseLeave="{Foreground=Transparent}"> - <HorizontalStack Spacing="1"> - <Image Margin="1" Width="9" Height="9" Focusable="true" MouseDown="./onClickForExpand" - Path="{./Image}" - Visible="{./IsExpandable}" - SvgSub="{./IsExpanded}" - MouseEnter="{Background=LightGrey}" - MouseLeave="{Background=Transparent}"/> - <Border Width="16" Height="16" Foreground="Black" Background="DimGrey"> - <Image Margin="2" Path="{GetIcon}" /> - </Border> - <Widget Width="5" Height="5" Background="Blue" Visible="{IsHover}"/> - <Widget Width="5" Height="5" Background="Green" Visible="{Visible}"/> - <Label Text="{Name}" Width="Fit"/> - <Label Text="{LogicalParent}" Width="Stretched" Foreground="Yellow"/> - </HorizontalStack> - </Border> - <Container Name="Content" Visible="false"/> - </VerticalStack> - </Template> - <HorizontalStack Height="Fit"> - <Widget Width="8" Height="10"/> - <VerticalStack Height="Fit" Name="ItemsContainer"/> - </HorizontalStack> -</Expandable> diff --git a/Samples/dockableWindows/ui/TabView.template b/Samples/dockableWindows/ui/TabView.template deleted file mode 100644 index 9490aa7f..00000000 --- a/Samples/dockableWindows/ui/TabView.template +++ /dev/null @@ -1,32 +0,0 @@ -<?xml version="1.0"?> -<VerticalStack Spacing="0" Background="{./Background}"> - <ListBox Data="{./Items}" Fit="true" HorizontalAlignment="Left" VerticalAlignment="Top" SelectedItem="{²./SelectedItem}"> - <Template> - <HorizontalStack Name="ItemsContainer" /> - </Template> - <ItemTemplate> - <!--<ListItem Fit="true" Background="Transparent" IsSelected="{IsVisible}" - Selected="{.DataSource.Visible='true'};{Background=.DataSource.Background}" - Unselected="{.DataSource.Visible='false'};{Background=Transparent}"> - <Label Text="{Caption}" Margin="5" /> - </ListItem>--> - <ListItem Fit="true" Background="Transparent" IsSelected="{IsVisible}" - Selected="{.DataSource.Visible='true'};{Background=.DataSource.Background}" - Unselected="{.DataSource.Visible='false'};{Background=Transparent}"> - <HorizontalStack Margin="2" > - <Label Text="{Caption}" Margin="3" /> - <Border CornerRadius="6" BorderWidth="1" Foreground="Transparent" Height="10" Width="10" VerticalAlignment="Center" - MouseEnter="{Foreground=White}" MouseLeave="{Foreground=Transparent}"> - <Image Focusable="true" Name="Image" Margin="0" Width="Stretched" Height="Stretched" Path="#Crow.Icons.exit2.svg" - MouseClick="onQuitPress"/> - </Border> - </HorizontalStack> - </ListItem> - </ItemTemplate> - </ListBox> - <VerticalStack> - <Group Name="ItemsContainer" /> - <Label DataSource="{../../../SelectedItem}" Text="{Caption}" Background="White" Foreground="Black"/> - </VerticalStack> -</VerticalStack> - diff --git a/Samples/dockableWindows/ui/dock.style b/Samples/dockableWindows/ui/dock.style deleted file mode 100644 index 49c7f03c..00000000 --- a/Samples/dockableWindows/ui/dock.style +++ /dev/null @@ -1,15 +0,0 @@ -DockStack { - Margin="0"; - Spacing="0"; - //Background="DimGrey"; -} -DockWindow { - Template="#ui.dockWin.template"; - AllowedStates="Normal|Maximized|Minimized"; - Width="260"; - Height="200"; -} -TabView { - Template="#ui.TabView.template"; - //Background="Onyx"; -}
\ No newline at end of file diff --git a/Samples/dockableWindows/ui/dockWin.template b/Samples/dockableWindows/ui/dockWin.template deleted file mode 100644 index 971be0c4..00000000 --- a/Samples/dockableWindows/ui/dockWin.template +++ /dev/null @@ -1,43 +0,0 @@ -<?xml version="1.0"?> -<Border Name="SizeHandle" BorderWidth="1" Foreground="Black" CornerRadius="{./CornerRadius}" StickyMouse="8" StickyMouseEnabled="{./IsFloating}" - Background="{./Background}"> - <VerticalStack Spacing="0" Name="MoveHandle"> - <HorizontalStack Height="Fit" IsVisible="{./IsDocked}" Background="Black"> - <Label Text="{./Caption}"/> - <Label Text="{./CurrentState}" Margin="1" Foreground="Black" Background="Grey"/> - <Label Text="{./DockingPosition}"/> - <ListBox Data="{./DockCommands}" Fit="true"> - <Template> - <HorizontalStack Name="ItemsContainer" /> - </Template> - <ItemTemplate Path="#Crow.WindowButton.template"/> - </ListBox> - <ListBox Data="{./Commands}" Fit="true"> - <Template> - <HorizontalStack Name="ItemsContainer" /> - </Template> - <ItemTemplate Path="#Crow.WindowButton.template"/> - </ListBox> - </HorizontalStack> - <HorizontalStack Background="vgradient|0:0.5,0.6,0.5,0.5|1:0.2,0.3,0.3,0.7" - Name="hs" Margin="0" Spacing="0" Height="Fit" Visible="{./IsFloating}"> - <Widget Width="5"/> - <Image Margin="1" Width="10" Height="10" Path="{./Icon}"/> - <Label Text="{./Caption}"/> - <Label Text="{./CurrentState}" Margin="1" Foreground="Black" Background="Grey"/> - <Label Width="Stretched" Foreground="White" Margin="1" TextAlignment="Left" Text="{./DockingPosition}" /> - <ListBox Data="{./DockCommands}" Fit="true"> - <Template> - <HorizontalStack Name="ItemsContainer" /> - </Template> - <ItemTemplate Path="#Crow.WindowButton.template"/> - </ListBox> - <ListBox Data="{./Commands}" Fit="true"> - <Template> - <HorizontalStack Name="ItemsContainer" /> - </Template> - <ItemTemplate Path="#Crow.WindowButton.template"/> - </ListBox> </HorizontalStack> - <Container Name="Content" MinimumSize="50,50"/> - </VerticalStack> -</Border> diff --git a/Samples/dockableWindows/ui/test.crow b/Samples/dockableWindows/ui/test.crow deleted file mode 100644 index 1e4e81e4..00000000 --- a/Samples/dockableWindows/ui/test.crow +++ /dev/null @@ -1,46 +0,0 @@ -<?xml version="1.0"?> -<VerticalStack Background="DimGrey"> - <VerticalStack Name="Watches" Background="Black" Height="Fit" Width="Stretched"> - <HorizontalStack Height="Fit"> - <Label Style="smallLabel" Text="hover:" Width="50"/> - <Label Style="smallLabel" Text="{HoverWidget}"/> - </HorizontalStack> - <HorizontalStack Height="Fit"> - <Label Style="smallLabel" Text="focus:" Width="50"/> - <Label Style="smallLabel" Text="{FocusedWidget}"/> - </HorizontalStack> - <HorizontalStack Height="Fit"> - <Label Style="smallLabel" Text="active:" Width="50"/> - <Label Style="smallLabel" Text="{ActiveWidget}"/> - </HorizontalStack> - </VerticalStack> - <Label Text="Press 'F6' to add new windows, 'F2'/'F3' for save/restore"/> - <DockStack Name="mainDock" Height="Stretched" /> - <!--<Splitter/> - <Button Caption="Refresh tree" MouseClick="refreshGraphicTree"/> - <TreeView IsRoot="true" Name="treeView" Data="{GraphicTree}" Height="200"> - <ItemTemplate> - <Border Width="Stretched" Focusable="true" Foreground="Transparent"> - <HorizontalStack Spacing="5"> - <Widget Width="5" Height="5"/> - <Border Width="16" Height="16" Foreground="Black" Background="DimGrey"> - <Image Margin="2" Path="{GetIcon}" /> - </Border> - <Widget Width="2" Height="5" Background="Blue" Visible="{IsHover}"/> - <Widget Width="5" Height="5" Background="Green" Visible="{Visible}"/> - <Label Text="{Caption}" Width="Fit"/> - <Label Text="{Name}" Width="Fit"/> - <Label Text="{LogicalParent}" Width="Stretched" Foreground="Yellow"/> - </HorizontalStack> - </Border> - </ItemTemplate> - <ItemTemplate DataType="Crow.Group" Data="GetChildren" - Path="#ui.GTreeExp.itemp"/> - <ItemTemplate DataType="Crow.Container" Data="GetChildren" - Path="#ui.GTreeExp.itemp"/> - <ItemTemplate DataType="Crow.TemplatedContainer" Data="GetChildren" - Path="#ui.GTreeExp.itemp"/> - <ItemTemplate DataType="Crow.TemplatedGroup" Data="GetChildren" - Path="#ui.GTreeExp.itemp"/> - </TreeView>--> -</VerticalStack> |