Annotation of researchv9/X11/src/X.V11R1/demos/wm/test.h, revision 1.1.1.1

1.1       root        1: /* 
                      2:  * $Locker:  $ 
                      3:  */ 
                      4: static char     *rcsid_test_h = "$Header: test.h,v 1.1 87/06/17 16:14:55 swick Locked ";
                      5: #define BW 2
                      6: #define ICONWIDTH 100
                      7: #define TITLEHEIGHT 24
                      8: #define BORDERWIDTH BW
                      9: #define GROWBOXWIDTH 24
                     10: #define UPBOXWIDTH 24
                     11: #define ICONIFYWIDTH 24
                     12: #define ASSOCTABLESZ 64
                     13: #define MAXNAME 100
                     14: #define MINTITLE 32
                     15: #define MINHEIGHT (2*TITLEHEIGHT+BORDERWIDTH)
                     16: #define MINWIDTH (GROWBOXWIDTH + UPBOXWIDTH + ICONIFYWIDTH + 2*BORDERWIDTH + MINTITLE)
                     17: #define MARGIN 10
                     18: 
                     19: typedef struct GenericAssoc {
                     20:        Window frame;
                     21:        Window header;
                     22:        Window headerParent;
                     23:        Window client;
                     24:        Window rbox;
                     25:        Window iconify;
                     26:        Window upbox;
                     27:        Window iconWindow;
                     28:        int iconx;
                     29:        int icony;
                     30:        char iconname[MAXNAME];
                     31:        int iconnamelen;
                     32:        Bool iconknown;
                     33:        int headerWidth;
                     34:        char name[MAXNAME];
                     35:        int namelen;
                     36:        XSizeHints sh;
                     37: } GenericAssoc;
                     38: 
                     39: typedef struct _RootInfo {
                     40:     Window      root;
                     41:     int         rootx, rooty, rootwidth, rootheight;
                     42:     Pixmap      doubleArrow;
                     43:     Pixmap      growBox;
                     44:     Pixmap      cross;
                     45:     GC          headerGC, xorGC;
                     46: }           RootInfoRec;
                     47: 
                     48: RootInfoRec *RootInfo;

unix.superglobalmegacorp.com

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