1UNTITLED LOCAL UNTITLED
2
4 glutChangeToMenuEntry — Replace a menu entry with an item.
5
7 OpenGLUT - menus
8
10 #include <openglut.h>
11
12 void
13 glutChangeToMenuEntry(int item, const char *label, int value);
14
16 item Integer position down the list
17
18 label Menu item text
19
20 value Menu item callback value
21
23 Walks the list of the menu items and replaces the numbered item in the
24 list with the given definition. Except that it replaces a pre-existing
25 item, this function is much like glutAddMenuEntry().
26
28 glutAddMenuEntry(3) glutAddSubMenu(3) glutChangeToSubMenu(3)
29 glutRemoveMenuItem(3)
30
31
32
33
34 Epoch