1 /* TODO: implement me! */
3 #include <GL/freeglut.h>
4 #include "fg_internal.h"
6 void fgDeactivateMenu( SFG_Window *window ) {
7 fprintf(stderr, "fgDeactivateMenu: STUB\n");
9 void fgDisplayMenu( void ) {
10 fprintf(stderr, "fgDisplayMenu: STUB\n");
12 void fgUpdateMenuHighlight ( SFG_Menu *menu ) {
13 fprintf(stderr, "fgUpdateMenuHighlight: STUB\n");
15 GLboolean fgCheckActiveMenu ( SFG_Window *window, int button, GLboolean pressed,
16 int mouse_x, int mouse_y ) {
17 fprintf(stderr, "fgCheckActiveMenu: STUB\n");
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 ) {}
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; }
43 void *glutGetMenuData( void ) { return NULL; }
44 void glutSetMenuData(void* data) {}
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 ) {}