Home
last modified time | relevance | path

Searched refs:screenPosition (Results 1 – 25 of 113) sorted by relevance

12345

/dports/games/openxcom/OpenXcom-1.0/src/Battlescape/
H A DMap.cpp385 if (screenPosition.x > -_spriteWidth && screenPosition.x < surface->getWidth() + _spriteWidth && in drawTerrain()
386 screenPosition.y > -_spriteHeight && screenPosition.y < surface->getHeight() + _spriteHeight ) in drawTerrain()
429 tmpSurface->blitNShade(surface, screenPosition.x, screenPosition.y, 0); in drawTerrain()
435 tmpSurface->blitNShade(surface, screenPosition.x, screenPosition.y, 0); in drawTerrain()
855 tmpSurface->blitNShade(surface, screenPosition.x, screenPosition.y, 0); in drawTerrain()
905 tmpSurface->blitNShade(surface, screenPosition.x, screenPosition.y, 0); in drawTerrain()
958 _txtAccuracy->blitNShade(surface, screenPosition.x, screenPosition.y, 0); in drawTerrain()
965 tmpSurface->blitNShade(surface, screenPosition.x, screenPosition.y, 0); in drawTerrain()
971 tmpSurface->blitNShade(surface, screenPosition.x, screenPosition.y, 0); in drawTerrain()
987 tmpSurface->blitNShade(surface, screenPosition.x, screenPosition.y, 0); in drawTerrain()
[all …]
/dports/graphics/magnum-extras/magnum-extras-2019.10/src/Magnum/Ui/
H A DBasicUserInterface.cpp46 …:pair<Vector2, AbstractPlane*> AbstractUserInterface::handleEvent(const Vector2i& screenPosition) { in handleEvent() argument
47 Vector2 position = Vector2(screenPosition)*_coordinateScaling; in handleEvent()
57 bool AbstractUserInterface::handleMoveEvent(const Vector2i& screenPosition) { in handleMoveEvent() argument
60 std::tie(position, currentActivePlane) = handleEvent(screenPosition); in handleMoveEvent()
66 bool AbstractUserInterface::handlePressEvent(const Vector2i& screenPosition) { in handlePressEvent() argument
69 std::tie(position, currentActivePlane) = handleEvent(screenPosition); in handlePressEvent()
75 bool AbstractUserInterface::handleReleaseEvent(const Vector2i& screenPosition) { in handleReleaseEvent() argument
78 std::tie(position, currentActivePlane) = handleEvent(screenPosition); in handleReleaseEvent()
H A DBasicUserInterface.h74 bool handleMoveEvent(const Vector2i& screenPosition);
77 bool handlePressEvent(const Vector2i& screenPosition);
80 bool handleReleaseEvent(const Vector2i& screenPosition);
106 std::pair<Vector2, AbstractPlane*> handleEvent(const Vector2i& screenPosition);
/dports/graphics/urho3d/Urho3D-1.7.1/Source/Urho3D/UI/
H A DSlider.cpp86 void Slider::OnHover(const IntVector2& position, const IntVector2& screenPosition, int buttons, int… in OnHover() argument
88 BorderImage::OnHover(position, screenPosition, buttons, qualifiers, cursor); in OnHover()
91 hovering_ = knob_->IsInside(screenPosition, true); in OnHover()
98 void Slider::OnClickBegin(const IntVector2& position, const IntVector2& screenPosition, int button,… in OnClickBegin() argument
102 hovering_ = knob_->IsInside(screenPosition, true); in OnClickBegin()
107 void Slider::OnClickEnd(const IntVector2& position, const IntVector2& screenPosition, int button, i… in OnClickEnd() argument
110 hovering_ = knob_->IsInside(screenPosition, true); in OnClickEnd()
117 UIElement::OnDragBegin(position, screenPosition, buttons, qualifiers, cursor); in OnDragBegin()
123 dragSlider_ = knob_->IsInside(screenPosition, true); in OnDragBegin()
127 void Slider::OnDragMove(const IntVector2& position, const IntVector2& screenPosition, const IntVect… in OnDragMove() argument
[all …]
H A DSlider.h46 …virtual void OnHover(const IntVector2& position, const IntVector2& screenPosition, int buttons, in…
49 …(const IntVector2& position, const IntVector2& screenPosition, int button, int buttons, int qualif…
52 …(const IntVector2& position, const IntVector2& screenPosition, int button, int buttons, int qualif…
56 …OnDragBegin(const IntVector2& position, const IntVector2& screenPosition, int buttons, int qualifi…
59 …(const IntVector2& position, const IntVector2& screenPosition, const IntVector2& deltaPos, int but…
63 …OnDragEnd(const IntVector2& position, const IntVector2& screenPosition, int dragButtons, int butto…
H A DWindow.h62 …virtual void OnHover(const IntVector2& position, const IntVector2& screenPosition, int buttons, in…
65 …OnDragBegin(const IntVector2& position, const IntVector2& screenPosition, int buttons, int qualifi…
68 …(const IntVector2& position, const IntVector2& screenPosition, const IntVector2& deltaPos, int but…
72 …OnDragEnd(const IntVector2& position, const IntVector2& screenPosition, int dragButtons, int butto…
75 …OnDragCancel(const IntVector2& position, const IntVector2& screenPosition, int dragButtons, int bu…
H A DWindow.cpp118 void Window::OnHover(const IntVector2& position, const IntVector2& screenPosition, int buttons, int… in OnHover() argument
120 UIElement::OnHover(position, screenPosition, buttons, qualifiers, cursor); in OnHover()
131 void Window::OnDragBegin(const IntVector2& position, const IntVector2& screenPosition, int buttons,… in OnDragBegin() argument
133 UIElement::OnDragBegin(position, screenPosition, buttons, qualifiers, cursor); in OnDragBegin()
141 dragBeginCursor_ = screenPosition; in OnDragBegin()
148 void Window::OnDragMove(const IntVector2& position, const IntVector2& screenPosition, const IntVect… in OnDragMove() argument
154 IntVector2 delta = screenPosition - dragBeginCursor_; in OnDragMove()
233 void Window::OnDragEnd(const IntVector2& position, const IntVector2& screenPosition, int dragButton… in OnDragEnd() argument
235 UIElement::OnDragEnd(position, screenPosition, dragButtons, buttons, cursor); in OnDragEnd()
240 void Window::OnDragCancel(const IntVector2& position, const IntVector2& screenPosition, int dragBut… in OnDragCancel() argument
[all …]
H A DLineEdit.h52 …(const IntVector2& position, const IntVector2& screenPosition, int button, int buttons, int qualif…
55 …(const IntVector2& position, const IntVector2& screenPosition, int button, int buttons, int qualif…
58 …OnDragBegin(const IntVector2& position, const IntVector2& screenPosition, int buttons, int qualifi…
61 …(const IntVector2& position, const IntVector2& screenPosition, const IntVector2& deltaPos, int but…
H A DButton.h49 …(const IntVector2& position, const IntVector2& screenPosition, int button, int buttons, int qualif…
52 …(const IntVector2& position, const IntVector2& screenPosition, int button, int buttons, int qualif…
56 …(const IntVector2& position, const IntVector2& screenPosition, const IntVector2& deltaPos, int but…
H A DLineEdit.cpp120 void LineEdit::OnClickBegin(const IntVector2& position, const IntVector2& screenPosition, int butto… in OnClickBegin() argument
134 void LineEdit::OnDoubleClick(const IntVector2& position, const IntVector2& screenPosition, int butt… in OnDoubleClick() argument
141 void LineEdit::OnDragBegin(const IntVector2& position, const IntVector2& screenPosition, int button… in OnDragBegin() argument
144 UIElement::OnDragBegin(position, screenPosition, buttons, qualifiers, cursor); in OnDragBegin()
149 void LineEdit::OnDragMove(const IntVector2& position, const IntVector2& screenPosition, const IntVe… in OnDragMove() argument
602 IntVector2 screenPosition = ElementToScreen(cursor_->GetPosition()); in UpdateCursor() local
603 …SDL_Rect rect = {screenPosition.x_, screenPosition.y_, cursor_->GetSize().x_, cursor_->GetSize().y… in UpdateCursor()
624 IntVector2 screenPosition = ElementToScreen(position); in GetCharIndex() local
625 IntVector2 textPosition = text_->ScreenToElement(screenPosition); in GetCharIndex()
H A DButton.cpp101 void Button::OnClickBegin(const IntVector2& position, const IntVector2& screenPosition, int button,… in OnClickBegin() argument
118 void Button::OnClickEnd(const IntVector2& position, const IntVector2& screenPosition, int button, i… in OnClickEnd() argument
125 if (IsInside(screenPosition, true)) in OnClickEnd()
136 void Button::OnDragMove(const IntVector2& position, const IntVector2& screenPosition, const IntVect… in OnDragMove() argument
/dports/editors/libreoffice/libreoffice-7.2.6.2/android/source/src/java/org/libreoffice/canvas/
H A DGraphicSelection.java230 private void sendGraphicSelectionStart(PointF screenPosition) { in sendGraphicSelectionStart() argument
231 sendGraphicSelection("GraphicSelectionStart", screenPosition); in sendGraphicSelectionStart()
238 private void sendGraphicSelectionEnd(PointF screenPosition) { in sendGraphicSelectionEnd() argument
239 sendGraphicSelection("GraphicSelectionEnd", screenPosition); in sendGraphicSelectionEnd()
247 private void sendGraphicSelection(String type, PointF screenPosition) in sendGraphicSelection() argument
253 … PointF documentPoint = layerView.getLayerClient().convertViewPointToLayerPoint(screenPosition); in sendGraphicSelection()
261 private void onSinglePress(PointF screenPosition) { in onSinglePress() argument
262 sendGraphicSelection("LongPress", screenPosition); in onSinglePress()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/android/source/src/java/org/libreoffice/canvas/
H A DGraphicSelection.java230 private void sendGraphicSelectionStart(PointF screenPosition) { in sendGraphicSelectionStart() argument
231 sendGraphicSelection("GraphicSelectionStart", screenPosition); in sendGraphicSelectionStart()
238 private void sendGraphicSelectionEnd(PointF screenPosition) { in sendGraphicSelectionEnd() argument
239 sendGraphicSelection("GraphicSelectionEnd", screenPosition); in sendGraphicSelectionEnd()
247 private void sendGraphicSelection(String type, PointF screenPosition) in sendGraphicSelection() argument
253 … PointF documentPoint = layerView.getLayerClient().convertViewPointToLayerPoint(screenPosition); in sendGraphicSelection()
261 private void onSinglePress(PointF screenPosition) { in onSinglePress() argument
262 sendGraphicSelection("LongPress", screenPosition); in onSinglePress()
/dports/emulators/dolphin-emu/dolphin-3152428/Source/Core/VideoBackends/Software/
H A DRasterizer.cpp278 const s32 Y1 = iround(16.0f * v0->screenPosition[1]) - 9; in DrawTriangleFrontFace()
279 const s32 Y2 = iround(16.0f * v1->screenPosition[1]) - 9; in DrawTriangleFrontFace()
280 const s32 Y3 = iround(16.0f * v2->screenPosition[1]) - 9; in DrawTriangleFrontFace()
282 const s32 X1 = iround(16.0f * v0->screenPosition[0]) - 9; in DrawTriangleFrontFace()
339 float fltx1 = v0->screenPosition.x; in DrawTriangleFrontFace()
340 float flty1 = v0->screenPosition.y; in DrawTriangleFrontFace()
341 float fltdx31 = v2->screenPosition.x - fltx1; in DrawTriangleFrontFace()
342 float fltdx12 = fltx1 - v1->screenPosition.x; in DrawTriangleFrontFace()
343 float fltdy12 = flty1 - v1->screenPosition.y; in DrawTriangleFrontFace()
344 float fltdy31 = v2->screenPosition.y - flty1; in DrawTriangleFrontFace()
[all …]
H A DClipper.cpp337 dst->screenPosition.x = src->screenPosition.x + dx; in CopyVertex()
338 dst->screenPosition.y = src->screenPosition.y + dy; in CopyVertex()
339 dst->screenPosition.z = src->screenPosition.z; in CopyVertex()
368 float dx = v1->screenPosition.x - v0->screenPosition.x; in ProcessLine()
369 float dy = v1->screenPosition.y - v0->screenPosition.y; in ProcessLine()
449 Vec3& screen = vertex->screenPosition; in PerspectiveDivide()
/dports/games/openspades/openspades-0.1.3/Resources/Shaders/
H A DWater.vs33 varying vec3 screenPosition;
50 screenPosition = gl_Position.xyw;
51 screenPosition.xy = (screenPosition.xy + screenPosition.z) * .5;
H A DWater3.vs34 varying vec3 screenPosition;
76 screenPosition = gl_Position.xyw;
77 screenPosition.xy = (screenPosition.xy + screenPosition.z) * .5;
H A DWater2.vs34 varying vec3 screenPosition;
78 screenPosition = gl_Position.xyw;
79 screenPosition.xy = (screenPosition.xy + screenPosition.z) * .5;
/dports/games/lwjgl/lwjgl-2df01dd/src/java/org/lwjgl/opengl/
H A DXRandR.java277 …ist<Screen> current, String name, int width, int height, String[] modeLine, int[] screenPosition) { in parseScreenModeline() argument
297 current.add(new Screen(name, width, height, freq, screenPosition[0], screenPosition[1])); in parseScreenModeline()
313 private static void parseScreenHeader(int[] screenPosition, String resPos) { in parseScreenHeader() argument
317 screenPosition[0] = 0; in parseScreenHeader()
318 screenPosition[1] = 0; in parseScreenHeader()
321 screenPosition[0] = Integer.parseInt(m.group(3)); in parseScreenHeader()
322 screenPosition[1] = Integer.parseInt(m.group(4)); in parseScreenHeader()
/dports/games/opendungeons/OpenDungeons-0.7.1/source/render/
H A DMovableTextOverlay.cpp280 …Ogre::Vector3 screenPosition = mCamera->getProjectionMatrix() * (mCamera->getViewMatrix() * center… in computeOverlayPositionHead() local
283 position.x = 0.5 + (screenPosition.x * 0.5); in computeOverlayPositionHead()
284 position.y = 0.5 - (screenPosition.y * 0.5); in computeOverlayPositionHead()
317 Ogre::Vector2 screenPosition; in update() local
318 if(!computeOverlayPositionHead(screenPosition)) in update()
337 screenPosition.y -= relTextHeight; in update()
338 Ogre::Real xPos = screenPosition.x - (relTextWidth * 0.5); in update()
339 childOverlay.mOverlayContainer->setPosition(xPos, screenPosition.y); in update()
/dports/astro/marble/marble-21.12.3/src/lib/marble/declarative/
H A DNavigation.h32 Q_PROPERTY(QPointF screenPosition READ screenPosition NOTIFY screenPositionChanged)
69 QPointF screenPosition() const;
/dports/x11-wm/plasma5-kwin/kwin-5.23.5/src/effects/colorpicker/
H A Dcolorpicker.cpp66 … const QPoint screenPosition(m_scheduledPosition.x() - geo.x(), m_scheduledPosition.y() - geo.y()); in postPaintScreen() local
67 …const QPoint texturePosition(screenPosition.x() * GLRenderTarget::virtualScreenScale(), (geo.heigh… in postPaintScreen()
/dports/audio/carla/Carla-2.4.1/source/modules/juce_gui_basics/windows/
H A Djuce_ComponentPeer.h156 virtual Point<float> globalToLocal (Point<float> screenPosition) = 0;
162 Point<int> globalToLocal (Point<int> screenPosition);
168 virtual Rectangle<int> globalToLocal (const Rectangle<int>& screenPosition);
174 Rectangle<float> globalToLocal (const Rectangle<float>& screenPosition);
/dports/devel/juce/JUCE-f37e9a1/modules/juce_gui_basics/windows/
H A Djuce_ComponentPeer.h157 virtual Point<float> globalToLocal (Point<float> screenPosition) = 0;
163 Point<int> globalToLocal (Point<int> screenPosition);
169 virtual Rectangle<int> globalToLocal (const Rectangle<int>& screenPosition);
175 Rectangle<float> globalToLocal (const Rectangle<float>& screenPosition);
/dports/graphics/qgis-ltr/qgis-3.16.16/src/quickgui/plugin/
H A Dqgsquickpositionmarker.qml66 x: positionKit.screenPosition.x - width/2
67 y: positionKit.screenPosition.y - height/2
90 x: positionKit.screenPosition.x - width/2
91 y: positionKit.screenPosition.y - height/2

12345