feat: prototype.

This commit is contained in:
rabbitism
2024-03-09 18:38:22 +08:00
parent f93cd69d7c
commit 04305234a1
4 changed files with 94 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
<ResourceDictionary xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:u="https://irihi.tech/ursa">
<!-- Add Resources Here -->
<ControlTheme x:Key="{x:Type u:NumPad}" TargetType="{x:Type u:NumPad}">
<Setter Property="Template">
<ControlTemplate TargetType="u:NumPad">
<Border Padding="48">
<Button Focusable="False" Name="{x:Static u:NumPad.PART_Seven}" Content="7" Width="32"></Button>
</Border>
</ControlTemplate>
</Setter>
</ControlTheme>
</ResourceDictionary>