InputText: amends: renames, coding style. (#7925)

This commit is contained in:
ocornut
2024-09-11 14:46:29 +02:00
committed by omar
parent abd07f6d30
commit d1b7817959
4 changed files with 20 additions and 22 deletions
-1
View File
@@ -1114,7 +1114,6 @@ struct IMGUI_API ImGuiInputTextState
int CurLenA; // UTF-8 length of the string in TextA (in bytes)
ImVector<char> TextA; // temporary UTF8 buffer for callbacks and other operations. this is not updated in every code-path! size=capacity.
ImVector<char> InitialTextA; // value to revert to when pressing Escape = backup of end-user buffer at the time of focus (in UTF-8, unaltered)
bool TextAIsValid; // temporary UTF8 buffer is not initially valid before we make the widget active (until then we pull the data from user argument)
int BufCapacityA; // end-user buffer capacity
ImVec2 Scroll; // horizontal offset (managed manually) + vertical scrolling (pulled from child window's own Scroll.y)
float CursorAnim; // timer for cursor blink, reset on every user action so the cursor reappears immediately