aboutsummaryrefslogtreecommitdiffstatsci
path: root/Crow.ControlsLib/Templates/ToolWindow.template
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2018-02-07 07:43:48 +0100
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>2018-02-07 07:43:48 +0100
commit158bc472eff0771479d48e5bd74a8141d62ab60a (patch)
tree492f2d255de49b5c04ebba237ecb40b265bd6534 /Crow.ControlsLib/Templates/ToolWindow.template
parenta330b907a9c9252c480ea352606d961bdc7c3ecb (diff)
:book: , renames, move some controls to other project file
Diffstat (limited to 'Crow.ControlsLib/Templates/ToolWindow.template')
-rwxr-xr-xCrow.ControlsLib/Templates/ToolWindow.template24
1 files changed, 24 insertions, 0 deletions
diff --git a/Crow.ControlsLib/Templates/ToolWindow.template b/Crow.ControlsLib/Templates/ToolWindow.template
new file mode 100755
index 00000000..f021f6ee
--- /dev/null
+++ b/Crow.ControlsLib/Templates/ToolWindow.template
@@ -0,0 +1,24 @@
+<?xml version="1.0"?>
+<Border BorderWidth="1" Foreground="White" CornerRadius="{./CornerRadius}"
+ Background="{./Background}"
+ MouseEnter="./onBorderMouseEnter"
+ MouseLeave="./onBorderMouseLeave">
+ <VerticalStack Spacing="0">
+<!-- <Border Name="TitleBar" BorderWidth="1" Foreground="White" Width="{./WidthPolicy}" Height="Fit"
+ Background="vgradient|0:0.4,0.6,0.0,0.5|1:0.0,0.8,0.8,0.9">-->
+ <HorizontalStack Background="vgradient|0:0.4,0.6,0.0,0.5|1:0.0,0.8,0.8,0.9"
+ Name="hs" Margin="2" Spacing="0" Height="Fit">
+ <GraphicObject Width="5"/>
+ <Image Margin="1" Width="12" Height="12" Path="{./Icon}"/>
+ <Label Width="Stretched" Foreground="White" Margin="1" TextAlignment="Center" Text="{./Caption}" />
+ <Border CornerRadius="6" BorderWidth="1" Foreground="Transparent" Height="12" Width="12"
+ MouseEnter="{Foreground=White}" MouseLeave="{Foreground=Transparent}">
+ <Image Focusable="true" Name="Image" Margin="0" Width="Stretched" Height="Stretched" Path="#Crow.Images.Icons.exit2.svg"
+ MouseClick="./butQuitPress"/>
+ </Border>
+ <GraphicObject Width="5"/>
+ </HorizontalStack>
+<!-- </Border>-->
+ <Container Name="Content" MinimumSize="50,50" Background="0.5,0.5,0.5,0.5"/>
+ </VerticalStack>
+</Border>