1UNTITLED                             LOCAL                            UNTITLED
2

NAME

4     glutChangeToMenuEntry — Replace a menu entry with an item.
5

LIBRARY

7     OpenGLUT - menus
8

SYNOPSIS

10     #include <openglut.h>
11
12     void
13     glutChangeToMenuEntry(int item, const char *label, int value);
14

PARAMETERS

16      item     Integer position down the list
17
18      label    Menu item text
19
20      value    Menu item callback value
21

DESCRIPTION

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

SEE ALSO

28     glutAddMenuEntry(3) glutAddSubMenu(3) glutChangeToSubMenu(3)
29     glutRemoveMenuItem(3)
30
31
32
33
34                                     Epoch
Impressum