|
5 | 5 | xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
6 | 6 | xmlns:mdxam="clr-namespace:MdXaml;assembly=MdXaml" |
7 | 7 | xmlns:hc="https://handyorg.github.io/handycontrol" |
| 8 | + xmlns:ic="clr-namespace:FluentIcons.Wpf;assembly=FluentIcons.Wpf" |
8 | 9 | xmlns:local="clr-namespace:AI.NET" |
9 | 10 | xmlns:data="clr-namespace:AI.NET.Data" |
10 | 11 | xmlns:svgc="http://sharpvectors.codeplex.com/svgc/" |
|
25 | 26 | </Grid.RowDefinitions> |
26 | 27 | <StackPanel> |
27 | 28 | <Button x:Name="settingButton" Click="SettingButton_Click" Margin="5" ToolTip="{x:Static strings:Strings.Setting}"> |
28 | | - <svgc:SvgViewbox Source="Resources/Icons/settings.svg"></svgc:SvgViewbox> |
| 29 | + <ic:FluentIcon Icon="Settings"/> |
29 | 30 | </Button> |
30 | 31 | <Button x:Name="aboutButton" Click="AboutButton_Click" Margin="5" ToolTip="{x:Static strings:Strings.About}"> |
31 | | - <svgc:SvgViewbox Source="Resources/Icons/info.svg"></svgc:SvgViewbox> |
| 32 | + <ic:FluentIcon Icon="Info"/> |
32 | 33 | </Button> |
33 | 34 | <Button x:Name="systemPromptButton" Click="SystemPromptButton_Click" ToolTip="{x:Static strings:Strings.SystemPrompt}" Margin="5"> |
34 | | - <svgc:SvgViewbox Source="Resources/Icons/terminal.svg"></svgc:SvgViewbox> |
| 35 | + <ic:FluentIcon Icon="WindowConsole"/> |
35 | 36 | </Button> |
36 | 37 | </StackPanel> |
37 | 38 | </Grid> |
|
57 | 58 | <TextBox x:Name="userInputBox" Grid.Row="3" FontSize="15" TextWrapping="Wrap" AcceptsReturn="True" TextAlignment="Left"/> |
58 | 59 | <StackPanel Grid.Row="4" Orientation="Horizontal"> |
59 | 60 | <ToggleButton x:Name="sendButton" Style="{StaticResource ToggleButtonLoading}" Click="SendButton_Click" Margin="10,0,0,0" ToolTip="{x:Static strings:Strings.SendMessage}"> |
60 | | - <svgc:SvgViewbox Source="Resources/Icons/send.svg"></svgc:SvgViewbox> |
| 61 | + <ic:FluentIcon Icon="Send" IconVariant="Color" Foreground="#FF2CBB25"/> |
61 | 62 | </ToggleButton> |
62 | 63 | <Button x:Name="newButton" Click="NewChatButton_Click" Margin="10,0,0,0" ToolTip="{x:Static strings:Strings.NewChat}"> |
63 | | - <svgc:SvgViewbox Source="Resources/Icons/file-plus.svg"></svgc:SvgViewbox> |
| 64 | + <ic:FluentIcon Icon="CommentAdd" IconVariant="Regular"/> |
64 | 65 | </Button> |
65 | 66 | <Button x:Name="deleteChatButton" Click="DeleteChatButton_Click" Margin="10,0,0,0" ToolTip="{x:Static strings:Strings.DeleteChat}"> |
66 | | - <svgc:SvgViewbox Source="Resources/Icons/trash.svg"></svgc:SvgViewbox> |
| 67 | + <ic:FluentIcon Icon="Delete" IconVariant="Filled" Foreground="Red"/> |
67 | 68 | </Button> |
68 | 69 | </StackPanel> |
69 | 70 | </Grid> |
|
0 commit comments