Home
last modified time | relevance | path

Searched refs:hovered (Results 1 - 10 of 10) sorted by relevance

/third_party/mesa3d/src/intel/tools/
H A Daubinator_viewer_urb.h61 bool hovered; in DrawAllocation() local
64 hovered = _Hovered(mouse_pos, window_hovered, alloc_tl, alloc_br); in DrawAllocation()
66 1.0f, hovered ? 1.0f : 0.8f, in DrawAllocation()
69 if (hovered) { in DrawAllocation()
77 hovered = _Hovered(mouse_pos, window_hovered, const_tl, const_br); in DrawAllocation()
79 1.0f, hovered ? 1.0f : 0.8f, in DrawAllocation()
82 if (hovered) { in DrawAllocation()
/third_party/skia/third_party/externals/imgui/
H A Dimgui_widgets.cpp515 bool hovered = ItemHoverable(bb, id); in ButtonBehavior() local
517 // Drag source doesn't report as hovered in ButtonBehavior()
518 if (hovered && g.DragDropActive && g.DragDropPayload.SourceId == id && !(g.DragDropSourceFlags & ImGuiDragDropFlags_SourceNoDisableHover)) in ButtonBehavior()
519 hovered = false; in ButtonBehavior()
525 hovered = true; in ButtonBehavior()
539 if (hovered && (flags & ImGuiButtonFlags_AllowItemOverlap) && (g.HoveredIdPreviousFrame != id && g.HoveredIdPreviousFrame != 0)) in ButtonBehavior()
540 hovered = false; in ButtonBehavior()
543 if (hovered) in ButtonBehavior()
603 // We report navigated item as hovered but we don't set g.HoveredId to not interfere with mouse. in ButtonBehavior()
606 hovered in ButtonBehavior()
694 bool hovered, held; ButtonEx() local
771 bool hovered, held; ArrowButtonEx() local
808 bool hovered, held; CloseButton() local
836 bool hovered, held; CollapseButton() local
945 bool hovered = false; ScrollbarEx() local
1091 bool hovered, held; Checkbox() local
1200 bool hovered, held; RadioButton() local
2406 const bool hovered = ItemHoverable(frame_bb, id); DragScalar() local
4020 const bool hovered = ItemHoverable(frame_bb, id); InputTextEx() local
[all...]
H A Dimgui_tables.cpp942 // [Part 6] Setup final position, offset, skip/clip states and clipping rectangles, detect hovered column in TableUpdateLayout()
982 // Detect hovered column in TableUpdateLayout()
1173 bool hovered = false, held = false; in TableUpdateBorders() local
1174 bool pressed = ButtonBehavior(hit_rect, column_id, &hovered, &held, ImGuiButtonFlags_FlattenChildren | ImGuiButtonFlags_AllowItemOverlap | ImGuiButtonFlags_PressedOnClick | ImGuiButtonFlags_PressedOnDoubleClick | ImGuiButtonFlags_NoNavFocus); in TableUpdateBorders()
1179 held = hovered = false; in TableUpdateBorders()
1188 if ((hovered && g.HoveredIdTimer > TABLE_RESIZE_SEPARATOR_FEEDBACK_TIMER) || held) in TableUpdateBorders()
1597 // Return -1 when table is not hovered. return columns_count if the unused space at the right of visible columns is hovered.
2530 // Always draw full height border when being resized/hovered, or on the delimitation of frozen column scrolling. in TableDrawBorders()
2913 bool hovered, hel
[all...]
H A Dimgui.cpp1025 TabMinWidthForCloseButton = 0.0f; // Minimum width for close button to appears on an unselected tab when hovered. Set to 0.0f to always show when hovering, set to FLT_MAX to never show close button unless selected. in ImGuiStyle()
3272 // the cost of this tool near-zero. We can get slightly better call-stack and support picking non-hovered in ItemHoverable()
3657 // (The left mouse button path calls FocusWindow on the hovered window, which will lead NewFrame->ClosePopupsOverWindow to trigger) in UpdateMouseMovingWindowEndFrame()
3872 // Find the window hovered by mouse: in UpdateHoveredWindowAndCaptureFlags()
4090 // Find hovered window in NewFrame()
5438 bool hovered, held; in UpdateWindowManualResize() local
5443 ButtonBehavior(resize_rect, resize_grip_id, &hovered, &held, ImGuiButtonFlags_FlattenChildren | ImGuiButtonFlags_NoNavFocus); in UpdateWindowManualResize()
5445 if (hovered || held) in UpdateWindowManualResize()
5467 if (resize_grip_n == 0 || held || hovered) in UpdateWindowManualResize()
5468 resize_grip_col[resize_grip_n] = GetColorU32(held ? ImGuiCol_ResizeGripActive : hovered in UpdateWindowManualResize()
5475 bool hovered, held; UpdateWindowManualResize() local
[all...]
H A Dimgui_demo.cpp188 // Helper to display a little (?) mark which shows a tooltip when hovered.
2170 "Instead we query when the item is held but not hovered, and order items accordingly."); in ShowDemoWindowWidgets()
2345 // Calling IsItemHovered() after begin returns the hovered status of the title bar. in ShowDemoWindowWidgets()
2358 "IsItemHovered() after begin = %d (== is title bar hovered)\n" in ShowDemoWindowWidgets()
2605 //if (ImGui::IsItemHovered()) ImGui::SetTooltip("ListBox %d hovered", i); in ShowDemoWindowLayout()
2656 ImGui::SetTooltip("First group hovered"); in ShowDemoWindowLayout()
3878 ImGui::CheckboxFlags("ImGuiTableFlags_NoBordersInBodyUntilResize", &flags, ImGuiTableFlags_NoBordersInBodyUntilResize); ImGui::SameLine(); HelpMarker("Disable vertical borders in columns Body until hovered for resize (borders will always appears in Headers)");
5021 ImGui::CheckboxFlags("ImGuiTableFlags_NoBordersInBodyUntilResize", &flags, ImGuiTableFlags_NoBordersInBodyUntilResize); ImGui::SameLine(); HelpMarker("Disable vertical borders in columns Body until hovered for resize (borders will always appears in Headers)");
5327 bool hovered = ImGui::IsItemHovered(); local
5331 ImGui::Text("%d", hovered); ImGu
[all...]
/third_party/mesa3d/src/imgui/
H A Dimgui_widgets.cpp415 bool hovered = ItemHoverable(bb, id); in ButtonBehavior() local
417 // Drag source doesn't report as hovered in ButtonBehavior()
418 if (hovered && g.DragDropActive && g.DragDropPayload.SourceId == id && !(g.DragDropSourceFlags & ImGuiDragDropFlags_SourceNoDisableHover)) in ButtonBehavior()
419 hovered = false; in ButtonBehavior()
425 hovered = true; in ButtonBehavior()
438 if (hovered && (flags & ImGuiButtonFlags_AllowItemOverlap) && (g.HoveredIdPreviousFrame != id && g.HoveredIdPreviousFrame != 0)) in ButtonBehavior()
439 hovered = false; in ButtonBehavior()
442 if (hovered) in ButtonBehavior()
486 // We report navigated item as hovered but we don't set g.HoveredId to not interfere with mouse. in ButtonBehavior()
488 hovered in ButtonBehavior()
567 bool hovered, held; ButtonEx() local
643 bool hovered, held; ArrowButtonEx() local
672 bool hovered, held; CloseButton() local
698 bool hovered, held; CollapseButton() local
782 bool hovered = false; Scrollbar() local
989 bool hovered, held; RadioButton() local
[all...]
H A Dimgui.cpp3303 // Find the window hovered by mouse: in UpdateHoveredWindowAndCaptureFlags()
4725 bool hovered, held; in UpdateManualResize() local
4726 ButtonBehavior(resize_rect, window->GetID((void*)(intptr_t)resize_grip_n), &hovered, &held, ImGuiButtonFlags_FlattenChildren | ImGuiButtonFlags_NoNavFocus); in UpdateManualResize()
4728 if (hovered || held) in UpdateManualResize()
4744 if (resize_grip_n == 0 || held || hovered) in UpdateManualResize()
4745 resize_grip_col[resize_grip_n] = GetColorU32(held ? ImGuiCol_ResizeGripActive : hovered ? ImGuiCol_ResizeGripHovered : ImGuiCol_ResizeGrip); in UpdateManualResize()
4749 bool hovered, held; in UpdateManualResize() local
4751 ButtonBehavior(border_rect, window->GetID((void*)(intptr_t)(border_n + 4)), &hovered, &held, ImGuiButtonFlags_FlattenChildren); in UpdateManualResize()
4753 if ((hovered && g.HoveredIdTimer > WINDOWS_RESIZE_FROM_EDGES_FEEDBACK_TIMER) || held) in UpdateManualResize()
8418 bool hovered in EndColumns() local
[all...]
/third_party/glfw/src/
H A Dwl_window.c1128 if (!window || !window->wl.hovered) in incrementCursorImage()
1386 window->wl.hovered = GLFW_TRUE; in pointerHandleEnter()
1416 if (window->wl.hovered) in pointerHandleLeave()
1418 window->wl.hovered = GLFW_FALSE; in pointerHandleLeave()
1446 if (window->wl.hovered) in pointerHandleMotion()
1541 if (window->wl.hovered) in pointerHandleButton()
2554 return window->wl.hovered; in _glfwWindowHoveredWayland()
3010 if (!window->wl.hovered) in _glfwSetCursorWayland()
H A Dwl_platform.h356 GLFWbool hovered; member
/third_party/skia/tools/viewer/
H A DViewer.cpp2579 bool hovered = ImGui::IsItemHovered(); in drawImGui() local
2580 if (hovered != entry.fHovered) { in drawImGui()
2582 entry.fHovered = hovered; in drawImGui()
2620 // The hovered item (if any) gets a special shader to make it in drawImGui()
2672 // Now iterate again, and dump any expanded program. If any program is hovered, in drawImGui()
2677 bool hovered = ImGui::IsItemHovered(); in drawImGui()
2706 if (hovered) { in drawImGui()

Completed in 63 milliseconds