mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-01 21:17:44 -05:00
feat: Added setting to enable colored pattern row backgrounds
This commit is contained in:
@@ -35,6 +35,7 @@ namespace hex::plugin::builtin::ui {
|
||||
|
||||
void setTreeStyle(TreeStyle style) { this->m_treeStyle = style; }
|
||||
void setSelectionCallback(std::function<void(Region)> callback) { this->m_selectionCallback = std::move(callback); }
|
||||
void enableRowColoring(bool enabled) { this->m_rowColoring = enabled; }
|
||||
void reset();
|
||||
|
||||
private:
|
||||
@@ -99,6 +100,7 @@ namespace hex::plugin::builtin::ui {
|
||||
u64 m_editingPatternOffset = 0;
|
||||
|
||||
TreeStyle m_treeStyle = TreeStyle::Default;
|
||||
bool m_rowColoring = false;
|
||||
pl::ptrn::Pattern *m_currVisualizedPattern = nullptr;
|
||||
|
||||
std::set<pl::ptrn::Pattern*> m_visualizedPatterns;
|
||||
|
||||
Reference in New Issue
Block a user