Home
last modified time | relevance | path

Searched refs:windowPos (Results 76 – 100 of 570) sorted by relevance

12345678910>>...23

/dports/x11-toolkits/qt5-gui/kde-qtbase-5.15.2p263/src/plugins/platforms/qnx/
H A Dqqnxscreeneventhandler.cpp365 int windowPos[2]; in handlePointerEvent() local
367 screen_get_event_property_iv(event, SCREEN_PROPERTY_SOURCE_POSITION, windowPos), in handlePointerEvent()
408 QPoint localPoint(windowPos[0], windowPos[1]); in handlePointerEvent()
466 int windowPos[2]; in handleTouchEvent() local
467 …_SCREEN_CHECKERROR(screen_get_event_property_iv(event, SCREEN_PROPERTY_SOURCE_POSITION, windowPos), in handleTouchEvent()
527 … m_touchPoints[touchId].area = QRectF(w->geometry().left() + windowPos[0] - (touchArea[0]>>1), in handleTouchEvent()
528 … w->geometry().top() + windowPos[1] - (touchArea[1]>>1), in handleTouchEvent()
/dports/devel/qt5-concurrent/kde-qtbase-5.15.2p263/src/plugins/platforms/qnx/
H A Dqqnxscreeneventhandler.cpp365 int windowPos[2]; in handlePointerEvent() local
367 screen_get_event_property_iv(event, SCREEN_PROPERTY_SOURCE_POSITION, windowPos), in handlePointerEvent()
408 QPoint localPoint(windowPos[0], windowPos[1]); in handlePointerEvent()
466 int windowPos[2]; in handleTouchEvent() local
467 …_SCREEN_CHECKERROR(screen_get_event_property_iv(event, SCREEN_PROPERTY_SOURCE_POSITION, windowPos), in handleTouchEvent()
527 … m_touchPoints[touchId].area = QRectF(w->geometry().left() + windowPos[0] - (touchArea[0]>>1), in handleTouchEvent()
528 … w->geometry().top() + windowPos[1] - (touchArea[1]>>1), in handleTouchEvent()
/dports/devel/qt5-dbus/kde-qtbase-5.15.2p263/src/plugins/platforms/qnx/
H A Dqqnxscreeneventhandler.cpp365 int windowPos[2]; in handlePointerEvent() local
367 screen_get_event_property_iv(event, SCREEN_PROPERTY_SOURCE_POSITION, windowPos), in handlePointerEvent()
408 QPoint localPoint(windowPos[0], windowPos[1]); in handlePointerEvent()
466 int windowPos[2]; in handleTouchEvent() local
467 …_SCREEN_CHECKERROR(screen_get_event_property_iv(event, SCREEN_PROPERTY_SOURCE_POSITION, windowPos), in handleTouchEvent()
527 … m_touchPoints[touchId].area = QRectF(w->geometry().left() + windowPos[0] - (touchArea[0]>>1), in handleTouchEvent()
528 … w->geometry().top() + windowPos[1] - (touchArea[1]>>1), in handleTouchEvent()
/dports/devel/qt5-buildtools/kde-qtbase-5.15.2p263/src/plugins/platforms/qnx/
H A Dqqnxscreeneventhandler.cpp365 int windowPos[2]; in handlePointerEvent() local
367 screen_get_event_property_iv(event, SCREEN_PROPERTY_SOURCE_POSITION, windowPos), in handlePointerEvent()
408 QPoint localPoint(windowPos[0], windowPos[1]); in handlePointerEvent()
466 int windowPos[2]; in handleTouchEvent() local
467 …_SCREEN_CHECKERROR(screen_get_event_property_iv(event, SCREEN_PROPERTY_SOURCE_POSITION, windowPos), in handleTouchEvent()
527 … m_touchPoints[touchId].area = QRectF(w->geometry().left() + windowPos[0] - (touchArea[0]>>1), in handleTouchEvent()
528 … w->geometry().top() + windowPos[1] - (touchArea[1]>>1), in handleTouchEvent()
/dports/print/qt5-printsupport/kde-qtbase-5.15.2p263/src/plugins/platforms/qnx/
H A Dqqnxscreeneventhandler.cpp365 int windowPos[2]; in handlePointerEvent() local
367 screen_get_event_property_iv(event, SCREEN_PROPERTY_SOURCE_POSITION, windowPos), in handlePointerEvent()
408 QPoint localPoint(windowPos[0], windowPos[1]); in handlePointerEvent()
466 int windowPos[2]; in handleTouchEvent() local
467 …_SCREEN_CHECKERROR(screen_get_event_property_iv(event, SCREEN_PROPERTY_SOURCE_POSITION, windowPos), in handleTouchEvent()
527 … m_touchPoints[touchId].area = QRectF(w->geometry().left() + windowPos[0] - (touchArea[0]>>1), in handleTouchEvent()
528 … w->geometry().top() + windowPos[1] - (touchArea[1]>>1), in handleTouchEvent()
/dports/graphics/qt5-opengl/kde-qtbase-5.15.2p263/src/plugins/platforms/qnx/
H A Dqqnxscreeneventhandler.cpp365 int windowPos[2]; in handlePointerEvent() local
367 screen_get_event_property_iv(event, SCREEN_PROPERTY_SOURCE_POSITION, windowPos), in handlePointerEvent()
408 QPoint localPoint(windowPos[0], windowPos[1]); in handlePointerEvent()
466 int windowPos[2]; in handleTouchEvent() local
467 …_SCREEN_CHECKERROR(screen_get_event_property_iv(event, SCREEN_PROPERTY_SOURCE_POSITION, windowPos), in handleTouchEvent()
527 … m_touchPoints[touchId].area = QRectF(w->geometry().left() + windowPos[0] - (touchArea[0]>>1), in handleTouchEvent()
528 … w->geometry().top() + windowPos[1] - (touchArea[1]>>1), in handleTouchEvent()
/dports/games/openrct2/OpenRCT2-0.3.5.1/src/openrct2-ui/windows/
H A DViewport.cpp79 … viewport_create(this, windowPos, width, height, Focus(TileCoordsXYZ(128, 128, 0).ToCoordsXYZ())); in OnOpen()
146 … { windowPos.x + (width / 2), windowPos.y + (height / 2) }, ViewportInteractionItemAll); in OnMouseUp()
208 … viewport->pos = windowPos + ScreenCoordsXY{ viewportWidget->left + 1, viewportWidget->top + 1 }; in OnPrepareDraw()
H A DGuest.cpp658 …{ w->windowPos.x + widget->left, w->windowPos.y + widget->top }, widget->height() + 1, w->colours[… in window_guest_show_locate_dropdown()
748 …creenPos = ScreenCoordsXY{ view_widget.left + 1 + w->windowPos.x, view_widget.top + 1 + w->windowP… in window_guest_viewport_init()
846 auto screenCoords = w->windowPos + ScreenCoordsXY{ widget.left, widget.top }; in window_guest_stats_tab_paint()
1018 int32_t left = marqueeWidget.left + 2 + w->windowPos.x; in window_guest_overview_paint()
1019 int32_t top = marqueeWidget.top + w->windowPos.y; in window_guest_overview_paint()
1349 auto screenCoords = w->windowPos in window_guest_stats_paint()
1602 auto screenCoords = w->windowPos in window_guest_rides_paint()
1688 auto screenCoords = w->windowPos in window_guest_finance_paint()
1826 auto screenCoords = w->windowPos in window_guest_thoughts_paint()
2013 int32_t maxY = w->windowPos.y + w->height - 22; in window_guest_inventory_paint()
[all …]
H A DTileInspector.cpp1149 …{ w->windowPos.x + widget->left, w->windowPos.y + widget->top }, widget->height() + 1, w->colours[… in window_tile_inspector_mousedown()
1770 ScreenCoordsXY screenCoords(w->windowPos.x, w->windowPos.y); in window_tile_inspector_paint()
1796 screenCoords = w->windowPos in window_tile_inspector_paint()
1857 screenCoords = w->windowPos in window_tile_inspector_paint()
1868 screenCoords = w->windowPos in window_tile_inspector_paint()
1902 screenCoords = w->windowPos in window_tile_inspector_paint()
1913 screenCoords = w->windowPos in window_tile_inspector_paint()
1982 screenCoords.y = w->windowPos.y + w->widgets[WIDX_TRACK_SPINNER_HEIGHT].top; in window_tile_inspector_paint()
2037 screenCoords = w->windowPos in window_tile_inspector_paint()
2150 screenCoords.y = w->windowPos.y + w->widgets[WIDX_WALL_SPINNER_HEIGHT].top; in window_tile_inspector_paint()
[all …]
H A DDropdown.cpp301 ScreenCoordsXY screenCoords = w->windowPos in window_dropdown_paint()
369 int32_t top = loc.y - w->windowPos.y - 2; in DropdownIndexFromPoint()
373 int32_t left = loc.x - w->windowPos.x; in DropdownIndexFromPoint()
418 … w->windowPos.x + widget->left, w->windowPos.y + widget->top, widget->height() + 1, dropdownColour, in WindowDropdownShowColour()
H A DStaff.cpp521 … auto dropdownPos = ScreenCoordsXY{ widget->left + w->windowPos.x, widget->top + w->windowPos.y }; in window_staff_overview_mousedown()
596 …{ w->windowPos.x + widget->left, w->windowPos.y + widget->top }, widget->height() + 1, w->colours[… in window_staff_show_locate_dropdown()
958 … gfx_draw_sprite(dpi, ImageId(SPR_HEARING_VIEWPORT), w->windowPos + ScreenCoordsXY{ 2, 2 }); in window_staff_overview_paint()
971 auto screenPos = w->windowPos + ScreenCoordsXY{ widget.midX(), widget.top }; in window_staff_overview_paint()
992 auto screenCoords = w->windowPos + ScreenCoordsXY{ widget.left, widget.top }; in window_staff_options_tab_paint()
1012 auto screenCoords = w->windowPos + ScreenCoordsXY{ widget.left, widget.top }; in window_staff_stats_tab_paint()
1027 auto screenCoords = w->windowPos + ScreenCoordsXY{ widget.left + 1, widget.top + 1 }; in window_staff_overview_tab_paint()
1091 auto screenCoords = w->windowPos in window_staff_stats_paint()
1384 …creenPos = ScreenCoordsXY{ view_widget.left + 1 + w->windowPos.x, view_widget.top + 1 + w->windowP… in window_staff_viewport_init()
1434 … auto dropdownPos = ScreenCoordsXY{ widget->left + w->windowPos.x, widget->top + w->windowPos.y }; in window_staff_options_mousedown()
H A DError.cpp116 OpenRCT2::Audio::Play(OpenRCT2::Audio::SoundId::Error, 0, w->windowPos.x + (w->width / 2)); in window_error_open()
139 ScreenCoordsXY leftTop{ w->windowPos }; in window_error_paint()
140 ScreenCoordsXY rightBottom{ w->windowPos + ScreenCoordsXY{ w->width - 1, w->height - 1 } }; in window_error_paint()
H A DEditorObjectSelection.cpp611 … { w->windowPos.x + widget->left, w->windowPos.y + widget->top }, widget->height() + 1, in window_editor_object_selection_mousedown()
963 …auto screenPos = w->windowPos + ScreenCoordsXY{ w->widgets[WIDX_LIST].right + 4, widget.bottom + 2… in window_editor_object_selection_paint_descriptions()
964 auto width = w->windowPos.x + w->width - screenPos.x - 4; in window_editor_object_selection_paint_descriptions()
1027 … auto screenPos = w->windowPos + ScreenCoordsXY{ w->width - 5, w->height - (LIST_ROW_HEIGHT * 5) }; in window_editor_object_selection_paint_debug_data()
1049 dpi, { w->windowPos.x + w->width - 5, screenPos.y }, STR_WINDOW_COLOUR_2_STRINGID, ft, in window_editor_object_selection_paint_debug_data()
1091 auto screenPos = w->windowPos + ScreenCoordsXY{ widget.left, widget.top }; in window_editor_object_selection_paint()
1123 auto screenPos = w->windowPos + ScreenCoordsXY{ widget.left, widget.top }; in window_editor_object_selection_paint()
1132 { w->windowPos + ScreenCoordsXY{ previewWidget.left + 1, previewWidget.top + 1 }, in window_editor_object_selection_paint()
1133 w->windowPos + ScreenCoordsXY{ previewWidget.right - 1, previewWidget.bottom - 1 } }, in window_editor_object_selection_paint()
1139 auto screenPos = w->windowPos + ScreenCoordsXY{ 3, w->height - 13 }; in window_editor_object_selection_paint()
[all …]
/dports/audio/carla/Carla-2.4.1/source/modules/juce_gui_basics/menus/
H A Djuce_PopupMenu.cpp242 setTopLeftPosition (windowPos.getPosition()); in MenuWindow()
250 auto y = targetPosition.getY() - windowPos.getY(); in MenuWindow()
703 windowPos.setBounds (x, y, widthToUse, heightToUse); in calculateWindowPos()
707 && parent->windowPos.intersects (windowPos.expanded (-4, -4)); in calculateWindowPos()
795 && windowPos.getHeight() > PopupMenuSettings::scrollZone * 4) in ensureItemIsVisible()
810 windowPos.setSize (jmin (windowPos.getWidth(), parentArea.getWidth()), in ensureItemIsVisible()
815 windowPos.getY() + deltaY); in ensureItemIsVisible()
817 deltaY -= newY - windowPos.getY(); in ensureItemIsVisible()
820 windowPos.setPosition (windowPos.getX(), newY); in ensureItemIsVisible()
833 auto r = windowPos; in resizeToBestWindowPos()
[all …]
/dports/math/vtk9/VTK-9.1.0/Rendering/GL2PSOpenGL2/
H A DvtkOpenGLGL2PSHelperImpl.cxx438 void vtkOpenGLGL2PSHelperImpl::DrawPath(vtkPath* path, double rasterPos[3], double windowPos[2], in DrawPath()
453 this->DrawPathPS(path, rasterPos, windowPos, rgba, scale, rotateAngle, strokeWidth, l); in DrawPath()
456 this->DrawPathSVG(path, rasterPos, windowPos, rgba, scale, rotateAngle, strokeWidth, l); in DrawPath()
459 this->DrawPathPDF(path, rasterPos, windowPos, rgba, scale, rotateAngle, strokeWidth, l); in DrawPath()
804 void vtkOpenGLGL2PSHelperImpl::DrawPathPS(vtkPath* path, double rasterPos[3], double windowPos[2], in DrawPathPS()
843 out << windowPos[0] << " " << windowPos[1] << " translate" << endl; in DrawPathPS()
947 void vtkOpenGLGL2PSHelperImpl::DrawPathPDF(vtkPath* path, double rasterPos[3], double windowPos[2], in DrawPathPDF()
990 out << 1.f << " " << 0.f << " " << 0.f << " " << 1.f << " " << windowPos[0] << " " << windowPos[1] in DrawPathPDF()
1098 void vtkOpenGLGL2PSHelperImpl::DrawPathSVG(vtkPath* path, double rasterPos[3], double windowPos[2], in DrawPathSVG()
1141 << " translate(" << windowPos[0] << " " << windowHeight - windowPos[1] << ")" << endl; in DrawPathSVG()
/dports/math/vtk8/VTK-8.2.0/Rendering/GL2PSOpenGL2/
H A DvtkOpenGLGL2PSHelperImpl.cxx456 double windowPos[2], in DrawPath()
473 this->DrawPathPS(path, rasterPos, windowPos, rgba, scale, in DrawPath()
477 this->DrawPathSVG(path, rasterPos, windowPos, rgba, scale, in DrawPath()
481 this->DrawPathPDF(path, rasterPos, windowPos, rgba, scale, in DrawPath()
843 vtkPath *path, double rasterPos[3], double windowPos[2], in DrawPathPS()
883 out << windowPos[0] << " " << windowPos[1] << " translate" << endl; in DrawPathPS()
989 vtkPath *path, double rasterPos[3], double windowPos[2], in DrawPathPDF()
1037 << windowPos[0] << " " << windowPos[1] << " cm" << endl; in DrawPathPDF()
1146 vtkPath *path, double rasterPos[3], double windowPos[2], in DrawPathSVG()
1190 << " translate(" << windowPos[0] << " " in DrawPathSVG()
[all …]
/dports/devel/simgear/simgear-2020.3.11/simgear/scene/util/
H A DSGPickCallback.hxx85 virtual void mouseLeave(const osg::Vec2d& windowPos) in mouseLeave() argument
88 virtual bool hover( const osg::Vec2d& windowPos, in hover() argument
/dports/www/falkon/falkon-3.2.0/src/lib/plugins/qml/api/events/
H A Dqmlmouseevent.cpp99 QPointF QmlMouseEvent::windowPos() const in windowPos() function in QmlMouseEvent
104 return m_mouseEvent->windowPos(); in windowPos()
/dports/devel/RStudio/rstudio-2021.09.1-372/src/node/desktop/src/main/
H A Dgwt-callback.ts210 const windowPos = window.getBounds(); constant
211 if ((cursorPos.x >= windowPos.x && cursorPos.x <= (windowPos.x + windowPos.width)) &&
212 (cursorPos.y >= windowPos.y && cursorPos.y <= (windowPos.y + windowPos.height))) {
/dports/games/openrct2/OpenRCT2-0.3.5.1/src/openrct2/interface/
H A DViewport.cpp293 if (viewport->pos.x < window->windowPos.x) in viewport_redraw_after_shift()
295 viewport->width = window->windowPos.x - viewport->pos.x; in viewport_redraw_after_shift()
317 else if (viewport->pos.y < window->windowPos.y) in viewport_redraw_after_shift()
406 if (viewport->pos.x + viewport->width <= w->windowPos.x) in viewport_shift_pixels()
408 if (w->windowPos.x + w->width <= viewport->pos.x) in viewport_shift_pixels()
411 if (viewport->pos.y + viewport->height <= w->windowPos.y) in viewport_shift_pixels()
413 if (w->windowPos.y + w->height <= viewport->pos.y) in viewport_shift_pixels()
416 auto left = w->windowPos.x; in viewport_shift_pixels()
417 auto right = w->windowPos.x + w->width; in viewport_shift_pixels()
418 auto top = w->windowPos.y; in viewport_shift_pixels()
[all …]
/dports/devel/juce/JUCE-f37e9a1/modules/juce_gui_basics/menus/
H A Djuce_PopupMenu.cpp273 setTopLeftPosition (windowPos.getPosition()); in MenuWindow()
281 auto y = targetPosition.getY() - windowPos.getY(); in MenuWindow()
746 windowPos.setBounds (x, y, widthToUse, heightToUse); in calculateWindowPos()
750 && parent->windowPos.intersects (windowPos.expanded (-4, -4)); in calculateWindowPos()
914 windowPos.setSize (jmin (windowPos.getWidth(), parentArea.getWidth()), in ensureItemIsVisible()
919 windowPos.getY() + deltaY); in ensureItemIsVisible()
921 deltaY -= newY - windowPos.getY(); in ensureItemIsVisible()
924 windowPos.setPosition (windowPos.getX(), newY); in ensureItemIsVisible()
937 auto r = windowPos; in resizeToBestWindowPos()
969 - windowPos.getHeight() in alterChildYPos()
[all …]
/dports/converters/wkhtmltopdf/qt-5db36ec/src/plugins/platforms/openkode/
H A Dqopenkodewindow.cpp142 const KDint windowPos[2] = { tlw->x(), tlw->y() }; in QOpenKODEWindow() local
143 if (kdSetWindowPropertyiv(m_kdWindow, KD_WINDOWPROPERTY_DESKTOP_OFFSET_NV, windowPos)) { in QOpenKODEWindow()
200 const KDint windowPos[2] = { rect.x(), rect.y() }; in setGeometry() local
201 if (kdSetWindowPropertyiv(m_kdWindow, KD_WINDOWPROPERTY_DESKTOP_OFFSET_NV, windowPos)) { in setGeometry()
/dports/graphics/qt5-wayland/kde-qtwayland-5.15.2p37/src/compositor/extensions/
H A Dqwaylandxdgshellv5integration.cpp94 resizeState.initialMousePos = event->windowPos(); in filterMouseMoveEvent()
98 QPointF delta = m_item->mapToSurface(event->windowPos() - resizeState.initialMousePos); in filterMouseMoveEvent()
105 moveState.initialOffset = moveItem->mapFromItem(nullptr, event->windowPos()); in filterMouseMoveEvent()
111 QPointF parentPos = moveItem->parentItem()->mapFromItem(nullptr, event->windowPos()); in filterMouseMoveEvent()
/dports/cad/kicad-devel/kicad-a17a58203b33e08b966075833b177dad5740c236/3d-viewer/3d_rendering/
H A Dcamera.cpp381 const SFVEC2I windowPos = SFVEC2I( m_lastPosition.x, m_windowSize.y - m_lastPosition.y ); in MakeRayAtCurrrentMousePosition() local
383 if( ( 0 < windowPos.x ) && ( windowPos.x < m_windowSize.x ) && in MakeRayAtCurrrentMousePosition()
384 ( 0 < windowPos.y ) && ( windowPos.y < m_windowSize.y ) ) in MakeRayAtCurrrentMousePosition()
386 MakeRay( windowPos, aOutOrigin, aOutDirection ); in MakeRayAtCurrrentMousePosition()
/dports/games/openrct2/OpenRCT2-0.3.5.1/src/openrct2-ui/scripting/
H A DScWindow.hpp59 return w->windowPos.x; in x_get()
68 window_set_position(w, { value, w->windowPos.y }); in x_set()
76 return w->windowPos.y; in y_get()
85 window_set_position(w, { w->windowPos.x, value }); in y_set()

12345678910>>...23