Code/SboxSuperuser/Engine/Vendor/ImGui/ImGuiStyleMod.cs

Defines a small internal struct used by the vendored ImGui integration. It stores an ImGuiStyleVar enum value and a Vector2 backup value for restoring style changes.

Native Interop
// 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 struct ImGuiStyleMod
{
	public ImGuiStyleVar VarIdx;
	public Vector2 BackupValue;
}