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