widget |
(GtkWidget *) pointer to affected object (drawing area). |
x |
(int *) pointer to absolute x position of the robot (will changed if mouseaction equal to 1 or 2) |
y |
(int *) pointer to absolute y position of the robot (will changed if mouseaction equal to 1 or 2) |
mx |
(int) x mouse position (only relevant if mouseaction equal to 1 or 2) |
my |
(int) y mouse position (only relevant if mouseaction equal to 1 or 2) |
mouseaction |
(int) current action: 1: start moving, 2: moving or finish moving, other: plot only |