Refactor emotion assets and update documentation

Moved and updated emotion asset files, removing old versions from main/emotions and adding new ones to assets/emotions. Introduced emotion_manager module. Updated .gitignore, README, and build configuration files to reflect these changes. Removed assets/logoIro.c and added assets/logoIroScreen.c.
This commit is contained in:
2026-01-14 01:39:12 +05:30
parent a61765430a
commit d4722157f2
19 changed files with 60015 additions and 16854 deletions

41
main/emotion_manager.h Normal file
View File

@@ -0,0 +1,41 @@
#ifndef EMOTION_MANAGER_H
#define EMOTION_MANAGER_H
#include "lvgl.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef enum {
EMOTION_BLINK,
EMOTION_SMILE,
EMOTION_SAD,
EMOTION_COUNT
} emotion_t;
/**
* @brief Initialize the emotion manager
*
* @param parent The parent object (usually the active screen)
*/
void emotion_manager_init(lv_obj_t *parent);
/**
* @brief Set the current emotion
*
* @param emotion The emotion to display
*/
void emotion_manager_set(emotion_t emotion);
/**
* @brief Update the emotion manager (called periodically or via timer
* internally)
*/
void emotion_manager_update(void);
#ifdef __cplusplus
}
#endif
#endif // EMOTION_MANAGER_H