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 RegisterCard (EditorCard *card)
 

Private Attributes

Toolset toolbar_
 
std::vector< EditorCard * > cards_
 
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 cards for tools
  • No redundant headers
  • Responsive sizing

Definition at line 179 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 380 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 385 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 190 of file editor_layout.h.

References toolbar_.

◆ BeginMainCanvas()

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

Definition at line 390 of file editor_layout.cc.

◆ EndMainCanvas()

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

Definition at line 395 of file editor_layout.cc.

◆ RegisterCard()

void yaze::gui::EditorLayout::RegisterCard ( EditorCard card)

Definition at line 399 of file editor_layout.cc.

References cards_.

Member Data Documentation

◆ toolbar_

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

Definition at line 200 of file editor_layout.h.

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

◆ cards_

std::vector<EditorCard*> yaze::gui::EditorLayout::cards_
private

Definition at line 201 of file editor_layout.h.

Referenced by RegisterCard().

◆ in_layout_

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

Definition at line 202 of file editor_layout.h.

Referenced by Begin(), and End().


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