Files
Aaru/Aaru.Gui/App.xaml

58 lines
3.2 KiB
Plaintext
Raw Normal View History

2020-04-17 21:45:50 +01:00
<!--
// /***************************************************************************
// Aaru Data Preservation Suite
//
//
// Filename : App.xaml
// Author(s) : Natalia Portillo <claunia@claunia.com>
//
// Component : GUI.
//
// [ Description ]
//
// GUI globals.
//
// [ License ]
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General public License as
// published by the Free Software Foundation, either version 3 of the
// License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General public License for more details.
//
// You should have received a copy of the GNU General public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
//
//
2024-12-19 10:45:18 +00:00
// Copyright © 2011-2025 Natalia Portillo
2020-04-17 21:45:50 +01:00
// ****************************************************************************/
-->
2024-05-01 04:05:22 +01:00
<Application xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
2025-10-25 12:53:52 +01:00
xmlns:localization="clr-namespace:Aaru.Localization;assembly=Aaru.Localization"
xmlns:helpers="clr-namespace:Aaru.Gui.Helpers"
2024-05-01 04:05:22 +01:00
x:Class="Aaru.Gui.App">
<Application.Resources>
<helpers:ThemeToSvgPathConverter x:Key="ThemeToSvgPathConverter" />
</Application.Resources>
2020-04-09 02:26:04 +01:00
<Application.Styles>
<FluentTheme /> <StyleInclude Source="avares://Avalonia.Controls.DataGrid/Themes/Fluent.xaml" />
2023-09-25 22:58:48 +01:00
<!-- TODO: Abandoned project need to find replacement
2020-04-17 21:45:50 +01:00
<StyleInclude Source="resm:OxyPlot.Avalonia.Themes.Default.xaml?assembly=OxyPlot.Avalonia" />
2023-09-25 22:58:48 +01:00
-->
2020-04-09 02:26:04 +01:00
</Application.Styles>
2020-04-09 18:18:56 +01:00
<NativeMenu.Menu>
<NativeMenu>
2025-10-25 12:53:52 +01:00
<NativeMenuItem Header="{x:Static localization:UI.Menu_About}"
2024-05-01 04:05:22 +01:00
Click="OnAboutClicked" />
<NativeMenuItem Header="{x:Static localization:UI.Menu_Preferences}"
2024-05-01 04:05:22 +01:00
Click="OnPreferencesClicked" />
<NativeMenuItem Header="{x:Static localization:UI.Menu_Quit}"
2024-05-01 04:05:22 +01:00
Click="OnQuitClicked" />
2020-04-09 18:18:56 +01:00
</NativeMenu>
</NativeMenu.Menu>
2020-04-10 01:10:55 +01:00
</Application>