Part of a vendored ImGui context, the font style state. Declares a FontStackEntry struct holding size, point size, name and weight, and a FontStack list that tracks the current font stack.
// 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();
}