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 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_ {} |
Enhanced docking space with themed background effects.
Definition at line 74 of file background_renderer.h.
|
static |
Definition at line 343 of file background_renderer.cc.
References yaze::gui::Color::alpha, background_enabled_, yaze::gui::BackgroundRenderer::Get(), yaze::gui::ThemeManager::Get(), grid_enabled_, last_dockspace_pos_, and last_dockspace_size_.
Referenced by yaze::core::Controller::OnLoad().
|
static |
Definition at line 375 of file background_renderer.cc.
|
inlinestatic |
Definition at line 81 of file background_renderer.h.
References background_enabled_.
|
inlinestatic |
Definition at line 82 of file background_renderer.h.
References grid_enabled_.
|
inlinestatic |
Definition at line 83 of file background_renderer.h.
References effects_enabled_.
|
staticprivate |
Definition at line 86 of file background_renderer.h.
Referenced by BeginEnhancedDockSpace(), and SetBackgroundEnabled().
|
staticprivate |
Definition at line 87 of file background_renderer.h.
Referenced by BeginEnhancedDockSpace(), and SetGridEnabled().
|
staticprivate |
Definition at line 88 of file background_renderer.h.
Referenced by SetEffectsEnabled().
|
staticprivate |
Definition at line 89 of file background_renderer.h.
Referenced by BeginEnhancedDockSpace().
|
staticprivate |
Definition at line 90 of file background_renderer.h.
Referenced by BeginEnhancedDockSpace().