UI and Config support for dec/hex display option for Offsets or Sizes

Used when fields are marked as being an Offset or Size
Include simple latch to trigger a UI refresh when closing the settings dialog.
Currently only connected to if the Offset/Size format option is altered
This commit is contained in:
Jake Turner
2023-12-06 17:19:05 +00:00
parent dc76459c65
commit 6ce881d5da
10 changed files with 166 additions and 19 deletions
@@ -44,6 +44,18 @@ rdcstr DoStringise(const TimeUnit &el)
END_ENUM_STRINGISE();
}
template <>
rdcstr DoStringise(const OffsetSizeDisplayMode &el)
{
BEGIN_ENUM_STRINGISE(OffsetSizeDisplayMode)
{
STRINGISE_ENUM_CLASS(Auto);
STRINGISE_ENUM_CLASS(Decimal);
STRINGISE_ENUM_CLASS(Hexadecimal);
}
END_ENUM_STRINGISE();
}
#define JSON_ID "rdocConfigData"
#define JSON_VER 1