c0dde570e4
Fixes #1742
24 lines
556 B
C++
24 lines
556 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;
|
|
Region m_hoveredPatternRegion = Region::Invalid();
|
|
};
|
|
|
|
} |