add AssetBrowser as tab in GraphicsEditor

This commit is contained in:
scawful
2024-07-21 17:21:49 -04:00
parent 8bc95be39d
commit dd53d1fd2e
2 changed files with 10 additions and 13 deletions

View File

@@ -12,6 +12,7 @@
#include "app/editor/utils/editor.h"
#include "app/gfx/bitmap.h"
#include "app/gfx/snes_tile.h"
#include "app/gui/asset_browser.h"
#include "app/gui/canvas.h"
#include "app/gui/input.h"
#include "app/gui/pipeline.h"
@@ -157,6 +158,8 @@ class GraphicsEditor : public SharedRom, public Editor {
char tilemap_file_path_[256] = "";
char tilemap_file_name_[256] = "";
gui::GfxSheetAssetBrowser asset_browser_;
GfxEditMode gfx_edit_mode_ = GfxEditMode::kSelect;
Rom temp_rom_;