1
0
mirror of synced 2024-11-15 03:27:40 +01:00
ImHex/plugins/builtin/include/content/views/view_pattern_data.hpp

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();
};
}