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

Small internal struct used by a vendored ImGui wrapper, storing which ImGui color is modified and the previous RGBA value for restoration. It is a simple POD type used by the UI color push/pop logic.

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