2
|
1 |
/*
|
|
2 |
* Copyright 2003 Sun Microsystems, Inc. All Rights Reserved.
|
|
3 |
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
4 |
*
|
|
5 |
* This code is free software; you can redistribute it and/or modify it
|
|
6 |
* under the terms of the GNU General Public License version 2 only, as
|
|
7 |
* published by the Free Software Foundation. Sun designates this
|
|
8 |
* particular file as subject to the "Classpath" exception as provided
|
|
9 |
* by Sun in the LICENSE file that accompanied this code.
|
|
10 |
*
|
|
11 |
* This code is distributed in the hope that it will be useful, but WITHOUT
|
|
12 |
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
13 |
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
14 |
* version 2 for more details (a copy is included in the LICENSE file that
|
|
15 |
* accompanied this code).
|
|
16 |
*
|
|
17 |
* You should have received a copy of the GNU General Public License version
|
|
18 |
* 2 along with this work; if not, write to the Free Software Foundation,
|
|
19 |
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
20 |
*
|
|
21 |
* Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
|
22 |
* CA 95054 USA or visit www.sun.com if you need additional information or
|
|
23 |
* have any questions.
|
|
24 |
*/
|
|
25 |
|
|
26 |
package sun.awt.X11;
|
|
27 |
|
|
28 |
public interface XProtocolConstants {
|
|
29 |
/* Reply codes */
|
|
30 |
public static final int X_Reply = 1 ; /* Normal reply */
|
|
31 |
public static final int X_Error = 0 ; /* Error */
|
|
32 |
|
|
33 |
/* Request codes */
|
|
34 |
public static final int X_CreateWindow = 1 ;
|
|
35 |
public static final int X_ChangeWindowAttributes = 2 ;
|
|
36 |
public static final int X_GetWindowAttributes = 3 ;
|
|
37 |
public static final int X_DestroyWindow = 4 ;
|
|
38 |
public static final int X_DestroySubwindows = 5 ;
|
|
39 |
public static final int X_ChangeSaveSet = 6 ;
|
|
40 |
public static final int X_ReparentWindow = 7 ;
|
|
41 |
public static final int X_MapWindow = 8 ;
|
|
42 |
public static final int X_MapSubwindows = 9 ;
|
|
43 |
public static final int X_UnmapWindow = 10 ;
|
|
44 |
public static final int X_UnmapSubwindows = 11 ;
|
|
45 |
public static final int X_ConfigureWindow = 12 ;
|
|
46 |
public static final int X_CirculateWindow = 13 ;
|
|
47 |
public static final int X_GetGeometry = 14 ;
|
|
48 |
public static final int X_QueryTree = 15 ;
|
|
49 |
public static final int X_InternAtom = 16 ;
|
|
50 |
public static final int X_GetAtomName = 17 ;
|
|
51 |
public static final int X_ChangeProperty = 18 ;
|
|
52 |
public static final int X_DeleteProperty = 19 ;
|
|
53 |
public static final int X_GetProperty = 20 ;
|
|
54 |
public static final int X_ListProperties = 21 ;
|
|
55 |
public static final int X_SetSelectionOwner = 22 ;
|
|
56 |
public static final int X_GetSelectionOwner = 23 ;
|
|
57 |
public static final int X_ConvertSelection = 24 ;
|
|
58 |
public static final int X_SendEvent = 25 ;
|
|
59 |
public static final int X_GrabPointer = 26 ;
|
|
60 |
public static final int X_UngrabPointer = 27 ;
|
|
61 |
public static final int X_GrabButton = 28 ;
|
|
62 |
public static final int X_UngrabButton = 29 ;
|
|
63 |
public static final int X_ChangeActivePointerGrab = 30 ;
|
|
64 |
public static final int X_GrabKeyboard = 31 ;
|
|
65 |
public static final int X_UngrabKeyboard = 32 ;
|
|
66 |
public static final int X_GrabKey = 33 ;
|
|
67 |
public static final int X_UngrabKey = 34 ;
|
|
68 |
public static final int X_AllowEvents = 35 ;
|
|
69 |
public static final int X_GrabServer = 36 ;
|
|
70 |
public static final int X_UngrabServer = 37 ;
|
|
71 |
public static final int X_QueryPointer = 38 ;
|
|
72 |
public static final int X_GetMotionEvents = 39 ;
|
|
73 |
public static final int X_TranslateCoords = 40 ;
|
|
74 |
public static final int X_WarpPointer = 41 ;
|
|
75 |
public static final int X_SetInputFocus = 42 ;
|
|
76 |
public static final int X_GetInputFocus = 43 ;
|
|
77 |
public static final int X_QueryKeymap = 44 ;
|
|
78 |
public static final int X_OpenFont = 45 ;
|
|
79 |
public static final int X_CloseFont = 46 ;
|
|
80 |
public static final int X_QueryFont = 47 ;
|
|
81 |
public static final int X_QueryTextExtents = 48 ;
|
|
82 |
public static final int X_ListFonts = 49 ;
|
|
83 |
public static final int X_ListFontsWithInfo = 50 ;
|
|
84 |
public static final int X_SetFontPath = 51 ;
|
|
85 |
public static final int X_GetFontPath = 52 ;
|
|
86 |
public static final int X_CreatePixmap = 53 ;
|
|
87 |
public static final int X_FreePixmap = 54 ;
|
|
88 |
public static final int X_CreateGC = 55 ;
|
|
89 |
public static final int X_ChangeGC = 56 ;
|
|
90 |
public static final int X_CopyGC = 57 ;
|
|
91 |
public static final int X_SetDashes = 58 ;
|
|
92 |
public static final int X_SetClipRectangles = 59 ;
|
|
93 |
public static final int X_FreeGC = 60 ;
|
|
94 |
public static final int X_ClearArea = 61 ;
|
|
95 |
public static final int X_CopyArea = 62 ;
|
|
96 |
public static final int X_CopyPlane = 63 ;
|
|
97 |
public static final int X_PolyPoint = 64 ;
|
|
98 |
public static final int X_PolyLine = 65 ;
|
|
99 |
public static final int X_PolySegment = 66 ;
|
|
100 |
public static final int X_PolyRectangle = 67 ;
|
|
101 |
public static final int X_PolyArc = 68 ;
|
|
102 |
public static final int X_FillPoly = 69 ;
|
|
103 |
public static final int X_PolyFillRectangle = 70 ;
|
|
104 |
public static final int X_PolyFillArc = 71 ;
|
|
105 |
public static final int X_PutImage = 72 ;
|
|
106 |
public static final int X_GetImage = 73 ;
|
|
107 |
public static final int X_PolyText8 = 74 ;
|
|
108 |
public static final int X_PolyText16 = 75 ;
|
|
109 |
public static final int X_ImageText8 = 76 ;
|
|
110 |
public static final int X_ImageText16 = 77 ;
|
|
111 |
public static final int X_CreateColormap = 78 ;
|
|
112 |
public static final int X_FreeColormap = 79 ;
|
|
113 |
public static final int X_CopyColormapAndFree = 80 ;
|
|
114 |
public static final int X_InstallColormap = 81 ;
|
|
115 |
public static final int X_UninstallColormap = 82 ;
|
|
116 |
public static final int X_ListInstalledColormaps = 83 ;
|
|
117 |
public static final int X_AllocColor = 84 ;
|
|
118 |
public static final int X_AllocNamedColor = 85 ;
|
|
119 |
public static final int X_AllocColorCells = 86 ;
|
|
120 |
public static final int X_AllocColorPlanes = 87 ;
|
|
121 |
public static final int X_FreeColors = 88 ;
|
|
122 |
public static final int X_StoreColors = 89 ;
|
|
123 |
public static final int X_StoreNamedColor = 90 ;
|
|
124 |
public static final int X_QueryColors = 91 ;
|
|
125 |
public static final int X_LookupColor = 92 ;
|
|
126 |
public static final int X_CreateCursor = 93 ;
|
|
127 |
public static final int X_CreateGlyphCursor = 94 ;
|
|
128 |
public static final int X_FreeCursor = 95 ;
|
|
129 |
public static final int X_RecolorCursor = 96 ;
|
|
130 |
public static final int X_QueryBestSize = 97 ;
|
|
131 |
public static final int X_QueryExtension = 98 ;
|
|
132 |
public static final int X_ListExtensions = 99 ;
|
|
133 |
public static final int X_ChangeKeyboardMapping = 100 ;
|
|
134 |
public static final int X_GetKeyboardMapping = 101 ;
|
|
135 |
public static final int X_ChangeKeyboardControl = 102 ;
|
|
136 |
public static final int X_GetKeyboardControl = 103 ;
|
|
137 |
public static final int X_Bell = 104 ;
|
|
138 |
public static final int X_ChangePointerControl = 105 ;
|
|
139 |
public static final int X_GetPointerControl = 106 ;
|
|
140 |
public static final int X_SetScreenSaver = 107 ;
|
|
141 |
public static final int X_GetScreenSaver = 108 ;
|
|
142 |
public static final int X_ChangeHosts = 109 ;
|
|
143 |
public static final int X_ListHosts = 110 ;
|
|
144 |
public static final int X_SetAccessControl = 111 ;
|
|
145 |
public static final int X_SetCloseDownMode = 112 ;
|
|
146 |
public static final int X_KillClient = 113 ;
|
|
147 |
public static final int X_RotateProperties = 114 ;
|
|
148 |
public static final int X_ForceScreenSaver = 115 ;
|
|
149 |
public static final int X_SetPointerMapping = 116 ;
|
|
150 |
public static final int X_GetPointerMapping = 117 ;
|
|
151 |
public static final int X_SetModifierMapping = 118 ;
|
|
152 |
public static final int X_GetModifierMapping = 119 ;
|
|
153 |
public static final int X_NoOperation = 127 ;
|
|
154 |
}
|