VirtualBox

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

最後變更 在這個檔案從71007是 69474,由 vboxsync 提交於 7 年 前

*: scm updates - header files should have 'svn:keywords=Id Revision' too (doesn't mean they have to use them).

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Id Revision
檔案大小: 1.8 KB
 
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 */
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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