mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-30 04:13:40 +01:00
Update text-related ImGui calls
This commit is contained in:
parent
f0021bc8f9
commit
81c3ad9421
119 changed files with 1277 additions and 1246 deletions
|
|
@ -4,6 +4,8 @@ using System.Numerics;
|
|||
|
||||
using Dalamud.Bindings.ImGui;
|
||||
using Dalamud.Interface.Components;
|
||||
using Dalamud.Interface.Utility;
|
||||
|
||||
using FFXIVClientStructs.FFXIV.Component.GUI;
|
||||
|
||||
using static Dalamud.Interface.FontAwesomeIcon;
|
||||
|
|
@ -121,7 +123,7 @@ public unsafe partial class AddonTree : IDisposable
|
|||
ImGui.SameLine();
|
||||
|
||||
ImGui.SameLine();
|
||||
ImGui.TextColored(isVisible ? new Vector4(0.1f, 1f, 0.1f, 1f) : new(0.6f, 0.6f, 0.6f, 1), isVisible ? "Visible" : "Not Visible");
|
||||
ImGuiHelpers.SafeTextColored(isVisible ? new Vector4(0.1f, 1f, 0.1f, 1f) : new(0.6f, 0.6f, 0.6f, 1), isVisible ? "Visible"u8 : "Not Visible"u8);
|
||||
|
||||
ImGui.SameLine(ImGui.GetWindowWidth() - 100);
|
||||
|
||||
|
|
@ -132,7 +134,7 @@ public unsafe partial class AddonTree : IDisposable
|
|||
|
||||
if (ImGui.IsItemHovered())
|
||||
{
|
||||
ImGui.SetTooltip("Toggle Visibility");
|
||||
ImGui.SetTooltip("Toggle Visibility"u8);
|
||||
}
|
||||
|
||||
ImGui.SameLine();
|
||||
|
|
@ -143,7 +145,7 @@ public unsafe partial class AddonTree : IDisposable
|
|||
|
||||
if (ImGui.IsItemHovered())
|
||||
{
|
||||
ImGui.SetTooltip("Toggle Popout Window");
|
||||
ImGui.SetTooltip("Toggle Popout Window"u8);
|
||||
}
|
||||
|
||||
PaddedSeparator(1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue