mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-02 05:27:41 -05:00
feat: Added hex editor segment separators
This commit is contained in:
@@ -96,6 +96,7 @@ namespace hex::ui {
|
||||
enum class CellType : u8 { None, Hex, ASCII };
|
||||
|
||||
void drawCell(u64 address, const u8 *data, size_t size, bool hovered, CellType cellType);
|
||||
void drawSeparatorLine(u64 address, bool drawVerticalConnector);
|
||||
void drawSelectionFrame(u32 x, u32 y, Region selection, u64 byteAddress, u16 bytesPerCell, const ImVec2 &cellPos, const ImVec2 &cellSize, const ImColor &backgroundColor) const;
|
||||
void drawEditor(const ImVec2 &size);
|
||||
void drawFooter(const ImVec2 &size);
|
||||
@@ -339,6 +340,7 @@ namespace hex::ui {
|
||||
std::endian m_dataVisualizerEndianness = std::endian::little;
|
||||
std::shared_ptr<ContentRegistry::HexEditor::DataVisualizer> m_currDataVisualizer;
|
||||
char m_unknownDataCharacter = '?';
|
||||
u64 m_separatorStride = 0;
|
||||
|
||||
bool m_shouldJumpToSelection = false;
|
||||
float m_jumpPivot = 0.0F;
|
||||
|
||||
Reference in New Issue
Block a user