feat: Added per-byte highlights to the hex editor minimap

This commit is contained in:
WerWolv
2024-06-20 11:21:20 +02:00
parent 5d59b8599d
commit c5f5973a9d
6 changed files with 105 additions and 19 deletions

View File

@@ -1086,7 +1086,7 @@ namespace hex {
};
struct MiniMapVisualizer {
using Callback = std::function<ImColor(const std::vector<u8>&)>;
using Callback = std::function<void(u64, std::span<const u8>, std::vector<ImColor>&)>;
UnlocalizedString unlocalizedName;
Callback callback;