yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
project_workflow_output_panel.h
Go to the documentation of this file.
1#ifndef YAZE_APP_EDITOR_HACK_WORKFLOW_PROJECT_WORKFLOW_OUTPUT_PANEL_H_
2#define YAZE_APP_EDITOR_HACK_WORKFLOW_PROJECT_WORKFLOW_OUTPUT_PANEL_H_
3
4#include <string>
5
9
10namespace yaze::editor::workflow {
11
13 public:
14 std::string GetId() const override { return "workflow.output"; }
15 std::string GetDisplayName() const override { return "Workflow Output"; }
16 std::string GetIcon() const override { return ICON_MD_TERMINAL; }
17 std::string GetEditorCategory() const override { return "Agent"; }
18 WindowScope GetScope() const override { return WindowScope::kGlobal; }
19 std::string GetWorkflowGroup() const override { return "Build & Run"; }
20 std::string GetWorkflowDescription() const override {
21 return "Review build/run status and the latest workflow output log";
22 }
23 int GetWorkflowPriority() const override { return 15; }
27
28 void Draw(bool* p_open) override;
29
30 private:
31 void DrawStatusCard(const char* fallback_icon,
32 const ProjectWorkflowStatus& status);
33 void DrawHistoryEntry(const ProjectWorkflowHistoryEntry& entry, int index);
34};
35
36} // namespace yaze::editor::workflow
37
38#endif // YAZE_APP_EDITOR_HACK_WORKFLOW_PROJECT_WORKFLOW_OUTPUT_PANEL_H_
Base interface for all logical window content components.
WindowLifecycle GetWindowLifecycle() const override
Get the lifecycle category for this window.
int GetWorkflowPriority() const override
Optional workflow ordering priority (lower sorts first).
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.
WindowScope GetScope() const override
Get the registration scope for this window.
std::string GetIcon() const override
Material Design icon for this panel.
void DrawStatusCard(const char *fallback_icon, const ProjectWorkflowStatus &status)
std::string GetId() const override
Unique identifier for this panel.
std::string GetWorkflowDescription() const override
Optional workflow description for menus/command palette.
std::string GetWorkflowGroup() const override
Optional workflow group for hack-centric actions.
void Draw(bool *p_open) override
Draw the panel content.
void DrawHistoryEntry(const ProjectWorkflowHistoryEntry &entry, int index)
#define ICON_MD_TERMINAL
Definition icons.h:1951
WindowLifecycle
Defines lifecycle behavior for editor windows.
@ CrossEditor
User can pin to persist across editors.
WindowScope
Defines whether a window is session-scoped or global.