| 612 | |
| 613 | |
| 614 | LfClickableItemState button(const char* file, int32_t line, vec2s pos, vec2s size, LfUIElementProps props, LfColor color, float border_width, bool click_color, bool hover_color) { |
| 615 | return button_ex(file, line, pos, size, props, color, border_width, click_color, hover_color, (vec2s){-1, -1}); |
| 616 | } |
| 617 | LfClickableItemState button_ex(const char* file, int32_t line, vec2s pos, vec2s size, LfUIElementProps props, LfColor color, float border_width, bool click_color, bool hover_color, vec2s hitbox_override) { |
| 618 | uint64_t id = DJB2_INIT; |
| 619 | id = djb2_hash(id, file, strlen(file)); |
no test coverage detected