Edit

IABSD.fr/xenocara/app/xeyes/Eyes.h

Branch :

  • Show log

    Commit

  • Author : matthieu
    Date : 2010-11-25 21:59:45
    Hash : 52857b25
    Message : Update to xeyes 1.1.1

  • app/xeyes/Eyes.h
  • #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 */