Code/SboxSuperuser/Engine/Vendor/ImGui/ImGuiContext.Menu.cs

A small partial class extension for ImGuiContext that adds a list tracking IDs of menus submitted during the current frame. It stores integers of menu IDs used by the GUI system this frame.

// 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 readonly List<int> MenusIdSubmittedThisFrame = new();
}