ImGuiOverlay.ixx File
Manages a collection of ImGui widgets and renders them using a backend. More...
Included Headers
#include <vector>
#include "imgui.h"
#include <helios.imgui.ImGuiWidget>
#include <helios.imgui.ImGuiBackend>
Namespaces Index
| namespace | helios |
| namespace | imgui |
Classes Index
| class | ImGuiOverlay |
|
Central manager for ImGui widgets rendered via a specific backend. More... | |
Description
Manages a collection of ImGui widgets and renders them using a backend.
File Listing
The file content with the documentation metadata removed is:
17export namespace helios::imgui {
29 class ImGuiOverlay {
55 ImGuiBackend* backend_;
71 explicit ImGuiOverlay(ImGuiBackend* backend) :
84 static ImGuiOverlay& forBackend(ImGuiBackend* backend) {
86 static auto overlay = ImGuiOverlay(backend);
99 void addWidget(ImGuiWidget* widget) {
111 void setDockSpaceEnabled(bool enabled) noexcept {
124 if (!backend_->newFrame()) {
139 backend_->renderDrawData(ImGui::GetDrawData());
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.