1
0
mirror of synced 2024-11-18 21:07:12 +01:00
ImHex/include/views/view_pattern_data.hpp
2020-11-11 09:28:44 +01:00

31 lines
619 B
C++

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