Home
last modified time | relevance | path

Searched refs:menuid (Results 1 – 1 of 1) sorted by relevance

/haiku/src/libs/glut/
H A DglutMenu.cpp76 int menuid; in glutCreateMenu() local
78 menuid = getUnusedMenuSlot(); in glutCreateMenu()
79 menu = new GlutMenu(menuid, selectFunc); // constructor sets up members in glutCreateMenu()
80 menuList[menuid] = menu; in glutCreateMenu()
82 return menuid + 1; in glutCreateMenu()
102 glutSetMenu(int menuid) in glutSetMenu() argument
106 if (menuid < 1 || menuid > menuListSize) { in glutSetMenu()
110 menu = menuList[menuid - 1]; in glutSetMenu()