diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mupdf-source/thirdparty/freeglut/src/gles_stubs.c	Mon Sep 15 11:43:07 2025 +0200
@@ -0,0 +1,49 @@
+/* TODO: implement me! */
+
+#include <GL/freeglut.h>
+#include "fg_internal.h"
+
+void fgDeactivateMenu( SFG_Window *window ) {
+  fprintf(stderr, "fgDeactivateMenu: STUB\n");
+}
+void fgDisplayMenu( void ) {
+  fprintf(stderr, "fgDisplayMenu: STUB\n");
+}
+void fgUpdateMenuHighlight ( SFG_Menu *menu ) {
+  fprintf(stderr, "fgUpdateMenuHighlight: STUB\n");
+}
+GLboolean fgCheckActiveMenu ( SFG_Window *window, int button, GLboolean pressed,
+                              int mouse_x, int mouse_y )  {
+  fprintf(stderr, "fgCheckActiveMenu: STUB\n");
+  return GL_FALSE;
+}
+
+int  glutCreateMenu( void (* callback)( int menu ) ) { return 0; }
+void glutDestroyMenu( int menu ) {}
+int  glutGetMenu( void ) { return 0; }
+void glutSetMenu( int menu ) {}
+void glutAddMenuEntry( const char* label, int value ) {}
+void glutAddSubMenu( const char* label, int subMenu ) {}
+void glutChangeToMenuEntry( int item, const char* label, int value ) {}
+void glutChangeToSubMenu( int item, const char* label, int value ) {}
+void glutRemoveMenuItem( int item ) {}
+void glutAttachMenu( int button ) {}
+void glutDetachMenu( int button ) {}
+void glutSetMenuFont( int menuID, void* font ) {}
+
+void glutBitmapCharacter( void* font, int character ) {}
+int  glutBitmapWidth( void* font, int character ) { return 0; }
+void glutStrokeCharacter( void* font, int character ) {}
+int  glutStrokeWidth( void* font, int character ) { return 0; }
+GLfloat glutStrokeWidthf( void* font, int character ) { return 0.0f; }
+int  glutBitmapLength( void* font, const unsigned char* string ) { return 0; }
+int  glutStrokeLength( void* font, const unsigned char* string ) { return 0; }
+GLfloat glutStrokeLengthf( void* font, const unsigned char *string ) { return 0.0f; }
+
+void *glutGetMenuData( void ) { return NULL; }
+void  glutSetMenuData(void* data) {}
+
+int     glutBitmapHeight( void* font ) { return 0; }
+GLfloat glutStrokeHeight( void* font ) { return 0; }
+void    glutBitmapString( void* font, const unsigned char *string ) {}
+void    glutStrokeString( void* font, const unsigned char *string ) {}