ImHex/include/views/view_pattern_data.hpp

31 lines
630 B
C++
Raw Normal View History

2020-11-10 20:31:04 +00:00
#pragma once
#include <hex.hpp>
#include "imgui.h"
#include "views/view.hpp"
#include "views/highlight.hpp"
#include <vector>
#include <tuple>
#include <cstdio>
#include "providers/provider.hpp"
2020-11-10 20:31:04 +00:00
namespace hex {
class ViewPatternData : public View {
public:
ViewPatternData(prv::Provider* &dataProvider, std::vector<Highlight> &highlights);
2020-11-10 20:31:04 +00:00
virtual ~ViewPatternData();
virtual void createView() override;
virtual void createMenu() override;
private:
prv::Provider* &m_dataProvider;
2020-11-10 20:31:04 +00:00
std::vector<Highlight> &m_highlights;
bool m_windowOpen = true;
};
}