MCPcopy Create free account
hub / github.com/btbd/smap / FindHoveredWindow

Function FindHoveredWindow

example/imgui/imgui.cpp:3404–3421  ·  view source on GitHub ↗

Find window given position, search front-to-back FIXME: Note that we have a lag here because WindowRectClipped is updated in Begin() so windows moved by user via SetWindowPos() and not SetNextWindowPos() will have that rectangle lagging by a frame at the time FindHoveredWindow() is called, aka before the next Begin(). Moving window thankfully isn't affected.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

NewFrameMethod · 0.85

Calls 1

ContainsMethod · 0.80

Tested by

no test coverage detected