|
|
@ -1025,7 +1025,7 @@ struct IMGUI_API ImGuiInputTextState |
|
|
|
bool CursorFollow; // set when we want scrolling to follow the current cursor position (not always!)
|
|
|
|
bool CursorFollow; // set when we want scrolling to follow the current cursor position (not always!)
|
|
|
|
bool SelectedAllMouseLock; // after a double-click to select all, we ignore further mouse drags to update selection
|
|
|
|
bool SelectedAllMouseLock; // after a double-click to select all, we ignore further mouse drags to update selection
|
|
|
|
bool Edited; // edited this frame
|
|
|
|
bool Edited; // edited this frame
|
|
|
|
ImGuiInputTextFlags Flags; // copy of InputText() flags
|
|
|
|
ImGuiInputTextFlags Flags; // copy of InputText() flags. may be used to check if e.g. ImGuiInputTextFlags_Password is set.
|
|
|
|
|
|
|
|
|
|
|
|
ImGuiInputTextState() { memset(this, 0, sizeof(*this)); } |
|
|
|
ImGuiInputTextState() { memset(this, 0, sizeof(*this)); } |
|
|
|
void ClearText() { CurLenW = CurLenA = 0; TextW[0] = 0; TextA[0] = 0; CursorClamp(); } |
|
|
|
void ClearText() { CurLenW = CurLenA = 0; TextW[0] = 0; TextA[0] = 0; CursorClamp(); } |
|
|
|