Lines Matching full:id
79 * @return the an integer, the ID of the mask. Can be used in `lv_draw_mask_remove_id`.
138 * @param ids ID array of added buffers
139 * @param ids_count number of ID array
152 int16_t id = ids[i]; in lv_draw_mask_apply_ids() local
153 if(id == LV_MASK_ID_INV) continue; in lv_draw_mask_apply_ids()
154 dsc = LV_GC_ROOT(_lv_draw_mask_list[id]).param; in lv_draw_mask_apply_ids()
166 * Remove a mask with a given ID
167 * @param id the ID of the mask. Returned by `lv_draw_mask_add`
169 * If more masks have `custom_id` ID then the last mask's parameter will be returned
171 void * lv_draw_mask_remove_id(int16_t id) in lv_draw_mask_remove_id() argument
175 if(id != LV_MASK_ID_INV) { in lv_draw_mask_remove_id()
176 p = LV_GC_ROOT(_lv_draw_mask_list[id]).param; in lv_draw_mask_remove_id()
177 LV_GC_ROOT(_lv_draw_mask_list[id]).param = NULL; in lv_draw_mask_remove_id()
178 LV_GC_ROOT(_lv_draw_mask_list[id]).custom_id = NULL; in lv_draw_mask_remove_id()
185 * Remove all mask with a given custom ID
188 * If more masks have `custom_id` ID then the last mask's parameter will be returned