restructure

This commit is contained in:
Soreepeong 2025-07-26 22:33:38 +09:00
parent 3381ac1c7d
commit b53a97408b
263 changed files with 2221 additions and 1191 deletions

View file

@ -3,14 +3,14 @@ namespace Dalamud.Bindings.ImGui;
public unsafe partial struct ImFontAtlas
{
public ImFontPtr AddFontFromFileTTF(
Utf8Buffer filename, float sizePixels, ImFontConfigPtr fontCfg = default, ushort* glyphRanges = null)
ImU8String filename, float sizePixels, ImFontConfigPtr fontCfg = default, ushort* glyphRanges = null)
{
fixed (ImFontAtlas* thisPtr = &this)
return ImGui.AddFontFromFileTTF(thisPtr, filename, sizePixels, fontCfg, glyphRanges);
}
public ImFontPtr AddFontFromMemoryCompressedBase85TTF(
Utf8Buffer compressedFontDatabase85, float sizePixels, ImFontConfigPtr fontCfg = default,
ImU8String compressedFontDatabase85, float sizePixels, ImFontConfigPtr fontCfg = default,
ushort* glyphRanges = null)
{
fixed (ImFontAtlas* thisPtr = &this)
@ -58,11 +58,11 @@ public unsafe partial struct ImFontAtlas
public unsafe partial struct ImFontAtlasPtr
{
public ImFontPtr AddFontFromFileTTF(
Utf8Buffer filename, float sizePixels, ImFontConfigPtr fontCfg = default, ushort* glyphRanges = null) =>
ImU8String filename, float sizePixels, ImFontConfigPtr fontCfg = default, ushort* glyphRanges = null) =>
ImGui.AddFontFromFileTTF(this, filename, sizePixels, fontCfg, glyphRanges);
public ImFontPtr AddFontFromMemoryCompressedBase85TTF(
Utf8Buffer compressedFontDatabase85, float sizePixels, ImFontConfigPtr fontCfg = default,
ImU8String compressedFontDatabase85, float sizePixels, ImFontConfigPtr fontCfg = default,
ushort* glyphRanges = null) =>
ImGui.AddFontFromMemoryCompressedBase85TTF(this, compressedFontDatabase85, sizePixels, fontCfg, glyphRanges);