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

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