Mercurial > hgrepos > Python2 > PyMuPDF
comparison mupdf-source/thirdparty/freeglut/src/gles_stubs.c @ 2:b50eed0cc0ef upstream
ADD: MuPDF v1.26.7: the MuPDF source as downloaded by a default build of PyMuPDF 1.26.4.
The directory name has changed: no version number in the expanded directory now.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Mon, 15 Sep 2025 11:43:07 +0200 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 1:1d09e1dec1d9 | 2:b50eed0cc0ef |
|---|---|
| 1 /* TODO: implement me! */ | |
| 2 | |
| 3 #include <GL/freeglut.h> | |
| 4 #include "fg_internal.h" | |
| 5 | |
| 6 void fgDeactivateMenu( SFG_Window *window ) { | |
| 7 fprintf(stderr, "fgDeactivateMenu: STUB\n"); | |
| 8 } | |
| 9 void fgDisplayMenu( void ) { | |
| 10 fprintf(stderr, "fgDisplayMenu: STUB\n"); | |
| 11 } | |
| 12 void fgUpdateMenuHighlight ( SFG_Menu *menu ) { | |
| 13 fprintf(stderr, "fgUpdateMenuHighlight: STUB\n"); | |
| 14 } | |
| 15 GLboolean fgCheckActiveMenu ( SFG_Window *window, int button, GLboolean pressed, | |
| 16 int mouse_x, int mouse_y ) { | |
| 17 fprintf(stderr, "fgCheckActiveMenu: STUB\n"); | |
| 18 return GL_FALSE; | |
| 19 } | |
| 20 | |
| 21 int glutCreateMenu( void (* callback)( int menu ) ) { return 0; } | |
| 22 void glutDestroyMenu( int menu ) {} | |
| 23 int glutGetMenu( void ) { return 0; } | |
| 24 void glutSetMenu( int menu ) {} | |
| 25 void glutAddMenuEntry( const char* label, int value ) {} | |
| 26 void glutAddSubMenu( const char* label, int subMenu ) {} | |
| 27 void glutChangeToMenuEntry( int item, const char* label, int value ) {} | |
| 28 void glutChangeToSubMenu( int item, const char* label, int value ) {} | |
| 29 void glutRemoveMenuItem( int item ) {} | |
| 30 void glutAttachMenu( int button ) {} | |
| 31 void glutDetachMenu( int button ) {} | |
| 32 void glutSetMenuFont( int menuID, void* font ) {} | |
| 33 | |
| 34 void glutBitmapCharacter( void* font, int character ) {} | |
| 35 int glutBitmapWidth( void* font, int character ) { return 0; } | |
| 36 void glutStrokeCharacter( void* font, int character ) {} | |
| 37 int glutStrokeWidth( void* font, int character ) { return 0; } | |
| 38 GLfloat glutStrokeWidthf( void* font, int character ) { return 0.0f; } | |
| 39 int glutBitmapLength( void* font, const unsigned char* string ) { return 0; } | |
| 40 int glutStrokeLength( void* font, const unsigned char* string ) { return 0; } | |
| 41 GLfloat glutStrokeLengthf( void* font, const unsigned char *string ) { return 0.0f; } | |
| 42 | |
| 43 void *glutGetMenuData( void ) { return NULL; } | |
| 44 void glutSetMenuData(void* data) {} | |
| 45 | |
| 46 int glutBitmapHeight( void* font ) { return 0; } | |
| 47 GLfloat glutStrokeHeight( void* font ) { return 0; } | |
| 48 void glutBitmapString( void* font, const unsigned char *string ) {} | |
| 49 void glutStrokeString( void* font, const unsigned char *string ) {} |
