InputText: Added password mode via ImGuiInputTextFlags_Password (#237, #363, #374)

This commit is contained in:
ocornut
2015-11-19 23:09:59 +01:00
parent 6b03ddbcb1
commit 92c518a420
4 changed files with 32 additions and 2 deletions

View File

@ -490,6 +490,7 @@ enum ImGuiInputTextFlags_
ImGuiInputTextFlags_NoHorizontalScroll = 1 << 12, // Disable following the cursor horizontally
ImGuiInputTextFlags_AlwaysInsertMode = 1 << 13, // Insert mode
ImGuiInputTextFlags_ReadOnly = 1 << 14, // Read-only mode
ImGuiInputTextFlags_Password = 1 << 15, // Password mode, display all characters as '*'
// [Internal]
ImGuiInputTextFlags_Multiline = 1 << 20 // For internal use by InputTextMultiline()
};