diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2021-09-20 12:00:59 +0000 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2021-09-20 12:00:59 +0000 |
| commit | 9aec3f89e7239eded3fd18b5428947143463b213 (patch) | |
| tree | c5495b6212ef33c6470cd5560ab066d0a67309fd /ui/icoToggle.tmp | |
| parent | 4b007c2b1f6791ca52e840a15c2edc9c754acf41 (diff) | |
tesselation, should be optionalwinBinary
Diffstat (limited to 'ui/icoToggle.tmp')
| -rw-r--r-- | ui/icoToggle.tmp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ui/icoToggle.tmp b/ui/icoToggle.tmp new file mode 100644 index 0000000..bb4e3a0 --- /dev/null +++ b/ui/icoToggle.tmp @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<Border Name="Content" Margin="2" Width="40" Height="40" BorderWidth="1" + Background="${ContainerBackground}" Tooltip="{./Caption}" + Foreground="Transparent" CornerRadius="{./CornerRadius}" + MouseEnter="{Foreground=White}" + MouseLeave="{Foreground=Transparent}" + MouseDown="{Background=${ControlHighlight}}" + MouseUp="{Background=${ContainerBackground}}" + ClipToClientRect="true"> + <Group DataSource="{./Command}" > + <Widget Background="${ControlHighlight}" IsVisible="{IsToggled}" CornerRadius="15"/> + <Image Style="icon" Name="caption" Path="{./Icon}" /> + </Group> +</Border> |