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

A vendored ImGui struct from zeljkovranjes/sbox-imgui. Holds a style variable index and a backup Vector2 value, used to save and restore style settings around a widget push/pop.

// 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;
}