IO: Exposed io.PlatformLocaleDecimalPoint to configure decimal point ('.' or ','). (#6719, #2278)

Amend 13f718337
This commit is contained in:
ocornut
2023-08-17 13:11:30 +02:00
parent a1a7a1bc03
commit ba1fa904a9
5 changed files with 16 additions and 11 deletions

View File

@ -1286,6 +1286,7 @@ ImGuiIO::ImGuiIO()
// Note: Initialize() will setup default clipboard/ime handlers.
BackendPlatformName = BackendRendererName = NULL;
BackendPlatformUserData = BackendRendererUserData = BackendLanguageUserData = NULL;
PlatformLocaleDecimalPoint = '.';
// Input (NB: we already have memset zero the entire structure!)
MousePos = ImVec2(-FLT_MAX, -FLT_MAX);