File:  [Research Unix] / researchv9 / X11 / src / X.V11R1 / demos / wm / test.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:22:00 2018 UTC (8 years, 1 month ago) by root
Branches: belllabs, MAIN
CVS tags: researchv9-SUN3_old, researchv9-SUN3, HEAD
researchv9-SUN3(old)

/* 
 * $Locker:  $ 
 */ 
static char     *rcsid_test_h = "$Header: test.h,v 1.1 87/06/17 16:14:55 swick Locked ";
#define BW 2
#define ICONWIDTH 100
#define TITLEHEIGHT 24
#define BORDERWIDTH BW
#define GROWBOXWIDTH 24
#define UPBOXWIDTH 24
#define ICONIFYWIDTH 24
#define ASSOCTABLESZ 64
#define MAXNAME 100
#define MINTITLE 32
#define MINHEIGHT (2*TITLEHEIGHT+BORDERWIDTH)
#define MINWIDTH (GROWBOXWIDTH + UPBOXWIDTH + ICONIFYWIDTH + 2*BORDERWIDTH + MINTITLE)
#define MARGIN 10

typedef struct GenericAssoc {
	Window frame;
	Window header;
	Window headerParent;
	Window client;
	Window rbox;
	Window iconify;
	Window upbox;
	Window iconWindow;
	int iconx;
	int icony;
	char iconname[MAXNAME];
	int iconnamelen;
	Bool iconknown;
	int headerWidth;
	char name[MAXNAME];
	int namelen;
	XSizeHints sh;
} GenericAssoc;

typedef struct _RootInfo {
    Window      root;
    int         rootx, rooty, rootwidth, rootheight;
    Pixmap      doubleArrow;
    Pixmap      growBox;
    Pixmap      cross;
    GC          headerGC, xorGC;
}           RootInfoRec;

RootInfoRec *RootInfo;

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.