Lines Matching defs:where
595 SudokuView::MouseDown(BPoint where)
598 if (!fEditable || !_GetFieldFor(where, x, y))
617 if (!_GetHintFieldFor(where, x, y, hintX, hintY))
640 SudokuView::MouseMoved(BPoint where, uint32 transit,
654 bool isField = _GetFieldFor(where, x, y);
1086 SudokuView::_GetHintFieldFor(BPoint where, uint32 x, uint32 y,
1090 hintX = (uint32)floor((where.x - leftTop.x) / fHintWidth);
1091 hintY = (uint32)floor((where.y - leftTop.y) / fHintHeight);
1101 SudokuView::_GetFieldFor(BPoint where, uint32& x, uint32& y)
1104 x = (uint32)floor(where.x / block);
1105 uint32 offsetX = (uint32)floor((where.x - x * block) / fWidth);
1109 y = (uint32)floor(where.y / block);
1110 uint32 offsetY = (uint32)floor((where.y - y * block) / fHeight);