Internals: Added GetInputTextState() + comments.

This commit is contained in:
ocornut
2020-03-07 15:55:05 +01:00
parent 2dcf8df9f4
commit aef057e975
5 changed files with 13 additions and 9 deletions

View File

@ -1570,6 +1570,7 @@ ImU64 ImFileWrite(const void* data, ImU64 sz, ImU64 count, ImFileHandle f)
// Helper: Load file content into memory
// Memory allocated with IM_ALLOC(), must be freed by user using IM_FREE() == ImGui::MemFree()
// This can't really be used with "rt" because fseek size won't match read size.
void* ImFileLoadToMemory(const char* filename, const char* mode, size_t* out_file_size, int padding_bytes)
{
IM_ASSERT(filename && mode);