Searched defs:ImGuiInputTextState (Results 1 – 3 of 3) sorted by relevance
| /third_party/flutter/skia/third_party/externals/imgui/ |
| D | imgui_internal.h | 540 struct IMGUI_API ImGuiInputTextState struct 559 ImGuiInputTextState() { memset(this, 0, sizeof(*this)); } in ImGuiInputTextState() argument 560 … // After a user-input the cursor stays on for a while without blinking in CursorAnimReset() 561 …; StbState.select_start = ImMin(StbState.select_start, CurLenW); StbState.select_end = ImMin(StbSt… in CursorClamp() 562 … HasSelection() const { return StbState.select_start != StbState.select_end; } in HasSelection() 563 … ClearSelection() { StbState.select_start = StbState.select_end = StbState.cursor; } in ClearSelection() 564 …ect_start = 0; StbState.cursor = StbState.select_end = CurLenW; StbState.has_preferred_x = false; } in SelectAll()
|
| /third_party/mesa3d/src/imgui/ |
| D | imgui_internal.h | 561 struct IMGUI_API ImGuiInputTextState struct 580 ImGuiInputTextState() { memset(this, 0, sizeof(*this)); } in ImGuiInputTextState() argument 581 … // After a user-input the cursor stays on for a while without blinking in CursorAnimReset() 582 …; StbState.select_start = ImMin(StbState.select_start, CurLenW); StbState.select_end = ImMin(StbSt… in CursorClamp() 583 … HasSelection() const { return StbState.select_start != StbState.select_end; } in HasSelection() 584 … ClearSelection() { StbState.select_start = StbState.select_end = StbState.cursor; } in ClearSelection() 585 ….select_start = 0; StbState.cursor = StbState.select_end = CurLenW; StbState.has_preferred_x = 0; } in SelectAll()
|
| /third_party/skia/third_party/externals/imgui/ |
| D | imgui_internal.h | 1006 struct IMGUI_API ImGuiInputTextState struct 1025 ImGuiInputTextState() { memset(this, 0, sizeof(*this)); } in ImGuiInputTextState() argument 1026 … ClearText() { CurLenW = CurLenA = 0; TextW[0] = 0; TextA[0] = 0; CursorClamp(); } in ClearText() 1027 void ClearFreeMemory() { TextW.clear(); TextA.clear(); InitialTextA.clear(); } in ClearFreeMemory() 1028 int GetUndoAvailCount() const { return Stb.undostate.undo_point; } in GetUndoAvailCount() 1029 … GetRedoAvailCount() const { return STB_TEXTEDIT_UNDOSTATECOUNT - Stb.undostate.redo_point; } in GetRedoAvailCount() 1033 … // After a user-input the cursor stays on for a while without blinking in CursorAnimReset() 1034 …select_start = ImMin(Stb.select_start, CurLenW); Stb.select_end = ImMin(Stb.select_end, CurLenW); } in CursorClamp() 1035 bool HasSelection() const { return Stb.select_start != Stb.select_end; } in HasSelection() 1036 void ClearSelection() { Stb.select_start = Stb.select_end = Stb.cursor; } in ClearSelection() [all …]
|