Files
iroBot/main/swipe_gesture.h
Neil Arora a87cf44759 Remove GIF decoder and add swipe gesture support
Deleted GIF decoder files (app_gifdec.c/h) and blink emotion asset. Added swipe_gesture.c/h for new gesture handling. Updated CMakeLists and emotion_manager to reflect these changes. Added Geist font asset.
2026-01-14 20:05:02 +05:30

14 lines
437 B
C
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#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);