xenocara/app/xeyes/Eyes.h

56 lines
1.3 KiB
C
Raw Normal View History

2006-11-25 13:07:29 -07:00
#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"
2010-03-28 03:38:08 -06:00
#define XtNrender "render"
#define XtNdistance "distance"
enum EyesPart {
PART_CLEAR = -1,
PART_OUTLINE,
PART_CENTER,
PART_PUPIL,
PART_SHAPE,
PART_MAX
};
2006-11-25 13:07:29 -07:00
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 */