added logo with color
This commit is contained in:
parent
d865c2f051
commit
522d410a08
4 changed files with 92 additions and 25 deletions
|
|
@ -5,45 +5,66 @@
|
|||
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
||||
x:Class="MetaforceInstaller.UI.MainWindow"
|
||||
Title="MetaforceInstaller">
|
||||
|
||||
|
||||
<Window.Resources>
|
||||
<ResourceDictionary>
|
||||
<ResourceDictionary.ThemeDictionaries>
|
||||
<ResourceDictionary x:Key="Light">
|
||||
<SvgImage x:Key="Logo" Source="/Images/logo_black.svg"/>
|
||||
</ResourceDictionary>
|
||||
|
||||
<ResourceDictionary x:Key="Dark">
|
||||
<SvgImage x:Key="Logo" Source="/Images/logo_white.svg"/>
|
||||
</ResourceDictionary>
|
||||
</ResourceDictionary.ThemeDictionaries>
|
||||
</ResourceDictionary>
|
||||
</Window.Resources>
|
||||
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="*"/>
|
||||
<RowDefinition Height="Auto"/>
|
||||
<RowDefinition Height="*" />
|
||||
<RowDefinition Height="Auto" />
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
|
||||
<!-- Main Content Area -->
|
||||
<Grid Grid.Row="0" Margin="8">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="3*"/> <!-- 30% -->
|
||||
<ColumnDefinition Width="7*"/> <!-- 70% -->
|
||||
<ColumnDefinition Width="3*" /> <!-- 30% -->
|
||||
<ColumnDefinition Width="7*" /> <!-- 70% -->
|
||||
</Grid.ColumnDefinitions>
|
||||
|
||||
|
||||
<!-- Left Panel - Buttons -->
|
||||
<StackPanel Grid.Column="0" Margin="20" Spacing="15">
|
||||
<Button Name="ChooseApkButton" Content="Choose .apk"
|
||||
HorizontalAlignment="Stretch"/>
|
||||
|
||||
<Button Name="ChooseContentButton" Content="Choose .zip"
|
||||
HorizontalAlignment="Stretch"/>
|
||||
|
||||
<Button Name="InstallButton" Content="Install"
|
||||
HorizontalAlignment="Stretch"/>
|
||||
<Button Name="ChooseApkButton" Content="Choose .apk"
|
||||
HorizontalAlignment="Stretch" />
|
||||
|
||||
<Button Name="ChooseContentButton" Content="Choose .zip"
|
||||
HorizontalAlignment="Stretch" />
|
||||
|
||||
<Button Name="InstallButton" Content="Install"
|
||||
HorizontalAlignment="Stretch" />
|
||||
</StackPanel>
|
||||
|
||||
|
||||
<Image Grid.Column="0"
|
||||
Margin="20"
|
||||
VerticalAlignment="Bottom"
|
||||
Source="{DynamicResource Logo}"
|
||||
HorizontalAlignment="Center">
|
||||
</Image>
|
||||
|
||||
<!-- Right Panel - Logs -->
|
||||
<TextBox Grid.Column="1" Name="LogsTextBox"
|
||||
IsReadOnly="True"
|
||||
AcceptsReturn="True"
|
||||
<TextBox Grid.Column="1" Name="LogsTextBox"
|
||||
IsReadOnly="True"
|
||||
AcceptsReturn="True"
|
||||
TextWrapping="Wrap"
|
||||
FontFamily="Consolas,Courier New,monospace"
|
||||
Focusable="False"
|
||||
Margin="4,0,0,0"/>
|
||||
Margin="4,0,0,0" />
|
||||
</Grid>
|
||||
|
||||
|
||||
<!-- Progress Bar at Bottom -->
|
||||
<ProgressBar Grid.Row="1" Name="InstallProgressBar"
|
||||
Height="20" Minimum="0" Maximum="100" Value="0"
|
||||
Margin="8"/>
|
||||
<ProgressBar Grid.Row="1" Name="InstallProgressBar"
|
||||
Height="20" Minimum="0" Maximum="100" Value="0"
|
||||
Margin="8" />
|
||||
</Grid>
|
||||
</Window>
|
||||
</Window>
|
||||
Loading…
Add table
Add a link
Reference in a new issue