SpriteEditor skeleton

This commit is contained in:
scawful
2024-01-14 11:15:48 -05:00
parent c9d0fb9573
commit ea6d8f9636
2 changed files with 72 additions and 4 deletions

View File

@@ -2,14 +2,24 @@
#define YAZE_APP_EDITOR_SPRITE_EDITOR_H
#include "absl/status/status.h"
#include "app/gui/canvas.h"
#include "app/rom.h"
namespace yaze {
namespace app {
namespace editor {
class SpriteEditor {
public:
absl::Status Update();
class SpriteEditor : public SharedROM {
public:
absl::Status Update();
private:
void DrawEditorTable();
void DrawSpriteCanvas();
void DrawCurrentSheets();
uint8_t current_sheets_[8];
bool sheets_loaded_ = false;
};
} // namespace editor