Home
last modified time | relevance | path

Searched refs:EventToSquare (Results 1 – 12 of 12) sorted by relevance

/dports/games/xboard-devel/xboard-f49e7e1/
H A Dfrontend.h88 int EventToSquare P((int x, int limit));
H A Dboard.c233 EventToSquare (int x, int limit) in EventToSquare() function
301 *column = EventToSquare(x, BOARD_WIDTH); in BoardSquare()
304 *row = EventToSquare(y, BOARD_HEIGHT); in BoardSquare()
H A Ddialogs.c2575 f = EventToSquare(x, BOARD_WIDTH); if ( flipView && f >= 0) f = BOARD_WIDTH - 1 - f; in Exp()
2576 r = EventToSquare(y, BOARD_HEIGHT); if (!flipView && r >= 0) r = BOARD_HEIGHT - 1 - r; in Exp()
H A Dbackend.c7427 x = EventToSquare(xPix, BOARD_WIDTH); in LeftClick()
7428 y = EventToSquare(yPix, BOARD_HEIGHT); in LeftClick()
7832 xSqr = EventToSquare(x, BOARD_WIDTH); in RightClick()
7833 ySqr = EventToSquare(y, BOARD_HEIGHT); in RightClick()
/dports/games/xshogi/xshogi-1.4.2/
H A Dxshogifn.h82 int EventToSquare(int x);
H A Dxshogi.c2550 || ((pmFromY = EventToSquare(event->xbutton.y)) < 0)) in PieceMenuPopup()
2672 EventToSquare(int x) in EventToSquare() function
3597 || ((fromY = EventToSquare(event->xbutton.y)) < 0)) in HandleUserMove()
3616 || ((to_y = EventToSquare(event->xbutton.y)) < 0)) in HandleUserMove()
/dports/games/xboard/xboard-4.9.1/
H A Dfrontend.h89 int EventToSquare P((int x, int limit));
H A Dboard.c217 EventToSquare (int x, int limit) in EventToSquare() function
285 *column = EventToSquare(x, BOARD_WIDTH); in BoardSquare()
288 *row = EventToSquare(y, BOARD_HEIGHT); in BoardSquare()
H A Ddialogs.c2908 f = EventToSquare(x, BOARD_WIDTH); if ( flipView && f >= 0) f = BOARD_WIDTH - 1 - f; in Exp()
2909 r = EventToSquare(y, BOARD_HEIGHT); if (!flipView && r >= 0) r = BOARD_HEIGHT - 1 - r; in Exp()
H A Dbackend.c7558 x = EventToSquare(xPix, BOARD_WIDTH); in LeftClick()
7559 y = EventToSquare(yPix, BOARD_HEIGHT); in LeftClick()
7988 xSqr = EventToSquare(x, BOARD_WIDTH); in RightClick()
7989 ySqr = EventToSquare(y, BOARD_HEIGHT); in RightClick()
8054 int xSqr = EventToSquare(x, BOARD_WIDTH); in Wheel()
8055 int ySqr = EventToSquare(y, BOARD_HEIGHT); in Wheel()
/dports/games/xboard-devel/xboard-f49e7e1/winboard/
H A Dwinboard.c4227 int EventToSquare(x, limit) in EventToSquare() function
4329 x = EventToSquare(pt.x - boardRect.left, BOARD_WIDTH); in MouseEvent()
4330 y = EventToSquare(pt.y - boardRect.top, BOARD_HEIGHT); in MouseEvent()
/dports/games/xboard/xboard-4.9.1/winboard/
H A Dwinboard.c4279 int EventToSquare(x, limit) in EventToSquare() function
4381 x = EventToSquare(pt.x - boardRect.left, BOARD_WIDTH); in MouseEvent()
4382 y = EventToSquare(pt.y - boardRect.top, BOARD_HEIGHT); in MouseEvent()