MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/FleX / inRect

Function inRect

demo/imgui.cpp:199–202  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

197}
198
199inline bool inRect(int x, int y, int w, int h, bool checkScroll = true)
200{
201 return (!checkScroll || g_state.insideCurrentScroll) && g_state.mx >= x && g_state.mx <= x+w && g_state.my >= y && g_state.my <= y+h;
202}
203
204inline void clearInput()
205{

Callers 7

imguiBeginScrollAreaFunction · 0.85
imguiEndScrollAreaFunction · 0.85
imguiButtonFunction · 0.85
imguiItemFunction · 0.85
imguiCheckFunction · 0.85
imguiCollapseFunction · 0.85
imguiSliderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected