yaze
0.3.2
Link to the Past ROM Editor
Loading...
Searching...
No Matches
debug_window_panel.h
Go to the documentation of this file.
1
#ifndef YAZE_APP_EDITOR_OVERWORLD_PANELS_DEBUG_WINDOW_PANEL_H
2
#define YAZE_APP_EDITOR_OVERWORLD_PANELS_DEBUG_WINDOW_PANEL_H
3
4
#include "
app/editor/system/editor_panel.h
"
5
#include "
app/gui/core/icons.h
"
6
7
namespace
yaze::editor
{
8
16
class
DebugWindowPanel
:
public
EditorPanel
{
17
public
:
18
DebugWindowPanel
() =
default
;
19
20
// EditorPanel interface
21
std::string
GetId
()
const override
{
return
"overworld.debug"
; }
22
std::string
GetDisplayName
()
const override
{
return
"Debug Window"
; }
23
std::string
GetIcon
()
const override
{
return
ICON_MD_BUG_REPORT
; }
24
std::string
GetEditorCategory
()
const override
{
return
"Overworld"
; }
25
void
Draw
(
bool
* p_open)
override
;
26
};
27
28
}
// namespace yaze::editor
29
30
#endif
// YAZE_APP_EDITOR_OVERWORLD_PANELS_DEBUG_WINDOW_PANEL_H
yaze::editor::DebugWindowPanel
Displays debug information for the Overworld Editor.
Definition
debug_window_panel.h:16
yaze::editor::DebugWindowPanel::GetDisplayName
std::string GetDisplayName() const override
Human-readable name shown in menus and title bars.
Definition
debug_window_panel.h:22
yaze::editor::DebugWindowPanel::DebugWindowPanel
DebugWindowPanel()=default
yaze::editor::DebugWindowPanel::Draw
void Draw(bool *p_open) override
Draw the panel content.
Definition
debug_window_panel.cc:9
yaze::editor::DebugWindowPanel::GetIcon
std::string GetIcon() const override
Material Design icon for this panel.
Definition
debug_window_panel.h:23
yaze::editor::DebugWindowPanel::GetEditorCategory
std::string GetEditorCategory() const override
Editor category this panel belongs to.
Definition
debug_window_panel.h:24
yaze::editor::DebugWindowPanel::GetId
std::string GetId() const override
Unique identifier for this panel.
Definition
debug_window_panel.h:21
yaze::editor::WindowContent
Base interface for all logical window content components.
Definition
editor_panel.h:89
editor_panel.h
icons.h
ICON_MD_BUG_REPORT
#define ICON_MD_BUG_REPORT
Definition
icons.h:327
yaze::editor
Editors are the view controllers for the application.
Definition
patch_export_usage.cc:9
src
app
editor
overworld
panels
debug_window_panel.h
Generated by
1.10.0