1: #include <X/mit-copyright.h> 2: 3: /* Copyright Massachusetts Institute of Technology 1985 */ 4: 5: /* 6: * globals.c - X Window System window manager global data. 7: * 8: * Modified: ADF 29-May-85 Converted to X version 8.0 9: */ 10: /* $Header: globals.c,v 10.3 86/02/01 16:10:30 tony Rel $ */ 11: 12: #include "xwm.h" 13: 14: Window Pop; /* Pop up dimension display window. */ 15: Font IFont; /* Icon output font. */ 16: FontInfo IFontInfo; /* Icon output font information. */ 17: Font PFont; /* Pop up output font. */ 18: FontInfo PFontInfo; /* Pop up output font information. */ 19: Pixmap GrayPixmap; /* Gray pixmap. */ 20: Pixmap IBorder; /* Icon window border pixmap. */ 21: Pixmap IBackground; /* Icon window background pixmap. */ 22: Pixmap PBorder; /* Pop-Up Window border pixmap. */ 23: Pixmap PBackground; /* Pop-up Window background pixmap. */ 24: Cursor ArrowCrossCursor; /* Arrow cross cursor. */ 25: Cursor ULAngleCursor; /* Upper left angle cursor. */ 26: Cursor LLAngleCursor; /* Lower left angle cursor. */ 27: Cursor LRAngleCursor; /* Lower right angle cursor. */ 28: Cursor URAngleCursor; /* Upper right angle cursor. */ 29: Cursor TopTeeCursor; /* Top tee cursor. */ 30: Cursor LeftTeeCursor; /* Left tee cursor. */ 31: Cursor BottomTeeCursor; /* Bottom tee cursor. */ 32: Cursor RightTeeCursor; /* Right tee cursor. */ 33: Cursor DotCursor; /* Dot cursor. */ 34: Cursor CircleCursor; /* Circle Cursor. */ 35: Cursor TextCursor; /* Text cursor used in icon windows. */ 36: Cursor IconCursor; /* Icon Cursor. */ 37: int ScreenWidth; /* Display screen width. */ 38: int ScreenHeight; /* Display screen height. */ 39: int CursorFunc; /* Mouse cursor function. */ 40: int IconCursorFunc; /* Icon Mouse Cursor function. */ 41: int ITextForground; /* Icon window text forground color. */ 42: int ITextBackground; /* Icon window text background color. */ 43: int IBorderWidth; /* Icon window border width. */ 44: int IPadding; /* Icon window padding. */ 45: int PTextForground; /* Pop-up window text forground color. */ 46: int PTextBackground; /* Pop-up window text background color. */ 47: int PWidth; /* Pop-up window width. */ 48: int PHeight; /* Pop-up window height. */ 49: int PBorderWidth; /* Pop-up window border width. */ 50: int PPadding; /* Pop-up window padding. */ 51: int ButtonMask; /* Global mouse button event mask. */ 52: int Delta; /* Mouse movement slop. */ 53: 54: Bool Debug; /* Global debug flag. */ 55: Bool Grid; /* Should the m/r box contain a 9 seg. grid. */ 56: Bool Zap; /* Should the the zap effect be used. */ 57: 58: char PText[7] = INIT_PTEXT; /* Pop-up window dummy text. */ 59: int PTextSize = sizeof(PText); /* Pop-up window dummy text size. */