pub type lv_buttonmatrix_t = _lv_buttonmatrix_t;Expand description
Data of button matrix
Aliased Type§
#[repr(C)]pub struct lv_buttonmatrix_t {
pub obj: _lv_obj_t,
pub map_p: *const *const i8,
pub button_areas: *mut lv_area_t,
pub ctrl_bits: *mut u32,
pub btn_cnt: u32,
pub row_cnt: u32,
pub btn_id_sel: u32,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub __bindgen_padding_0: [u8; 3],
}Fields§
§obj: _lv_obj_t§map_p: *const *const i8< Pointer to the current map
< Array of areas of buttons
ctrl_bits: *mut u32< Array of control bytes
btn_cnt: u32< Number of button in ‘map_p’(Handled by the library)
row_cnt: u32< Number of rows in ‘map_p’(Handled by the library)
btn_id_sel: u32< Index of the active button (being pressed/released etc) or LV_BUTTONMATRIX_BUTTON_NONE
_bitfield_align_1: [u8; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>§__bindgen_padding_0: [u8; 3]