home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / gnustuff / tos / progut~1 / stdwin.zoo / atari / menu.h < prev    next >
Encoding:
C/C++ Source or Header  |  1989-10-17  |  449 b   |  33 lines

  1. struct m_item {
  2.     int    id ;
  3.     char    *line ;
  4.     char    *ittext ;
  5.     char    *sctext ;
  6.     int    enabled ;
  7.     int    checked ;
  8. } ;
  9.  
  10. struct menu {
  11.     int    id ;
  12.     char    *title ;
  13.     bool    local ;
  14.     bool    dirty ;
  15.     int    maxlen ;
  16.     int    nritems ;
  17.     struct m_item    **itemlist ;
  18. } ;
  19.  
  20. struct menubar {
  21.     int    nrmenus ;
  22.     MENU    **menulist ;
  23. } ;
  24.  
  25. struct ln {
  26.     int    m ;
  27.     int    it ;
  28. } ;
  29.  
  30. #define BAR    0x0110f0L
  31. #define BOX    0x0ff10f0L
  32. /*    (-1 << 16 | BLACK << 12 | WHITE << 8 | 1 << 7 | 7 << 4 | WHITE)       */
  33.