Part of a vendored ImGui context implementation. Defines a FontStackEntry struct with font metrics and a FontName, and exposes a FontStack list on ImGuiContext to track pushed fonts.
// 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();
}