yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::editor::layout_designer::LayoutPanel Struct Reference

Represents a single panel in a layout. More...

#include <layout_definition.h>

Public Attributes

std::string panel_id
 
std::string display_name
 
std::string icon
 
ImVec2 size = ImVec2(-1, -1)
 
float size_ratio = 0.0f
 
bool visible_by_default = true
 
int priority = 100
 
bool closable = true
 
bool minimizable = true
 
bool pinnable = true
 
bool headless = false
 
bool docking_allowed = true
 
ImGuiWindowFlags flags = ImGuiWindowFlags_None
 
ImGuiID dock_id = 0
 
bool is_floating = false
 
ImVec2 floating_pos = ImVec2(100, 100)
 
ImVec2 floating_size = ImVec2(400, 300)
 

Detailed Description

Represents a single panel in a layout.

Contains all metadata needed to recreate the panel in a layout, including size, position, flags, and visual properties.

Definition at line 33 of file layout_definition.h.

Member Data Documentation

◆ panel_id

◆ display_name

◆ icon

◆ size

ImVec2 yaze::editor::layout_designer::LayoutPanel::size = ImVec2(-1, -1)

◆ size_ratio

float yaze::editor::layout_designer::LayoutPanel::size_ratio = 0.0f

Definition at line 40 of file layout_definition.h.

◆ visible_by_default

◆ priority

◆ closable

◆ minimizable

bool yaze::editor::layout_designer::LayoutPanel::minimizable = true

◆ pinnable

◆ headless

bool yaze::editor::layout_designer::LayoutPanel::headless = false

◆ docking_allowed

bool yaze::editor::layout_designer::LayoutPanel::docking_allowed = true

Definition at line 51 of file layout_definition.h.

◆ flags

ImGuiWindowFlags yaze::editor::layout_designer::LayoutPanel::flags = ImGuiWindowFlags_None

◆ dock_id

ImGuiID yaze::editor::layout_designer::LayoutPanel::dock_id = 0

Definition at line 55 of file layout_definition.h.

◆ is_floating

bool yaze::editor::layout_designer::LayoutPanel::is_floating = false

Definition at line 56 of file layout_definition.h.

◆ floating_pos

ImVec2 yaze::editor::layout_designer::LayoutPanel::floating_pos = ImVec2(100, 100)

Definition at line 57 of file layout_definition.h.

◆ floating_size

ImVec2 yaze::editor::layout_designer::LayoutPanel::floating_size = ImVec2(400, 300)

Definition at line 58 of file layout_definition.h.


The documentation for this struct was generated from the following file: