#pragma once #include "imgui.h" #include #include #include "imfilebrowser.h" #include using std::string; using namespace std::filesystem; class Theme { ImGuiStyle style; public: static std::set availableThemes; static void updateAvailableThemes(); static path themeDir; static const char* prefPath; string file_path; std::set HueEnabledColors; static bool ShowEditor(bool *open, Theme* &theme); void Apply(float hue); void Save(string path); Theme(); Theme(bool dark); Theme(string path); };