This repository has been archived by the owner on Feb 16, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
'yea i think thats what we want' - blems
- Loading branch information
Showing
3 changed files
with
85 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
<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:i="clr-namespace:Projektanker.Icons.Avalonia;assembly=Projektanker.Icons.Avalonia" | ||
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450" | ||
x:Class="XIVLauncher2.Views.LauncherView"> | ||
<Grid VerticalAlignment="Center" HorizontalAlignment="Center" ColumnDefinitions="Auto, Auto"> | ||
|
||
<!--- News and Links --> | ||
<StackPanel Grid.Column="0"> | ||
<!-- News Images --> | ||
<Image Source="/Assets/placeholder-news.png" Stretch="UniformToFill" Width="640" Height="250" /> | ||
|
||
<!-- News Links --> | ||
<Border Background="#282828" CornerRadius="5" Margin="0,20,0,0"> | ||
<ListBox MaxHeight="150" VirtualizationMode="None"> | ||
<TextBlock VerticalAlignment="Center" Margin="10,0,0,0">News</TextBlock> | ||
<TextBlock VerticalAlignment="Center" Margin="10,0,0,0">News</TextBlock> | ||
<TextBlock VerticalAlignment="Center" Margin="10,0,0,0">News</TextBlock> | ||
<TextBlock VerticalAlignment="Center" Margin="10,0,0,0">News</TextBlock> | ||
<TextBlock VerticalAlignment="Center" Margin="10,0,0,0">News</TextBlock> | ||
<TextBlock VerticalAlignment="Center" Margin="10,0,0,0">News</TextBlock> | ||
</ListBox> | ||
</Border> | ||
</StackPanel> | ||
|
||
<!-- Login --> | ||
<Border | ||
Background="#282828" | ||
CornerRadius="5" | ||
Margin="20,0,0,0" | ||
Padding="10" | ||
Grid.Column="1"> | ||
<StackPanel Width="250" Spacing="10" VerticalAlignment="Center"> | ||
<!-- Placeholder logo text --> | ||
<TextBlock Text="{Binding XIVLauncherText}" FontSize="24" FontWeight="Bold" | ||
HorizontalAlignment="Center" /> | ||
|
||
<!-- Text boxes --> | ||
<TextBox Watermark="ID"></TextBox> | ||
<TextBox Watermark="Password" PasswordChar="*"></TextBox> | ||
|
||
<!-- Checkboxes --> | ||
<StackPanel HorizontalAlignment="Center"> | ||
<CheckBox>Log in automatically</CheckBox> | ||
<CheckBox>Use one time password</CheckBox> | ||
<CheckBox>Use Steam service account</CheckBox> | ||
</StackPanel> | ||
|
||
<!-- Buttons --> | ||
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center" | ||
Spacing="5"> | ||
<Button i:Attached.Icon="fa-play" ToolTip.Tip="Play" Height="40" Width="40" FontSize="20" | ||
Background="#1e88e5" Command="{Binding RunTheThingCommand}" /> | ||
<Button i:Attached.Icon="fa-user-group" ToolTip.Tip="Accounts" Height="40" Width="40" | ||
FontSize="20" /> | ||
<Button i:Attached.Icon="fa-cog" ToolTip.Tip="Settings" Height="40" Width="40" | ||
FontSize="20" /> | ||
</StackPanel> | ||
</StackPanel> | ||
</Border> | ||
</Grid> | ||
</UserControl> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
using Avalonia; | ||
using Avalonia.Controls; | ||
using Avalonia.Markup.Xaml; | ||
|
||
namespace XIVLauncher2.Views; | ||
|
||
public partial class LauncherView : UserControl | ||
{ | ||
public LauncherView() | ||
{ | ||
InitializeComponent(); | ||
} | ||
|
||
private void InitializeComponent() | ||
{ | ||
AvaloniaXamlLoader.Load(this); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters