DMenus and TMenus v7
menus libs for Inform (ZCode and Glulx)

DMenus operates fairly similarly to Graham Nelson's menus.h,
with a few more tricks, such as locked or concealed options.
See the comments at the top of DMenus.h for details.

The simplest menu example is something like this:

Menu helpmenu "Help";
Object -> "First option"
 with  description "Text for first option.";
Object -> "Second option"
 with  description "Text for second option.";
Object -> "Third option"
 with  description "Text for third option.";

which would be activated by the command ShowMenu(helpmenu).
But other weirdnesses are possible.

TMenus is an extension that allows submenus to appear embedded
inside their parent menus, like this

  Option 1
> Option 2
  Option 3


  Option 1
> Option 2
 -> Option 2.1
    Option 2.2
    Option 2.3
  Option 3

MenuDemo is a demonstration that should compile to ZCode or Glulx.

To use these libs in Glulx, you need the infglk lib and the bi-platform library.

khelwood@hotmail.com