mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-02 05:27:41 -05:00
Actually display signed and floating point data in the right format
This commit is contained in:
@@ -5,14 +5,19 @@
|
||||
|
||||
namespace hex {
|
||||
|
||||
struct VariableType {
|
||||
size_t size;
|
||||
enum class Kind { Unsigned, Signed, FloatingPoint } kind;
|
||||
};
|
||||
|
||||
struct Highlight {
|
||||
Highlight(u64 offset, size_t size, u32 color, std::string name)
|
||||
: offset(offset), size(size), color(color), name(name) {
|
||||
Highlight(u64 offset, VariableType type, u32 color, std::string name)
|
||||
: offset(offset), type(type), color(color), name(name) {
|
||||
|
||||
}
|
||||
|
||||
u64 offset;
|
||||
size_t size;
|
||||
VariableType type;
|
||||
u32 color;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user