mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-15 05:04:15 +01:00
Use ImGui.Text over ImGui.TextUnformatted
This commit is contained in:
parent
f2aa4bd051
commit
a60ee3a2d4
110 changed files with 632 additions and 632 deletions
|
|
@ -180,7 +180,7 @@ public static partial class ImGuiHelpers
|
|||
col.Push(ImGuiCol.Text, color.Value);
|
||||
}
|
||||
|
||||
ImGui.TextUnformatted(text.Span);
|
||||
ImGui.Text(text.Span);
|
||||
}
|
||||
|
||||
if (ImGui.IsItemHovered())
|
||||
|
|
@ -191,11 +191,11 @@ public static partial class ImGuiHelpers
|
|||
{
|
||||
using (ImRaii.PushFont(UiBuilder.IconFont))
|
||||
{
|
||||
ImGui.TextUnformatted(FontAwesomeIcon.Copy.ToIconString());
|
||||
ImGui.Text(FontAwesomeIcon.Copy.ToIconString());
|
||||
}
|
||||
|
||||
ImGui.SameLine();
|
||||
ImGui.TextUnformatted(textCopy.IsNull ? text.Span : textCopy.Span);
|
||||
ImGui.Text(textCopy.IsNull ? text.Span : textCopy.Span);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -250,7 +250,7 @@ public static partial class ImGuiHelpers
|
|||
{
|
||||
using (ImRaii.PushColor(ImGuiCol.Text, color))
|
||||
{
|
||||
ImGui.TextUnformatted(text);
|
||||
ImGui.Text(text);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -462,7 +462,7 @@ public static partial class ImGuiHelpers
|
|||
public static void CenteredText(ImU8String text)
|
||||
{
|
||||
CenterCursorForText(text.Span);
|
||||
ImGui.TextUnformatted(text);
|
||||
ImGui.Text(text);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue