MCPcopy Create free account
hub / github.com/AshenvaleZX/ZXEngine / ColorPicker4

Method ColorPicker4

CPPScripts/External/ImGui/imgui_widgets.cpp:5778–6145  ·  view source on GitHub ↗

Note: ColorPicker4() only accesses 3 floats if ImGuiColorEditFlags_NoAlpha flag is set. (In C++ the 'float col[4]' notation for a function argument is equivalent to 'float* col', we only specify a size to facilitate understanding of the code.) FIXME: we adjust the big color square height based on item width, which may cause a flickering feedback loop (if automatic height makes a vertical scrollbar

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 15

GetCurrentWindowFunction · 0.85
ImIsPowerOfTwoFunction · 0.85
ImMaxFunction · 0.85
ImVec2Function · 0.85
ColorEditRestoreHSFunction · 0.85
ImLengthSqrFunction · 0.85
ImTriangleContainsPointFunction · 0.85
ImRotateFunction · 0.85
ImTriangleClosestPointFunction · 0.85
ImClampFunction · 0.85
ImSaturateFunction · 0.85

Tested by

no test coverage detected