Added logic to handle animations to the UI. These animations will be defined in the resources/animation/[animation-name]/ directory. Currently, the paths to the frames are hard coded but in the future, I have an idea to remove most of the hard-coded paths from the codebase.
new header animation_handler.h with class definitions
new animation files, specifically for a highlight animation on the slots
logic to trigger the animation based on the selected slot in key_manager.cpp
logic to trigger/queue animation in ui_renderer.cpp
Let me know if you have any questions or would like me to change something!
Added logic to handle animations to the UI. These animations will be defined in the
resources/animation/[animation-name]/
directory. Currently, the paths to the frames are hard coded but in the future, I have an idea to remove most of the hard-coded paths from the codebase.animation_handler.h
with class definitionskey_manager.cpp
ui_renderer.cpp
Let me know if you have any questions or would like me to change something!