static void glui_populate_entries(const char *path, const char *label, unsigned i) { menu_handle_t *menu = menu_driver_get_ptr(); if (!menu) return; menu->scroll_y = glui_get_scroll(); }
static void glui_navigation_set(bool scroll) { menu_handle_t *menu = menu_driver_get_ptr(); if (!menu || !scroll) return; menu_animation_push(menu->animation, 10, glui_get_scroll(), &menu->scroll_y, EASING_IN_OUT_QUAD, NULL); }
static void glui_navigation_set(bool scroll) { menu_display_t *disp = menu_display_get_ptr(); menu_handle_t *menu = menu_driver_get_ptr(); float scroll_pos = glui_get_scroll(); if (!menu || !disp || !scroll) return; menu_animation_push(disp->animation, 10, scroll_pos, &menu->scroll_y, EASING_IN_OUT_QUAD, -1, NULL); }