Lines Matching refs:ActiveId

397         if (g.ActiveId == id) ClearActiveID();
477 if ((flags & ImGuiButtonFlags_Repeat) && g.ActiveId == id && g.IO.MouseDownDuration[0] > 0.0f && IsMouseClicked(0, true))
487 if (g.NavId == id && !g.NavDisableHighlight && g.NavDisableMouseHover && (g.ActiveId == 0 || g.ActiveId == id || g.ActiveId == window->MoveId))
496 if (nav_activated_by_code || nav_activated_by_inputs || g.ActiveId == id)
508 if (g.ActiveId == id)
783 const bool previously_held = (g.ActiveId == id);
1223 if (g.ActiveId != id)
1837 if (g.ActiveId == id)
1844 if (g.ActiveId != id)
1908 if (start_text_input || (g.ActiveId == id && g.ScalarAsInputTextId == id))
1921 const ImU32 frame_col = GetColorU32(g.ActiveId == id ? ImGuiCol_FrameBgActive : g.HoveredId == id ? ImGuiCol_FrameBgHovered : ImGuiCol_FrameBg);
2141 if (g.ActiveId == id)
2340 if (start_text_input || (g.ActiveId == id && g.ScalarAsInputTextId == id))
2348 const ImU32 frame_col = GetColorU32(g.ActiveId == id ? ImGuiCol_FrameBgActive : g.HoveredId == id ? ImGuiCol_FrameBgHovered : ImGuiCol_FrameBg);
2359 window->DrawList->AddRectFilled(grab_bb.Min, grab_bb.Max, GetColorU32(g.ActiveId == id ? ImGuiCol_SliderGrabActive : ImGuiCol_SliderGrab), style.GrabRounding);
2488 const ImU32 frame_col = GetColorU32(g.ActiveId == id ? ImGuiCol_FrameBgActive : g.HoveredId == id ? ImGuiCol_FrameBgHovered : ImGuiCol_FrameBg);
2499 window->DrawList->AddRectFilled(grab_bb.Min, grab_bb.Max, GetColorU32(g.ActiveId == id ? ImGuiCol_SliderGrabActive : ImGuiCol_SliderGrab), style.GrabRounding);
2636 IM_ASSERT(g.ActiveId == id);
2637 g.ScalarAsInputTextId = g.ActiveId;
3044 IM_ASSERT(edit_state->ID != 0 && g.ActiveId == edit_state->ID);
3212 const bool user_scrolled = is_multiline && g.ActiveId == 0 && edit_state.ID == id && g.ActiveIdPreviousFrame == draw_window->GetIDNoKeepAlive("#SCROLLY");
3213 const bool user_nav_input_start = (g.ActiveId != id) && ((g.NavInputId == id) || (g.NavActivateId == id && g.NavInputSource == ImGuiInputSource_NavKeyboard));
3217 bool select_all = (g.ActiveId != id) && ((flags & ImGuiInputTextFlags_AutoSelectAll) != 0 || user_nav_input_start) && (!is_multiline);
3220 if (g.ActiveId != id)
3274 if (g.ActiveId == id)
3350 if (g.ActiveId == id && !g.ActiveIdIsJustActivated && !clear_active_id)
3466 if (g.ActiveId == id)
3480 // When using 'ImGuiInputTextFlags_EnterReturnsTrue' as a special case we reapply the live buffer back to the input buffer before clearing ActiveId, even though strictly speaking it wasn't modified on this frame.
3603 if (clear_active_id && g.ActiveId == id)
3608 const char* buf_display = (g.ActiveId == id && is_editable) ? edit_state.TempBuffer.Data : buf; buf = NULL;
3624 const bool is_currently_scrolling = (edit_state.ID == id && is_multiline && g.ActiveId == draw_window->GetIDNoKeepAlive("#SCROLLY"));
3625 if (g.ActiveId == id || is_currently_scrolling)
4027 if (picker_active_window && g.ActiveId != 0 && g.ActiveIdWindow == picker_active_window)
4028 window->DC.LastItemId = g.ActiveId;
4282 // FIXME: Hackily differenciating using the DragInt (ActiveId != 0 && !ActiveIdAllowOverlap) vs. using the InputText or DropTarget.
4284 value_changed_fix_hue_wrap = (g.ActiveId != 0 && !g.ActiveIdAllowOverlap);
4462 // NB: The ActiveId test is merely an optional micro-optimization, BeginDragDropSource() does the same test.
4463 if (g.ActiveId == id && !(flags & ImGuiColorEditFlags_NoDragDrop) && BeginDragDropSource())
6604 // 'g.ActiveId==close_button_id' will be true when we are holding on the close button, in which case both hovered booleans are false
6608 if (g.HoveredId == tab_id || g.HoveredId == close_button_id || g.ActiveId == close_button_id)