source:
anuga_work/development/anugavis/src/events.h
@
5273
Last change on this file since 5273 was 5271, checked in by , 17 years ago | |
---|---|
File size: 442 bytes |
Line | |
---|---|
1 | #ifndef EVENTS_H |
2 | #define EVENTS_H |
3 | |
4 | typedef 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 | */ |
13 | extern int AnugaVis_Step(void); |
14 | |
15 | /* Run the visualiser until the user quits. |
16 | */ |
17 | extern void AnugaVis_Run(void); |
18 | |
19 | #endif |
Note: See TracBrowser
for help on using the repository browser.