diff options
Diffstat (limited to 'byterun/rotatecursor.h')
-rw-r--r-- | byterun/rotatecursor.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/byterun/rotatecursor.h b/byterun/rotatecursor.h index c15226e8d..8951c418d 100644 --- a/byterun/rotatecursor.h +++ b/byterun/rotatecursor.h @@ -16,10 +16,14 @@ #ifndef _rotatecursor_ #define _rotatecursor_ -/* [*p1] and [*p2] will be set to 1 when the time comes to call - [ui_periodic_action]. If p1 or p2 is not used, pass it as NULL. +/* [have_to_interact] will be magically set to 1 when the time comes to + call [rotatecursor_action]. */ +extern int volatile have_to_interact; + +/* [*p1] and [have_to_interact] will be set to 1 when the time comes to + call [rotatecursor_action]. If p1 is not used, pass it as NULL. */ -void rotatecursor_init (int volatile *p1, int volatile *p2); +void rotatecursor_init (int volatile *p1); /* [reverse] is 0 to rotate the cursor clockwise, anything else to rotate counterclockwise. This function always returns 0. |