Return
The bubble-shaped curve that can be dragged out on the left side of the screen is used to perform a return operation.
Usage
Create A Return Widget
Creating function is gui_return_create()
. Users need to enter curve animation frame images file array and the return operation function.
Example

Note
Please refer to realgui\example\screen_454_454\gui_menu\apps_in_menu.c
for details.
API
Functions
-
gui_return_t *gui_return_create(void *parent, const uint32_t *frame_array[], int array_size, void *return_cb, gui_obj_t *ignore_gesture_widget)
Create a return widget.
- Parameters:
parent – The parent widget it nested in.
frame_array – Return effect image frame array.
array_size – Return effect image frame array’s index count.
return_cb – Return behavior instance .
ignore_gesture_widget – The widget that need to be blocked for gesture response.
- Returns:
return the widget object pointer.
-
struct gui_return_t