home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume26 / xwhosup / part01 / Bar.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-12-30  |  1.2 KB  |  45 lines

  1. #include <X11/copyright.h>
  2.  
  3. /* $XConsortium: Bar.h,v 1.2 88/10/25 17:22:09 swick Exp $ */
  4. /* Copyright    Massachusetts Institute of Technology    1987, 1988 */
  5.  
  6. #ifndef _Bar_h
  7. #define _Bar_h
  8.  
  9. /****************************************************************
  10.  *
  11.  * Bar widget
  12.  *
  13.  ****************************************************************/
  14.  
  15. /* Resources:
  16.  
  17.  Name             Class        RepType        Default Value
  18.  ----             -----        -------        -------------
  19.  background         Background        Pixel        XtDefaultBackground
  20.  border             BorderColor    Pixel        XtDefaultForeground
  21.  borderWidth         BorderWidth    Dimension    1
  22.  destroyCallback     Callback        Pointer        NULL
  23.  height             Height        Dimension    0
  24.  mappedWhenManaged   MappedWhenManaged    Boolean        True
  25.  sensitive         Sensitive        Boolean        True
  26.  width             Width        Dimension    0
  27.  x             Position        Position    0
  28.  y             Position        Position    0
  29.  
  30. */
  31.  
  32. /* declare specific BarWidget class and instance datatypes */
  33.  
  34. typedef struct _BarClassRec*    BarWidgetClass;
  35. typedef struct _BarRec*        BarWidget;
  36.  
  37. /* declare the class constant */
  38.  
  39. extern WidgetClass barWidgetClass;
  40.  
  41. /* Public procedures */
  42. extern void SetBarValues(/* BarWidget w, int *values, int nvalues */);
  43.  
  44. #endif  _Bar_h
  45.