File: timeout.h

package info (click to toggle)
kdrill 6.5deb2-12
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 1,340 kB
  • sloc: ansic: 7,636; makefile: 47
file content (18 lines) | stat: -rw-r--r-- 617 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* This module handles a timer for guessing. Guess within X seconds,
 * or you lose :-)
 *
 * There can be only one timeout currently in the program.
 * Length of timeout is changed in the options window, via the widgets
 * made by MakeTimeoutOptions()
 */

extern void StartTimeout();
extern int StopTimeout();
extern void EnableTimer(int on_off);
extern void setTimeoutLen(int newlen);
extern void TimerCallback(Widget w,XtPointer data,XtPointer calldata);

extern void MakeTimeoutOptions(Widget parentForm);

/* This is for keyboard accelerator */
extern void UpdateTimeout(Widget w,XEvent *,String *,Cardinal *);