Internals: Added Name to ImGuiDataTypeInfo + minor misc comments in BeginGroup().

This commit is contained in:
ocornut
2020-08-26 20:50:19 +02:00
parent 45499b8f2f
commit 093afd4f7f
3 changed files with 20 additions and 18 deletions

View File

@ -786,7 +786,8 @@ struct ImGuiDataTypeTempStorage
// Type information associated to one ImGuiDataType. Retrieve with DataTypeGetInfo().
struct ImGuiDataTypeInfo
{
size_t Size; // Size in byte
size_t Size; // Size in bytes
const char* Name; // Short descriptive name for the type, for debugging
const char* PrintFmt; // Default printf format for the type
const char* ScanFmt; // Default scanf format for the type
};