1
0
mirror of synced 2024-11-27 17:10:51 +01:00
ImHex/plugins/builtin/include/content/views/view_pattern_data.hpp

26 lines
515 B
C++

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