1
0
mirror of synced 2024-11-19 05:17:12 +01:00
ImHex/include/views/highlight.hpp

25 lines
469 B
C++
Raw Normal View History

2020-11-10 21:31:04 +01:00
#pragma once
#include <hex.hpp>
#include <string>
namespace hex {
struct VariableType {
size_t size;
enum class Kind { Unsigned, Signed, FloatingPoint } kind;
};
2020-11-10 21:31:04 +01:00
struct Highlight {
Highlight(u64 offset, VariableType type, u32 color, std::string name)
: offset(offset), type(type), color(color), name(name) {
2020-11-10 21:31:04 +01:00
}
u64 offset;
VariableType type;
2020-11-10 21:31:04 +01:00
u32 color;
std::string name;
};
}