yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::gui::EditorLayout Class Reference

Modern layout manager for editor components. More...

#include <editor_layout.h>

Collaboration diagram for yaze::gui::EditorLayout:

Public Member Functions

 EditorLayout ()=default
 
void Begin ()
 
void End ()
 
ToolsetGetToolbar ()
 
void BeginMainCanvas ()
 
void EndMainCanvas ()
 
void RegisterPanel (PanelWindow *panel)
 

Private Attributes

Toolset toolbar_
 
std::vector< PanelWindow * > panels_
 
bool in_layout_ = false
 

Detailed Description

Modern layout manager for editor components.

Manages the overall editor layout with:

  • Compact toolbar at top
  • Main canvas in center
  • Floating/docked panels for tools
  • No redundant headers
  • Responsive sizing

Definition at line 232 of file editor_layout.h.

Constructor & Destructor Documentation

◆ EditorLayout()

yaze::gui::EditorLayout::EditorLayout ( )
default

Member Function Documentation

◆ Begin()

void yaze::gui::EditorLayout::Begin ( )

Definition at line 455 of file editor_layout.cc.

References yaze::gui::Toolset::Begin(), in_layout_, and toolbar_.

Here is the call graph for this function:

◆ End()

void yaze::gui::EditorLayout::End ( )

Definition at line 460 of file editor_layout.cc.

References yaze::gui::Toolset::End(), in_layout_, and toolbar_.

Here is the call graph for this function:

◆ GetToolbar()

Toolset & yaze::gui::EditorLayout::GetToolbar ( )
inline

Definition at line 243 of file editor_layout.h.

References toolbar_.

◆ BeginMainCanvas()

void yaze::gui::EditorLayout::BeginMainCanvas ( )

Definition at line 465 of file editor_layout.cc.

◆ EndMainCanvas()

void yaze::gui::EditorLayout::EndMainCanvas ( )

Definition at line 470 of file editor_layout.cc.

◆ RegisterPanel()

void yaze::gui::EditorLayout::RegisterPanel ( PanelWindow * panel)

Definition at line 474 of file editor_layout.cc.

References panels_.

Member Data Documentation

◆ toolbar_

Toolset yaze::gui::EditorLayout::toolbar_
private

Definition at line 253 of file editor_layout.h.

Referenced by Begin(), End(), and GetToolbar().

◆ panels_

std::vector<PanelWindow*> yaze::gui::EditorLayout::panels_
private

Definition at line 254 of file editor_layout.h.

Referenced by RegisterPanel().

◆ in_layout_

bool yaze::gui::EditorLayout::in_layout_ = false
private

Definition at line 255 of file editor_layout.h.

Referenced by Begin(), and End().


The documentation for this class was generated from the following files: