mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-01-03 06:13:40 +01:00
reformat
This commit is contained in:
parent
11aef2f4d6
commit
f391ac57d3
13 changed files with 787 additions and 413 deletions
|
|
@ -5,39 +5,43 @@ namespace Dalamud.Bindings.ImGui;
|
|||
|
||||
public unsafe partial struct ImDrawList
|
||||
{
|
||||
public void AddText(Vector2 pos, uint col, [InterpolatedStringHandlerArgument] AutoUtf8Buffer text)
|
||||
public void AddText(Vector2 pos, uint col, AutoUtf8Buffer text)
|
||||
{
|
||||
fixed (ImDrawList* thisPtr = &this)
|
||||
ImGui.AddText(thisPtr, pos, col, text);
|
||||
fixed (ImDrawList* thisPtr = &this) ImGui.AddText(thisPtr, pos, col, text);
|
||||
}
|
||||
|
||||
public void AddText(
|
||||
ImFontPtr font, float fontSize, Vector2 pos, uint col, [InterpolatedStringHandlerArgument] AutoUtf8Buffer text, float wrapWidth,
|
||||
ImFontPtr font, float fontSize, Vector2 pos, uint col, AutoUtf8Buffer text, float wrapWidth,
|
||||
scoped in Vector4 cpuFineClipRect)
|
||||
{
|
||||
fixed (ImDrawList* thisPtr = &this)
|
||||
ImGui.AddText(thisPtr, font, fontSize, pos, col, text, wrapWidth, cpuFineClipRect);
|
||||
fixed (ImDrawList* thisPtr =
|
||||
&this) ImGui.AddText(thisPtr, font, fontSize, pos, col, text, wrapWidth, cpuFineClipRect);
|
||||
}
|
||||
|
||||
public void AddText(
|
||||
ImFontPtr font, float fontSize, Vector2 pos, uint col, [InterpolatedStringHandlerArgument] AutoUtf8Buffer text, float wrapWidth = 0f)
|
||||
ImFontPtr font, float fontSize, Vector2 pos, uint col, AutoUtf8Buffer text, float wrapWidth = 0f)
|
||||
{
|
||||
fixed (ImDrawList* thisPtr = &this)
|
||||
ImGui.AddText(thisPtr, font, fontSize, pos, col, text, wrapWidth);
|
||||
fixed (ImDrawList* thisPtr = &this) ImGui.AddText(thisPtr, font, fontSize, pos, col, text, wrapWidth);
|
||||
}
|
||||
}
|
||||
|
||||
public partial struct ImDrawListPtr
|
||||
{
|
||||
public void AddText(Vector2 pos, uint col, [InterpolatedStringHandlerArgument] AutoUtf8Buffer text) =>
|
||||
ImGui.AddText(this, pos, col, text);
|
||||
public void AddText(Vector2 pos, uint col, AutoUtf8Buffer text) => ImGui.AddText(this, pos, col, text);
|
||||
|
||||
public void AddText(
|
||||
ImFontPtr font, float fontSize, Vector2 pos, uint col, [InterpolatedStringHandlerArgument] AutoUtf8Buffer text, float wrapWidth,
|
||||
scoped in Vector4 cpuFineClipRect) =>
|
||||
ImGui.AddText(this, font, fontSize, pos, col, text, wrapWidth, cpuFineClipRect);
|
||||
ImFontPtr font, float fontSize, Vector2 pos, uint col, AutoUtf8Buffer text, float wrapWidth,
|
||||
scoped in Vector4 cpuFineClipRect) => ImGui.AddText(
|
||||
this,
|
||||
font,
|
||||
fontSize,
|
||||
pos,
|
||||
col,
|
||||
text,
|
||||
wrapWidth,
|
||||
cpuFineClipRect);
|
||||
|
||||
public void AddText(
|
||||
ImFontPtr font, float fontSize, Vector2 pos, uint col, [InterpolatedStringHandlerArgument] AutoUtf8Buffer text, float wrapWidth = 0f) =>
|
||||
ImFontPtr font, float fontSize, Vector2 pos, uint col, AutoUtf8Buffer text, float wrapWidth = 0f) =>
|
||||
ImGui.AddText(this, font, fontSize, pos, col, text, wrapWidth);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue