File: X.h

package info (click to toggle)
libjogl2-java 2.0-rc5-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 23,308 kB
  • sloc: java: 113,441; ansic: 33,817; xml: 4,673; objc: 1,733; sh: 1,261; cpp: 139; awk: 46; makefile: 21
file content (35 lines) | stat: -rw-r--r-- 932 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#ifndef _X_H_
#define _X_H_

typedef struct {} *   XID;
typedef int           Bool;
typedef struct {}     Display;
typedef int           Status;
typedef struct {}     Visual;
typedef unsigned long VisualID;
typedef XID           Colormap;
typedef XID           Cursor;
typedef XID           Drawable;
typedef XID           Font;
typedef XID           GContext;
typedef XID           KeySym;
typedef XID           Pixmap;
typedef XID           Window;

typedef struct __GLXcontextRec *GLXContext;
//typedef void *GLXContext;
typedef XID GLXPixmap;
typedef XID GLXDrawable;
/* GLX 1.3 and later */
typedef struct __GLXFBConfigRec *GLXFBConfig;
//typedef void *GLXFBConfig;
typedef XID GLXFBConfigID;
typedef XID GLXContextID;
typedef XID GLXWindow;
typedef XID GLXPbuffer;

// Hacks for glXGetProcAddress
typedef void (*__GLXextFuncPtr)(void);
typedef unsigned char   GLubyte;        /* 1-byte unsigned */

#endif /* defined _X_H_ */