Part of a vendored ImGui context, defines a FontStackEntry struct and a FontStack list on ImGuiContext to track pushed fonts (size, point size, name, weight). It is a small data container used by the ImGui wrapper.
// Vendored from zeljkovranjes/sbox-imgui; see LICENSE and PROVENANCE.md in this folder.
using Sandbox;
#pragma warning disable CS0649 // Upstream reserves fields for optional widgets and features.
namespace SboxSuperuser.Engine.Vendor.ImGui;
internal partial class ImGuiContext
{
public struct FontStackEntry
{
public float FontSize;
public float FontPointSize;
public string FontName;
public int FontWeight;
}
public readonly List<FontStackEntry> FontStack = new();
}