/dports/games/scummvm/scummvm-2.5.1/engines/asylum/puzzles/ |
H A D | morguedoor.cpp | 143 if (mousePos.x > 347 && mousePos.x < 357 in mouseLeftDown() 150 if (mousePos.x > 346 && mousePos.x < 356 in mouseLeftDown() 157 if (mousePos.x > 515 && mousePos.x < 605 in mouseLeftDown() 168 if (mousePos.x > 267 && mousePos.x < 325 in mouseLeftDown() 233 if (mousePos.x > 347 && mousePos.x < 357 && mousePos.y > 124 && mousePos.y < 154) in updateCursor() 236 if (mousePos.x > 346 && mousePos.x < 356 && mousePos.y > 339 && mousePos.y < 386) in updateCursor() 239 if (mousePos.x > 515 && mousePos.x < 605 && mousePos.y > 41 && mousePos.y < 120) in updateCursor() 242 if (mousePos.x > 267 && mousePos.x < 325 && mousePos.y > 190 && mousePos.y < 320) in updateCursor() 245 if (mousePos.x > 325 && mousePos.x < 383 && mousePos.y > 190 && mousePos.y < 320) in updateCursor() 248 if (mousePos.x > 507 && mousePos.x < 556 && mousePos.y > 124 && mousePos.y < 177) in updateCursor() [all …]
|
H A D | board.cpp | 177 Common::Point mousePos = getCursor()->position(); in findRect() local 180 if (mousePos.x >= _data.charMap[i].posX && mousePos.x < _data.charMap[i].posX + 12 in findRect() 181 && mousePos.y >= _data.charMap[i].posY && mousePos.y < _data.charMap[i].posY + 18) in findRect() 190 Common::Point mousePos = getCursor()->position(); in checkMouse() local 192 …if (mousePos.x >= 215 && mousePos.x < (int16)_data.maxWidth && mousePos.y >= 360 && mousePos.y < 3… in checkMouse() 193 int16 index = (mousePos.x - 215) / 12; in checkMouse() 206 Common::Point mousePos = getCursor()->position(); in updateCursor() local 208 if (mousePos.y <= 350) { in updateCursor() 253 Common::Point mousePos = getCursor()->position(); in checkSlots() local 255 …if (mousePos.x >= 215 && mousePos.x < (int16)_data.maxWidth && mousePos.y >= 360 && mousePos.y < 3… in checkSlots() [all …]
|
H A D | writings.cpp | 107 Common::Point mousePos = getCursor()->position(); in update() local 109 if (mousePos.x > 50 && mousePos.x < 530 && mousePos.y > 20 && mousePos.y < 430) { in update() 117 mousePos.x -= 50; in update() 118 mousePos.y -= 50; in update() 119 x1 = mousePos.x + 20; in update() 120 y1 = mousePos.y + 20; in update() 121 x2 = mousePos.x + 95; in update() 122 y2 = mousePos.y + 90; in update() 138 …QueueMasked(getWorld()->graphicResourceIds[9], 0, mousePos, getWorld()->graphicResourceIds[8], mou… in update() 139 …getScreen()->addGraphicToQueue(getWorld()->graphicResourceIds[7], (uint32)_frameIndex, mousePos, k… in update()
|
/dports/x11-toolkits/wxgtk28-common/wxGTK-2.8.12/contrib/src/fl/ |
H A D | bardragpl.cpp | 139 mHintRect.x = mousePos.x - mMouseInRectX; in AdjustHintRect() 140 mHintRect.y = mousePos.y - mMouseInRectY; in AdjustHintRect() 239 if ( mousePos >= pos + width ) in check_upper_overrun() 240 pos = mousePos - width/2; in check_upper_overrun() 245 if ( mousePos <= pos ) in check_lower_overrun() 246 pos = mousePos - width/2; in check_lower_overrun() 535 wxPoint mousePos = event.mPos; in OnMouseMove() local 537 event.mpPane->PaneToFrame( &mousePos.x, &mousePos.y ); in OnMouseMove() 541 AdjustHintRect( mousePos ); in OnMouseMove() 555 StickToPane( pPane, mousePos ); in OnMouseMove() [all …]
|
/dports/x11-toolkits/wxgtk28-contrib/wxGTK-2.8.12/contrib/src/fl/ |
H A D | bardragpl.cpp | 139 mHintRect.x = mousePos.x - mMouseInRectX; in AdjustHintRect() 140 mHintRect.y = mousePos.y - mMouseInRectY; in AdjustHintRect() 239 if ( mousePos >= pos + width ) in check_upper_overrun() 240 pos = mousePos - width/2; in check_upper_overrun() 245 if ( mousePos <= pos ) in check_lower_overrun() 246 pos = mousePos - width/2; in check_lower_overrun() 535 wxPoint mousePos = event.mPos; in OnMouseMove() local 537 event.mpPane->PaneToFrame( &mousePos.x, &mousePos.y ); in OnMouseMove() 541 AdjustHintRect( mousePos ); in OnMouseMove() 555 StickToPane( pPane, mousePos ); in OnMouseMove() [all …]
|
/dports/x11-toolkits/wxgtk28-contrib-common/wxGTK-2.8.12/contrib/src/fl/ |
H A D | bardragpl.cpp | 139 mHintRect.x = mousePos.x - mMouseInRectX; in AdjustHintRect() 140 mHintRect.y = mousePos.y - mMouseInRectY; in AdjustHintRect() 239 if ( mousePos >= pos + width ) in check_upper_overrun() 240 pos = mousePos - width/2; in check_upper_overrun() 245 if ( mousePos <= pos ) in check_lower_overrun() 246 pos = mousePos - width/2; in check_lower_overrun() 535 wxPoint mousePos = event.mPos; in OnMouseMove() local 537 event.mpPane->PaneToFrame( &mousePos.x, &mousePos.y ); in OnMouseMove() 541 AdjustHintRect( mousePos ); in OnMouseMove() 555 StickToPane( pPane, mousePos ); in OnMouseMove() [all …]
|
/dports/x11-toolkits/wxgtk28/wxGTK-2.8.12/contrib/src/fl/ |
H A D | bardragpl.cpp | 139 mHintRect.x = mousePos.x - mMouseInRectX; in AdjustHintRect() 140 mHintRect.y = mousePos.y - mMouseInRectY; in AdjustHintRect() 239 if ( mousePos >= pos + width ) in check_upper_overrun() 240 pos = mousePos - width/2; in check_upper_overrun() 245 if ( mousePos <= pos ) in check_lower_overrun() 246 pos = mousePos - width/2; in check_lower_overrun() 535 wxPoint mousePos = event.mPos; in OnMouseMove() local 537 event.mpPane->PaneToFrame( &mousePos.x, &mousePos.y ); in OnMouseMove() 541 AdjustHintRect( mousePos ); in OnMouseMove() 555 StickToPane( pPane, mousePos ); in OnMouseMove() [all …]
|
/dports/multimedia/assimp/assimp-5.1.3/tools/assimp_view/ |
H A D | Input.cpp | 53 POINT mousePos; in HandleMouseInputFPS() local 54 GetCursorPos( &mousePos ); in HandleMouseInputFPS() 57 g_mousePos.x = mousePos.x; in HandleMouseInputFPS() 58 g_mousePos.y = mousePos.y; in HandleMouseInputFPS() 95 POINT mousePos; in HandleMouseInputTextureView() local 96 GetCursorPos( &mousePos ); in HandleMouseInputTextureView() 99 g_mousePos.x = mousePos.x; in HandleMouseInputTextureView() 121 POINT mousePos; in HandleMouseInputLightRotate() local 156 POINT mousePos; in HandleMouseInputSkyBox() local 199 POINT mousePos; in HandleMouseInputLightIntensityAndColor() local [all …]
|
/dports/games/doomsday/doomsday-2.3.1/doomsday/external/assimp/tools/assimp_view/ |
H A D | Input.cpp | 53 POINT mousePos; in HandleMouseInputFPS() local 54 GetCursorPos( &mousePos ); in HandleMouseInputFPS() 57 g_mousePos.x = mousePos.x; in HandleMouseInputFPS() 58 g_mousePos.y = mousePos.y; in HandleMouseInputFPS() 95 POINT mousePos; in HandleMouseInputTextureView() local 96 GetCursorPos( &mousePos ); in HandleMouseInputTextureView() 99 g_mousePos.x = mousePos.x; in HandleMouseInputTextureView() 121 POINT mousePos; in HandleMouseInputLightRotate() local 156 POINT mousePos; in HandleMouseInputSkyBox() local 199 POINT mousePos; in HandleMouseInputLightIntensityAndColor() local [all …]
|
/dports/games/scummvm/scummvm-2.5.1/engines/hopkins/ |
H A D | dialogs.cpp | 112 …if (mousePos.x >= scrollOffset + 300 && mousePos.y > 113 && mousePos.x <= scrollOffset + 327 && mo… in showOptionsDialog() 139 …if (mousePos.x >= scrollOffset + 300 && mousePos.y > 140 && mousePos.x <= scrollOffset + 327 && mo… in showOptionsDialog() 164 …if (mousePos.x >= scrollOffset + 300 && mousePos.y > 167 && mousePos.x <= scrollOffset + 327 && mo… in showOptionsDialog() 189 if (mousePos.y > 194 && mousePos.x <= scrollOffset + 489 && mousePos.y <= 219) in showOptionsDialog() 193 if (mousePos.y > 167 && mousePos.x <= scrollOffset + 489 && mousePos.y <= 192) { in showOptionsDialog() 199 if (mousePos.y > 113 && mousePos.x <= scrollOffset + 489 && mousePos.y <= 138) { in showOptionsDialog() 211 …if (mousePos.x >= scrollOffset + 431 && mousePos.y > 140 && mousePos.x <= scrollOffset + 489 && mo… in showOptionsDialog() 220 …if (mousePos.x >= scrollOffset + 175 && mousePos.y > 285 && mousePos.x <= scrollOffset + 281 && mo… in showOptionsDialog() 224 …if (mousePos.x >= scrollOffset + 355 && mousePos.y > 285 && mousePos.x <= scrollOffset + 490 && mo… in showOptionsDialog() 226 …if (mousePos.x >= scrollOffset + 300 && mousePos.y > 194 && mousePos.x <= scrollOffset + 358 && mo… in showOptionsDialog() [all …]
|
H A D | menu.cpp | 49 Common::Point mousePos; in menu() local 122 mousePos = Common::Point(_vm->_events->getMouseX(), _vm->_events->getMouseY()); in menu() 124 if (mousePos.x >= 232 && mousePos.x <= 408) { in menu() 125 if (mousePos.y >= 261 && mousePos.y <= 284) in menu() 127 else if (mousePos.y >= 293 && mousePos.y <= 316) in menu() 129 else if (mousePos.y >= 325 && mousePos.y <= 347) in menu() 131 else if (mousePos.y >= 356 && mousePos.y <= 379) in menu() 133 else if (mousePos.y >= 388 && mousePos.y <= 411) in menu()
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/hopkins/ |
H A D | dialogs.cpp | 110 …if (mousePos.x >= scrollOffset + 300 && mousePos.y > 113 && mousePos.x <= scrollOffset + 327 && mo… in showOptionsDialog() 137 …if (mousePos.x >= scrollOffset + 300 && mousePos.y > 140 && mousePos.x <= scrollOffset + 327 && mo… in showOptionsDialog() 162 …if (mousePos.x >= scrollOffset + 300 && mousePos.y > 167 && mousePos.x <= scrollOffset + 327 && mo… in showOptionsDialog() 187 if (mousePos.y > 194 && mousePos.x <= scrollOffset + 489 && mousePos.y <= 219) in showOptionsDialog() 191 if (mousePos.y > 167 && mousePos.x <= scrollOffset + 489 && mousePos.y <= 192) { in showOptionsDialog() 197 if (mousePos.y > 113 && mousePos.x <= scrollOffset + 489 && mousePos.y <= 138) { in showOptionsDialog() 209 …if (mousePos.x >= scrollOffset + 431 && mousePos.y > 140 && mousePos.x <= scrollOffset + 489 && mo… in showOptionsDialog() 218 …if (mousePos.x >= scrollOffset + 175 && mousePos.y > 285 && mousePos.x <= scrollOffset + 281 && mo… in showOptionsDialog() 222 …if (mousePos.x >= scrollOffset + 355 && mousePos.y > 285 && mousePos.x <= scrollOffset + 490 && mo… in showOptionsDialog() 224 …if (mousePos.x >= scrollOffset + 300 && mousePos.y > 194 && mousePos.x <= scrollOffset + 358 && mo… in showOptionsDialog() [all …]
|
H A D | menu.cpp | 49 Common::Point mousePos; in menu() local 118 mousePos = Common::Point(_vm->_events->getMouseX(), _vm->_events->getMouseY()); in menu() 120 if (mousePos.x >= 232 && mousePos.x <= 408) { in menu() 121 if (mousePos.y >= 261 && mousePos.y <= 284) in menu() 123 else if (mousePos.y >= 293 && mousePos.y <= 316) in menu() 125 else if (mousePos.y >= 325 && mousePos.y <= 347) in menu() 127 else if (mousePos.y >= 356 && mousePos.y <= 379) in menu() 129 else if (mousePos.y >= 388 && mousePos.y <= 411) in menu()
|
/dports/games/scummvm/scummvm-2.5.1/engines/ultima/shared/early/ |
H A D | game_base.cpp | 66 void GameBase::mouseMove(const Point &mousePos) { in mouseMove() argument 73 void GameBase::leftButtonDown(const Point &mousePos) { in leftButtonDown() argument 79 leftButtonDoubleClick(mousePos); in leftButtonDown() 86 void GameBase::leftButtonUp(const Point &mousePos) { in leftButtonUp() argument 100 void GameBase::middleButtonDown(const Point &mousePos) { in middleButtonDown() argument 106 middleButtonDoubleClick(mousePos); in middleButtonDown() 113 void GameBase::middleButtonUp(const Point &mousePos) { in middleButtonUp() argument 127 void GameBase::rightButtonDown(const Point &mousePos) { in rightButtonDown() argument 133 rightButtonDoubleClick(mousePos); in rightButtonDown() 140 void GameBase::rightButtonUp(const Point &mousePos) { in rightButtonUp() argument [all …]
|
H A D | game_base.h | 62 void leftButtonDoubleClick(const Point &mousePos) override; 63 void middleButtonDoubleClick(const Point &mousePos) override; 64 void rightButtonDoubleClick(const Point &mousePos); 100 void mouseMove(const Point &mousePos) override; 101 void leftButtonDown(const Point &mousePos) override; 102 void leftButtonUp(const Point &mousePos) override; 103 void middleButtonDown(const Point &mousePos) override; 104 void middleButtonUp(const Point &mousePos) override; 105 void rightButtonDown(const Point &mousePos) override; 106 void rightButtonUp(const Point &mousePos) override; [all …]
|
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jdk/src/macosx/classes/sun/lwawt/macosx/ |
H A D | CRobot.java | 108 Point mousePos = CCursorManager.getInstance().getCursorPosition(); in checkMousePos() local 110 if (mousePos.x < deviceBounds.x) { in checkMousePos() 111 mousePos.x = deviceBounds.x; in checkMousePos() 113 else if (mousePos.x > deviceBounds.x + deviceBounds.width) { in checkMousePos() 114 mousePos.x = deviceBounds.x + deviceBounds.width; in checkMousePos() 117 if (mousePos.y < deviceBounds.y) { in checkMousePos() 118 mousePos.y = deviceBounds.y; in checkMousePos() 120 else if (mousePos.y > deviceBounds.y + deviceBounds.height) { in checkMousePos() 121 mousePos.y = deviceBounds.y + deviceBounds.height; in checkMousePos() 124 mouseLastX = mousePos.x; in checkMousePos() [all …]
|
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jdk/src/macosx/classes/sun/lwawt/macosx/ |
H A D | CRobot.java | 108 Point mousePos = CCursorManager.getInstance().getCursorPosition(); in checkMousePos() local 110 if (mousePos.x < deviceBounds.x) { in checkMousePos() 111 mousePos.x = deviceBounds.x; in checkMousePos() 113 else if (mousePos.x > deviceBounds.x + deviceBounds.width) { in checkMousePos() 114 mousePos.x = deviceBounds.x + deviceBounds.width; in checkMousePos() 117 if (mousePos.y < deviceBounds.y) { in checkMousePos() 118 mousePos.y = deviceBounds.y; in checkMousePos() 120 else if (mousePos.y > deviceBounds.y + deviceBounds.height) { in checkMousePos() 121 mousePos.y = deviceBounds.y + deviceBounds.height; in checkMousePos() 124 mouseLastX = mousePos.x; in checkMousePos() [all …]
|
/dports/games/scummvm/scummvm-2.5.1/engines/ultima/shared/engine/ |
H A D | events.h | 71 virtual void mouseMove(const Common::Point &mousePos) { in mouseMove() argument 73 virtual void leftButtonDown(const Common::Point &mousePos) { in leftButtonDown() argument 75 virtual void leftButtonUp(const Common::Point &mousePos) { in leftButtonUp() argument 77 virtual void leftButtonDoubleClick(const Common::Point &mousePos) { in leftButtonDoubleClick() argument 79 virtual void middleButtonDown(const Common::Point &mousePos) { in middleButtonDown() argument 81 virtual void middleButtonUp(const Common::Point &mousePos) { in middleButtonUp() argument 85 virtual void rightButtonDown(const Common::Point &mousePos) { in rightButtonDown() argument 87 virtual void rightButtonUp(const Common::Point &mousePos) { in rightButtonUp() argument 108 void leftButtonDown(const Common::Point &mousePos) override { in leftButtonDown() argument 111 void middleButtonDown(const Common::Point &mousePos) override { in middleButtonDown() argument [all …]
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/mohawk/riven_stacks/ |
H A D | gspit.cpp | 132 mousePos.x /= 10; in xgpincontrols() 133 mousePos.y /= 11; in xgpincontrols() 139 mousePos.x = 5 - mousePos.x; in xgpincontrols() 140 mousePos.y = (4 - mousePos.y) * 5; in xgpincontrols() 143 mousePos.x = (4 - mousePos.x) * 5; in xgpincontrols() 144 mousePos.y = 1 + mousePos.y; in xgpincontrols() 147 mousePos.x = 1 + mousePos.x; in xgpincontrols() 148 mousePos.y = mousePos.y * 5; in xgpincontrols() 151 mousePos.x = mousePos.x * 5; in xgpincontrols() 152 mousePos.y = 5 - mousePos.y; in xgpincontrols() [all …]
|
/dports/games/scummvm/scummvm-2.5.1/engines/mohawk/riven_stacks/ |
H A D | gspit.cpp | 132 mousePos.x /= 10; in xgpincontrols() 133 mousePos.y /= 11; in xgpincontrols() 139 mousePos.x = 5 - mousePos.x; in xgpincontrols() 140 mousePos.y = (4 - mousePos.y) * 5; in xgpincontrols() 143 mousePos.x = (4 - mousePos.x) * 5; in xgpincontrols() 144 mousePos.y = 1 + mousePos.y; in xgpincontrols() 147 mousePos.x = 1 + mousePos.x; in xgpincontrols() 148 mousePos.y = mousePos.y * 5; in xgpincontrols() 151 mousePos.x = mousePos.x * 5; in xgpincontrols() 152 mousePos.y = 5 - mousePos.y; in xgpincontrols() [all …]
|
/dports/games/scummvm/scummvm-2.5.1/engines/private/ |
H A D | private.cpp | 226 Common::Point mousePos; in run() local 458 mousePos = mousePos - _origin; in cursorExit() 459 if (mousePos.x < 0 || mousePos.y < 0) in cursorExit() 490 mousePos = mousePos - _origin; in inMask() 491 if (mousePos.x < 0 || mousePos.y < 0) in inMask() 494 if (mousePos.x > surf->w || mousePos.y > surf->h) in inMask() 497 return (surf->getPixel(mousePos.x, mousePos.y) != _transparentColor); in inMask() 621 mousePos = mousePos - _origin; in selectExit() 622 if (mousePos.x < 0 || mousePos.y < 0) in selectExit() 831 mousePos = mousePos - _origin; in selectSafeDigit() [all …]
|
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/java.desktop/macosx/classes/sun/lwawt/macosx/ |
H A D | CRobot.java | 108 Point mousePos = CCursorManager.getInstance().getCursorPosition(); in checkMousePos() local 110 if (mousePos.x < deviceBounds.x) { in checkMousePos() 111 mousePos.x = deviceBounds.x; in checkMousePos() 113 else if (mousePos.x > deviceBounds.x + deviceBounds.width) { in checkMousePos() 114 mousePos.x = deviceBounds.x + deviceBounds.width; in checkMousePos() 117 if (mousePos.y < deviceBounds.y) { in checkMousePos() 118 mousePos.y = deviceBounds.y; in checkMousePos() 120 else if (mousePos.y > deviceBounds.y + deviceBounds.height) { in checkMousePos() 121 mousePos.y = deviceBounds.y + deviceBounds.height; in checkMousePos() 124 mouseLastX = mousePos.x; in checkMousePos() [all …]
|
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/java.desktop/macosx/classes/sun/lwawt/macosx/ |
H A D | CRobot.java | 104 Point mousePos = CCursorManager.getInstance().getCursorPosition(); in checkMousePos() local 106 if (mousePos.x < deviceBounds.x) { in checkMousePos() 107 mousePos.x = deviceBounds.x; in checkMousePos() 109 else if (mousePos.x > deviceBounds.x + deviceBounds.width) { in checkMousePos() 110 mousePos.x = deviceBounds.x + deviceBounds.width; in checkMousePos() 113 if (mousePos.y < deviceBounds.y) { in checkMousePos() 114 mousePos.y = deviceBounds.y; in checkMousePos() 116 else if (mousePos.y > deviceBounds.y + deviceBounds.height) { in checkMousePos() 117 mousePos.y = deviceBounds.y + deviceBounds.height; in checkMousePos() 120 mouseLastX = mousePos.x; in checkMousePos() [all …]
|
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/java.desktop/macosx/classes/sun/lwawt/macosx/ |
H A D | CRobot.java | 108 Point mousePos = CCursorManager.getInstance().getCursorPosition(); in checkMousePos() local 110 if (mousePos.x < deviceBounds.x) { in checkMousePos() 111 mousePos.x = deviceBounds.x; in checkMousePos() 113 else if (mousePos.x > deviceBounds.x + deviceBounds.width) { in checkMousePos() 114 mousePos.x = deviceBounds.x + deviceBounds.width; in checkMousePos() 117 if (mousePos.y < deviceBounds.y) { in checkMousePos() 118 mousePos.y = deviceBounds.y; in checkMousePos() 120 else if (mousePos.y > deviceBounds.y + deviceBounds.height) { in checkMousePos() 121 mousePos.y = deviceBounds.y + deviceBounds.height; in checkMousePos() 124 mouseLastX = mousePos.x; in checkMousePos() [all …]
|
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/java.desktop/macosx/classes/sun/lwawt/macosx/ |
H A D | CRobot.java | 108 Point mousePos = CCursorManager.getInstance().getCursorPosition(); in checkMousePos() local 110 if (mousePos.x < deviceBounds.x) { in checkMousePos() 111 mousePos.x = deviceBounds.x; in checkMousePos() 113 else if (mousePos.x > deviceBounds.x + deviceBounds.width) { in checkMousePos() 114 mousePos.x = deviceBounds.x + deviceBounds.width; in checkMousePos() 117 if (mousePos.y < deviceBounds.y) { in checkMousePos() 118 mousePos.y = deviceBounds.y; in checkMousePos() 120 else if (mousePos.y > deviceBounds.y + deviceBounds.height) { in checkMousePos() 121 mousePos.y = deviceBounds.y + deviceBounds.height; in checkMousePos() 124 mouseLastX = mousePos.x; in checkMousePos() [all …]
|