home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Encyclopedia of Graphics File Formats Companion
/
GFF_CD.ISO
/
software
/
unix
/
saoimage
/
sao1_07.tar
/
defs
/
desktop.def
< prev
next >
Wrap
Text File
|
1989-11-18
|
3KB
|
59 lines
#ifndef lint
static char SccsDesktopId[] = "%W% %G%";
#endif
/* Module: Desktop.def
* Purpose: Declare and initialize desktop window parameters
* Modified: {0} Michael VanHilst initial version 19 May 1989
* {n} <who> -- <does what> -- <when>
*/
struct windowRec desktop = {
0, /* Window ID; window's nom de plume (ptr) */
0, /* Display *display; display server handle */
0, /* int screen; display screen number */
0, /* Window parent; parent of this window */
0, /* unsigned int depth; window depth */
0, /* int active; flag to say window is there */
0, 0, /* int x, y; upper left screen coords */
0, 0, /* unsigned int width, height; window width (-1 border) */
2, /* unsigned int bdrwidth; width of the border */
4, /* int bdrtotal; width added by both borders */
0, 0, /* int rightx, lowery; useful screen coordinates */
1, 1, /* int xzero, yzero; u-l corner of drawing area */
0, 0, /* int xwidth, yheight; size of drawing area */
0, /* int moored; move window with disp box */
0, /* int data_size; byte size of image data buf */
{ 0 }, /* XImage image; for XPutImage */
NULL, /* Visual *visual; visual type */
/* unsigned long valuemask; mask to set attributes */
CWBackPixel | CWBorderPixel | CWColormap | CWCursor | CWEventMask,
{ /* XSetWindowAttributes attrs; for XCreateWindow */
0, /* Pixmap background_pixmap; CWBackPixmap */
0, /* unsigned long background_pixel; CWBackPixel */
0, /* Pixmap border_pixmap; CWBorderPixmap */
0, /* unsigned long border_pixel CWBorderPixel */
0, /* int bit_gravity; CWBitGravity */
0, /* int win_gravity; CWWinGravity */
0, /* backing_store; CWBackingStore */
0, /* unsigned long backing_planes; CWBackingPlanes */
0, /* unsigned long backing_pixel; CWBackingPixel */
0, /* Bool save_under; CWSaveUnder */
/* long event_mask; CWEventMask */
ExposureMask | KeyPressMask | StructureNotifyMask,
0, /* long do_not_propogate_mask; CWDontPropagate */
0, /* Bool override_redirect; CWOverrideRedirect */
0, /* Colormap colormap; CWColormap */
0 }, /* Cursor cursor; CWCursor */
{ /* XSizeHints size_hints; for XSetNormalHints */
/* long flags; defined fields */
PSize | PMinSize,
0, 0, /* int x, y; USPosition PPosition */
518, 706, /* int width, height; USSize PSize */
406, 456, /* int min_width, min_height; PMinSize */
0, 0, /* int max_width, max_height; PMaxSize */
0, 0, /* int width_inc, height_inc; PResizeInc */
{ 0 }, /* { int min_aspect.x, min_aspect.y } PAspect */
{ 0 } } /* { int max_aspect.x, max_aspect.y } x/y=ratio */
};