Searched refs:mousePos (Results 1 - 4 of 4) sorted by relevance
/haiku/src/apps/launchbox/ |
H A D | MainWindow.cpp | 239 BPoint mousePos; local 241 fPadView->GetMouse(&mousePos, &buttons, false); 242 fPadView->ConvertToScreen(&mousePos); 245 origin.x = mousePos.x - size.width / 2; 254 origin.y = mousePos.y - size.height / 2;
|
/haiku/src/apps/tv/ |
H A D | MainWin.cpp | 510 BPoint mousePos; local 516 BPoint mousePos = msg->FindPoint("where"); 517 printf("view where: %.0f, %.0f => ", mousePos.x, mousePos.y); 518 fVideoView->ConvertToScreen(&mousePos); 522 if (B_OK != msg->FindPoint("screen_where", &mousePos)) { 524 fVideoView->GetMouse(&mousePos, &buttons, false); 525 fVideoView->ConvertToScreen(&mousePos); 527 // printf("screen where: %.0f, %.0f => ", mousePos.x, mousePos [all...] |
/haiku/src/apps/showimage/ |
H A D | ShowImageView.cpp | 253 BPoint mousePos; local 255 GetMouse(&mousePos, &buttons, false); 256 if (Bounds().Contains(mousePos)) { 260 ConvertToScreen(&mousePos); 261 set_mouse_position((int32)mousePos.x, (int32)mousePos.y);
|
/haiku/src/apps/mediaplayer/ |
H A D | MainWin.cpp | 2250 BPoint mousePos; local 2254 if (msg->FindPoint("screen_where", &mousePos) != B_OK) { 2257 if (!originalHandler || msg->FindPoint("where", &mousePos) < B_OK) 2259 originalHandler->ConvertToScreen(&mousePos); 2264 // printf("screen where: %.0f, %.0f => ", mousePos.x, mousePos.y); 2265 float delta_x = mousePos.x - fMouseDownMousePos.x; 2266 float delta_y = mousePos.y - fMouseDownMousePos.y; 2278 BPoint moveDelta = mousePos - fLastMousePos; 2289 fLastMousePos = mousePos; [all...] |
Completed in 66 milliseconds