#pragma once // Generated with imgui-designer 0.1 // github.com/xyz #include #include #include #include "cppgen.h" class ClassWizard { public: void OpenPopup(); void ClosePopup(); void Draw(); public: CppGen* codeGen; UINode* root; bool* modified; private: void Refresh(); void FindUsed(UINode* node, std::vector& used); std::string varName; std::string className; std::vector stypes; std::vector fields; std::vector used; size_t stypeIdx; int selRow; private: ImGuiID ID; bool requestClose; }; extern ClassWizard classWizard;