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.
This commit is contained in:
13
main/swipe_gesture.h
Normal file
13
main/swipe_gesture.h
Normal file
@@ -0,0 +1,13 @@
|
||||
#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);
|
||||
Reference in New Issue
Block a user