mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-22 10:31:26 -07:00
111 lines
7.3 KiB
XML
111 lines
7.3 KiB
XML
<ui:UiPage x:Class="Bloxstrap.Views.Pages.FastFlagsPage"
|
|
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:Bloxstrap.Views.Pages"
|
|
xmlns:models="clr-namespace:Bloxstrap.ViewModels"
|
|
xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml"
|
|
mc:Ignorable="d"
|
|
d:DesignHeight="1000" d:DesignWidth="800"
|
|
Title="FastFlagsPage"
|
|
Scrollable="True">
|
|
|
|
<StackPanel Margin="0,0,14,14">
|
|
<TextBlock Text="Control how specific Roblox engine parameters and features are configured." FontSize="14" Foreground="{DynamicResource TextFillColorSecondaryBrush}" />
|
|
<ui:CardAction x:Name="OpenClientSettingsCardAction" Grid.Row="1" Grid.ColumnSpan="2" Margin="0,8,0,0" Padding="16,13,16,12" Icon="DocumentEdit24" Command="{Binding OpenClientSettingsCommand}" IsEnabled="{Binding Source={x:Static models:GlobalViewModel.IsNotFirstRun}, Mode=OneTime}">
|
|
<StackPanel>
|
|
<TextBlock FontSize="14" Text="Edit ClientAppSettings.json">
|
|
<!--this is so fucking stupid the disabled state of the cardaction doesnt change the header text colour-->
|
|
<TextBlock.Style>
|
|
<Style>
|
|
<Style.Triggers>
|
|
<DataTrigger Binding="{Binding ElementName=OpenModFolderCardAction, Path=IsEnabled, Mode=OneTime}" Value="False">
|
|
<Setter Property="TextBlock.Foreground" Value="{DynamicResource TextFillColorDisabledBrush}" />
|
|
</DataTrigger>
|
|
</Style.Triggers>
|
|
</Style>
|
|
</TextBlock.Style>
|
|
</TextBlock>
|
|
<TextBlock Margin="0,2,0,0" FontSize="12" Foreground="{DynamicResource TextFillColorTertiaryBrush}">
|
|
<TextBlock.Style>
|
|
<Style>
|
|
<Setter Property="TextBlock.Text" Value="Where all FastFlags are saved to. Use this to manage your own flags."/>
|
|
<Style.Triggers>
|
|
<DataTrigger Binding="{Binding ElementName=OpenModFolderCardAction, Path=IsEnabled, Mode=OneTime}" Value="False">
|
|
<Setter Property="TextBlock.Text" Value="Bloxstrap must first be installed." />
|
|
</DataTrigger>
|
|
</Style.Triggers>
|
|
</Style>
|
|
</TextBlock.Style>
|
|
</TextBlock>
|
|
</StackPanel>
|
|
</ui:CardAction>
|
|
|
|
<TextBlock Text="Presets" FontSize="16" FontWeight="Medium" Margin="0,16,0,0" />
|
|
<ui:CardControl Margin="0,8,0,0" Padding="16,13,16,12">
|
|
<ui:CardControl.Header>
|
|
<StackPanel>
|
|
<TextBlock FontSize="14" Text="Framerate limit" />
|
|
<TextBlock Margin="0,2,0,0" FontSize="12" Text="By default, it's 60FPS. Use a really high number like 9999 for no limit." Foreground="{DynamicResource TextFillColorTertiaryBrush}" />
|
|
</StackPanel>
|
|
</ui:CardControl.Header>
|
|
<ui:TextBox Margin="5,0,0,0" Padding="10,5,10,5" Width="200" Text="{Binding FramerateLimit, Mode=TwoWay}" PreviewTextInput="ValidateInt32" />
|
|
</ui:CardControl>
|
|
<ui:CardControl Margin="0,8,0,0" Padding="16,13,16,12">
|
|
<ui:CardControl.Header>
|
|
<StackPanel>
|
|
<TextBlock FontSize="14" Text="Rendering mode" />
|
|
<TextBlock Margin="0,2,0,0" FontSize="12" Text="Select which renderer Roblox should use. ReShade requires Direct3D 11." Foreground="{DynamicResource TextFillColorTertiaryBrush}" />
|
|
</StackPanel>
|
|
</ui:CardControl.Header>
|
|
<ComboBox Margin="5,0,0,0" Padding="10,5,10,5" Width="200" ItemsSource="{Binding RenderingModes.Keys, Mode=OneTime}" Text="{Binding SelectedRenderingMode, Mode=TwoWay}" />
|
|
</ui:CardControl>
|
|
<ui:CardControl Margin="0,8,0,0" Padding="16,13,16,12">
|
|
<ui:CardControl.Header>
|
|
<StackPanel>
|
|
<TextBlock FontSize="14" Text="Use exclusive fullscreen" />
|
|
<TextBlock Margin="0,2,0,0" FontSize="12" Text="Enables using Alt + Enter to enter exclusive fullscreen. Only works with Direct3D 11." Foreground="{DynamicResource TextFillColorTertiaryBrush}" />
|
|
</StackPanel>
|
|
</ui:CardControl.Header>
|
|
<ui:ToggleSwitch IsChecked="{Binding ExclusiveFullscreenEnabled, Mode=TwoWay}" />
|
|
</ui:CardControl>
|
|
<ui:CardControl Margin="0,8,0,0" Padding="16,13,16,12">
|
|
<ui:CardControl.Header>
|
|
<StackPanel>
|
|
<TextBlock FontSize="14" Text="Use alternate graphics quality selector" />
|
|
<TextBlock Margin="0,2,0,0" FontSize="12" Text="Toggle between using the consolidated 1-10 / fine-grained 1-21 graphics quality slider." Foreground="{DynamicResource TextFillColorTertiaryBrush}" />
|
|
</StackPanel>
|
|
</ui:CardControl.Header>
|
|
<ui:ToggleSwitch IsChecked="{Binding AlternateGraphicsSelectorEnabled, Mode=TwoWay}" />
|
|
</ui:CardControl>
|
|
<ui:CardControl Margin="0,8,0,0" Padding="16,13,16,12">
|
|
<ui:CardControl.Header>
|
|
<StackPanel>
|
|
<TextBlock FontSize="14" Text="In-game menu version" />
|
|
<TextBlock Margin="0,2,0,0" FontSize="12" Text="Choose which version of the in-game menu to use. Current default is v1." Foreground="{DynamicResource TextFillColorTertiaryBrush}" />
|
|
</StackPanel>
|
|
</ui:CardControl.Header>
|
|
<ComboBox Margin="5,0,0,0" Padding="10,5,10,5" Width="200" ItemsSource="{Binding IGMenuVersions.Keys, Mode=OneTime}" Text="{Binding SelectedIGMenuVersion, Mode=TwoWay}" />
|
|
</ui:CardControl>
|
|
<ui:CardControl Margin="0,8,0,0" Padding="16,13,16,12">
|
|
<ui:CardControl.Header>
|
|
<StackPanel>
|
|
<TextBlock FontSize="14" Text="Lighting technology" />
|
|
<TextBlock Margin="0,2,0,0" FontSize="12" Text="Select which lighting technology should always be used in every game." Foreground="{DynamicResource TextFillColorTertiaryBrush}" />
|
|
</StackPanel>
|
|
</ui:CardControl.Header>
|
|
<ComboBox Margin="5,0,0,0" Padding="10,5,10,5" Width="200" ItemsSource="{Binding LightingTechnologies.Keys, Mode=OneTime}" Text="{Binding SelectedLightingTechnology, Mode=TwoWay}" />
|
|
</ui:CardControl>
|
|
<ui:CardControl Margin="0,8,0,0" Padding="16,13,16,12">
|
|
<ui:CardControl.Header>
|
|
<StackPanel>
|
|
<TextBlock FontSize="14" Text="Use mobile interface in desktop app" />
|
|
<TextBlock Margin="0,2,0,0" FontSize="12" Text="Why would you want to do this? I don't know. But like, why not?" Foreground="{DynamicResource TextFillColorTertiaryBrush}" />
|
|
</StackPanel>
|
|
</ui:CardControl.Header>
|
|
<ui:ToggleSwitch IsChecked="{Binding MobileLuaAppInterfaceEnabled, Mode=TwoWay}" />
|
|
</ui:CardControl>
|
|
</StackPanel>
|
|
</ui:UiPage>
|