1#ifndef YAZE_APP_EDITOR_GRAPHICS_SHEET_BROWSER_PANEL_H
2#define YAZE_APP_EDITOR_GRAPHICS_SHEET_BROWSER_PANEL_H
4#include "absl/status/status.h"
28 std::string
GetId()
const override {
return "graphics.sheet_browser_v2"; }
46 void Draw(
bool* p_open)
override;
Base interface for all logical panel components.
Shared state between GraphicsEditor panel components.
EditorPanel for browsing and selecting graphics sheets.
void DrawBatchOperations()
Draw batch operation buttons.
int GetPriority() const override
Get display priority for menu ordering.
std::string GetIcon() const override
Material Design icon for this panel.
void Draw(bool *p_open) override
Draw the sheet browser UI.
std::string GetId() const override
Unique identifier for this panel.
std::string GetEditorCategory() const override
Editor category this panel belongs to.
GraphicsEditorState * state_
std::string GetDisplayName() const override
Human-readable name shown in menus and title bars.
SheetBrowserPanel(GraphicsEditorState *state)
void DrawSearchBar()
Draw the search/filter bar.
void Initialize()
Initialize the panel.
void DrawSheetThumbnail(int sheet_id, gfx::Bitmap &bitmap)
Draw a single sheet thumbnail.
gui::Canvas thumbnail_canvas_
void DrawSheetGrid()
Draw the sheet grid view.
absl::Status Update()
Legacy Update method for backward compatibility.
Represents a bitmap image optimized for SNES ROM hacking.
Modern, robust canvas for drawing and manipulating graphics.
#define ICON_MD_VIEW_LIST