|
2 | 2 | xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
3 | 3 | xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
4 | 4 | xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
5 | | - xmlns:i="clr-namespace:Projektanker.Icons.Avalonia;assembly=Projektanker.Icons.Avalonia" |
6 | 5 | xmlns:vm="using:XIVLauncher2.ViewModels" |
| 6 | + xmlns:views="clr-namespace:XIVLauncher2.Views" |
7 | 7 | mc:Ignorable="d" d:DesignWidth="1000" d:DesignHeight="500" |
8 | 8 | x:Class="XIVLauncher2.MainWindow" |
9 | 9 | Title="XIVLauncher2" |
|
22 | 22 | <ExperimentalAcrylicMaterial BackgroundSource="Digger" TintOpacity="1" TintColor="Black" |
23 | 23 | MaterialOpacity="0.75" FallbackColor="DarkBlue" /> |
24 | 24 | </ExperimentalAcrylicBorder.Material> |
| 25 | + |
25 | 26 | <Viewbox> |
26 | | - <Grid VerticalAlignment="Center" HorizontalAlignment="Center" ColumnDefinitions="Auto, Auto"> |
27 | | - |
28 | | - <!--- News and Links --> |
29 | | - <StackPanel Grid.Column="0"> |
30 | | - <!-- News Images --> |
31 | | - <Image Source="/Assets/placeholder-news.png" Stretch="UniformToFill" Width="640" Height="250" /> |
32 | | - |
33 | | - <!-- News Links --> |
34 | | - <Border Background="#282828" CornerRadius="5" Margin="0,20,0,0"> |
35 | | - <ListBox MaxHeight="150" VirtualizationMode="None"> |
36 | | - <TextBlock VerticalAlignment="Center" Margin="10,0,0,0">News</TextBlock> |
37 | | - <TextBlock VerticalAlignment="Center" Margin="10,0,0,0">News</TextBlock> |
38 | | - <TextBlock VerticalAlignment="Center" Margin="10,0,0,0">News</TextBlock> |
39 | | - <TextBlock VerticalAlignment="Center" Margin="10,0,0,0">News</TextBlock> |
40 | | - <TextBlock VerticalAlignment="Center" Margin="10,0,0,0">News</TextBlock> |
41 | | - <TextBlock VerticalAlignment="Center" Margin="10,0,0,0">News</TextBlock> |
42 | | - </ListBox> |
43 | | - </Border> |
44 | | - </StackPanel> |
45 | | - |
46 | | - <!-- Login --> |
47 | | - <Border |
48 | | - Background="#282828" |
49 | | - CornerRadius="5" |
50 | | - Margin="20,0,0,0" |
51 | | - Padding="10" |
52 | | - Grid.Column="1"> |
53 | | - <StackPanel Width="250" Spacing="10" VerticalAlignment="Center"> |
54 | | - <!-- Placeholder logo text --> |
55 | | - <TextBlock Text="{Binding XIVLauncherText}" FontSize="24" FontWeight="Bold" HorizontalAlignment="Center" /> |
56 | | - |
57 | | - <!-- Text boxes --> |
58 | | - <TextBox Watermark="ID"></TextBox> |
59 | | - <TextBox Watermark="Password" PasswordChar="*"></TextBox> |
60 | | - |
61 | | - <!-- Checkboxes --> |
62 | | - <StackPanel HorizontalAlignment="Center"> |
63 | | - <CheckBox>Log in automatically</CheckBox> |
64 | | - <CheckBox>Use one time password</CheckBox> |
65 | | - <CheckBox>Use Steam service account</CheckBox> |
66 | | - </StackPanel> |
67 | | - |
68 | | - <!-- Buttons --> |
69 | | - <StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center" |
70 | | - Spacing="5"> |
71 | | - <Button i:Attached.Icon="fa-play" ToolTip.Tip="Play" Height="40" Width="40" FontSize="20" |
72 | | - Background="#1e88e5" Command="{Binding RunTheThingCommand}" /> |
73 | | - <Button i:Attached.Icon="fa-user-group" ToolTip.Tip="Accounts" Height="40" Width="40" |
74 | | - FontSize="20" /> |
75 | | - <Button i:Attached.Icon="fa-cog" ToolTip.Tip="Settings" Height="40" Width="40" |
76 | | - FontSize="20" /> |
77 | | - </StackPanel> |
78 | | - </StackPanel> |
79 | | - </Border> |
80 | | - </Grid> |
| 27 | + <views:LauncherView /> |
81 | 28 | </Viewbox> |
82 | 29 | </ExperimentalAcrylicBorder> |
83 | 30 | </Window> |
0 commit comments