1
0
mirror of https://github.com/esphome/esphome.git synced 2025-11-19 16:25:50 +00:00

added prev_frame for animation (#3427)

This commit is contained in:
LuBeDa
2022-05-10 11:56:29 +02:00
committed by GitHub
parent 7cba0c6fb0
commit 69118120d9
2 changed files with 7 additions and 0 deletions

View File

@@ -478,6 +478,7 @@ class Animation : public Image {
int get_animation_frame_count() const;
int get_current_frame() const;
void next_frame();
void prev_frame();
protected:
int current_frame_;