10#ifndef SECTION_RENDERER_H
11#define SECTION_RENDERER_H
37 : configUI_(configUI), orderedKeys_(orderedKeys) {}
54 void render(
const std::string& sectionName, nlohmann::json& sectionData,
bool& isCapturing, std::string& capturingKeyName, ImGuiFileDialog* fileDialog,
bool defaultOpen =
false,
bool& isDialogOpen = *(
new bool(
false)), std::string& dialogKey = *(
new std::string()));
58 std::vector<std::string> orderedKeys_;
Definition isection_renderer.h:31
Manages the ImGui-based configuration UI.
Definition config_ui.h:35
Renderer for generic configuration sections.
Definition section_renderer.h:26
SectionRenderer(ConfigUI *configUI, const std::vector< std::string > &orderedKeys)
Constructs a SectionRenderer instance.
Definition section_renderer.h:36
void render(const std::string §ionName, nlohmann::json §ionData, bool &isCapturing, std::string &capturingKeyName, ImGuiFileDialog *fileDialog, bool defaultOpen=false, bool &isDialogOpen= *(new bool(false)), std::string &dialogKey= *(new std::string()))
Renders a configuration section in the UI.
Definition section_renderer.cpp:8
Defines the ConfigUI class for managing the ImGui-based configuration UI in ASAPCabinetFE.
Defines the ISectionRenderer interface and BaseSectionRenderer for rendering configuration sections i...