Lines Matching refs:held
591 // 'Repeat' mode acts when held regardless of _PressedOn flags (see table above).
622 // Process while held
623 bool held = false;
635 held = true;
665 if (out_held) *out_held = held;
694 bool hovered, held;
695 bool pressed = ButtonBehavior(bb, id, &hovered, &held, flags);
698 const ImU32 col = GetColorU32((held && hovered) ? ImGuiCol_ButtonActive : hovered ? ImGuiCol_ButtonHovered : ImGuiCol_Button);
748 bool hovered, held;
749 bool pressed = ButtonBehavior(bb, id, &hovered, &held, flags);
771 bool hovered, held;
772 bool pressed = ButtonBehavior(bb, id, &hovered, &held, flags);
775 const ImU32 bg_col = GetColorU32((held && hovered) ? ImGuiCol_ButtonActive : hovered ? ImGuiCol_ButtonHovered : ImGuiCol_Button);
808 bool hovered, held;
809 bool pressed = ButtonBehavior(bb_interact, id, &hovered, &held);
815 ImU32 col = GetColorU32(held ? ImGuiCol_ButtonActive : ImGuiCol_ButtonHovered);
836 bool hovered, held;
837 bool pressed = ButtonBehavior(bb, id, &hovered, &held, ImGuiButtonFlags_None);
840 ImU32 bg_col = GetColorU32((held && hovered) ? ImGuiCol_ButtonActive : hovered ? ImGuiCol_ButtonHovered : ImGuiCol_Button);
843 if (hovered || held)
944 bool held = false;
946 ButtonBehavior(bb, id, &hovered, &held, ImGuiButtonFlags_NoNavFocus);
951 if (held && allow_interaction && grab_h_norm < 1.0f)
987 const ImU32 grab_col = GetColorU32(held ? ImGuiCol_ScrollbarGrabActive : hovered ? ImGuiCol_ScrollbarGrabHovered : ImGuiCol_ScrollbarGrab, alpha);
996 return held;
1037 bool hovered, held;
1038 bool pressed = ButtonBehavior(bb, id, &hovered, &held);
1041 const ImU32 col = GetColorU32((held && hovered) ? ImGuiCol_ButtonActive : hovered ? ImGuiCol_ButtonHovered : ImGuiCol_Button);
1091 bool hovered, held;
1092 bool pressed = ButtonBehavior(total_bb, id, &hovered, &held);
1101 RenderFrame(check_bb.Min, check_bb.Max, GetColorU32((held && hovered) ? ImGuiCol_FrameBgActive : hovered ? ImGuiCol_FrameBgHovered : ImGuiCol_FrameBg), true, style.FrameRounding);
1200 bool hovered, held;
1201 bool pressed = ButtonBehavior(total_bb, id, &hovered, &held);
1206 window->DrawList->AddCircleFilled(center, radius, GetColorU32((held && hovered) ? ImGuiCol_FrameBgActive : hovered ? ImGuiCol_FrameBgHovered : ImGuiCol_FrameBg), 16);
1444 bool hovered, held;
1447 ButtonBehavior(bb_interact, id, &hovered, &held, ImGuiButtonFlags_FlattenChildren | ImGuiButtonFlags_AllowItemOverlap);
1453 if (held || (hovered && g.HoveredIdPreviousFrame == id && g.HoveredIdTimer >= hover_visibility_delay))
1457 if (held)
1485 const ImU32 col = GetColorU32(held ? ImGuiCol_SeparatorActive : (hovered && g.HoveredIdTimer >= hover_visibility_delay) ? ImGuiCol_SeparatorHovered : ImGuiCol_Separator);
1488 return held;
1584 bool hovered, held;
1585 bool pressed = ButtonBehavior(bb, id, &hovered, &held);
2224 // This is called by DragBehavior() when the widget is active (held by mouse or being manipulated with Nav controls)
3940 // - When active, hold on a privately held copy of the text (and apply back to 'buf'). So changing 'buf' while the InputText is active has no effect.
4502 // of our owned buffer matches the size of the string object held by the user, and by design we allow InputText() to be used
5462 bool hovered, held;
5463 bool pressed = ButtonBehavior(bb, id, &hovered, &held);
5883 // We allow clicking on the arrow section with keyboard modifiers held, in order to easily
5911 bool hovered, held;
5912 bool pressed = ButtonBehavior(interact_bb, id, &hovered, &held, button_flags);
5963 const ImU32 bg_col = GetColorU32((held && hovered) ? ImGuiCol_HeaderActive : hovered ? ImGuiCol_HeaderHovered : ImGuiCol_Header);
5984 const ImU32 bg_col = GetColorU32((held && hovered) ? ImGuiCol_HeaderActive : hovered ? ImGuiCol_HeaderHovered : ImGuiCol_Header);
6210 bool hovered, held;
6211 bool pressed = ButtonBehavior(bb, id, &hovered, &held, button_flags);
6244 if (held && (flags & ImGuiSelectableFlags_DrawHoveredWhenHeld))
6248 const ImU32 col = GetColorU32((held && hovered) ? ImGuiCol_HeaderActive : hovered ? ImGuiCol_HeaderHovered : ImGuiCol_Header);
7992 bool hovered, held;
7993 bool pressed = ButtonBehavior(bb, id, &hovered, &held, button_flags);
8002 if (held && !tab_appearing && IsMouseDragging(0))
8030 const ImU32 tab_col = GetColorU32((held || hovered) ? ImGuiCol_TabHovered : tab_contents_visible ? (tab_bar_focused ? ImGuiCol_TabActive : ImGuiCol_TabUnfocusedActive) : (tab_bar_focused ? ImGuiCol_Tab : ImGuiCol_TabUnfocused));
8064 if (text_clipped && g.HoveredId == id && !held && g.HoveredIdNotActiveTimer > g.TooltipSlowDelay && IsItemHovered())