VirtualBox

source: vbox/trunk/src/VBox/GuestHost/OpenGL/include/crut_clientapi.h@ 24107

Last change on this file since 24107 was 15532, checked in by vboxsync, 16 years ago

crOpenGL: export to OSE

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1#ifndef CRUT_CLIENTAPI_H
2#define CRUT_CLEINTAPI_H
3
4#ifdef WINDOWS
5#define CRUT_CLIENT_APIENTRY __stdcall
6#else
7#define CRUT_CLIENT_APIENTRY
8#endif
9
10#include "chromium.h"
11#include "crut_api.h"
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
17void CRUT_CLIENT_APIENTRY crutInitClient(void);
18void CRUT_CLIENT_APIENTRY crutReceiveEventType(int type);
19void CRUT_CLIENT_APIENTRY crutMouseFunc( void (*func)(int button, int state, int x, int y) );
20void CRUT_CLIENT_APIENTRY crutKeyboardFunc( void (*func) (unsigned char key, int x, int y) );
21void CRUT_CLIENT_APIENTRY crutReshapeFunc( void (*func) (int width, int height) );
22void CRUT_CLIENT_APIENTRY crutVisibilityFunc( void (*func) (int state) );
23void CRUT_CLIENT_APIENTRY crutMotionFunc( void (*func) (int x, int y) );
24void CRUT_CLIENT_APIENTRY crutPassiveMotionFunc( void (*func) (int x, int y) );
25void CRUT_CLIENT_APIENTRY crutIdleFunc( void (*func)(void));
26void CRUT_CLIENT_APIENTRY crutDisplayFunc(void (*func)(void));
27void CRUT_CLIENT_APIENTRY crutPostRedisplay(void);
28void CRUT_CLIENT_APIENTRY crutMainLoop(void);
29int CRUT_CLIENT_APIENTRY crutCreateContext ( unsigned int visual );
30int CRUT_CLIENT_APIENTRY crutCreateWindow ( unsigned int visual );
31void CRUT_CLIENT_APIENTRY crutMakeCurrent( int window, int context );
32void CRUT_CLIENT_APIENTRY crutSwapBuffers( int window, int flags );
33void CRUT_CLIENT_APIENTRY crutReceiveEvent(CRUTMessage **msg);
34int CRUT_CLIENT_APIENTRY crutCheckEvent( void );
35int CRUT_CLIENT_APIENTRY crutPeekNextEvent( void );
36int CRUT_CLIENT_APIENTRY crutCreateMenu( void (*func) (int val) );
37void CRUT_CLIENT_APIENTRY crutAddMenuEntry( char* name, int value );
38void CRUT_CLIENT_APIENTRY crutAddSubMenu( char* name, int menuID );
39void CRUT_CLIENT_APIENTRY crutAttachMenu( int button );
40
41#ifdef __cplusplus
42}
43#endif
44
45#endif /* CRUT_CLIENTAPI_H */
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette