1UNTITLED LOCAL UNTITLED
2
4 glutCreateMenu — Create a new menu.
5
7 OpenGLUT - menus
8
10 #include <openglut.h>
11
12 int
13 glutCreateMenu(void( *callback )( int value ));
14
16 callback Client hook for the new menu.
17
19 Create a menu with a callback bound to callback, and return the menu's
20 integer id.
21
22 When the user makes a selection from this menu, callback is invoked
23 with the parameter value, which comes from the ( label, value) pair
24 that is defined with glutAddMenuEntry().
25
27 glutAddMenuEntry(3) glutAddSubMenu(3) glutDestroyMenu(3)
28
29
30
31
32 Epoch