| 40 | } |
| 41 | |
| 42 | static void onDirEntryPressedCallback(lv_event_t* event) { |
| 43 | auto* view = static_cast<View*>(lv_event_get_user_data(event)); |
| 44 | auto* button = lv_event_get_target_obj(event); |
| 45 | auto index = lv_obj_get_index(button); |
| 46 | view->onDirEntryPressed(index); |
| 47 | } |
| 48 | |
| 49 | static void onDirEntryLongPressedCallback(lv_event_t* event) { |
| 50 | auto* view = static_cast<View*>(lv_event_get_user_data(event)); |
nothing calls this directly
no test coverage detected