#pragma once #include "lvgl.h" /** * Initialize swipe gesture handling for a given screen object. * The function registers a gesture event callback that changes the * background color to a pastel green for a right swipe (positive) and * pastel red for a left swipe (negative). The color transition is * performed using LVGL's animation system for a smooth, Apple‑level * experience. */ void swipe_gesture_init(lv_obj_t *scr);