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

A small internal struct from the vendored sbox-imgui port. Pairs an ImGuiCol with the Vector4 backup value saved when a color style is pushed, so it can be restored later. It holds data only and has no behavior.

// 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 ImGuiColorMod
{
	public ImGuiCol Col;
	public Vector4 BackupValue;
}