home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / include / Xm / ScrollBar.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-06-30  |  2.0 KB  |  80 lines

  1. /* 
  2.  * (c) Copyright 1989, 1990, 1991, 1992 OPEN SOFTWARE FOUNDATION, INC. 
  3.  * ALL RIGHTS RESERVED 
  4. */ 
  5. /* 
  6.  * Motif Release 1.2
  7. */ 
  8. /*   $RCSfile: ScrollBar.h,v $ $Revision: 10.1 $ $Date: 1994/02/03 15:48:54 $ */
  9. /*
  10. *  (c) Copyright 1989, DIGITAL EQUIPMENT CORPORATION, MAYNARD, MASS. */
  11. /*
  12. *  (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992 HEWLETT-PACKARD COMPANY */
  13. #ifndef _XmScrollBar_h
  14. #define _XmScrollBar_h
  15.  
  16.  
  17. #include <Xm/Xm.h>
  18.  
  19. #ifdef __cplusplus
  20. extern "C" {
  21. #endif
  22.  
  23.  
  24. /*  ScrollBar Widget  */
  25.  
  26. externalref WidgetClass xmScrollBarWidgetClass;
  27.  
  28. typedef struct _XmScrollBarClassRec * XmScrollBarWidgetClass;
  29. typedef struct _XmScrollBarRec      * XmScrollBarWidget;
  30.  
  31. /* ifndef for Fast Subclassing  */
  32.  
  33. #ifndef XmIsScrollBar
  34. #define XmIsScrollBar(w)    XtIsSubclass(w, xmScrollBarWidgetClass)
  35. #endif  /* XmIsScrollBar */
  36.  
  37.  
  38. /********    Public Function Declarations    ********/
  39. #ifdef _NO_PROTO
  40.  
  41. extern Widget XmCreateScrollBar() ;
  42. extern void XmScrollBarGetValues() ;
  43. extern void XmScrollBarSetValues() ;
  44.  
  45. #else
  46.  
  47. extern Widget XmCreateScrollBar( 
  48.                         Widget parent,
  49.                         char *name,
  50.                         ArgList arglist,
  51.                         Cardinal argcount) ;
  52. extern void XmScrollBarGetValues( 
  53.                         Widget w,
  54.                         int *value,
  55.                         int *slider_size,
  56.                         int *increment,
  57.                         int *page_increment) ;
  58. extern void XmScrollBarSetValues( 
  59.                         Widget w,
  60.                         int value,
  61.                         int slider_size,
  62.                         int increment,
  63.                         int page_increment,
  64. #if NeedWidePrototypes
  65.                         int notify) ;
  66. #else
  67.                         Boolean notify) ;
  68. #endif /* NeedWidePrototypes */
  69.  
  70. #endif /* _NO_PROTO */
  71. /********    End Public Function Declarations    ********/
  72.  
  73.  
  74. #ifdef __cplusplus
  75. }  /* Close scope of 'extern "C"' declaration which encloses file. */
  76. #endif
  77.  
  78. #endif /* _XmScrollBar_h */
  79. /* DON'T ADD ANYTHING AFTER THIS #endif */
  80.