31 lines
598 B
C++
31 lines
598 B
C++
#pragma once
|
|
|
|
#include <hex.hpp>
|
|
|
|
#include "imgui.h"
|
|
#include "views/view.hpp"
|
|
#include "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;
|
|
};
|
|
|
|
} |