A small partial class extending the ImGuiContext, holding state used by color editing and color picker widgets. It stores flags, current/saved widget IDs, saved hue/saturation/color values, and a reference color vector.
// 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 ImGuiColorEditFlags ColorEditOptions = ImGuiColorEditFlags.DefaultOptions_;
public int ColorEditCurrentID;
public int ColorEditSavedID;
public float ColorEditSavedHue;
public float ColorEditSavedSat;
public Color32 ColorEditSavedColor;
public Vector4 ColorPickerRef;
}