Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
xeyes/Eyes.h
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
60 lines (44 sloc)
1.36 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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 XtNcyclops "cyclops" | |
#define XtCcyclops "Cyclops" | |
#define XtNrender "render" | |
#define XtNdistance "distance" | |
#define XtNpresent "present" | |
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 */ |