diff --git a/freeglut/web-src/docs/api.php b/freeglut/web-src/docs/api.php index f5811a9..6009967 100644 --- a/freeglut/web-src/docs/api.php +++ b/freeglut/web-src/docs/api.php @@ -122,6 +122,7 @@ will thus not work with the currently available 2.8.1 release.
  • glutAddSubMenu
  • glutChangeToMenuEntry
  • glutChangeToSubMenu
  • +
  • glutSetMenuFont
  • glutRemoveMenuItem
  • glutAttachMenu, glutDetachMenu
  • glutMenuDestroyFunc
  • @@ -887,11 +888,34 @@ The glutShowOverlay and glutHideOverlay functions are not impl

    10.7 glutChangeToSubMenu

    -

    10.8 glutRemoveMenuItem

    +

    10.8 glutSetMenuFont

    +

    +glutSetMenuFont sets the (bitmap) font to be used for drawing +the specified menu. +

    -

    10.9 glutAttachMenu, glutDetachMenu

    +

    Usage

    -

    10.10 glutMenuDestroyFunc

    +

    void glutSetMenuFont( int menuID, void* fontID ); +

    + +

    Description

    + +

    +Only bitmap fonts (GLUT_BITMAP_xxx) can be used as menu fonts. +A warning is issued if the supplied font is a stroke font, or an unknown +font and the request will be ignored. +

    + +

    Changes From GLUT

    + +

    GLUT does not provide this function.

    + +

    10.9 glutRemoveMenuItem

    + +

    10.10 glutAttachMenu, glutDetachMenu

    + +

    10.11 glutMenuDestroyFunc

    11. Global Callback Registration Functions