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 / ColorHexagon.h.z / ColorHexagon.h
C/C++ Source or Header  |  1996-03-14  |  2KB  |  57 lines

  1. /* 
  2.  * (c) Copyright 1993 Silcon Graphics, INC. 
  3.  * ALL RIGHTS RESERVED 
  4. */ 
  5. /*   $RCSfile: ColorHexagon.h,v $ $Revision: 1.4 $ $Date: 1994/10/24 19:18:05 $ */
  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 _ColorHexagon_h
  11. #define _ColorHexagon_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 _ColorHexagonObj *ColorHexagon;
  22.  
  23.  
  24. /********    Public Function Declarations    ********/
  25. #ifdef _NO_PROTO
  26.  
  27. extern ColorHexagon SgColorHexagonCreate();
  28. extern void         SgColorHexagonDestroy();
  29. extern void         SgColorHexagonSetColor();
  30. extern void         SgColorHexagonGetColor();
  31. extern void         SgColorHexagonSetHSV();
  32. extern void         SgColorHexagonSetWysiwyg();
  33.  
  34. #else
  35.  
  36. extern ColorHexagon SgColorHexagonCreate(Widget w, Boolean use_popup);
  37. extern void         SgColorHexagonDestroy(ColorHexagon hexagon);
  38. extern void         SgColorHexagonSetColor(ColorHexagon hexagon, short r, 
  39.                        short g, short b);
  40. extern void         SgColorHexagonGetColor(ColorHexagon hexagon, short *r, 
  41.                        short *g, short *b);
  42. extern void         SgColorHexagonSetHSV(ColorHexagon hexagon, 
  43.                      float h, float s, float v); 
  44. extern void         SgColorHexagonSetWysiwyg(ColorHexagon hexagon, 
  45.                          Boolean wysiwyg);
  46.  
  47. #endif /* _NO_PROTO */
  48. /********    End Public Function Declarations    ********/
  49.  
  50.  
  51. #ifdef __cplusplus
  52. }  /* Close scope of 'extern "C"' declaration which encloses file. */
  53. #endif
  54.  
  55. #endif /* _ColorHexagon_h */
  56. /* DON'T ADD ANYTHING AFTER THIS #endif */
  57.