mirror of
https://github.com/tuxdotrs/highminded.git
synced 2025-08-23 08:01:03 +05:30
feat: initial commit
This commit is contained in:
53
ui/windows/MainWindow.axaml
Normal file
53
ui/windows/MainWindow.axaml
Normal file
@@ -0,0 +1,53 @@
|
||||
<Window 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:iconPacks="https://github.com/MahApps/IconPacks.Avalonia"
|
||||
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
||||
x:Class="highminded.ui.windows.MainWindow"
|
||||
Title="highminded"
|
||||
Height="600"
|
||||
Width="800"
|
||||
ShowInTaskbar="False"
|
||||
ShowActivated="True"
|
||||
Topmost="True"
|
||||
WindowStartupLocation="CenterScreen"
|
||||
SystemDecorations="None"
|
||||
TransparencyLevelHint="Transparent"
|
||||
Background="Transparent"
|
||||
Foreground="#fff"
|
||||
TransparencyBackgroundFallback="Transparent"
|
||||
FontSize="16">
|
||||
<Grid RowDefinitions="Auto,*" Margin="5" RowSpacing="10">
|
||||
<Border Grid.Row="0" CornerRadius="5" Background="Black" Opacity="0.8" PointerPressed="OnPointerPressed">
|
||||
<Grid ColumnDefinitions="*,Auto" Margin="15 10">
|
||||
<TextBlock Grid.Column="0" VerticalAlignment="Center" Margin="5">High Minded</TextBlock>
|
||||
<StackPanel Grid.Column="1" Orientation="Horizontal" VerticalAlignment="Center"
|
||||
HorizontalAlignment="Center">
|
||||
<Border Background="Black" BorderBrush="#19ffffff" BorderThickness="2" CornerRadius="5"
|
||||
Margin="0 0 10 0">
|
||||
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center"
|
||||
Spacing="5" Margin="10 0">
|
||||
<TextBlock FontSize="12" Text="Hide:" />
|
||||
<TextBlock FontSize="12" Text="CTRL + \" />
|
||||
</StackPanel>
|
||||
</Border>
|
||||
<Button Name="ChatBtn" Background="Transparent" Click="ChatBtnClick">
|
||||
<iconPacks:PackIconLucide Grid.Column="1" Kind="Brain" Height="16" Width="16" />
|
||||
</Button>
|
||||
<Button Name="SettingsBtn" Background="Transparent" Click="SettingBtnClick">
|
||||
<iconPacks:PackIconLucide Grid.Column="1" Kind="Settings" Height="16" Width="16" />
|
||||
</Button>
|
||||
<Button Name="HideBtn" Background="Transparent">
|
||||
<iconPacks:PackIconLucide Grid.Column="1" Kind="X" Height="13" Width="13" />
|
||||
</Button>
|
||||
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
</Border>
|
||||
|
||||
<Border Grid.Row="1" CornerRadius="5" Background="Black" Opacity="0.8">
|
||||
<UserControl Name="UControl" />
|
||||
</Border>
|
||||
</Grid>
|
||||
</Window>
|
Reference in New Issue
Block a user