mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-30 04:13:40 +01:00
chore: don't use ImGuiScene.TextureWrap for any external API, IDalamudTextureWrap does not inherit from ImGuiScene.TextureWrap any longer
This commit is contained in:
parent
af52da06b0
commit
6fbcd0e0e4
17 changed files with 91 additions and 78 deletions
|
|
@ -15,7 +15,7 @@ namespace Dalamud.Interface.Internal.Windows.Data.Widgets;
|
|||
/// </summary>
|
||||
internal class TexWidget : IDataWindowWidget
|
||||
{
|
||||
private readonly List<TextureWrap> addedTextures = new();
|
||||
private readonly List<IDalamudTextureWrap> addedTextures = new();
|
||||
|
||||
private string iconId = "18";
|
||||
private bool hiRes = true;
|
||||
|
|
@ -104,7 +104,7 @@ internal class TexWidget : IDataWindowWidget
|
|||
|
||||
ImGuiHelpers.ScaledDummy(10);
|
||||
|
||||
TextureWrap? toRemove = null;
|
||||
IDalamudTextureWrap? toRemove = null;
|
||||
for (var i = 0; i < this.addedTextures.Count; i++)
|
||||
{
|
||||
if (ImGui.CollapsingHeader($"Tex #{i}"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue