|
|
1.1 root 1: % following three equates are completely disgusting and machine dependent!
2: % x_buf returns addr and addr+2, and short fields are written as longs in
3: % the right order to avoid procedure calls!
4: lreq = record[code, ewin, l0, l1, l2, l3: int]
5: ereq = record[code, ewin, s0, s2, s4, s6: int]
6: oreq = record[mask, nix, s1, s3, s5, s7: int]
7:
8: lr = _cvt[ereq, lreq]
9: c2i = _cvt[x_cursor, int]
10: b2i = _cvt[x_bitmap, int]
11: f2i = _cvt[x_font, int]
12: p2i = _cvt[x_pixmap, int]
13: w2i = _cvt[x_window, int]
14: w2b = _cvt[_wordvec, _bytevec]
15: b2w = _cvt[_bytevec, _wordvec]
16: s2b = _cvt[string, _bytevec]
17: v2b = _cvt[x_vlist, _bytevec]
18: b2s = _cvt[_bytevec, string]
19:
20: x_createwindow = 1
21: x_createtransparency = 2
22: x_destroywindow = 3
23: x_destroysubwindows = 4
24: x_mapwindow = 5
25: x_mapsubwindows = 6
26: x_unmapwindow = 7
27: x_unmapsubwindows = 8
28: x_unmaptransparent = 9
29: x_raisewindow = 10
30: x_lowerwindow = 11
31: x_circwindowup = 12
32: x_movewindow = 13
33: x_changewindow = 14
34: x_configurewindow = 15
35: x_changebackground = 16
36: x_changeborder = 17
37: x_tilemode = 18
38: x_clipmode = 19
39: x_querywindow = 20
40: x_storename = 21
41: x_fetchname = 22
42: x_seticonwindow = 23
43: x_setresizehint = 24
44: x_getresizehint = 25
45: x_definecursor = 26
46: x_selectinput = 27
47: x_grabmouse = 28
48: x_grabbutton = 29
49: x_querymouse = 30
50: x_interpretlocator = 31
51: x_warpmouse = 32
52: x_focuskeyboard = 33
53: x_circwindowdown = 34
54: x_querytree = 35
55: x_clear = 40
56: x_pixfill = 41
57: x_tilefill = 42
58: x_pixmapput = 43
59: x_pixmapbitsput = 44
60: x_bitmapbitsput = 45
61: x_copyarea = 46
62: x_text = 47
63: x_textmask = 48
64: x_line = 49
65: x_draw = 50
66: x_drawfilled = 51
67: x_pixmapsave = 52
68: x_pixmapget = 53
69: x_setup = 80
70: x_ungrabmouse = 81
71: x_ungrabbutton = 82
72: x_getcolor = 83
73: x_getcolorcells = 84
74: x_freecolors = 85
75: x_storecolors = 86
76: x_querycolor = 87
77: x_getfont = 88
78: x_freefont = 89
79: x_queryfont = 90
80: x_charwidths = 91
81: x_stringwidth = 92
82: x_fontwidths = 93
83: x_storebitmap = 94
84: x_freebitmap = 95
85: x_charbitmap = 96
86: x_storepixmap = 97
87: x_freepixmap = 98
88: x_makepixmap = 99
89: x_queryshape = 100
90: x_storecursor = 101
91: x_freecursor = 102
92: x_mousecontrol = 103
93: x_feepcontrol = 104
94: x_feep_ = 105
95: x_shiftlock = 106
96: x_keyclick = 107
97: x_autorepeat = 108
98: x_screensaver = 109
99: x_storebytes = 110
100: x_fetchbytes = 111
101: x_rotatecuts = 112
102: x_addhost = 113
103: x_removehost = 114
104: x_gethosts = 115
105: x_grabserver = 116
106: x_ungrabserver = 117
107: x_lookupcolor = 118
108:
109: badrequest = 1
110: badvalue = 2
111: badwindow = 3
112: badpixmap = 4
113: badbitmap = 5
114: badcursor = 6
115: badfont = 7
116: badmatch = 8
117: badtile = 9
118: badgrab = 10
119: badaccess = 11
120: badalloc = 12
121: badcolor = 13
122:
123: TileModeAbsolute = 0
124: TileModeRelative = 1
125: ClipModeClipped = 0
126: ClipModeDrawThru = 1
127: XYFormat = 0
128: ZFormat = 1
129: DrawSolidLine = 0
130: DrawDashedLine = 1
131: DrawPatternedLine = 2
132: CursorShape = 0
133: TileShape = 1
134: BrushShape = 2
135: LockUpDownMode = 0
136: LockToggleMode = 1
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.