1
0
mirror of synced 2024-11-14 19:17:42 +01:00
ImHex/include/views/view_pattern_data.hpp

31 lines
606 B
C++

#pragma once
#include <hex.hpp>
#include <imgui.h>
#include <hex/views/view.hpp>
#include <hex/lang/pattern_data.hpp>
#include <vector>
#include <tuple>
#include <cstdio>
namespace hex {
namespace prv { class Provider; }
class ViewPatternData : public View {
public:
ViewPatternData(std::vector<lang::PatternData*> &patternData);
~ViewPatternData() override;
void drawContent() override;
void drawMenu() override;
private:
std::vector<lang::PatternData*> &m_patternData;
std::vector<lang::PatternData*> m_sortedPatternData;
};
}