aboutsummaryrefslogtreecommitdiffstatsci
path: root/ui/icoToggle.tmp
diff options
context:
space:
mode:
Diffstat (limited to 'ui/icoToggle.tmp')
-rw-r--r--ui/icoToggle.tmp14
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>