1#ifndef YAZE_APP_EDITOR_GRAPHICS_PANELS_SCREEN_EDITOR_PANELS_H_
2#define YAZE_APP_EDITOR_GRAPHICS_PANELS_SCREEN_EDITOR_PANELS_H_
27 std::string
GetId()
const override {
return "screen.dungeon_maps"; }
36 void Draw(
bool* p_open)
override {
56 std::string
GetId()
const override {
return "screen.inventory_menu"; }
65 void Draw(
bool* p_open)
override {
87 std::string
GetId()
const override {
return "screen.menu_tilemap"; }
88 std::string
GetDisplayName()
const override {
return "Menu Tilemap (2bpp)"; }
110 return "Edit Menu Tilemap (2bpp)";
113 return "Edit an Oracle of Secrets 2bpp BG3 menu tilemap file (e.g. "
114 "ring_box.tilemap for the \"Masks & Rings\" page 3 prototype) "
115 "with a live preview rendered from real CHR + palette sources.";
131 void Draw(
bool* p_open)
override {
152 std::string
GetId()
const override {
return "screen.overworld_map"; }
161 void Draw(
bool* p_open)
override {
181 std::string
GetId()
const override {
return "screen.title_screen"; }
190 void Draw(
bool* p_open)
override {
210 std::string
GetId()
const override {
return "screen.naming_screen"; }
216 "Command palette (stub: the editor draws nothing yet)");
220 void Draw(
bool* p_open)
override {
EditorPanel for Dungeon Maps Editor.
WindowPresentationPolicy GetPresentationPolicy() const override
How this content is hosted and advertised by workspace chrome.
std::function< void()> DrawCallback
DungeonMapsPanel(DrawCallback draw_callback)
std::string GetId() const override
Unique identifier for this panel.
void Draw(bool *p_open) override
Draw the panel content.
int GetPriority() const override
Get display priority for menu ordering.
std::string GetIcon() const override
Material Design icon for this panel.
DrawCallback draw_callback_
std::string GetEditorCategory() const override
Editor category this panel belongs to.
std::string GetDisplayName() const override
Human-readable name shown in menus and title bars.
EditorPanel for Naming Screen Editor.
std::string GetEditorCategory() const override
Editor category this panel belongs to.
int GetPriority() const override
Get display priority for menu ordering.
std::string GetDisplayName() const override
Human-readable name shown in menus and title bars.
DrawCallback draw_callback_
NamingScreenPanel(DrawCallback draw_callback)
std::string GetId() const override
Unique identifier for this panel.
std::string GetIcon() const override
Material Design icon for this panel.
WindowPresentationPolicy GetPresentationPolicy() const override
How this content is hosted and advertised by workspace chrome.
void Draw(bool *p_open) override
Draw the panel content.
std::function< void()> DrawCallback
EditorPanel for Overworld Map Screen Editor.
std::string GetId() const override
Unique identifier for this panel.
OverworldMapScreenPanel(DrawCallback draw_callback)
DrawCallback draw_callback_
std::string GetEditorCategory() const override
Editor category this panel belongs to.
void Draw(bool *p_open) override
Draw the panel content.
std::function< void()> DrawCallback
WindowPresentationPolicy GetPresentationPolicy() const override
How this content is hosted and advertised by workspace chrome.
int GetPriority() const override
Get display priority for menu ordering.
std::string GetIcon() const override
Material Design icon for this panel.
std::string GetDisplayName() const override
Human-readable name shown in menus and title bars.
EditorPanel for Title Screen Editor.
WindowPresentationPolicy GetPresentationPolicy() const override
How this content is hosted and advertised by workspace chrome.
int GetPriority() const override
Get display priority for menu ordering.
TitleScreenPanel(DrawCallback draw_callback)
std::string GetIcon() const override
Material Design icon for this panel.
std::string GetEditorCategory() const override
Editor category this panel belongs to.
std::string GetDisplayName() const override
Human-readable name shown in menus and title bars.
DrawCallback draw_callback_
std::function< void()> DrawCallback
void Draw(bool *p_open) override
Draw the panel content.
std::string GetId() const override
Unique identifier for this panel.
Base interface for all logical window content components.
#define ICON_MD_INVENTORY
static WindowPresentationPolicy Diagnostic()
static WindowPresentationPolicy EmbeddedTool(std::string capability=std::string())
WindowPresentationPolicy WithHost(std::string host_name) const
Returns a copy that names the hosting surface.
static WindowPresentationPolicy OptionalPopOut()