Lines Matching refs:held

332          0.0f= not held. 1.0f= fully held. Pass intermediate 0.0f..1.0f values for analog triggers/sticks.
3353 // Update io.WantTextInput flag, this is to allow systems without a keyboard (e.g. mobile, hand-held) to show a software keyboard if possible
4725 bool hovered, held;
4726 ButtonBehavior(resize_rect, window->GetID((void*)(intptr_t)resize_grip_n), &hovered, &held, ImGuiButtonFlags_FlattenChildren | ImGuiButtonFlags_NoNavFocus);
4728 if (hovered || held)
4731 if (held && g.IO.MouseDoubleClicked[0] && resize_grip_n == 0)
4737 else if (held)
4744 if (resize_grip_n == 0 || held || hovered)
4745 resize_grip_col[resize_grip_n] = GetColorU32(held ? ImGuiCol_ResizeGripActive : hovered ? ImGuiCol_ResizeGripHovered : ImGuiCol_ResizeGrip);
4749 bool hovered, held;
4751 ButtonBehavior(border_rect, window->GetID((void*)(intptr_t)(border_n + 4)), &hovered, &held, ImGuiButtonFlags_FlattenChildren);
4753 if ((hovered && g.HoveredIdTimer > WINDOWS_RESIZE_FROM_EDGES_FEEDBACK_TIMER) || held)
4756 if (held)
4759 if (held)
8025 g.NavWindowingToggleLayer &= (g.NavWindowingHighlightAlpha < 1.0f); // Once button was held long enough we don't consider it a tap-to-toggle-layer press anymore.
8418 bool hovered = false, held = false;
8421 ButtonBehavior(column_rect, column_id, &hovered, &held);
8422 if (hovered || held)
8424 if (held && !(columns->Columns[n].Flags & ImGuiColumnsFlags_NoResize))
8429 const ImU32 col = GetColorU32(held ? ImGuiCol_SeparatorActive : hovered ? ImGuiCol_SeparatorHovered : ImGuiCol_Separator);