• Home
  • Raw
  • Download

Lines Matching refs:is_multiline

3142     const bool is_multiline = (flags & ImGuiInputTextFlags_Multiline) != 0;  in InputTextEx()  local
3150 …if (is_multiline) // Open group before calling GetID() because groups tracks id created within the… in InputTextEx()
3154 …ImVec2 size = CalcItemSize(size_arg, CalcItemWidth(), (is_multiline ? GetTextLineHeight() * 8.0f :… in InputTextEx()
3159 if (is_multiline) in InputTextEx()
3212 …const bool user_scrolled = is_multiline && g.ActiveId == 0 && edit_state.ID == id && g.ActiveIdPre… in InputTextEx()
3217 …) && ((flags & ImGuiInputTextFlags_AutoSelectAll) != 0 || user_nav_input_start) && (!is_multiline); in InputTextEx()
3248 stb_textedit_initialize_state(&edit_state.StbState, !is_multiline); in InputTextEx()
3249 if (!is_multiline && focus_requested_by_code) in InputTextEx()
3254 if (!is_multiline && (focus_requested_by_tab || (user_clicked && io.KeyCtrl))) in InputTextEx()
3261 if (!is_multiline && !(flags & ImGuiInputTextFlags_CallbackHistory)) in InputTextEx()
3299 …const float mouse_y = (is_multiline ? (io.MousePos.y - draw_window->DC.CursorPos.y - style.FramePa… in InputTextEx()
3362 …sKeyPressedMap(ImGuiKey_Delete))) && is_editable && !is_password && (!is_multiline || edit_state.H… in InputTextEx()
3363 …_key_only && IsKeyPressedMap(ImGuiKey_Insert))) && !is_password && (!is_multiline || edit_state.H… in InputTextEx()
3370 …else if (IsKeyPressedMap(ImGuiKey_UpArrow) && is_multiline) { if (io.KeyCtrl) SetWindowScrollY… in InputTextEx()
3371 …else if (IsKeyPressedMap(ImGuiKey_DownArrow) && is_multiline) { if (io.KeyCtrl) SetWindowScrollY… in InputTextEx()
3387 …if (!is_multiline || (ctrl_enter_for_new_line && !io.KeyCtrl) || (!ctrl_enter_for_new_line && io.K… in InputTextEx()
3615 if (!is_multiline) in InputTextEx()
3622 … ImVec2 render_pos = is_multiline ? draw_window->DC.CursorPos : frame_bb.Min + style.FramePadding; in InputTextEx()
3624 …const bool is_currently_scrolling = (edit_state.ID == id && is_multiline && g.ActiveId == draw_win… in InputTextEx()
3654 searches_remaining += is_multiline ? 1 : 0; in InputTextEx()
3678 if (is_multiline) in InputTextEx()
3700 if (is_multiline) in InputTextEx()
3721 …float bg_offy_up = is_multiline ? 0.0f : -1.0f; // FIXME: those offsets should be part of the s… in InputTextEx()
3722 float bg_offy_dn = is_multiline ? 0.0f : 2.0f; in InputTextEx()
3752 if (is_multiline || buf_display_len < buf_display_max_length) in InputTextEx()
3753 …U32(ImGuiCol_Text), buf_display, buf_display + buf_display_len, 0.0f, is_multiline ? NULL : &clip_… in InputTextEx()
3770 if (is_multiline) in InputTextEx()
3774 if (is_multiline || (buf_end - buf_display) < buf_display_max_length) in InputTextEx()
3775 …, render_pos, GetColorU32(ImGuiCol_Text), buf_display, buf_end, 0.0f, is_multiline ? NULL : &clip_… in InputTextEx()
3778 if (is_multiline) in InputTextEx()