File: callbacks.h

package info (click to toggle)
gltron 0.61-3
  • links: PTS
  • area: main
  • in suites: woody
  • size: 3,948 kB
  • ctags: 1,175
  • sloc: ansic: 7,580; perl: 168; makefile: 149; sh: 15
file content (13 lines) | stat: -rw-r--r-- 307 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef CALLBACKS_H
#define CALLBACKS_H
typedef struct callbacks {
  void (*display)(void);
  void (*idle)(void);
  void (*keyboard)(int, int, int);
  void (*init)(void);
  void (*exit)(void);
  void (*initGL)(void);
  void (*mouse)(int, int, int, int);
  void (*mouseMotion)(int, int);
} callbacks;
#endif