Skip to content

Commit

Permalink
Lobotomy, where can I get one ?
Browse files Browse the repository at this point in the history
  • Loading branch information
BigSpice committed Jan 30, 2024
1 parent 97e491a commit de8b619
Show file tree
Hide file tree
Showing 12 changed files with 18 additions and 17 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
8 changes: 4 additions & 4 deletions VTOL_2.0.0/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -577,22 +577,22 @@ public void Send_Success_Notif(string Input_Message)
{

Snackbar.Appearance = Wpf.Ui.Common.ControlAppearance.Success;
Snackbar.Show("Success", Input_Message, Wpf.Ui.Common.SymbolRegular.Check24);
Snackbar.ShowAsync("Success", Input_Message, Wpf.Ui.Common.SymbolRegular.Check24);
//Dialog.Show("Feeel Fine", "23 Hours no sleep");

}

public void Send_Caution_Notif(string Input_Message)
{
Snackbar.Appearance = Wpf.Ui.Common.ControlAppearance.Caution;
Snackbar.Show("Caution", Input_Message, Wpf.Ui.Common.SymbolRegular.ErrorCircleSettings20);
Snackbar.ShowAsync("Caution", Input_Message, Wpf.Ui.Common.SymbolRegular.ErrorCircleSettings20);

}

public void Send_Info_Notif(string Input_Message)
{
Snackbar.Appearance = Wpf.Ui.Common.ControlAppearance.Info;
Snackbar.Show(VTOL.Resources.Languages.Language.INFO, Input_Message, Wpf.Ui.Common.SymbolRegular.Info24);
Snackbar.ShowAsync(VTOL.Resources.Languages.Language.INFO, Input_Message, Wpf.Ui.Common.SymbolRegular.Info24);


}
Expand All @@ -602,7 +602,7 @@ public void Send_Danger_Notif(string Input_Message, int time)

Snackbar.Timeout = time;
Snackbar.Appearance = Wpf.Ui.Common.ControlAppearance.Danger;
Snackbar.Show("Danger", Input_Message, Wpf.Ui.Common.SymbolRegular.Warning24);
Snackbar.ShowAsync("Danger", Input_Message, Wpf.Ui.Common.SymbolRegular.Warning24);
}


Expand Down
27 changes: 14 additions & 13 deletions VTOL_2.0.0/Pages/Page_Server.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,17 +64,21 @@
<local:Server_Template_Selector x:Key="Server_Template_Selector" />
</Page.Resources>
<Grid>

<Image Source="/Resources/Icons/Main_UI/server-icon-download-icons-17.png" Margin="640,174,-180,-174" Opacity="0.05" IsHitTestVisible="False"/>
<Label Content="{x:Static properties:Language.Page_Server_ConfigureImportAndExportDedicatedServerAndClientSettings}" Margin="50,0,0,573" VerticalContentAlignment="Stretch" HorizontalContentAlignment="Stretch" UseLayoutRounding="True" Padding="0,0,0,0" Height="16" VerticalAlignment="Bottom" HorizontalAlignment="Left" Width="410"/>
<Label Content="{x:Static properties:Language.Page_Server_SERVER}" Margin="50,0,357,594" VerticalContentAlignment="Stretch" HorizontalContentAlignment="Stretch" UseLayoutRounding="True" Padding="0,0,0,0" Background="{x:Null}" Foreground="White" FontSize="22" FontWeight="Bold" Height="28" VerticalAlignment="Bottom"/>
<ScrollViewer x:Name="Scoller" Margin="50,120,50,30" PanningMode="VerticalOnly" VerticalScrollBarVisibility="Visible" BorderBrush="White" Foreground="White">
<hc:SimpleStackPanel Margin="10,10,10,10" Height="1735" ScrollViewer.HorizontalScrollBarVisibility="Hidden" >


