home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / jove-4.16-src.tgz / tar.out / bsd / jove / xjove / xjovewindows.h < prev   
C/C++ Source or Header  |  1996-09-28  |  2KB  |  37 lines

  1. /***************************************************************************
  2.  * This program is Copyright (C) 1991-1996 by C.H.Lindsey, University of   *
  3.  * Manchester.  (X)JOVETOOL is provided to you without charge, and with no *
  4.  * warranty.  You may give away copies of (X)JOVETOOL, including sources,  *
  5.  * provided that this notice is included in all the files, except insofar  *
  6.  * as a more specific copyright notices attaches to the file (x)jovetool.c *
  7.  ***************************************************************************/
  8.  
  9. #include "tune.h"
  10.  
  11. #define FUNCTION(key_string, string)    MENU_ITEM, MENU_STRING, key_string, \
  12.                 MENU_CLIENT_DATA, string, 0,
  13. #define GROUP(menu)        menu = menu_create( \
  14.                     MENU_NOTIFY_PROC, print_client_data,
  15. #define GROUPNAME(menu, name)    MENU_ITEM, MENU_STRING, name, \
  16.                 MENU_CLIENT_DATA,  "", \
  17.                 MENU_PULLRIGHT, menu, 0,
  18. #define FUNCPULL(key_string, string, menu) \
  19.                 MENU_ITEM, MENU_STRING, key_string, \
  20.                 MENU_CLIENT_DATA, string, \
  21.                 MENU_PULLRIGHT, menu, 0,
  22. #define FUNCPULLPROC(key_string, string, menu_proc) \
  23.                 MENU_ITEM, MENU_STRING, key_string, \
  24.                 MENU_CLIENT_DATA, string, \
  25.                 MENU_GEN_PULLRIGHT, menu_proc, 0,
  26. #define VARIABLE(string)    FUNCTION(string, string)
  27. #define VARIBOOL(string)    MENU_ITEM, MENU_STRING,  string, \
  28.                 MENU_CLIENT_DATA, string, \
  29.                 MENU_GEN_PROC, on_off_proc, 0,
  30. #define VARGROUP(menu)        menu = menu_create( \
  31.                     MENU_NOTIFY_PROC, sp_printit,
  32. #define VARPROC(proc, menu)    Menu_item \
  33. proc(item, operation) \
  34.     Menu_item    item; \
  35.     Menu_generate    operation; \
  36. {    return do_set_proc(item, operation, menu); }
  37.