home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / include / Xm / ScrolledW.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-06-30  |  1.7 KB  |  67 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: ScrolledW.h,v $ $Revision: 10.1 $ $Date: 1994/02/03 15:49:15 $ */
  9. /*
  10. *  (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992 HEWLETT-PACKARD COMPANY */
  11. #ifndef _XmScrolledWindow_h
  12. #define _XmScrolledWindow_h
  13.  
  14. #include <Xm/Xm.h>
  15.  
  16. #ifdef __cplusplus
  17. extern "C" {
  18. #endif
  19.  
  20.  
  21. #ifndef XmIsScrolledWindow
  22. #define XmIsScrolledWindow(w)    XtIsSubclass(w, xmScrolledWindowWidgetClass)
  23. #endif /* XmIsScrolledWindow */
  24.  
  25.  
  26. externalref WidgetClass xmScrolledWindowWidgetClass;
  27.  
  28. typedef struct _XmScrolledWindowClassRec * XmScrolledWindowWidgetClass;
  29. typedef struct _XmScrolledWindowRec      * XmScrolledWindowWidget;
  30.  
  31.  
  32. /********    Public Function Declarations    ********/
  33. #ifdef _NO_PROTO
  34.  
  35. extern void XmScrolledWindowSetAreas() ;
  36. extern Widget XmCreateScrolledWindow() ;
  37. extern void XmScrollVisible() ;
  38.  
  39. #else
  40.  
  41. extern void XmScrolledWindowSetAreas( 
  42.                         Widget w,
  43.                         Widget hscroll,
  44.                         Widget vscroll,
  45.                         Widget wregion) ;
  46. extern Widget XmCreateScrolledWindow( 
  47.                         Widget parent,
  48.                         char *name,
  49.                         ArgList args,
  50.                         Cardinal argCount) ;
  51. extern void XmScrollVisible(
  52.             Widget          scrw,
  53.             Widget          wid,
  54.             Dimension       hor_margin, 
  55.             Dimension       ver_margin) ;
  56.  
  57. #endif /* _NO_PROTO */
  58. /********    End Public Function Declarations    ********/
  59.  
  60.  
  61. #ifdef __cplusplus
  62. }  /* Close scope of 'extern "C"' declaration which encloses file. */
  63. #endif
  64.  
  65. #endif /* _XmScrolledWindow_h */
  66. /* DON'T ADD ANYTHING AFTER THIS #endif */
  67.