<Grid Visibility="Visible">
<Button x:Name="Launch_Northstar_Advanced" Height="40" Margin="50,175,0,0" VerticalAlignment="Top" BorderBrush="White" Background="#FF085F36" Width="370" Content="{x:Static properties:Language.Page_Server_LaunchNorthstarClient}" Click="Launch_Northstar_Advanced_Click" />
<hc:TextBox x:Name="Arg_Box" Height="82" TextWrapping="Wrap" VerticalAlignment="Top" Margin="50,84,0,0" Width="370" HorizontalAlignment="Left" KeyDown="OnKeyDownHandler_Nrml_Arg" LostFocus="Arg_Box_LostFocus" BorderBrush="{x:Null}" />
<Grid Visibility="Visible" Height="268">
<Button x:Name="Load_Files" Height="40" Width="370" Margin="83,206,0,0" VerticalAlignment="Top" Content="{x:Static properties:Language.Page_Server_LoadFiles}" BorderBrush="#FF39F1FF" Click="Load_Files_Click" Background="#FF383838" />

<Button x:Name="Import_Server_Config" Height="40" Margin="561,206,83,0" VerticalAlignment="Top" Content="{x:Static properties:Language.Page_Server_ImportServerConfig}" BorderBrush="{x:Null}" Click="Import_Server_Config_Click" Background="#FF383838" HorizontalContentAlignment="Center" HorizontalAlignment="Stretch" />

<Button x:Name="Launch_Northstar_Advanced" Height="40" Margin="83,152,0,0" VerticalAlignment="Top" BorderBrush="White" Background="#FF085F36" Width="370" Content="{x:Static properties:Language.Page_Server_LaunchNorthstarClient}" Click="Launch_Northstar_Advanced_Click" />
<hc:TextBox x:Name="Arg_Box" Height="36" TextWrapping="Wrap" VerticalAlignment="Top" Margin="60,98,0,0" Width="417" HorizontalAlignment="Left" KeyDown="OnKeyDownHandler_Nrml_Arg" LostFocus="Arg_Box_LostFocus" BorderBrush="{x:Null}" />
<Popup x:Name="autoListPopup"
Visibility="Collapsed"
Height="100"
Expand All @@ -88,22 +92,19 @@
/>
</Popup>

<Button x:Name="Dedicated_Btn" Height="40" Margin="594,175,50,0" BorderBrush="White" Background="#FF282C50" VerticalAlignment="Top" HorizontalAlignment="Stretch" Content="{x:Static properties:Language.Page_Server_LaunchNorthstarDedicatedServer}" Click="Dedicated_Btn_Click" />
<hc:TextBox x:Name="Arg_Box_Dedi" Height="86" TextWrapping="Wrap" VerticalAlignment="Top" Margin="594,82,50,0" KeyDown="OnKeyDownHandler_Dedi_Arg" LostFocus="Arg_Box_Dedi_LostFocus" BorderBrush="{x:Null}"/>
<Label Height="35" BorderBrush="{x:Null}" Background="{x:Null}" Margin="594,44,50,0" VerticalAlignment="Top" Content="{x:Static properties:Language.Page_Server_StartupArgumentsNorthstarDedicatedClient}" FontSize="14" HorizontalContentAlignment="Center" Padding="0,0,0,0" VerticalContentAlignment="Center"/>
<Label Height="35" Margin="32,44,0,0" VerticalAlignment="Top" BorderBrush="{x:Null}" Background="{x:Null}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Content="{x:Static properties:Language.Page_Server_StartupArgumentsNorthstarClient}" FontSize="14" HorizontalAlignment="Left" Width="406"/>
<Button x:Name="Dedicated_Btn" Height="40" Margin="561,152,83,0" BorderBrush="White" Background="#FF282C50" VerticalAlignment="Top" HorizontalAlignment="Stretch" Content="{x:Static properties:Language.Page_Server_LaunchNorthstarDedicatedServer}" Click="Dedicated_Btn_Click" />
<hc:TextBox x:Name="Arg_Box_Dedi" Height="36" TextWrapping="Wrap" VerticalAlignment="Top" Margin="538,98,60,0" KeyDown="OnKeyDownHandler_Dedi_Arg" LostFocus="Arg_Box_Dedi_LostFocus" BorderBrush="{x:Null}" Width="417"/>
<Label Height="35" BorderBrush="{x:Null}" Background="{x:Null}" Margin="561,44,83,0" VerticalAlignment="Top" Content="{x:Static properties:Language.Page_Server_StartupArgumentsNorthstarDedicatedClient}" FontSize="14" HorizontalContentAlignment="Center" Padding="0,0,0,0" VerticalContentAlignment="Center"/>
<Label Height="34" Margin="70,62,0,0" VerticalAlignment="Top" BorderBrush="{x:Null}" Background="{x:Null}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Content="{x:Static properties:Language.Page_Server_StartupArgumentsNorthstarClient}" FontSize="14" HorizontalAlignment="Left" Width="406"/>

