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

Method ButtonBehavior

CPPScripts/External/ImGui/imgui_widgets.cpp:501–722  ·  view source on GitHub ↗

- FIXME: For refactor we could output flags, incl mouse hovered vs nav keyboard vs nav triggered etc. And better standardize how widgets use 'GetColor32((held && hovered) ? ... : hovered ? ...)' vs 'GetColor32(held ? ... : hovered ? ...);' For mouse feedback we typically prefer the 'held && hovered' test, but for nav feedback not always. Outputting hovered=true on Activation may be misleading. - S

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 4

GetCurrentWindowFunction · 0.85
MouseButtonToKeyFunction · 0.85
GetKeyDataFunction · 0.85
ImMaxFunction · 0.85

Tested by

no test coverage detected