#pragma once

#include <hex.hpp>

#include <imgui.h>
#include <hex/views/view.hpp>

#include <vector>
#include <tuple>
#include <cstdio>

namespace hex {

    namespace prv { class Provider; }
    namespace lang { class PatternData; }

    class ViewPatternData : public View {
    public:
        ViewPatternData();
        ~ViewPatternData() override;

        void drawContent() override;
        void drawMenu() override;

    private:
        std::vector<pl::PatternData*> m_sortedPatternData;
    };

}