ASAPCabinetFE
 
Loading...
Searching...
No Matches
BaseSectionRenderer Class Reference
+ Inheritance diagram for BaseSectionRenderer:
+ Collaboration diagram for BaseSectionRenderer:

Protected Member Functions

void renderBool (const std::string &key, nlohmann::json &value, const std::string &sectionName)
 
void renderFloat (const std::string &key, nlohmann::json &value, const std::string &sectionName, float minVal=0.0f, float maxVal=1.0f, const char *format="%.2f")
 
void renderInt (const std::string &key, nlohmann::json &value, const std::string &sectionName, int minVal=0, int maxVal=10000)
 
void renderString (const std::string &key, nlohmann::json &value, const std::string &sectionName)
 
void renderColor (const std::string &key, nlohmann::json &value, const std::string &sectionName)
 
void renderRotation (const std::string &key, nlohmann::json &value, const std::string &sectionName)
 
void renderKeybind (const std::string &key, nlohmann::json &value, const std::string &sectionName, bool &isCapturing, std::string &capturingKeyName)
 
void renderPathOrExecutable (const std::string &key, nlohmann::json &value, const std::string &sectionName, ImGuiFileDialog *fileDialog, bool &isDialogOpen, std::string &dialogKey)
 
int snapToStep (int value)
 

Additional Inherited Members

- Public Member Functions inherited from ISectionRenderer
virtual 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()))=0
 

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