yaze
0.3.2
Link to the Past ROM Editor
Loading...
Searching...
No Matches
tile16_editor_view.h
Go to the documentation of this file.
1
#ifndef YAZE_APP_EDITOR_OVERWORLD_UI_TILES_TILE16_EDITOR_VIEW_H
2
#define YAZE_APP_EDITOR_OVERWORLD_UI_TILES_TILE16_EDITOR_VIEW_H
3
4
#include "
app/editor/system/workspace/editor_panel.h
"
5
#include "
app/gui/core/icons.h
"
6
7
namespace
yaze::editor
{
8
20
class
Tile16EditorView
:
public
WindowContent
{
21
public
:
22
Tile16EditorView
() =
default
;
23
24
// WindowContent interface
25
std::string
GetId
()
const override
{
return
"overworld.tile16_editor"
; }
26
std::string
GetDisplayName
()
const override
{
return
"Tile16 Editor"
; }
27
std::string
GetIcon
()
const override
{
return
ICON_MD_EDIT
; }
28
std::string
GetEditorCategory
()
const override
{
return
"Overworld"
; }
29
int
GetPriority
()
const override
{
return
15; }
// After selector (10)
30
float
GetPreferredWidth
()
const override
{
return
500.0f; }
31
32
void
Draw
(
bool
* p_open)
override
;
33
};
34
35
}
// namespace yaze::editor
36
37
#endif
// YAZE_APP_EDITOR_OVERWORLD_UI_TILES_TILE16_EDITOR_VIEW_H
yaze::editor::Tile16EditorView
WindowContent wrapper for Tile16Editor.
Definition
tile16_editor_view.h:20
yaze::editor::Tile16EditorView::GetDisplayName
std::string GetDisplayName() const override
Human-readable name shown in menus and title bars.
Definition
tile16_editor_view.h:26
yaze::editor::Tile16EditorView::GetPreferredWidth
float GetPreferredWidth() const override
Get preferred width for this panel (optional)
Definition
tile16_editor_view.h:30
yaze::editor::Tile16EditorView::GetEditorCategory
std::string GetEditorCategory() const override
Editor category this panel belongs to.
Definition
tile16_editor_view.h:28
yaze::editor::Tile16EditorView::GetPriority
int GetPriority() const override
Get display priority for menu ordering.
Definition
tile16_editor_view.h:29
yaze::editor::Tile16EditorView::Draw
void Draw(bool *p_open) override
Draw the panel content.
Definition
tile16_editor_view.cc:10
yaze::editor::Tile16EditorView::GetId
std::string GetId() const override
Unique identifier for this panel.
Definition
tile16_editor_view.h:25
yaze::editor::Tile16EditorView::Tile16EditorView
Tile16EditorView()=default
yaze::editor::Tile16EditorView::GetIcon
std::string GetIcon() const override
Material Design icon for this panel.
Definition
tile16_editor_view.h:27
yaze::editor::WindowContent
Base interface for all logical window content components.
Definition
editor_panel.h:89
icons.h
ICON_MD_EDIT
#define ICON_MD_EDIT
Definition
icons.h:645
yaze::editor
Editors are the view controllers for the application.
Definition
patch_export_usage.cc:9
editor_panel.h
src
app
editor
overworld
ui
tiles
tile16_editor_view.h
Generated by
1.10.0