mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 10:17:22 +01:00
Add option for redraw bar.
This commit is contained in:
parent
819264045b
commit
8d48fcff42
4 changed files with 16 additions and 2 deletions
|
|
@ -39,6 +39,8 @@ public partial class Configuration : IPluginConfiguration
|
|||
public bool PreferNamedCollectionsOverOwners { get; set; } = true;
|
||||
public bool UseDefaultCollectionForRetainers { get; set; } = false;
|
||||
|
||||
public bool HideRedrawBar { get; set; } = false;
|
||||
|
||||
#if DEBUG
|
||||
public bool DebugMode { get; set; } = true;
|
||||
#else
|
||||
|
|
|
|||
|
|
@ -33,11 +33,15 @@ public partial class ConfigWindow
|
|||
"Migration should have set your currently assigned Base Collection to the Interface Collection, please verify that.", 1 )
|
||||
.RegisterEntry( "New API / IPC for the Interface Collection added.", 1 )
|
||||
.RegisterHighlight( "API / IPC consumers should verify whether they need to change resolving to the new collection.", 1 )
|
||||
.RegisterEntry( "Files that the game loads super early should now be replaceable correctly via base or interface collection." )
|
||||
.RegisterEntry( "The 1.0 neck tattoo file should now be replaceable, even in character collections. You can also replace the transparent texture used instead. (This was ugly.)" )
|
||||
.RegisterEntry(
|
||||
"Added buttons for redrawing self or all as well as a tooltip to describe redraw options and a tutorial step for it." )
|
||||
.RegisterEntry( "Collection Selectors now display None at the top if available." )
|
||||
.RegisterEntry( "Adding mods via API/IPC will now cause them to incorporate and then delete TexTools .meta and .rgsp files automatically." )
|
||||
.RegisterEntry( "Fixed an issue with Actor 201 using Your Character collections in cutscenes." )
|
||||
.RegisterEntry( "Fixed issues with and improved mod option editing." )
|
||||
.RegisterEntry( "Fixed some issues with and improved file redirection editing - you are now informed if you can not add a game path (because it is invalid or already in use)." )
|
||||
.RegisterEntry( "Backend optimizations." )
|
||||
.RegisterEntry( "Changed metadata change system again.", 1 )
|
||||
.RegisterEntry( "Improved logging efficiency.", 1 );
|
||||
|
|
|
|||
|
|
@ -37,8 +37,8 @@ public partial class ConfigWindow
|
|||
|
||||
using var style = ImRaii.PushStyle( ImGuiStyleVar.ItemSpacing, Vector2.Zero );
|
||||
|
||||
using( var child = ImRaii.Child( "##ModsTabMod", new Vector2( -1, -ImGui.GetFrameHeight() ), true,
|
||||
ImGuiWindowFlags.HorizontalScrollbar ) )
|
||||
using( var child = ImRaii.Child( "##ModsTabMod", new Vector2( -1, Penumbra.Config.HideRedrawBar ? 0 : -ImGui.GetFrameHeight() ),
|
||||
true, ImGuiWindowFlags.HorizontalScrollbar ) )
|
||||
{
|
||||
style.Pop();
|
||||
if( child )
|
||||
|
|
@ -68,6 +68,11 @@ public partial class ConfigWindow
|
|||
|
||||
private void DrawRedrawLine()
|
||||
{
|
||||
if( Penumbra.Config.HideRedrawBar )
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
var frameHeight = new Vector2( 0, ImGui.GetFrameHeight() );
|
||||
var frameColor = ImGui.GetColorU32( ImGuiCol.FrameBg );
|
||||
using( var _ = ImRaii.Group() )
|
||||
|
|
|
|||
|
|
@ -59,6 +59,9 @@ public partial class ConfigWindow
|
|||
Dalamud.PluginInterface.UiBuilder.DisableGposeUiHide = !v;
|
||||
} );
|
||||
ImGui.Dummy( _window._defaultSpace );
|
||||
Checkbox( "Hide Redraw Bar in Mod Panel", "Hides the lower redraw buttons in the mod panel in your Mods tab.",
|
||||
Penumbra.Config.HideRedrawBar, v => Penumbra.Config.HideRedrawBar = v );
|
||||
ImGui.Dummy( _window._defaultSpace );
|
||||
Checkbox( $"Use {AssignedCollections} in Character Window",
|
||||
"Use the character collection for your characters name or the Your Character collection in your main character window, if it is set.",
|
||||
Penumbra.Config.UseCharacterCollectionInMainWindow, v => Penumbra.Config.UseCharacterCollectionInMainWindow = v );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue