|
DataMuseum.dkPresents historical artifacts from the history of: Regnecentalen RC-900 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Regnecentalen RC-900 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 1168 (0x490) Types: TextFile Notes: UNIX file Names: »xgif.h«
└─⟦a85bd4a7c⟧ Bits:30004636/disk2.imd INTERACTIVE Motif Environment Development System └─⟦a85bd4a7c⟧ UNIX Filesystem └─⟦this⟧ »xt/new/usr/lib/X11/examples/motifgif/xgif.h«
#ifdef REV_INFO #ifndef lint static char SCCSID[] = "OSF/Motif: @(#)xgif.h 1.1 - 89/08/30 - 11:53:21"; #endif /* lint */ #endif /* REV_INFO */ /* * xgif.h - header file for xgif, but you probably already knew as much */ #define REVDATE "Rev: 2/13/89" #define MAXEXPAND 16 /* include files */ #include <stdio.h> #include <math.h> #include <ctype.h> #include <X11/Xos.h> #include <X11/Xlib.h> #include <X11/Xutil.h> #ifndef MAIN #define WHERE extern #else #define WHERE #endif typedef unsigned char byte; #define CENTERX(f,x,str) ((x)-XTextWidth(f,str,strlen(str))/2) #define CENTERY(f,y) ((y)-((f->ascent+f->descent)/2)+f->ascent) /* X stuff */ WHERE Display *theDisp; WHERE int theScreen, dispcells; WHERE Colormap theCmap; WHERE Window rootW, mainW; WHERE GC theGC; WHERE unsigned long fcol,bcol; WHERE Font mfont; WHERE XFontStruct *mfinfo; WHERE Visual *theVisual; WHERE XImage *theImage, *expImage; /* global vars */ WHERE int iWIDE,iHIGH,eWIDE,eHIGH,expand,numcols,strip,nostrip; WHERE unsigned long cols[256]; WHERE XColor defs[256]; WHERE char *cmd;