#pragma once #include #include #include #include #include #include #include #include #include namespace hex { class ViewPattern : public View { public: explicit ViewPattern(std::vector &patternData); ~ViewPattern() override; void drawMenu() override; void drawContent() override; private: std::vector &m_patternData; std::filesystem::path m_possiblePatternFile; TextEditor m_textEditor; std::vector> m_console; imgui_addons::ImGuiFileBrowser m_fileBrowser; void loadPatternFile(std::string path); void clearPatternData(); void parsePattern(char *buffer); }; }