Home
last modified time | relevance | path

Searched refs:CursorPos (Results 1 – 6 of 6) sorted by relevance

/external/mesa3d/src/imgui/
Dimgui_widgets.cpp139 …const ImVec2 text_pos(window->DC.CursorPos.x, window->DC.CursorPos.y + window->DC.CurrentLineTextB… in TextUnformatted()
220 …const float wrap_width = wrap_enabled ? CalcWrapWidthForPos(window->DC.CursorPos, wrap_pos_x) : 0.… in TextUnformatted()
321 …const ImRect value_bb(window->DC.CursorPos, window->DC.CursorPos + ImVec2(w, label_size.y + style.… in LabelTextV()
322 …const ImRect total_bb(window->DC.CursorPos, window->DC.CursorPos + ImVec2(w + (label_size.x > 0.0f… in LabelTextV()
358 …const ImRect bb(window->DC.CursorPos, window->DC.CursorPos + ImVec2(g.FontSize + (label_size.x > 0… in BulletTextV()
555 ImVec2 pos = window->DC.CursorPos; in ButtonEx()
615 const ImRect bb(window->DC.CursorPos, window->DC.CursorPos + size); in InvisibleButton()
634 const ImRect bb(window->DC.CursorPos, window->DC.CursorPos + size); in ArrowButtonEx()
848 ImRect bb(window->DC.CursorPos, window->DC.CursorPos + size); in Image()
886 const ImRect bb(window->DC.CursorPos, window->DC.CursorPos + size + padding * 2); in ImageButton()
[all …]
Dimgui_memory_editor.h333 user_data->CursorPos = data->CursorPos; in Callback()
340 data->SelectionEnd = data->CursorPos = 2; in Callback()
345 int CursorPos; // Output member
348 user_data.CursorPos = -1;
357 if (user_data.CursorPos >= 2)
Dimgui.cpp2193 …window->DC.CursorPosPrevLine.y = window->DC.CursorPos.y - line_height; // Setting those field… in SetCursorPosYAndSetupDummyPrevLine()
2196 …window->DC.ColumnsSet->LineMinY = window->DC.CursorPos.y; // Setting this so that cell Y… in SetCursorPosYAndSetupDummyPrevLine()
2754 window->DC.CursorPosPrevLine = ImVec2(window->DC.CursorPos.x + size.x, window->DC.CursorPos.y); in ItemSize()
2755 …window->DC.CursorPos.x = (float)(int)(window->Pos.x + window->DC.Indent.x + window->DC.ColumnsOffs… in ItemSize()
2756 …window->DC.CursorPos.y = (float)(int)(window->DC.CursorPos.y + line_height + g.Style.ItemSpacing.y… in ItemSize()
2758 …window->DC.CursorMaxPos.y = ImMax(window->DC.CursorMaxPos.y, window->DC.CursorPos.y - g.Style.Item… in ItemSize()
2933 …size.x = (size.x == 0.0f) ? default_x : ImMax(content_max.x - g.CurrentWindow->DC.CursorPos.x, 4.0… in CalcItemSize()
2935 …size.y = (size.y == 0.0f) ? default_y : ImMax(content_max.y - g.CurrentWindow->DC.CursorPos.y, 4.0… in CalcItemSize()
3945 const ImVec2 pos = window->DC.CursorPos; in CalcListClipping()
4359 parent_window->DC.CursorPos = child_window->Pos; in BeginChildEx()
[all …]
Dimgui_internal.h1052 ImVec2 CursorPos; member
1097 CursorPos = CursorPosPrevLine = CursorStartPos = CursorMaxPos = ImVec2(0.0f, 0.0f); in ImGuiWindowTempData()
Dimgui.h1436 …int CursorPos; // // Read-write // [Co… member
/external/llvm-project/clang-tools-extra/clangd/
DClangdServer.cpp336 llvm::Expected<size_t> CursorPos = positionToOffset(Code, Pos); in formatOnType() local
337 if (!CursorPos) in formatOnType()
338 return CB(CursorPos.takeError()); in formatOnType()
340 TriggerText = TriggerText.str(), CursorPos = *CursorPos, in formatOnType()
350 formatIncremental(Code, CursorPos, TriggerText, *Style)) in formatOnType()