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

Enhanced docking space with themed background effects. More...

#include <background_renderer.h>

Static Public Member Functions

static void BeginEnhancedDockSpace (ImGuiID dockspace_id, const ImVec2 &size=ImVec2(0, 0), ImGuiDockNodeFlags flags=0)
 
static void EndEnhancedDockSpace ()
 
static ImVec2 GetLastDockspacePos ()
 
static ImVec2 GetLastDockspaceSize ()
 
static void SetBackgroundEnabled (bool enabled)
 
static void SetGridEnabled (bool enabled)
 
static void SetEffectsEnabled (bool enabled)
 

Static Private Attributes

static bool background_enabled_ = true
 
static bool grid_enabled_ = true
 
static bool effects_enabled_ = true
 
static ImVec2 last_dockspace_pos_ {}
 
static ImVec2 last_dockspace_size_ {}
 

Detailed Description

Enhanced docking space with themed background effects.

Definition at line 89 of file background_renderer.h.

Member Function Documentation

◆ BeginEnhancedDockSpace()

void yaze::gui::DockSpaceRenderer::BeginEnhancedDockSpace ( ImGuiID dockspace_id,
const ImVec2 & size = ImVec2(0, 0),
ImGuiDockNodeFlags flags = 0 )
static

Definition at line 388 of file background_renderer.cc.

References last_dockspace_pos_, and last_dockspace_size_.

Referenced by yaze::Controller::OnLoad().

◆ EndEnhancedDockSpace()

void yaze::gui::DockSpaceRenderer::EndEnhancedDockSpace ( )
static

Definition at line 403 of file background_renderer.cc.

Referenced by yaze::Controller::OnLoad().

◆ GetLastDockspacePos()

static ImVec2 yaze::gui::DockSpaceRenderer::GetLastDockspacePos ( )
inlinestatic

Definition at line 96 of file background_renderer.h.

References last_dockspace_pos_.

◆ GetLastDockspaceSize()

static ImVec2 yaze::gui::DockSpaceRenderer::GetLastDockspaceSize ( )
inlinestatic

◆ SetBackgroundEnabled()

static void yaze::gui::DockSpaceRenderer::SetBackgroundEnabled ( bool enabled)
inlinestatic

Definition at line 100 of file background_renderer.h.

References background_enabled_.

◆ SetGridEnabled()

static void yaze::gui::DockSpaceRenderer::SetGridEnabled ( bool enabled)
inlinestatic

Definition at line 103 of file background_renderer.h.

References grid_enabled_.

◆ SetEffectsEnabled()

static void yaze::gui::DockSpaceRenderer::SetEffectsEnabled ( bool enabled)
inlinestatic

Definition at line 104 of file background_renderer.h.

References effects_enabled_.

Member Data Documentation

◆ background_enabled_

bool yaze::gui::DockSpaceRenderer::background_enabled_ = true
staticprivate

Definition at line 107 of file background_renderer.h.

Referenced by SetBackgroundEnabled().

◆ grid_enabled_

bool yaze::gui::DockSpaceRenderer::grid_enabled_ = true
staticprivate

Definition at line 108 of file background_renderer.h.

Referenced by SetGridEnabled().

◆ effects_enabled_

bool yaze::gui::DockSpaceRenderer::effects_enabled_ = true
staticprivate

Definition at line 109 of file background_renderer.h.

Referenced by SetEffectsEnabled().

◆ last_dockspace_pos_

ImVec2 yaze::gui::DockSpaceRenderer::last_dockspace_pos_ {}
staticprivate

Definition at line 110 of file background_renderer.h.

Referenced by BeginEnhancedDockSpace(), and GetLastDockspacePos().

◆ last_dockspace_size_

ImVec2 yaze::gui::DockSpaceRenderer::last_dockspace_size_ {}
staticprivate

Definition at line 111 of file background_renderer.h.

Referenced by BeginEnhancedDockSpace(), and GetLastDockspaceSize().


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