home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 1 / crawlyvol1.bin / bbs / jet_conf / listbox.h < prev    next >
C/C++ Source or Header  |  1993-05-10  |  892b  |  52 lines

  1. /*
  2.  * LISTBOX.H
  3.  *
  4.  * header-module of listbox.s (part of jet_conf.prg)
  5.  * listbox routines to use with jet_conf.prg.
  6.  *
  7.  */
  8.  
  9. #ifndef __LISTBOX__H_
  10. #define __LISTBOX__H_
  11.  
  12. /*--- includes              ---*/
  13.  
  14. /*--- defines               ---*/
  15.  
  16. #define        LIST_INIT        1
  17. #define        LIST_DRAW        2
  18. #define        LIST_CLICK        4
  19.  
  20. /*--- types                 ---*/
  21.  
  22. /* LISTBOX-Struktur: */
  23. typedef struct
  24. {
  25.     OBJECT    *tree;
  26.     VOID    *itemlist;
  27.     LONG    itemsize;
  28.     BOOLEAN    indirect;
  29.     WORD    num_items;
  30.     WORD    vis_items;
  31.     WORD    width;
  32.     WORD    first_item;
  33.     WORD    active;
  34.     WORD    sel_state;
  35.     WORD    root;
  36.     WORD    items;
  37.     WORD    up;
  38.     WORD    down;
  39.     WORD    parent;
  40.     WORD    slider;
  41.     VOID    (*func)( VOID *list );
  42. } LISTBOX;
  43.  
  44. /*--- variables             ---*/
  45.  
  46. /*--- prototypes            ---*/
  47.  
  48. GLOBAL VOID listbox( LISTBOX *list, MKINFO *mk, WORD flags );
  49.  
  50. /*--- End of listbox.h module  ---*/
  51.  
  52. #endif