mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-24 06:36:08 +00:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user