Searched refs:MouseDelta (Results 1 - 7 of 7) sorted by relevance
| /xsrc/external/mit/MesaLib.old/dist/src/imgui/ |
| H A D | imgui_demo.cpp | 2033 if (ImGui::IsItemActive() && ImGui::IsMouseDragging()) { offset.x += ImGui::GetIO().MouseDelta.x; offset.y += ImGui::GetIO().MouseDelta.y; } 2480 ImGui::Text("Mouse delta: (%g, %g)", io.MouseDelta.x, io.MouseDelta.y); 2581 ImVec2 mouse_delta = io.MouseDelta; 2582 ImGui::SameLine(); ImGui::Text("Raw (%.1f, %.1f), WithLockThresold (%.1f, %.1f), MouseDelta (%.1f, %.1f)", value_raw.x, value_raw.y, value_with_lock_threshold.x, value_with_lock_threshold.y, mouse_delta.x, mouse_delta.y);
|
| H A D | imgui_widgets.cpp | 1746 adjust_delta = g.IO.MouseDelta[axis]; 3321 else if (io.MouseDown[0] && !edit_state.SelectedAllMouseLock && (io.MouseDelta.x != 0.0f || io.MouseDelta.y != 0.0f)) 5652 ImVec2 ta = g.IO.MousePos - g.IO.MouseDelta; 6468 // While moving a tab it will jump on the other side of the mouse, so we also test for MouseDelta.x 6469 if (g.IO.MouseDelta.x < 0.0f && g.IO.MousePos.x < bb.Min.x) 6474 else if (g.IO.MouseDelta.x > 0.0f && g.IO.MousePos.x > bb.Max.x)
|
| H A D | imgui.h | 1383 ImVec2 MouseDelta; // Mouse delta. Note that this is zero if either current or previous position are invalid (-FLT_MAX,-FLT_MAX), so a disappearing/reappearing mouse won't have a huge delta. member in struct:ImGuiIO 1389 ImVec2 MousePosPrev; // Previous mouse position (note that MouseDelta is not necessary == MousePos-MousePosPrev, in case either position is invalid)
|
| H A D | imgui.cpp | 3207 // If mouse just appeared or disappeared (usually denoted by -FLT_MAX components) we cancel out movement in MouseDelta 3209 g.IO.MouseDelta = g.IO.MousePos - g.IO.MousePosPrev; 3211 g.IO.MouseDelta = ImVec2(0.0f, 0.0f); 3212 if (g.IO.MouseDelta.x != 0.0f || g.IO.MouseDelta.y != 0.0f) 4740 // We don't use an incremental MouseDelta but rather compute an absolute target size based on mouse position
|
| /xsrc/external/mit/MesaLib/dist/src/imgui/ |
| H A D | imgui_widgets.cpp | 1746 adjust_delta = g.IO.MouseDelta[axis]; 3321 else if (io.MouseDown[0] && !edit_state.SelectedAllMouseLock && (io.MouseDelta.x != 0.0f || io.MouseDelta.y != 0.0f)) 5652 ImVec2 ta = g.IO.MousePos - g.IO.MouseDelta; 6468 // While moving a tab it will jump on the other side of the mouse, so we also test for MouseDelta.x 6469 if (g.IO.MouseDelta.x < 0.0f && g.IO.MousePos.x < bb.Min.x) 6474 else if (g.IO.MouseDelta.x > 0.0f && g.IO.MousePos.x > bb.Max.x)
|
| H A D | imgui.h | 1383 ImVec2 MouseDelta; // Mouse delta. Note that this is zero if either current or previous position are invalid (-FLT_MAX,-FLT_MAX), so a disappearing/reappearing mouse won't have a huge delta. member in struct:ImGuiIO 1389 ImVec2 MousePosPrev; // Previous mouse position (note that MouseDelta is not necessary == MousePos-MousePosPrev, in case either position is invalid)
|
| H A D | imgui.cpp | 3207 // If mouse just appeared or disappeared (usually denoted by -FLT_MAX components) we cancel out movement in MouseDelta 3209 g.IO.MouseDelta = g.IO.MousePos - g.IO.MousePosPrev; 3211 g.IO.MouseDelta = ImVec2(0.0f, 0.0f); 3212 if (g.IO.MouseDelta.x != 0.0f || g.IO.MouseDelta.y != 0.0f) 4740 // We don't use an incremental MouseDelta but rather compute an absolute target size based on mouse position
|
Completed in 78 milliseconds