mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-31 21:03:48 +01:00
Fixes.
This commit is contained in:
parent
8d2e84eecf
commit
581b91b337
13 changed files with 123 additions and 52 deletions
|
|
@ -360,17 +360,15 @@ public partial class SettingsInterface
|
|||
|
||||
using var font = ImGuiRaii.PushFont( UiBuilder.IconFont );
|
||||
|
||||
using var style = ImGuiRaii.PushStyle( ImGuiStyleVar.FramePadding, Vector2.One * ImGuiHelpers.GlobalScale * 1.5f );
|
||||
if( ImGui.Button( $"{FontAwesomeIcon.Trash.ToIconString()}##{name}" ) )
|
||||
if( ImGui.Button( $"{FontAwesomeIcon.Trash.ToIconString()}##{name}", Vector2.One * ImGui.GetFrameHeight() ) )
|
||||
{
|
||||
manager.Collections.RemoveCharacterCollection( name );
|
||||
}
|
||||
|
||||
style.Pop();
|
||||
|
||||
font.Pop();
|
||||
|
||||
ImGui.SameLine();
|
||||
ImGui.AlignTextToFramePadding();
|
||||
ImGui.Text( name );
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@ using Penumbra.GameData.Structs;
|
|||
using Penumbra.Interop;
|
||||
using Penumbra.Interop.Structs;
|
||||
using Penumbra.Meta.Files;
|
||||
using Penumbra.Meta.Manipulations;
|
||||
using Penumbra.UI.Custom;
|
||||
using CharacterUtility = Penumbra.Interop.CharacterUtility;
|
||||
using ResourceHandle = Penumbra.Interop.Structs.ResourceHandle;
|
||||
|
|
@ -410,6 +411,32 @@ public partial class SettingsInterface
|
|||
catch
|
||||
{ }
|
||||
|
||||
var est = 0;
|
||||
ImGui.InputInt( "##EstInput", ref est );
|
||||
try
|
||||
{
|
||||
var def = EstFile.GetDefault( EstManipulation.EstType.Body, GenderRace.MidlanderFemale, ( ushort )est );
|
||||
var val = Penumbra.ModManager.Collections.ActiveCollection.Cache?.MetaManipulations.Est.BodyFile?[ GenderRace.MidlanderFemale,
|
||||
( ushort )est ]
|
||||
?? def;
|
||||
ImGui.Text( def.ToString() );
|
||||
ImGui.Text( val.ToString() );
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
|
||||
var gmp = 0;
|
||||
ImGui.InputInt( "##GmpInput", ref gmp );
|
||||
try
|
||||
{
|
||||
var def = ExpandedGmpFile.GetDefault( gmp );
|
||||
var val = Penumbra.ModManager.Collections.ActiveCollection.Cache?.MetaManipulations.Gmp.File?[ gmp ] ?? def;
|
||||
ImGui.Text( def.Value.ToString("X") );
|
||||
ImGui.Text( val.Value.ToString("X") );
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
|
||||
|
||||
if( !ImGui.BeginTable( "##CharacterUtilityDebugList", 6, ImGuiTableFlags.RowBg | ImGuiTableFlags.SizingFixedFit, -Vector2.UnitX ) )
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue