xenocara/app/xeyes/Eyes.h
2010-03-28 09:38:08 +00:00

59 lines
1.3 KiB
C

/*
* $XConsortium: Eyes.h,v 1.7 90/12/01 13:04:51 rws Exp $
*/
#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 */