diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/ImGui.Text.cs b/imgui/Dalamud.Bindings.ImGui/Custom/ImGui.Text.cs index 4c8d7f7d0..297b68924 100644 --- a/imgui/Dalamud.Bindings.ImGui/Custom/ImGui.Text.cs +++ b/imgui/Dalamud.Bindings.ImGui/Custom/ImGui.Text.cs @@ -282,6 +282,22 @@ public static unsafe partial class ImGui text.Dispose(); } + public static void TextColoredWrapped(uint col, ImU8String text) + { + PushStyleColor(ImGuiCol.Text, col); + TextWrapped(text.Span); + PopStyleColor(); + text.Dispose(); + } + + public static void TextColoredWrapped(scoped in Vector4 col, ImU8String text) + { + PushStyleColor(ImGuiCol.Text, col); + TextWrapped(text.Span); + PopStyleColor(); + text.Dispose(); + } + public static bool TreeNode(ImU8String label) { var window = ImGuiP.GetCurrentWindow();