home *** CD-ROM | disk | FTP | other *** search
/ IRIS Development Option 6.2 / IRIS_Development_Option_6.2_814-0478-001.iso / dist / motif_dev.idb / usr / include / Sgm / ColorChooserSwatch.h.z / ColorChooserSwatch.h
C/C++ Source or Header  |  1996-03-14  |  1KB  |  51 lines

  1. /* 
  2.  * (c) Copyright 1993 Silcon Graphics, INC. 
  3.  * ALL RIGHTS RESERVED 
  4. */ 
  5. /*   $RCSfile: ColorChooserSwatch.h,v $ $Revision: 1.4 $ $Date: 1994/10/24 19:18:02 $ */
  6. /*
  7. *  (c) Copyright 1989, DIGITAL EQUIPMENT CORPORATION, MAYNARD, MASS. */
  8. /*
  9. *  (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992 HEWLETT-PACKARD COMPANY */
  10. #ifndef _ColorChooserSwatch_h
  11. #define _ColorChooserSwatch_h
  12.  
  13. #include <Xm/Xm.h>
  14.  
  15. #ifdef __cplusplus
  16. extern "C" {
  17. #endif
  18.  
  19. /* Class record constants */
  20.  
  21. typedef struct _ColorChooserSwatch *ColorChooserSwatch;
  22.  
  23.  
  24. /********    Public Function Declarations    ********/
  25. #ifdef _NO_PROTO
  26.  
  27. extern ColorChooserSwatch SgSwatchAllocColor();
  28. extern void               SgSwatchSetColor();
  29. extern void               SgSwatchGetColor();
  30.  
  31.  
  32. #else
  33.  
  34. extern ColorChooserSwatch SgSwatchAllocColor(Widget w);
  35. extern void               SgSwatchSetColor(ColorChooserSwatch swatch, 
  36.                      short r, short g, short b);
  37. extern void               SgSwatchGetColor(ColorChooserSwatch swatch, 
  38.                      short *r, short *g, short *b);
  39.  
  40.  
  41. #endif /* _NO_PROTO */
  42. /********    End Public Function Declarations    ********/
  43.  
  44.  
  45. #ifdef __cplusplus
  46. }  /* Close scope of 'extern "C"' declaration which encloses file. */
  47. #endif
  48.  
  49. #endif /* _ColorChooserSwatch_h */
  50. /* DON'T ADD ANYTHING AFTER THIS #endif */
  51.