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

Function lf_mouse_button_is_released

leif.c:2300–2302  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2298}
2299
2300bool lf_mouse_button_is_released(uint32_t button) {
2301 return lf_mouse_button_changed(button) && !state.input.mouse.buttons_current[button];
2302}
2303
2304bool lf_mouse_button_changed(uint32_t button) {
2305 return state.input.mouse.buttons_current[button] != state.input.mouse.buttons_last[button];

Callers 7

button_exFunction · 0.85
div_containerFunction · 0.85
draw_scrollbar_onFunction · 0.85
input_fieldFunction · 0.85
dropdown_menu_item_locFunction · 0.85
_lf_slider_int_locFunction · 0.85

Calls 1

lf_mouse_button_changedFunction · 0.85

Tested by

no test coverage detected