1
0
mirror of synced 2024-11-30 18:34:29 +01:00
ImHex/plugins/builtin/include/content/views/view_pattern_data.hpp
2022-09-07 23:11:13 +02:00

25 lines
486 B
C++

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