- Document what works with GLES1 and GLES2 as of now
[freeglut] / src / gles_stubs.c
index 164219c..703e7d2 100644 (file)
@@ -1,3 +1,5 @@
+/* TODO: implement me! */
+
 #include <GL/freeglut.h>
 #include "fg_internal.h"
 
@@ -14,3 +16,33 @@ GLboolean fgCheckActiveMenu ( SFG_Window *window, int button, GLboolean pressed,
                               int mouse_x, int mouse_y )  {
   fprintf(stderr, "fgCheckActiveMenu: STUB\n");
 }
+
+int  glutCreateMenu( void (* callback)( int menu ) ) {}
+void glutDestroyMenu( int menu ) {}
+int  glutGetMenu( void ) {}
+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 glutBitmapCharacter( void* font, int character ) {}
+int  glutBitmapWidth( void* font, int character ) {}
+void glutStrokeCharacter( void* font, int character ) {}
+int  glutStrokeWidth( void* font, int character ) {}
+int  glutBitmapLength( void* font, const unsigned char* string ) {}
+int  glutStrokeLength( void* font, const unsigned char* string ) {}
+
+void *glutGetMenuData( void ) {}
+void  glutSetMenuData(void* data) {}
+
+int     glutBitmapHeight( void* font ) {}
+GLfloat glutStrokeHeight( void* font ) {}
+void    glutBitmapString( void* font, const unsigned char *string ) {}
+void    glutStrokeString( void* font, const unsigned char *string ) {}
+
+void glutWireTeapot( double size ){}
+void glutSolidTeapot( double size ){}