mirror of
https://github.com/ZuneDev/ZuneModdingHelper.git
synced 2026-07-27 13:12:21 -07:00
Add placeholder Settings and About pages
This commit is contained in:
@@ -0,0 +1,20 @@
|
|||||||
|
<UserControl x:Class="ZuneModdingHelper.Pages.AboutPage"
|
||||||
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||||
|
xmlns:local="clr-namespace:ZuneModdingHelper.Pages"
|
||||||
|
mc:Ignorable="d"
|
||||||
|
d:DesignHeight="450" d:DesignWidth="800">
|
||||||
|
<StackPanel HorizontalAlignment="Left">
|
||||||
|
<Border Padding="8">
|
||||||
|
<Button Content="About ZMH" Style="{StaticResource ActionButtonStyle}"
|
||||||
|
VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
||||||
|
</Border>
|
||||||
|
|
||||||
|
<Border Padding="8" Background="Black">
|
||||||
|
<Button Content="Buy" Style="{StaticResource ActionButtonPinkStyle}"
|
||||||
|
VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
||||||
|
</Border>
|
||||||
|
</StackPanel>
|
||||||
|
</UserControl>
|
||||||
@@ -0,0 +1,28 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using System.Windows;
|
||||||
|
using System.Windows.Controls;
|
||||||
|
using System.Windows.Data;
|
||||||
|
using System.Windows.Documents;
|
||||||
|
using System.Windows.Input;
|
||||||
|
using System.Windows.Media;
|
||||||
|
using System.Windows.Media.Imaging;
|
||||||
|
using System.Windows.Navigation;
|
||||||
|
using System.Windows.Shapes;
|
||||||
|
|
||||||
|
namespace ZuneModdingHelper.Pages
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Interaction logic for AboutPage.xaml
|
||||||
|
/// </summary>
|
||||||
|
public partial class AboutPage : UserControl
|
||||||
|
{
|
||||||
|
public AboutPage()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -14,12 +14,12 @@
|
|||||||
<ListView x:Name="ModList" HorizontalContentAlignment="Stretch" BorderThickness="0"
|
<ListView x:Name="ModList" HorizontalContentAlignment="Stretch" BorderThickness="0"
|
||||||
ScrollViewer.HorizontalScrollBarVisibility="Disabled">
|
ScrollViewer.HorizontalScrollBarVisibility="Disabled">
|
||||||
<ListView.Resources>
|
<ListView.Resources>
|
||||||
<Style x:Key="MetroButton" TargetType="Button">
|
<Style x:Key="MetroButton" TargetType="Button" BasedOn="{StaticResource Ü}">
|
||||||
<Setter Property="VerticalAlignment" Value="Center"/>
|
<Setter Property="VerticalAlignment" Value="Center"/>
|
||||||
<Setter Property="Margin" Value="8,0,0,0"/>
|
<Setter Property="Margin" Value="8,0,0,0"/>
|
||||||
<Setter Property="Grid.RowSpan" Value="3"/>
|
<Setter Property="Grid.RowSpan" Value="3"/>
|
||||||
</Style>
|
</Style>
|
||||||
<Style x:Key="MetroAccentButton" TargetType="Button">
|
<Style x:Key="MetroAccentButton" TargetType="Button" BasedOn="{StaticResource Ü}">
|
||||||
<Setter Property="VerticalAlignment" Value="Center"/>
|
<Setter Property="VerticalAlignment" Value="Center"/>
|
||||||
<Setter Property="Margin" Value="8,0,0,0"/>
|
<Setter Property="Margin" Value="8,0,0,0"/>
|
||||||
<Setter Property="Grid.RowSpan" Value="3"/>
|
<Setter Property="Grid.RowSpan" Value="3"/>
|
||||||
@@ -28,7 +28,7 @@
|
|||||||
|
|
||||||
<ListView.ItemTemplate>
|
<ListView.ItemTemplate>
|
||||||
<DataTemplate DataType="{x:Type core:Mod}">
|
<DataTemplate DataType="{x:Type core:Mod}">
|
||||||
<Border BorderThickness="0,0,0,0" Padding="8">
|
<Border BorderThickness="0" Padding="8">
|
||||||
<Grid>
|
<Grid>
|
||||||
<Grid.RowDefinitions>
|
<Grid.RowDefinitions>
|
||||||
<RowDefinition Height="Auto"/>
|
<RowDefinition Height="Auto"/>
|
||||||
|
|||||||
@@ -0,0 +1,12 @@
|
|||||||
|
<UserControl x:Class="ZuneModdingHelper.Pages.SettingsPage"
|
||||||
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||||
|
xmlns:local="clr-namespace:ZuneModdingHelper.Pages"
|
||||||
|
mc:Ignorable="d"
|
||||||
|
d:DesignHeight="450" d:DesignWidth="800">
|
||||||
|
<Grid>
|
||||||
|
<TextBlock Text="SETTINGS" FontSize="50" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
||||||
|
</Grid>
|
||||||
|
</UserControl>
|
||||||
@@ -0,0 +1,28 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using System.Windows;
|
||||||
|
using System.Windows.Controls;
|
||||||
|
using System.Windows.Data;
|
||||||
|
using System.Windows.Documents;
|
||||||
|
using System.Windows.Input;
|
||||||
|
using System.Windows.Media;
|
||||||
|
using System.Windows.Media.Imaging;
|
||||||
|
using System.Windows.Navigation;
|
||||||
|
using System.Windows.Shapes;
|
||||||
|
|
||||||
|
namespace ZuneModdingHelper.Pages
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Interaction logic for SettingsPage.xaml
|
||||||
|
/// </summary>
|
||||||
|
public partial class SettingsPage : UserControl
|
||||||
|
{
|
||||||
|
public SettingsPage()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user