Added a flag for text input to disable undo / redo

This commit is contained in:
ibachar
2017-12-17 15:27:56 +02:00
parent b1d90b565d
commit abaf347deb
2 changed files with 6 additions and 4 deletions

View File

@ -566,6 +566,7 @@ enum ImGuiInputTextFlags_
ImGuiInputTextFlags_AlwaysInsertMode = 1 << 13, // Insert mode
ImGuiInputTextFlags_ReadOnly = 1 << 14, // Read-only mode
ImGuiInputTextFlags_Password = 1 << 15, // Password mode, display all characters as '*'
ImGuiInputTextFlags_DisableUndo = 1 << 16, // Disable undo / redo
// [Internal]
ImGuiInputTextFlags_Multiline = 1 << 20 // For internal use by InputTextMultiline()
};