Button Component - JamJar00/JUI GitHub Wiki

Button components are one of the container components and will provide a call back when selected.

Usage

button_create(component, style, inner_component, callback);

Reference

button_create writes a new component_t to the specified pointer given a style, a pointer to an inner component and a call back to invoke if the button is clicked.