mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-15 21:24:18 +01:00
Fix some OtterGui changes.
This commit is contained in:
parent
d247f83e1d
commit
4b9870f090
6 changed files with 6 additions and 20 deletions
2
OtterGui
2
OtterGui
|
|
@ -1 +1 @@
|
||||||
Subproject commit 33ffd7cba3e487e98e55adca1677354078089943
|
Subproject commit b0464b7f215a0db1393e600968c6666307a3ae05
|
||||||
|
|
@ -1 +1 @@
|
||||||
Subproject commit d8ebd63cec1ac12ea547fd37b6c32bdf9b3f57d1
|
Subproject commit 75582ece58e6ee311074ff4ecaa68b804677878c
|
||||||
|
|
@ -405,7 +405,7 @@ public partial class ModEditWindow
|
||||||
}
|
}
|
||||||
|
|
||||||
var fcGroup = FindOrAddGroup(Constants, "Further Constants");
|
var fcGroup = FindOrAddGroup(Constants, "Further Constants");
|
||||||
foreach (var (start, end) in handledElements.Ranges(true))
|
foreach (var (start, end) in handledElements.Ranges(complement:true))
|
||||||
{
|
{
|
||||||
if ((shpkConstant.ByteOffset & 0x3) == 0)
|
if ((shpkConstant.ByteOffset & 0x3) == 0)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -140,7 +140,7 @@ public readonly struct ImcModGroupEditDrawer(ModGroupEditDrawer editor, ImcModGr
|
||||||
var value = (mask & (1 << i)) != 0;
|
var value = (mask & (1 << i)) != 0;
|
||||||
using (ImRaii.Disabled(!cache.CanChange(i)))
|
using (ImRaii.Disabled(!cache.CanChange(i)))
|
||||||
{
|
{
|
||||||
if (ImUtf8.Checkbox(TerminatedByteString.Empty, ref value))
|
if (ImUtf8.Checkbox(""u8, ref value))
|
||||||
{
|
{
|
||||||
if (data is ImcModGroup g)
|
if (data is ImcModGroup g)
|
||||||
editor.ChangeDefaultAttribute(g, cache, i, value);
|
editor.ChangeDefaultAttribute(g, cache, i, value);
|
||||||
|
|
|
||||||
|
|
@ -1,14 +0,0 @@
|
||||||
using ImGuiNET;
|
|
||||||
using OtterGui.Raii;
|
|
||||||
using OtterGui.Text;
|
|
||||||
using Penumbra.GameData.Enums;
|
|
||||||
using Penumbra.GameData.Structs;
|
|
||||||
using Penumbra.Meta.Manipulations;
|
|
||||||
using Penumbra.UI.Classes;
|
|
||||||
|
|
||||||
namespace Penumbra.UI.ModsTab;
|
|
||||||
|
|
||||||
public static class ImcManipulationDrawer
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
@ -81,7 +81,7 @@ public class ResourceTab(Configuration config, ResourceManagerService resourceMa
|
||||||
return;
|
return;
|
||||||
|
|
||||||
var address = $"0x{(ulong)r:X}";
|
var address = $"0x{(ulong)r:X}";
|
||||||
ImGuiUtil.TextNextColumn($"0x{hash:X8}");
|
ImGuiUtil.DrawTableColumn($"0x{hash:X8}");
|
||||||
ImGui.TableNextColumn();
|
ImGui.TableNextColumn();
|
||||||
ImGuiUtil.CopyOnClickSelectable(address);
|
ImGuiUtil.CopyOnClickSelectable(address);
|
||||||
|
|
||||||
|
|
@ -101,7 +101,7 @@ public class ResourceTab(Configuration config, ResourceManagerService resourceMa
|
||||||
|
|
||||||
ImGuiUtil.HoverTooltip("Click to copy byte-wise file data to clipboard, if any.");
|
ImGuiUtil.HoverTooltip("Click to copy byte-wise file data to clipboard, if any.");
|
||||||
|
|
||||||
ImGuiUtil.TextNextColumn(r->RefCount.ToString());
|
ImGuiUtil.DrawTableColumn(r->RefCount.ToString());
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue