Merge branch 'master' into gallium-0.2
[mesa.git] / src / glut / os2 / glutos2.h
1 #ifndef __glutos2_h__
2 #define __glutos2_h__
3
4
5 /* Win32 "equivalent" cursors - eventually, the X glyphs should be
6 converted to Win32 cursors -- then they will look the same */
7 #define XC_arrow IDC_ARROW
8 #define XC_top_left_arrow IDC_ARROW
9 #define XC_hand1 IDC_SIZEALL
10 #define XC_pirate IDC_NO
11 #define XC_question_arrow IDC_HELP
12 #define XC_exchange IDC_NO
13 #define XC_spraycan IDC_SIZEALL
14 #define XC_watch IDC_WAIT
15 #define XC_xterm IDC_IBEAM
16 #define XC_crosshair IDC_CROSS
17 #define XC_sb_v_double_arrow IDC_SIZENS
18 #define XC_sb_h_double_arrow IDC_SIZEWE
19 #define XC_top_side IDC_UPARROW
20 #define XC_bottom_side IDC_SIZENS
21 #define XC_left_side IDC_SIZEWE
22 #define XC_right_side IDC_SIZEWE
23 #define XC_top_left_corner IDC_SIZENWSE
24 #define XC_top_right_corner IDC_SIZENESW
25 #define XC_bottom_right_corner IDC_SIZENWSE
26 #define XC_bottom_left_corner IDC_SIZENESW
27
28 #define XA_STRING 0
29
30 /* Private routines from win32_util.c */
31 extern int gettimeofday(struct timeval* tp, void* tzp);
32 //extern void *__glutFont(void *font);
33 extern int __glutGetTransparentPixel(Display *dpy, XVisualInfo *vinfo);
34 extern void __glutAdjustCoords(Window parent, int *x, int *y, int *width, int *height);
35
36 #endif /* __glutos2_h__ */