source: anuga_work/development/anugavis/src/events.h @ 5273

Last change on this file since 5273 was 5271, checked in by jack, 17 years ago

AnugaVis?: Something's drawing. Starting work on event handling to get motion.

File size: 442 bytes
Line 
1#ifndef EVENTS_H
2#define EVENTS_H
3
4typedef enum {KEY_FORWARD = 0,
5              KEY_BACKWARD,
6              KEY_STRAFE_LEFT,
7              KEY_STRAFE_RIGHT,
8              KEY_MAX} KEYS;
9
10/* Execute a single step of the visualiser. Provided for situations
11 * where two event loops may conflict. Returns 0 if it's time to quit.
12 */
13extern int AnugaVis_Step(void);
14
15/* Run the visualiser until the user quits.
16 */
17extern void AnugaVis_Run(void);
18
19#endif
Note: See TracBrowser for help on using the repository browser.