Internals: Added ImTextFindPreviousUtf8Codepoint() helper + comments.

This commit is contained in:
ocornut
2023-09-08 11:08:14 +02:00
parent c9d3c29aa3
commit 727c462069
3 changed files with 25 additions and 12 deletions

View File

@ -2039,7 +2039,7 @@ struct ImGuiIO
// (default to use native imm32 api on Windows)
void (*SetPlatformImeDataFn)(ImGuiViewport* viewport, ImGuiPlatformImeData* data);
#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS
void* ImeWindowHandle; // = NULL // [Obsolete] Set ImGuiViewport::PlatformHandleRaw instead. Set this to your HWND to get automatic IME cursor positioning.
void* ImeWindowHandle; // = NULL // [Obsoleted in 1.87] Set ImGuiViewport::PlatformHandleRaw instead. Set this to your HWND to get automatic IME cursor positioning.
#else
void* _UnusedPadding; // Unused field to keep data structure the same size.
#endif