MCPcopy Create free account
hub / github.com/JoeyDeVries/Cell / ColorButton

Method ColorButton

cell/imgui/imgui.cpp:9236–9282  ·  view source on GitHub ↗

A little colored square. Return true when clicked. FIXME: May want to display/ignore the alpha component in the color display? Yet show it in the tooltip. 'desc_id' is not called 'label' because we don't display it next to the button, but only in the tooltip.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 7

GetCurrentWindowFunction · 0.85
SmallSquareSizeFunction · 0.85
ImMinFunction · 0.85
ImVec2Class · 0.85
AddRectFilledMethod · 0.80
AddRectMethod · 0.80
GetIDMethod · 0.45

Tested by

no test coverage detected