Lines Matching refs:CursorPos
139 …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()
887 const ImRect image_bb(window->DC.CursorPos + padding, window->DC.CursorPos + padding + size); in ImageButton()
918 const ImVec2 pos = window->DC.CursorPos; in Checkbox()
977 const ImVec2 pos = window->DC.CursorPos; in RadioButton()
1034 ImVec2 pos = window->DC.CursorPos; in ProgressBar()
1069 const ImRect bb(window->DC.CursorPos, window->DC.CursorPos + ImVec2(g.FontSize, line_height)); in Bullet()
1108 const ImRect bb(window->DC.CursorPos, window->DC.CursorPos + size); in Dummy()
1166 const ImRect bb(ImVec2(x1, window->DC.CursorPos.y), ImVec2(x2, window->DC.CursorPos.y+1.0f)); in Separator()
1183 window->DC.ColumnsSet->LineMinY = window->DC.CursorPos.y; in Separator()
1194 float y1 = window->DC.CursorPos.y; in VerticalSeparator()
1195 float y2 = window->DC.CursorPos.y + window->DC.CurrentLineSize.y; in VerticalSeparator()
1196 const ImRect bb(ImVec2(window->DC.CursorPos.x, y1), ImVec2(window->DC.CursorPos.x + 1.0f, y2)); in VerticalSeparator()
1299 …const ImRect frame_bb(window->DC.CursorPos, window->DC.CursorPos + ImVec2(w, label_size.y + style.… in BeginCombo()
1876 …const ImRect frame_bb(window->DC.CursorPos, window->DC.CursorPos + ImVec2(w, label_size.y + style.… in DragScalar()
1910 window->DC.CursorPos = frame_bb.Min; in DragScalar()
2309 …const ImRect frame_bb(window->DC.CursorPos, window->DC.CursorPos + ImVec2(w, label_size.y + style.… in SliderScalar()
2342 window->DC.CursorPos = frame_bb.Min; in SliderScalar()
2463 const ImRect frame_bb(window->DC.CursorPos, window->DC.CursorPos + size); in VSliderScalar()
3023 if (CursorPos + bytes_count >= pos) in DeleteChars()
3024 CursorPos -= bytes_count; in DeleteChars()
3025 else if (CursorPos >= pos) in DeleteChars()
3026 CursorPos = pos; in DeleteChars()
3027 SelectionStart = SelectionEnd = CursorPos; in DeleteChars()
3057 if (CursorPos >= pos) in InsertChars()
3058 CursorPos += new_text_len; in InsertChars()
3059 SelectionStart = SelectionEnd = CursorPos; in InsertChars()
3155 const ImRect frame_bb(window->DC.CursorPos, window->DC.CursorPos + size); in InputTextEx()
3299 …const float mouse_y = (is_multiline ? (io.MousePos.y - draw_window->DC.CursorPos.y - style.FramePa… in InputTextEx()
3537 …const int utf8_cursor_pos = callback_data.CursorPos = ImTextCountUtf8BytesFromStr(text, text + edi… in InputTextEx()
3548 …CursorPos != utf8_cursor_pos) { edit_state.StbState.cursor = ImTextCountCharsFromUtf8(c… in InputTextEx()
3622 … ImVec2 render_pos = is_multiline ? draw_window->DC.CursorPos : frame_bb.Min + style.FramePadding; in InputTextEx()
3707 … draw_window->DC.CursorPos.y += (draw_window->Scroll.y - scroll_y); // To avoid a frame of lag in InputTextEx()
3709 render_pos.y = draw_window->DC.CursorPos.y; in InputTextEx()
4131 ImVec2 picker_pos = window->DC.CursorPos; in ColorPicker4()
4423 const ImRect bb(window->DC.CursorPos, window->DC.CursorPos + size); in ColorButton()
4777 …ImRect frame_bb = ImRect(window->DC.CursorPos, ImVec2(window->Pos.x + GetContentRegionMax().x, win… in TreeNodeBehavior()
4957 g.CurrentWindow->DC.CursorPos.x += GetTreeNodeToLabelSpacing(); in TreeAdvanceToLabelPos()
5036 ImVec2 pos = window->DC.CursorPos; in Selectable()
5146 ImRect frame_bb(window->DC.CursorPos, window->DC.CursorPos + frame_size); in ListBoxHeader()
5196 parent_window->DC.CursorPos = bb.Min; in ListBoxFooter()
5265 const ImRect frame_bb(window->DC.CursorPos, window->DC.CursorPos + frame_size); in PlotEx()
5540 …window->DC.CursorPos = ImVec2(bar_rect.Min.x + window->DC.MenuBarOffset.x, bar_rect.Min.y + window… in BeginMenuBar()
5580 …window->DC.MenuBarOffset.x = window->DC.CursorPos.x - window->MenuBarRect().Min.x; // Save horizon… in EndMenuBar()
5611 ImVec2 popup_pos, pos = window->DC.CursorPos; in BeginMenu()
5618 window->DC.CursorPos.x += (float)(int)(style.ItemSpacing.x * 0.5f); in BeginMenu()
5623 …window->DC.CursorPos.x += (float)(int)(style.ItemSpacing.x * (-1.0f + 0.5f)); // -1 spacing to com… in BeginMenu()
5752 ImVec2 pos = window->DC.CursorPos; in MenuItem()
5762 window->DC.CursorPos.x += (float)(int)(style.ItemSpacing.x * 0.5f); in MenuItem()
5766 …window->DC.CursorPos.x += (float)(int)(style.ItemSpacing.x * (-1.0f + 0.5f)); // -1 spacing to com… in MenuItem()
5872 …t tab_bar_bb = ImRect(window->DC.CursorPos.x, window->DC.CursorPos.y, window->InnerClipRect.Max.x,… in BeginTabBar()
5913 window->DC.CursorPos.x = tab_bar->BarRect.Min.x; in BeginTabBarEx()
5941 tab_bar->ContentsHeight = ImMax(window->DC.CursorPos.y - tab_bar->BarRect.Max.y, 0.0f); in EndTabBar()
5943 window->DC.CursorPos.y = tab_bar->BarRect.Max.y + tab_bar->ContentsHeight; in EndTabBar()
6212 const ImVec2 backup_cursor_pos = window->DC.CursorPos; in TabBarScrollingButtons()
6216 … want_clip_rect = !avail_bar_rect.Contains(ImRect(window->DC.CursorPos, window->DC.CursorPos + ImV… in TabBarScrollingButtons()
6232 …window->DC.CursorPos = ImVec2(tab_bar->BarRect.Max.x - scrolling_buttons_width, tab_bar->BarRect.M… in TabBarScrollingButtons()
6235 …window->DC.CursorPos = ImVec2(tab_bar->BarRect.Max.x - scrolling_buttons_width + arrow_button_size… in TabBarScrollingButtons()
6252 window->DC.CursorPos = backup_cursor_pos; in TabBarScrollingButtons()
6265 const ImVec2 backup_cursor_pos = window->DC.CursorPos; in TabBarTabListPopupButton()
6266 …window->DC.CursorPos = ImVec2(tab_bar->BarRect.Min.x - g.Style.FramePadding.y, tab_bar->BarRect.Mi… in TabBarTabListPopupButton()
6289 window->DC.CursorPos = backup_cursor_pos; in TabBarTabListPopupButton()
6427 const ImVec2 backup_main_cursor_pos = window->DC.CursorPos; in TabItemEx()
6431 …window->DC.CursorPos = tab_bar->BarRect.Min + ImVec2((float)(int)tab->Offset - tab_bar->ScrollingA… in TabItemEx()
6432 ImVec2 pos = window->DC.CursorPos; in TabItemEx()
6445 window->DC.CursorPos = backup_main_cursor_pos; in TabItemEx()
6518 window->DC.CursorPos = backup_main_cursor_pos; in TabItemEx()