</Grid>
<Button x:Name="Load_Files" Height="46" Width="916" Margin="0,23,0,0" VerticalAlignment="Top" Content="{x:Static properties:Language.Page_Server_LoadFiles}" BorderBrush="#FF39F1FF" HorizontalAlignment="Center" Click="Load_Files_Click" Background="#FF383838" />

<Button x:Name="Import_Server_Config" Height="40" Width="546" Margin="0,8,0,0" VerticalAlignment="Top" Content="{x:Static properties:Language.Page_Server_ImportServerConfig}" BorderBrush="{x:Null}" HorizontalAlignment="Center" Click="Import_Server_Config_Click" Background="#FF383838" />

<Label Height="58" Width="375" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="0,36,0,0" FontSize="36" FontFamily="Bahnschrift SemiLight" Background="{x:Null}" BorderBrush="{x:Null}" Content="STARTUP ARGUMENTS" HorizontalContentAlignment="Left" VerticalContentAlignment="Center" />
<ListBox x:Name="Startup_Arguments_UI_List" ItemTemplateSelector="{StaticResource Server_Template_Selector}" Margin="0,-4,0,-322" Background="#FF101010" BorderBrush="{x:Null}" ScrollViewer.HorizontalScrollBarVisibility="Disabled" ScrollViewer.VerticalScrollBarVisibility="Disabled" ScrollViewer.CanContentScroll="False" Height="500" PreviewMouseWheel="S" VirtualizingPanel.ScrollUnit="Pixel">
<ListBox x:Name="Startup_Arguments_UI_List" BorderThickness="1" ItemTemplateSelector="{StaticResource Server_Template_Selector}" Margin="0,-4,0,-322" Background="#FF444444" BorderBrush="#19FFFFFF" ScrollViewer.HorizontalScrollBarVisibility="Disabled" ScrollViewer.VerticalScrollBarVisibility="Disabled" ScrollViewer.CanContentScroll="False" Height="500" PreviewMouseWheel="S" VirtualizingPanel.ScrollUnit="Pixel">
</ListBox>
<Label Height="58" Width="375" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="0,387,0,0" FontSize="36" FontFamily="Bahnschrift SemiLight" Background="{x:Null}" BorderBrush="{x:Null}" Content="CONVAR ARGUMENTS" HorizontalContentAlignment="Left" VerticalContentAlignment="Center" />

<ListBox x:Name="Convar_Arguments_UI_List" Background="#FF101010" BorderBrush="{x:Null}" Height="500" VerticalAlignment="Top" ScrollViewer.CanContentScroll="False" ScrollViewer.HorizontalScrollBarVisibility="Disabled" ScrollViewer.VerticalScrollBarVisibility="Visible" Margin="0,-4,0,0" ItemTemplateSelector="{StaticResource Server_Template_Selector}" PreviewMouseWheel="Convar_Arguments_UI_List_PreviewMouseWheel" VirtualizingPanel.ScrollUnit="Pixel"/>
<ListBox x:Name="Convar_Arguments_UI_List" BorderThickness="1" Background="#FF848484" BorderBrush="#19FFFFFF" Height="500" VerticalAlignment="Top" ScrollViewer.CanContentScroll="False" ScrollViewer.HorizontalScrollBarVisibility="Disabled" ScrollViewer.VerticalScrollBarVisibility="Visible" Margin="0,-4,0,0" ItemTemplateSelector="{StaticResource Server_Template_Selector}" PreviewMouseWheel="Convar_Arguments_UI_List_PreviewMouseWheel" VirtualizingPanel.ScrollUnit="Pixel"/>

<Button x:Name="Launch_Northstar_Dedicated" Height="51" Width="764" BorderBrush="White" Margin="0,30,0,0" VerticalAlignment="Top" HorizontalAlignment="Center" Content="{x:Static properties:Language.Page_Server_LaunchNorthstarDedicatedClient}" Click="Launch_Northstar_Dedicated_Click" Background="#FF383838" />

Expand Down

0 comments on commit de8b619

Please sign in to comment.