feat: add imgui scaled indent

This commit is contained in:
kalilistic 2023-02-25 15:03:25 -05:00
parent e3977f9493
commit d765527766

View file

@ -74,6 +74,12 @@ public static class ImGuiHelpers
/// <param name="size">The size of the dummy.</param>
public static void ScaledDummy(Vector2 size) => ImGui.Dummy(size * GlobalScale);
/// <summary>
/// Create an indent scaled by the global Dalamud scale.
/// </summary>
/// <param name="size">The size of the indent.</param>
public static void ScaledIndent(float size) => ImGui.Indent(size * GlobalScale);
/// <summary>
/// Use a relative ImGui.SameLine() from your current cursor position, scaled by the Dalamud global scale.
/// </summary>