mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Add the new controls/vms
This commit is contained in:
parent
514ffd4c06
commit
7163f1c8f0
37
Wabbajack.App/Screens/LogScreenView.axaml
Normal file
37
Wabbajack.App/Screens/LogScreenView.axaml
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
<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"
|
||||||
|
xmlns:controls="clr-namespace:Wabbajack.App.Controls"
|
||||||
|
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
||||||
|
x:Class="Wabbajack.App.Screens.LogScreenView">
|
||||||
|
<Grid RowDefinitions="*, Auto">
|
||||||
|
<Viewbox Grid.Row="0"
|
||||||
|
Name="Banner"
|
||||||
|
HorizontalAlignment="Center"
|
||||||
|
VerticalAlignment="Center"
|
||||||
|
Stretch="UniformToFill">
|
||||||
|
<Image x:Name="ModListImage" Margin="0,0,0,0" Source="../Assets/Wabba_Mouth.png" />
|
||||||
|
</Viewbox>
|
||||||
|
<Grid Grid.Row="0" RowDefinitions="40, 40" HorizontalAlignment="Left" VerticalAlignment="Bottom">
|
||||||
|
<TextBlock x:Name="ModListName"></TextBlock>
|
||||||
|
</Grid>
|
||||||
|
<Grid Margin="40" RowDefinitions="40, 40, 40, *" ColumnDefinitions="100, *, 200" Grid.Row="1">
|
||||||
|
<Label Grid.Column="0" Grid.Row="0" HorizontalAlignment="Right" VerticalAlignment="Center">ModList:</Label>
|
||||||
|
<TextBox Grid.Column="1" Grid.Row="0" IsEnabled="False" Height="20" x:Name="ModList"></TextBox>
|
||||||
|
|
||||||
|
<Label Grid.Column="0" Grid.Row="1" HorizontalAlignment="Right" VerticalAlignment="Center">Location:</Label>
|
||||||
|
<TextBox Grid.Column="1" Grid.Row="1" IsEnabled="False" Height="20" x:Name="InstallPath"></TextBox>
|
||||||
|
|
||||||
|
<Grid Grid.Column="1" Grid.Row="3" Grid.ColumnDefinitions="*, *, *" HorizontalAlignment="Center">
|
||||||
|
<Button Grid.Column="0" x:Name="WebsiteButton">Website</Button>
|
||||||
|
<Button Grid.Column="1" x:Name="ReadmeButton">Readme</Button>
|
||||||
|
<Button Grid.Column="2" x:Name="LocalFilesButton">Local Files</Button>
|
||||||
|
</Grid>
|
||||||
|
|
||||||
|
<controls:LargeIconButton x:Name="PlayGame" Margin="40, 0, 0, 0" Grid.Row="0" Grid.Column="2" Grid.RowSpan="4" Icon="PlayCircle" Text="Play">
|
||||||
|
|
||||||
|
</controls:LargeIconButton>
|
||||||
|
</Grid>
|
||||||
|
</Grid>
|
||||||
|
</UserControl>
|
8
Wabbajack.App/Screens/LogScreenView.axaml.cs
Normal file
8
Wabbajack.App/Screens/LogScreenView.axaml.cs
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
using Wabbajack.App.Views;
|
||||||
|
|
||||||
|
namespace Wabbajack.App.Screens;
|
||||||
|
|
||||||
|
public partial class LogScreenView : ScreenBase<LogScreenViewModel>
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
9
Wabbajack.App/Screens/LogScreenViewModel.cs
Normal file
9
Wabbajack.App/Screens/LogScreenViewModel.cs
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
using ReactiveUI;
|
||||||
|
using Wabbajack.App.ViewModels;
|
||||||
|
|
||||||
|
namespace Wabbajack.App.Screens;
|
||||||
|
|
||||||
|
public class LogScreenViewModel : ViewModelBase, IActivatableViewModel
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user