add anim frames to sprite editor

This commit is contained in:
scawful
2024-07-13 11:19:14 -04:00
parent 6b50b25601
commit c589440e34
2 changed files with 17 additions and 5 deletions

View File

@@ -9,8 +9,6 @@ namespace yaze {
namespace app {
namespace editor {
constexpr ImGuiTabItemFlags kSpriteTabFlags =
ImGuiTabItemFlags_Trailing | ImGuiTabItemFlags_NoTooltip;
@@ -56,6 +54,11 @@ class SpriteEditor : public SharedRom {
*/
void DrawCurrentSheets();
/**
* @brief Draws the animation frames manager.
*/
void DrawAnimationFrames();
ImVector<int> active_sprites_; /**< Active sprites. */
int current_sprite_id_; /**< Current sprite ID. */