Searched refs:SelectionEnd (Results 1 - 6 of 6) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/imgui/
H A Dimgui_memory_editor.h332 if (data->SelectionStart == 0 && data->SelectionEnd == data->BufTextLen)
338 data->SelectionEnd = data->CursorPos = 2;
H A Dimgui.h1437 int SelectionStart; // // Read-write // [Completion,History,Always] == to SelectionEnd when no selection)
1438 int SelectionEnd; // // Read-write // [Completion,History,Always] member in struct:ImGuiInputTextCallbackData
1445 bool HasSelection() const { return SelectionStart != SelectionEnd; }
H A Dimgui_widgets.cpp3027 SelectionStart = SelectionEnd = CursorPos;
3059 SelectionStart = SelectionEnd = CursorPos;
3539 const int utf8_selection_end = callback_data.SelectionEnd = ImTextCountUtf8BytesFromStr(text, text + edit_state.StbState.select_end);
3550 if (callback_data.SelectionEnd != utf8_selection_end) { edit_state.StbState.select_end = ImTextCountCharsFromUtf8(callback_data.Buf, callback_data.Buf + callback_data.SelectionEnd); }
/xsrc/external/mit/MesaLib/dist/src/imgui/
H A Dimgui_memory_editor.h334 if (data->SelectionStart == 0 && data->SelectionEnd == data->BufTextLen)
340 data->SelectionEnd = data->CursorPos = 2;
H A Dimgui.h1437 int SelectionStart; // // Read-write // [Completion,History,Always] == to SelectionEnd when no selection)
1438 int SelectionEnd; // // Read-write // [Completion,History,Always] member in struct:ImGuiInputTextCallbackData
1445 bool HasSelection() const { return SelectionStart != SelectionEnd; }
H A Dimgui_widgets.cpp3027 SelectionStart = SelectionEnd = CursorPos;
3059 SelectionStart = SelectionEnd = CursorPos;
3539 const int utf8_selection_end = callback_data.SelectionEnd = ImTextCountUtf8BytesFromStr(text, text + edit_state.StbState.select_end);
3550 if (callback_data.SelectionEnd != utf8_selection_end) { edit_state.StbState.select_end = ImTextCountCharsFromUtf8(callback_data.Buf, callback_data.Buf + callback_data.SelectionEnd); }

Completed in 43 milliseconds