feat: Added option to move selection back to hex editor footer

Closes #2024
This commit is contained in:
WerWolv
2024-12-29 21:08:08 +01:00
parent 3024c79f4f
commit 5f5f6ac539
7 changed files with 52 additions and 19 deletions

View File

@@ -279,6 +279,10 @@ namespace hex::ui {
m_tooltipCallback = callback;
}
void setShowSelectionInFooter(bool showSelection) {
m_showSelectionInFooter = showSelection;
}
[[nodiscard]] i64 getScrollPosition() {
return m_scrollPosition.get();
}
@@ -367,6 +371,7 @@ namespace hex::ui {
bool m_showAscii = true;
bool m_showCustomEncoding = true;
bool m_showMiniMap = false;
bool m_showSelectionInFooter = false;
int m_miniMapWidth = 5;
u32 m_byteCellPadding = 0, m_characterCellPadding = 0;
bool m_footerCollapsed = true;