Lines Matching refs:held
507 bool held = false; in ButtonBehavior() local
518 held = true; in ButtonBehavior()
539 if (out_held) *out_held = held; in ButtonBehavior()
567 bool hovered, held; in ButtonEx() local
568 bool pressed = ButtonBehavior(bb, id, &hovered, &held, flags); in ButtonEx()
573 …const ImU32 col = GetColorU32((held && hovered) ? ImGuiCol_ButtonActive : hovered ? ImGuiCol_Butto… in ButtonEx()
620 bool hovered, held; in InvisibleButton() local
621 bool pressed = ButtonBehavior(bb, id, &hovered, &held); in InvisibleButton()
643 bool hovered, held; in ArrowButtonEx() local
644 bool pressed = ButtonBehavior(bb, id, &hovered, &held, flags); in ArrowButtonEx()
647 …const ImU32 col = GetColorU32((held && hovered) ? ImGuiCol_ButtonActive : hovered ? ImGuiCol_Butto… in ArrowButtonEx()
672 bool hovered, held; in CloseButton() local
673 bool pressed = ButtonBehavior(bb, id, &hovered, &held); in CloseButton()
680 …window->DrawList->AddCircleFilled(center, ImMax(2.0f, radius), GetColorU32(held ? ImGuiCol_ButtonA… in CloseButton()
698 bool hovered, held; in CollapseButton() local
699 bool pressed = ButtonBehavior(bb, id, &hovered, &held, ImGuiButtonFlags_None); in CollapseButton()
701 …ImU32 col = GetColorU32((held && hovered) ? ImGuiCol_ButtonActive : hovered ? ImGuiCol_ButtonHover… in CollapseButton()
702 if (hovered || held) in CollapseButton()
781 bool held = false; in Scrollbar() local
784 ButtonBehavior(bb, id, &hovered, &held, ImGuiButtonFlags_NoNavFocus); in Scrollbar()
789 if (held && allow_interaction && grab_h_norm < 1.0f) in Scrollbar()
833 …const ImU32 grab_col = GetColorU32(held ? ImGuiCol_ScrollbarGrabActive : hovered ? ImGuiCol_Scroll… in Scrollbar()
892 bool hovered, held; in ImageButton() local
893 bool pressed = ButtonBehavior(bb, id, &hovered, &held); in ImageButton()
896 …const ImU32 col = GetColorU32((held && hovered) ? ImGuiCol_ButtonActive : hovered ? ImGuiCol_Butto… in ImageButton()
924 bool hovered, held; in Checkbox() local
925 bool pressed = ButtonBehavior(total_bb, id, &hovered, &held); in Checkbox()
934 …RenderFrame(check_bb.Min, check_bb.Max, GetColorU32((held && hovered) ? ImGuiCol_FrameBgActive : h… in Checkbox()
989 bool hovered, held; in RadioButton() local
990 bool pressed = ButtonBehavior(total_bb, id, &hovered, &held); in RadioButton()
995 …window->DrawList->AddCircleFilled(center, radius, GetColorU32((held && hovered) ? ImGuiCol_FrameBg… in RadioButton()
1219 bool hovered, held; in SplitterBehavior() local
1222 …ButtonBehavior(bb_interact, id, &hovered, &held, ImGuiButtonFlags_FlattenChildren | ImGuiButtonFla… in SplitterBehavior()
1226 …if (held || (g.HoveredId == id && g.HoveredIdPreviousFrame == id && g.HoveredIdTimer >= hover_visi… in SplitterBehavior()
1230 if (held) in SplitterBehavior()
1258 …const ImU32 col = GetColorU32(held ? ImGuiCol_SeparatorActive : (hovered && g.HoveredIdTimer >= ho… in SplitterBehavior()
1261 return held; in SplitterBehavior()
1305 bool hovered, held; in BeginCombo() local
1306 bool pressed = ButtonBehavior(frame_bb, id, &hovered, &held); in BeginCombo()
4428 bool hovered, held; in ColorButton() local
4429 bool pressed = ButtonBehavior(bb, id, &hovered, &held); in ColorButton()
4827 bool hovered, held; in TreeNodeBehavior() local
4828 bool pressed = ButtonBehavior(interact_bb, id, &hovered, &held, button_flags); in TreeNodeBehavior()
4864 …const ImU32 col = GetColorU32((held && hovered) ? ImGuiCol_HeaderActive : hovered ? ImGuiCol_Heade… in TreeNodeBehavior()
5076 bool hovered, held; in Selectable() local
5077 bool pressed = ButtonBehavior(bb, id, &hovered, &held, button_flags); in Selectable()
5091 …const ImU32 col = GetColorU32((held && hovered) ? ImGuiCol_HeaderActive : hovered ? ImGuiCol_Heade… in Selectable()
6453 bool hovered, held; in TabItemEx() local
6454 bool pressed = ButtonBehavior(bb, id, &hovered, &held, button_flags); in TabItemEx()
6460 if (!held) in TabItemEx()
6464 if (held && !tab_appearing && IsMouseDragging(0)) in TabItemEx()
6494 …const ImU32 tab_col = GetColorU32((held || hovered) ? ImGuiCol_TabHovered : tab_contents_visible ?… in TabItemEx()
6521 if (g.HoveredId == id && !held && g.HoveredIdNotActiveTimer > 0.50f) in TabItemEx()