MCPcopy Create free account
hub / github.com/TactilityProject/Tactility / onDirEntryPressedCallback

Function onDirEntryPressedCallback

Tactility/Source/app/files/View.cpp:42–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40}
41
42static 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
49static void onDirEntryLongPressedCallback(lv_event_t* event) {
50 auto* view = static_cast<View*>(lv_event_get_user_data(event));

Callers

nothing calls this directly

Calls 1

onDirEntryPressedMethod · 0.45

Tested by

no test coverage detected