Categorise FFlag presets

This commit is contained in:
pizzaboxer 2024-06-28 18:02:46 +04:00
parent a37ea6079c
commit fdcc21de36
No known key found for this signature in database
GPG Key ID: 59D4A1DBAD0F2BA8
3 changed files with 53 additions and 24 deletions

View File

@ -1878,7 +1878,7 @@ namespace Bloxstrap.Resources {
/// <summary>
/// Looks up a localized string similar to Fast Flags are extremely powerful, being that they are intended to only be used by Roblox engineers. While they can be very useful, manually configuring them can cause serious issues with stability and functionality. Do NOT use the editor if you are unsure of what you are doing.
///
///Do NOT use this to import large &quot;flag lists&quot; made by other people that promise to improve performance or such. They are subject to the aforementioned issues, and they will cause problems for you since you will not be fully aware of [rest of string was truncated]&quot;;.
///Do NOT use this to import large &quot;flag lists&quot; made by other people that promise to improve performance or such. They are subject to the aforementioned issues, and they will cause problems for you since you will not be fully aware [rest of string was truncated]&quot;;.
/// </summary>
public static string Menu_FastFlagEditor_Warning_Text {
get {
@ -1931,6 +1931,24 @@ namespace Bloxstrap.Resources {
}
}
/// <summary>
/// Looks up a localized string similar to Rendering and Graphics.
/// </summary>
public static string Menu_FastFlags_Presets_Categories_Rendering {
get {
return ResourceManager.GetString("Menu.FastFlags.Presets.Categories.Rendering", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to UI and Layout.
/// </summary>
public static string Menu_FastFlags_Presets_Categories_UserInterface {
get {
return ResourceManager.GetString("Menu.FastFlags.Presets.Categories.UserInterface", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to FastFlag preset for Direct3D [exclusive fullscreen]({0}) using Alt+Enter is already enabled by default..
/// </summary>
@ -2112,7 +2130,7 @@ namespace Bloxstrap.Resources {
}
/// <summary>
/// Looks up a localized string similar to Choose what renderer Roblox should use. VR requires Direct3D/Automatic..
/// Looks up a localized string similar to Choose which renderer Roblox should use..
/// </summary>
public static string Menu_FastFlags_Presets_RenderingMode_Description {
get {

View File

@ -798,7 +798,7 @@ Do NOT use this to import large "flag lists" made by other people that promise t
<value>Preferred materials</value>
</data>
<data name="Menu.FastFlags.Presets.RenderingMode.Description" xml:space="preserve">
<value>Choose what renderer Roblox should use. VR requires Direct3D/Automatic.</value>
<value>Choose which renderer Roblox should use.</value>
</data>
<data name="Menu.FastFlags.Presets.RenderingMode.Title" xml:space="preserve">
<value>Rendering mode</value>
@ -1045,4 +1045,10 @@ Scroll for more languages.</value>
<data name="Enums.FlagPresets.InGameMenuVersion.V4Chrome" xml:space="preserve">
<value>2023 (V4 + New UI)</value>
</data>
<data name="Menu.FastFlags.Presets.Categories.Rendering" xml:space="preserve">
<value>Rendering and Graphics</value>
</data>
<data name="Menu.FastFlags.Presets.Categories.UserInterface" xml:space="preserve">
<value>User Interface and Layout</value>
</data>
</root>

View File

@ -47,6 +47,8 @@
<TextBlock Text="{x:Static resources:Strings.Common_Presets}" FontSize="20" FontWeight="Medium" Margin="0,16,0,0" />
<controls:MarkdownTextBlock MarkdownText="{Binding Source={x:Static resources:Strings.Menu_FastFlags_Presets_D3DExclusiveFullscreenInfo}, Converter={StaticResource StringFormatConverter}, ConverterParameter='https://github.com/pizzaboxer/bloxstrap/wiki/A-guide-to-FastFlags#exclusive-fullscreen'}" Foreground="{DynamicResource TextFillColorSecondaryBrush}" />
<TextBlock Text="{x:Static resources:Strings.Menu_FastFlags_Presets_Categories_Rendering}" FontSize="16" FontWeight="Medium" Margin="0,16,0,0" />
<controls:OptionControl
Header="{x:Static resources:Strings.Menu_FastFlags_Presets_FPSLimit_Title}"
Description="{x:Static resources:Strings.Menu_FastFlags_Presets_FPSLimit_Description}"
@ -56,7 +58,8 @@
<controls:OptionControl
Header="{x:Static resources:Strings.Menu_FastFlags_Presets_LightingTechnology_Title}"
Description="{x:Static resources:Strings.Menu_FastFlags_Presets_LightingTechnology_Description}">
Description="{x:Static resources:Strings.Menu_FastFlags_Presets_LightingTechnology_Description}"
HelpLink="https://github.com/pizzaboxer/bloxstrap/wiki/A-guide-to-FastFlags#preferred-lighting-technology">
<ComboBox Margin="5,0,0,0" Padding="10,5,10,5" Width="200" ItemsSource="{Binding LightingModes.Keys, Mode=OneTime}" Text="{Binding SelectedLightingMode, Mode=TwoWay}">
<ComboBox.ItemTemplate>
<DataTemplate>
@ -66,26 +69,6 @@
</ComboBox>
</controls:OptionControl>
<controls:OptionControl
Header="{x:Static resources:Strings.Menu_FastFlags_Presets_EscapeMenuVersion_Title}"
Description="{x:Static resources:Strings.Menu_FastFlags_Presets_EscapeMenuVersion_Description}"
HelpLink="https://github.com/pizzaboxer/bloxstrap/wiki/A-guide-to-FastFlags#escape-menu-version">
<ComboBox Margin="5,0,0,0" Padding="10,5,10,5" Width="200" ItemsSource="{Binding IGMenuVersions.Keys, Mode=OneTime}" Text="{Binding SelectedIGMenuVersion, Mode=TwoWay}">
<ComboBox.ItemTemplate>
<DataTemplate>
<TextBlock Text="{Binding Path=., Converter={StaticResource ResourceConverter}, ConverterParameter='Enums.FlagPresets.InGameMenuVersion.'}" />
</DataTemplate>
</ComboBox.ItemTemplate>
</ComboBox>
</controls:OptionControl>
<controls:OptionControl
Header="{x:Static resources:Strings.Menu_FastFlags_Presets_HideGuis_Title}"
Description="{Binding Source={x:Static resources:Strings.Menu_FastFlags_Presets_HideGuis_Description}, Converter={StaticResource StringFormatConverter}, ConverterParameter='https://github.com/pizzaboxer/bloxstrap/wiki/A-guide-to-FastFlags#gui-hiding|https://www.roblox.com/groups/32380007/Bloxstrap'}"
HelpLink="https://github.com/pizzaboxer/bloxstrap/wiki/A-guide-to-FastFlags#gui-hiding">
<ui:ToggleSwitch IsChecked="{Binding GuiHidingEnabled, Mode=TwoWay}" />
</controls:OptionControl>
<controls:OptionControl
Header="{x:Static resources:Strings.Menu_FastFlags_Presets_RenderingMode_Title}"
Description="{x:Static resources:Strings.Menu_FastFlags_Presets_RenderingMode_Description}">
@ -105,6 +88,28 @@
<ui:ToggleSwitch IsChecked="{Binding FixDisplayScaling, Mode=TwoWay}" />
</controls:OptionControl>
<TextBlock Text="{x:Static resources:Strings.Menu_FastFlags_Presets_Categories_UserInterface}" FontSize="16" FontWeight="Medium" Margin="0,16,0,0" />
<controls:OptionControl
Header="{x:Static resources:Strings.Menu_FastFlags_Presets_HideGuis_Title}"
Description="{Binding Source={x:Static resources:Strings.Menu_FastFlags_Presets_HideGuis_Description}, Converter={StaticResource StringFormatConverter}, ConverterParameter='https://github.com/pizzaboxer/bloxstrap/wiki/A-guide-to-FastFlags#gui-hiding|https://www.roblox.com/groups/32380007/Bloxstrap'}"
HelpLink="https://github.com/pizzaboxer/bloxstrap/wiki/A-guide-to-FastFlags#gui-hiding">
<ui:ToggleSwitch IsChecked="{Binding GuiHidingEnabled, Mode=TwoWay}" />
</controls:OptionControl>
<controls:OptionControl
Header="{x:Static resources:Strings.Menu_FastFlags_Presets_EscapeMenuVersion_Title}"
Description="{x:Static resources:Strings.Menu_FastFlags_Presets_EscapeMenuVersion_Description}"
HelpLink="https://github.com/pizzaboxer/bloxstrap/wiki/A-guide-to-FastFlags#escape-menu-version">
<ComboBox Margin="5,0,0,0" Padding="10,5,10,5" Width="200" ItemsSource="{Binding IGMenuVersions.Keys, Mode=OneTime}" Text="{Binding SelectedIGMenuVersion, Mode=TwoWay}">
<ComboBox.ItemTemplate>
<DataTemplate>
<TextBlock Text="{Binding Path=., Converter={StaticResource ResourceConverter}, ConverterParameter='Enums.FlagPresets.InGameMenuVersion.'}" />
</DataTemplate>
</ComboBox.ItemTemplate>
</ComboBox>
</controls:OptionControl>
<controls:OptionControl
Header="{x:Static resources:Strings.Menu_FastFlags_Presets_AltGraphicsSelector_Title}"
Description="{x:Static resources:Strings.Menu_FastFlags_Presets_AltGraphicsSelector_Description}">