Eyes.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. #ifndef _XtEyes_h
  2. #define _XtEyes_h
  3. /***********************************************************************
  4. *
  5. * Eyes Widget
  6. *
  7. ***********************************************************************/
  8. /* Parameters:
  9. Name Class RepType Default Value
  10. ---- ----- ------- -------------
  11. background Background pixel White
  12. border BorderColor pixel Black
  13. borderWidth BorderWidth int 1
  14. foreground Foreground Pixel Black
  15. outline Outline Pixel Black
  16. height Height int 120
  17. mappedWhenManaged MappedWhenManaged Boolean True
  18. reverseVideo ReverseVideo Boolean False
  19. width Width int 120
  20. x Position int 0
  21. y Position int 0
  22. */
  23. #define XtNoutline "outline"
  24. #define XtNcenterColor "center"
  25. #define XtNshapeWindow "shapeWindow"
  26. #define XtCShapeWindow "ShapeWindow"
  27. #define XtNrender "render"
  28. #define XtNdistance "distance"
  29. enum EyesPart {
  30. PART_CLEAR = -1,
  31. PART_OUTLINE,
  32. PART_CENTER,
  33. PART_PUPIL,
  34. PART_SHAPE,
  35. PART_MAX
  36. };
  37. typedef struct _EyesRec *EyesWidget; /* completely defined in EyesPrivate.h */
  38. typedef struct _EyesClassRec *EyesWidgetClass; /* completely defined in EyesPrivate.h */
  39. extern WidgetClass eyesWidgetClass;
  40. #endif /* _XtEyes_h */
  41. /* DON'T ADD STUFF AFTER THIS #endif */