Files
Aaru/Aaru.Gui/Views/Tabs/XboxInfo.xaml

103 lines
5.2 KiB
Plaintext
Raw Normal View History

2020-04-17 21:45:50 +01:00
<!--
// /***************************************************************************
// Aaru Data Preservation Suite
//
//
// Filename : XboxInfo.xaml
// Author(s) : Natalia Portillo <claunia@claunia.com>
//
// Component : GUI tabs.
//
// [ Description ]
//
// Xbox Game Disc information tab.
//
// [ 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
<UserControl xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
2024-05-01 04:05:22 +01:00
xmlns:tabs="clr-namespace:Aaru.Gui.ViewModels.Tabs"
mc:Ignorable="d"
d:DesignWidth="800"
d:DesignHeight="450"
x:Class="Aaru.Gui.Views.Tabs.XboxInfo">
<Design.DataContext>
2020-04-16 20:40:25 +01:00
<tabs:XboxInfoViewModel />
</Design.DataContext>
<StackPanel>
2020-04-16 20:40:25 +01:00
<StackPanel IsVisible="{Binding XboxInformationVisible}">
2024-05-01 04:05:22 +01:00
<StackPanel Orientation="Horizontal"
IsVisible="{Binding !!XboxL0VideoText}">
<TextBlock Text="{Binding XboxL0VideoLabel}" />
2024-05-01 04:05:22 +01:00
<TextBox IsReadOnly="True"
Text="{Binding XboxL0VideoText}" />
2020-04-16 20:40:25 +01:00
</StackPanel>
2024-05-01 04:05:22 +01:00
<StackPanel Orientation="Horizontal"
IsVisible="{Binding !!XboxL1VideoText}">
<TextBlock Text="{Binding XboxL1VideoLabel}" />
2024-05-01 04:05:22 +01:00
<TextBox IsReadOnly="True"
Text="{Binding XboxL1VideoText}" />
2020-04-16 20:40:25 +01:00
</StackPanel>
2024-05-01 04:05:22 +01:00
<StackPanel Orientation="Horizontal"
IsVisible="{Binding !!XboxMiddleZoneText}">
<TextBlock Text="{Binding XboxMiddleZoneLabel}" />
2024-05-01 04:05:22 +01:00
<TextBox IsReadOnly="True"
Text="{Binding XboxMiddleZoneText}" />
2020-04-16 20:40:25 +01:00
</StackPanel>
2024-05-01 04:05:22 +01:00
<StackPanel Orientation="Horizontal"
IsVisible="{Binding !!XboxGameSizeText}">
<TextBlock Text="{Binding XboxGameSizeLabel}" />
2024-05-01 04:05:22 +01:00
<TextBox IsReadOnly="True"
Text="{Binding XboxGameSizeText}" />
2020-04-16 20:40:25 +01:00
</StackPanel>
2024-05-01 04:05:22 +01:00
<StackPanel Orientation="Horizontal"
IsVisible="{Binding !!XboxTotalSizeText}">
<TextBlock Text="{Binding XboxTotalSizeLabel}" />
2024-05-01 04:05:22 +01:00
<TextBox IsReadOnly="True"
Text="{Binding XboxTotalSizeText}" />
2020-04-16 20:40:25 +01:00
</StackPanel>
2024-05-01 04:05:22 +01:00
<StackPanel Orientation="Horizontal"
IsVisible="{Binding !!XboxRealBreakText}">
<TextBlock Text="{Binding XboxRealBreakLabel}" />
2024-05-01 04:05:22 +01:00
<TextBox IsReadOnly="True"
Text="{Binding XboxRealBreakText}" />
2020-04-16 20:40:25 +01:00
</StackPanel>
</StackPanel>
<StackPanel>
<StackPanel IsVisible="{Binding !!XboxDmiText}">
2024-05-01 04:05:22 +01:00
<TextBlock Text="{Binding XboxDmiLabel}" />
<TextBox IsReadOnly="True"
Text="{Binding XboxDmiText}" />
2020-04-16 20:40:25 +01:00
</StackPanel>
<StackPanel IsVisible="{Binding !!XboxSsText}">
2024-05-01 04:05:22 +01:00
<TextBlock Text="{Binding XboxSsLabel}" />
<TextBox IsReadOnly="True"
Text="{Binding XboxSsText}" />
2020-04-16 20:40:25 +01:00
</StackPanel>
2024-05-01 04:05:22 +01:00
<Button HorizontalAlignment="Right"
IsVisible="{Binding SaveXboxSsVisible}"
2020-04-16 20:40:25 +01:00
Command="{Binding SaveXboxSsCommand}">
<TextBlock Text="{Binding SaveXboxSsLabel}" />
2020-04-16 20:40:25 +01:00
</Button>
</StackPanel>
</StackPanel>
</UserControl>