1
0
mirror of synced 2024-11-27 17:10:51 +01:00
ImHex/plugins/builtin/include/content/views/view_pattern_data.hpp
2022-07-16 12:14:15 +02:00

28 lines
502 B
C++

#pragma once
#include "pattern_drawer.hpp"
#include <hex.hpp>
#include <imgui.h>
#include <hex/ui/view.hpp>
#include <vector>
#include <tuple>
#include <cstdio>
namespace hex::plugin::builtin {
class ViewPatternData : public View {
public:
ViewPatternData();
~ViewPatternData() override;
void drawContent() override;
private:
std::map<prv::Provider *, std::vector<pl::Pattern*>> m_sortedPatterns;
hex::PatternDrawer m_patternDrawer;
};
}