xenocara/app/xeyes/Eyes.h
2010-11-25 21:59:45 +00:00

56 lines
1.3 KiB
C

#ifndef _XtEyes_h
#define _XtEyes_h
/***********************************************************************
*
* Eyes Widget
*
***********************************************************************/
/* Parameters:
Name Class RepType Default Value
---- ----- ------- -------------
background Background pixel White
border BorderColor pixel Black
borderWidth BorderWidth int 1
foreground Foreground Pixel Black
outline Outline Pixel Black
height Height int 120
mappedWhenManaged MappedWhenManaged Boolean True
reverseVideo ReverseVideo Boolean False
width Width int 120
x Position int 0
y Position int 0
*/
#define XtNoutline "outline"
#define XtNcenterColor "center"
#define XtNshapeWindow "shapeWindow"
#define XtCShapeWindow "ShapeWindow"
#define XtNrender "render"
#define XtNdistance "distance"
enum EyesPart {
PART_CLEAR = -1,
PART_OUTLINE,
PART_CENTER,
PART_PUPIL,
PART_SHAPE,
PART_MAX
};
typedef struct _EyesRec *EyesWidget; /* completely defined in EyesPrivate.h */
typedef struct _EyesClassRec *EyesWidgetClass; /* completely defined in EyesPrivate.h */
extern WidgetClass eyesWidgetClass;
#endif /* _XtEyes_h */
/* DON'T ADD STUFF AFTER THIS #endif */