From d51f55a732f4532da0c89697f78bc07c461f9856 Mon Sep 17 00:00:00 2001 From: Natalia Portillo Date: Mon, 15 Dec 2025 00:36:43 +0000 Subject: [PATCH] Add FluentIcons to MainWindow and update menu item icons --- Aaru.Gui/Aaru.Gui.csproj | 1 + Aaru.Gui/Views/Windows/MainWindow.axaml | 133 ++++++++++++++++++++---- Directory.Packages.props | 1 + 3 files changed, 113 insertions(+), 22 deletions(-) diff --git a/Aaru.Gui/Aaru.Gui.csproj b/Aaru.Gui/Aaru.Gui.csproj index ac3fac63f..bd873d4db 100644 --- a/Aaru.Gui/Aaru.Gui.csproj +++ b/Aaru.Gui/Aaru.Gui.csproj @@ -25,6 +25,7 @@ + diff --git a/Aaru.Gui/Views/Windows/MainWindow.axaml b/Aaru.Gui/Views/Windows/MainWindow.axaml index 87d411205..6d58e457f 100644 --- a/Aaru.Gui/Views/Windows/MainWindow.axaml +++ b/Aaru.Gui/Views/Windows/MainWindow.axaml @@ -5,6 +5,7 @@ xmlns:windows="clr-namespace:Aaru.Gui.ViewModels.Windows" xmlns:models="clr-namespace:Aaru.Gui.Models" xmlns:localization="clr-namespace:Aaru.Localization;assembly=Aaru.Localization" + xmlns:ic="clr-namespace:FluentIcons.Avalonia;assembly=FluentIcons.Avalonia" mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450" @@ -21,101 +22,189 @@ + Command="{Binding OpenCommand, Mode=OneWay}"> + + + + + Command="{Binding OpenMhddLogCommand, Mode=OneWay}"> + + + + + Command="{Binding OpenIbgLogCommand, Mode=OneWay}"> + + + + + Command="{Binding ConnectToRemoteCommand, Mode=OneWay}"> + + + + + IsVisible="{Binding DevicesSupported, Mode=OneWay}"> + + + + + Command="{Binding SettingsCommand, Mode=OneWay}"> + + + + + Command="{Binding ExitCommand, Mode=OneWay}"> + + + + + Header="{x:Static localization:UI.ButtonLabel_Calculate_entropy}"> + + + + + Header="{x:Static localization:UI.ButtonLabel_Verify}"> + + + + + Header="{x:Static localization:UI.ButtonLabel_Checksum}"> + + + + + Header="{x:Static localization:UI.ButtonLabel_Convert_to}"> + + + + + Header="{x:Static localization:UI.ButtonLabel_Create_Aaru_Metadata_sidecar}"> + + + + + Header="{x:Static localization:UI.ButtonLabel_View_sectors}"> + + + + + Header="{x:Static localization:UI.ButtonLabel_Decode_media_tags}"> + + + + + Header="{x:Static localization:UI.Menu_Edit_image_metadata}"> + + + + + Header="{x:Static localization:UI.Menu_Create_metadata_sidecar}"> + + + + + Header="{x:Static localization:UI.Menu_Edit_metadata_sidecar}"> + + + + + Command="{Binding ConsoleCommand, Mode=OneWay}"> + + + + + Command="{Binding EncodingsCommand, Mode=OneWay}"> + + + + + Command="{Binding PluginsCommand, Mode=OneWay}"> + + + + + Command="{Binding StatisticsCommand, Mode=OneWay}"> + + + + + Command="{Binding AboutCommand, Mode=OneWay}"> + + + + diff --git a/Directory.Packages.props b/Directory.Packages.props index ebeed4776..96288481d 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -17,6 +17,7 @@ +