mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-13 12:14:16 +01:00
SafeTextColored didn't exist before imgui-bindings
This commit is contained in:
parent
1ab77a60ce
commit
c6dc051cc6
1 changed files with 0 additions and 14 deletions
|
|
@ -241,20 +241,6 @@ public static partial class ImGuiHelpers
|
|||
[Obsolete("Use ImGui.TextWrapped. It's safe now.", true)]
|
||||
public static void SafeTextWrapped(ImU8String text) => ImGui.TextWrapped(text);
|
||||
|
||||
/// <summary>
|
||||
/// Write colored, unformatted text.
|
||||
/// </summary>
|
||||
/// <param name="color">The color of the text.</param>
|
||||
/// <param name="text">The text to write.</param>
|
||||
[Obsolete("Use ImGui.TextColored. It's safe now.", true)]
|
||||
public static void SafeTextColored(Vector4 color, ImU8String text)
|
||||
{
|
||||
using (ImRaii.PushColor(ImGuiCol.Text, color))
|
||||
{
|
||||
ImGui.Text(text);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Write colored, unformatted text wrapped.
|
||||
/// </summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue