yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
overworld_item_list_panel.h
Go to the documentation of this file.
1#ifndef YAZE_APP_EDITOR_OVERWORLD_PANELS_OVERWORLD_ITEM_LIST_PANEL_H
2#define YAZE_APP_EDITOR_OVERWORLD_PANELS_OVERWORLD_ITEM_LIST_PANEL_H
3
6
7namespace yaze::editor {
8
14 public:
16
17 std::string GetId() const override { return "overworld.item_list"; }
18 std::string GetDisplayName() const override { return "Item List"; }
19 std::string GetIcon() const override { return ICON_MD_LIST; }
20 std::string GetEditorCategory() const override { return "Overworld"; }
21 std::string GetShortcutHint() const override { return "Ctrl+Shift+I"; }
22 int GetPriority() const override { return 26; }
23 float GetPreferredWidth() const override { return 420.0f; }
24
25 void Draw(bool* p_open) override;
26};
27
28} // namespace yaze::editor
29
30#endif // YAZE_APP_EDITOR_OVERWORLD_PANELS_OVERWORLD_ITEM_LIST_PANEL_H
Filterable list view for overworld items with quick selection/actions.
std::string GetEditorCategory() const override
Editor category this panel belongs to.
std::string GetIcon() const override
Material Design icon for this panel.
int GetPriority() const override
Get display priority for menu ordering.
std::string GetShortcutHint() const override
Get keyboard shortcut hint for display.
void Draw(bool *p_open) override
Draw the panel content.
std::string GetDisplayName() const override
Human-readable name shown in menus and title bars.
float GetPreferredWidth() const override
Get preferred width for this panel (optional)
std::string GetId() const override
Unique identifier for this panel.
Base interface for all logical window content components.
#define ICON_MD_LIST
Definition icons.h:1094
Editors are the view controllers for the application.