#pragma once #include #include "imgui.h" #include "views/view.hpp" #include "lang/pattern_data.hpp" #include #include #include namespace hex { namespace prv { class Provider; } class ViewPatternData : public View { public: ViewPatternData(prv::Provider* &dataProvider, std::vector &patternData); ~ViewPatternData() override; void createView() override; void createMenu() override; private: prv::Provider* &m_dataProvider; std::vector &m_patternData; std::vector m_sortedPatternData; bool m_windowOpen = true; }; }