This is the doxygen documentation for gtkboard.
.
#include <game.h>
Data Fields | |
| GtkboardEventType | type |
| Type of event. | |
| int | x |
| (For mouse events) x coordinate of the *cell* -- ranges from 0 to board_wid. | |
| int | y |
| int | pixel_x |
| Actual x coordinate. | |
| int | pixel_y |
| Actual y coordinate. | |
| int | key |
| The key that was pressed. | |
| byte* | move |
| The move (when type is GTKBOARD_{HUMAN,MACHINE,HISTORY}_MOVE). | |
Definition at line 58 of file game.h.
|
|
The key that was pressed.
|
|
|
The move (when type is GTKBOARD_{HUMAN,MACHINE,HISTORY}_MOVE).
|
|
|
Actual x coordinate.
|
|
|
Actual y coordinate.
|
|
|
Type of event.
|
|
|
(For mouse events) x coordinate of the *cell* -- ranges from 0 to board_wid.
|
|
|
|