aboutsummaryrefslogtreecommitdiffstatsci
path: root/ui/icoButton.tmp
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2021-09-20 12:00:59 +0000
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>2021-09-20 12:00:59 +0000
commit9aec3f89e7239eded3fd18b5428947143463b213 (patch)
treec5495b6212ef33c6470cd5560ab066d0a67309fd /ui/icoButton.tmp
parent4b007c2b1f6791ca52e840a15c2edc9c754acf41 (diff)
tesselation, should be optionalwinBinary
Diffstat (limited to 'ui/icoButton.tmp')
-rw-r--r--ui/icoButton.tmp11
1 files changed, 11 insertions, 0 deletions
diff --git a/ui/icoButton.tmp b/ui/icoButton.tmp
new file mode 100644
index 0000000..ce83d14
--- /dev/null
+++ b/ui/icoButton.tmp
@@ -0,0 +1,11 @@
+<?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">
+ <Image Style="icon" Name="caption" Path="{./Icon}" />
+</Border>