2020-11-10 20:31:04 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <hex.hpp>
|
|
|
|
|
2021-01-13 16:28:27 +00:00
|
|
|
#include <imgui.h>
|
|
|
|
#include <hex/views/view.hpp>
|
2020-11-10 20:31:04 +00:00
|
|
|
|
|
|
|
#include <vector>
|
|
|
|
#include <tuple>
|
|
|
|
#include <cstdio>
|
|
|
|
|
|
|
|
namespace hex {
|
|
|
|
|
2020-11-11 08:28:44 +00:00
|
|
|
namespace prv { class Provider; }
|
2021-09-06 18:35:38 +00:00
|
|
|
namespace lang { class PatternData; }
|
2020-11-11 08:28:44 +00:00
|
|
|
|
2020-11-10 20:31:04 +00:00
|
|
|
class ViewPatternData : public View {
|
|
|
|
public:
|
2021-04-20 19:46:48 +00:00
|
|
|
ViewPatternData();
|
2020-11-11 08:28:44 +00:00
|
|
|
~ViewPatternData() override;
|
2020-11-10 20:31:04 +00:00
|
|
|
|
2020-12-22 17:10:01 +00:00
|
|
|
void drawContent() override;
|
|
|
|
void drawMenu() override;
|
2020-11-10 20:31:04 +00:00
|
|
|
|
|
|
|
private:
|
2021-09-08 13:18:24 +00:00
|
|
|
std::vector<pl::PatternData*> m_sortedPatternData;
|
2020-11-10 20:31:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|