button_panel_add_icon

Function button_panel_add_icon 

Source
pub unsafe extern "C" fn button_panel_add_icon(
    button_panel: *mut ButtonPanel,
    x: u16,
    y: u16,
    icon_name: *const Icon,
)
Expand description

Add a non-button icon to button_panel module.

ยงArguments

  • button_panel - ButtonPanel instance
  • x - x-coordinate to place icon
  • y - y-coordinate to place icon
  • icon_name - name of the icon to draw