23 lines
497 B
C++
23 lines
497 B
C++
#pragma once
|
|
|
|
#include <hex/ui/view.hpp>
|
|
|
|
#include <ui/pattern_drawer.hpp>
|
|
|
|
namespace hex::plugin::builtin {
|
|
|
|
class ViewPatternData : public View::Window {
|
|
public:
|
|
ViewPatternData();
|
|
~ViewPatternData() override;
|
|
|
|
void drawContent() override;
|
|
|
|
private:
|
|
bool m_rowColoring = false;
|
|
ui::PatternDrawer::TreeStyle m_treeStyle = ui::PatternDrawer::TreeStyle::Default;
|
|
|
|
PerProvider<std::unique_ptr<ui::PatternDrawer>> m_patternDrawer;
|
|
};
|
|
|
|
} |