MCPcopy Create free account
hub / github.com/cococry/leif / lf_mouse_button_changed_on_div

Function lf_mouse_button_changed_on_div

leif.c:2316–2318  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2314}
2315
2316bool lf_mouse_button_changed_on_div(uint32_t button) {
2317 return lf_mouse_button_changed(button) && state.scrollbar_div.id == state.current_div.id;
2318}
2319double lf_get_mouse_x() {
2320 return state.input.mouse.xpos;
2321}

Callers

nothing calls this directly

Calls 1

lf_mouse_button_changedFunction · 0.85

Tested by

no test coverage detected