1#ifndef YAZE_APP_EDITOR_CODE_PANELS_ASSEMBLY_EDITOR_PANELS_H_
2#define YAZE_APP_EDITOR_CODE_PANELS_ASSEMBLY_EDITOR_PANELS_H_
27 std::string
GetId()
const override {
return "assembly.code_editor"; }
38 void Draw(
bool* p_open)
override {
58 std::string
GetId()
const override {
return "assembly.file_browser"; }
69 void Draw(
bool* p_open)
override {
89 std::string
GetId()
const override {
return "assembly.symbols"; }
99 void Draw(
bool* p_open)
override {
119 std::string
GetId()
const override {
return "assembly.build_output"; }
129 void Draw(
bool* p_open)
override {
149 std::string
GetId()
const override {
return "assembly.disassembly"; }
159 void Draw(
bool* p_open)
override {
179 std::string
GetId()
const override {
return "assembly.toolbar"; }
189 void Draw(
bool* p_open)
override {
Build output / errors panel.
float GetPreferredWidth() const override
Get preferred width for this panel (optional)
void Draw(bool *p_open) override
Draw the panel content.
int GetPriority() const override
Get display priority for menu ordering.
DrawCallback draw_callback_
std::function< void()> DrawCallback
std::string GetId() const override
Unique identifier for this panel.
std::string GetIcon() const override
Material Design icon for this panel.
AssemblyBuildOutputPanel(DrawCallback draw_callback)
std::string GetDisplayName() const override
Human-readable name shown in menus and title bars.
std::string GetEditorCategory() const override
Editor category this panel belongs to.
WindowPresentationPolicy GetPresentationPolicy() const override
How this content is hosted and advertised by workspace chrome.
Main code editor panel with text editing.
void Draw(bool *p_open) override
Draw the panel content.
std::string GetIcon() const override
Material Design icon for this panel.
std::string GetId() const override
Unique identifier for this panel.
std::function< void()> DrawCallback
DrawCallback draw_callback_
bool IsVisibleByDefault() const override
Whether this panel should be visible by default.
std::string GetEditorCategory() const override
Editor category this panel belongs to.
float GetPreferredWidth() const override
Get preferred width for this panel (optional)
std::string GetDisplayName() const override
Human-readable name shown in menus and title bars.
int GetPriority() const override
Get display priority for menu ordering.
AssemblyCodeEditorPanel(DrawCallback draw_callback)
WindowPresentationPolicy GetPresentationPolicy() const override
How this content is hosted and advertised by workspace chrome.
Read-only disassembly browser panel.
std::string GetEditorCategory() const override
Editor category this panel belongs to.
DrawCallback draw_callback_
WindowPresentationPolicy GetPresentationPolicy() const override
How this content is hosted and advertised by workspace chrome.
std::function< void()> DrawCallback
AssemblyDisassemblyPanel(DrawCallback draw_callback)
std::string GetId() const override
Unique identifier for this panel.
float GetPreferredWidth() const override
Get preferred width for this panel (optional)
int GetPriority() const override
Get display priority for menu ordering.
void Draw(bool *p_open) override
Draw the panel content.
std::string GetDisplayName() const override
Human-readable name shown in menus and title bars.
std::string GetIcon() const override
Material Design icon for this panel.
File browser panel for navigating project files.
AssemblyFileBrowserPanel(DrawCallback draw_callback)
bool IsVisibleByDefault() const override
Whether this panel should be visible by default.
DrawCallback draw_callback_
int GetPriority() const override
Get display priority for menu ordering.
std::string GetEditorCategory() const override
Editor category this panel belongs to.
WindowPresentationPolicy GetPresentationPolicy() const override
How this content is hosted and advertised by workspace chrome.
std::string GetId() const override
Unique identifier for this panel.
std::function< void()> DrawCallback
float GetPreferredWidth() const override
Get preferred width for this panel (optional)
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.
void Draw(bool *p_open) override
Draw the panel content.
Symbol table viewer panel.
int GetPriority() const override
Get display priority for menu ordering.
DrawCallback draw_callback_
std::string GetId() const override
Unique identifier for this panel.
std::string GetDisplayName() const override
Human-readable name shown in menus and title bars.
std::string GetIcon() const override
Material Design icon for this panel.
float GetPreferredWidth() const override
Get preferred width for this panel (optional)
WindowPresentationPolicy GetPresentationPolicy() const override
How this content is hosted and advertised by workspace chrome.
AssemblySymbolsPanel(DrawCallback draw_callback)
void Draw(bool *p_open) override
Draw the panel content.
std::function< void()> DrawCallback
std::string GetEditorCategory() const override
Editor category this panel belongs to.
Base interface for all logical window content components.
#define ICON_MD_FOLDER_OPEN
#define ICON_MD_CONSTRUCTION
static WindowPresentationPolicy CoreWorkspace()
static WindowPresentationPolicy OptionalPopOut()