Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../usr/include/X11
File: IntrinsicP.h
/***********************************************************
[0] Fix | Delete
[1] Fix | Delete
Copyright 1987, 1988, 1994, 1998 The Open Group
[2] Fix | Delete
[3] Fix | Delete
Permission to use, copy, modify, distribute, and sell this software and its
[4] Fix | Delete
documentation for any purpose is hereby granted without fee, provided that
[5] Fix | Delete
the above copyright notice appear in all copies and that both that
[6] Fix | Delete
copyright notice and this permission notice appear in supporting
[7] Fix | Delete
documentation.
[8] Fix | Delete
[9] Fix | Delete
The above copyright notice and this permission notice shall be included in
[10] Fix | Delete
all copies or substantial portions of the Software.
[11] Fix | Delete
[12] Fix | Delete
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
[13] Fix | Delete
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
[14] Fix | Delete
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
[15] Fix | Delete
OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
[16] Fix | Delete
AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
[17] Fix | Delete
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
[18] Fix | Delete
[19] Fix | Delete
Except as contained in this notice, the name of The Open Group shall not be
[20] Fix | Delete
used in advertising or otherwise to promote the sale, use or other dealings
[21] Fix | Delete
in this Software without prior written authorization from The Open Group.
[22] Fix | Delete
[23] Fix | Delete
[24] Fix | Delete
Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts.
[25] Fix | Delete
[26] Fix | Delete
All Rights Reserved
[27] Fix | Delete
[28] Fix | Delete
Permission to use, copy, modify, and distribute this software and its
[29] Fix | Delete
documentation for any purpose and without fee is hereby granted,
[30] Fix | Delete
provided that the above copyright notice appear in all copies and that
[31] Fix | Delete
both that copyright notice and this permission notice appear in
[32] Fix | Delete
supporting documentation, and that the name of Digital not be
[33] Fix | Delete
used in advertising or publicity pertaining to distribution of the
[34] Fix | Delete
software without specific, written prior permission.
[35] Fix | Delete
[36] Fix | Delete
DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
[37] Fix | Delete
ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
[38] Fix | Delete
DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
[39] Fix | Delete
ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
[40] Fix | Delete
WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
[41] Fix | Delete
ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
[42] Fix | Delete
SOFTWARE.
[43] Fix | Delete
[44] Fix | Delete
******************************************************************/
[45] Fix | Delete
[46] Fix | Delete
#ifndef _XtintrinsicP_h
[47] Fix | Delete
#define _XtintrinsicP_h
[48] Fix | Delete
[49] Fix | Delete
#include <X11/Intrinsic.h>
[50] Fix | Delete
[51] Fix | Delete
/*
[52] Fix | Delete
* Field sizes and offsets of XrmResource must match those of XtResource.
[53] Fix | Delete
* Type long is used instead of XrmQuark here because XrmQuark and String
[54] Fix | Delete
* are not the same size on all systems.
[55] Fix | Delete
*/
[56] Fix | Delete
typedef struct {
[57] Fix | Delete
long xrm_name; /* Resource name quark */
[58] Fix | Delete
long xrm_class; /* Resource class quark */
[59] Fix | Delete
long xrm_type; /* Resource representation type quark */
[60] Fix | Delete
Cardinal xrm_size; /* Size in bytes of representation */
[61] Fix | Delete
int xrm_offset; /* -offset-1 */
[62] Fix | Delete
long xrm_default_type; /* Default representation type quark */
[63] Fix | Delete
XtPointer xrm_default_addr; /* Default resource address */
[64] Fix | Delete
} XrmResource, *XrmResourceList;
[65] Fix | Delete
[66] Fix | Delete
typedef unsigned long XtVersionType;
[67] Fix | Delete
[68] Fix | Delete
#define XT_VERSION 11
[69] Fix | Delete
#ifndef XT_REVISION
[70] Fix | Delete
#define XT_REVISION 6
[71] Fix | Delete
#endif
[72] Fix | Delete
#define XtVersion (XT_VERSION * 1000 + XT_REVISION)
[73] Fix | Delete
#define XtVersionDontCheck 0
[74] Fix | Delete
[75] Fix | Delete
typedef void (*XtProc)(
[76] Fix | Delete
void
[77] Fix | Delete
);
[78] Fix | Delete
[79] Fix | Delete
typedef void (*XtWidgetClassProc)(
[80] Fix | Delete
WidgetClass /* class */
[81] Fix | Delete
);
[82] Fix | Delete
[83] Fix | Delete
typedef void (*XtWidgetProc)(
[84] Fix | Delete
Widget /* widget */
[85] Fix | Delete
);
[86] Fix | Delete
[87] Fix | Delete
typedef Boolean (*XtAcceptFocusProc)(
[88] Fix | Delete
Widget /* widget */,
[89] Fix | Delete
Time* /* time */
[90] Fix | Delete
);
[91] Fix | Delete
[92] Fix | Delete
typedef void (*XtArgsProc)(
[93] Fix | Delete
Widget /* widget */,
[94] Fix | Delete
ArgList /* args */,
[95] Fix | Delete
Cardinal* /* num_args */
[96] Fix | Delete
);
[97] Fix | Delete
[98] Fix | Delete
typedef void (*XtInitProc)(
[99] Fix | Delete
Widget /* request */,
[100] Fix | Delete
Widget /* new */,
[101] Fix | Delete
ArgList /* args */,
[102] Fix | Delete
Cardinal* /* num_args */
[103] Fix | Delete
);
[104] Fix | Delete
[105] Fix | Delete
typedef Boolean (*XtSetValuesFunc)(
[106] Fix | Delete
Widget /* old */,
[107] Fix | Delete
Widget /* request */,
[108] Fix | Delete
Widget /* new */,
[109] Fix | Delete
ArgList /* args */,
[110] Fix | Delete
Cardinal* /* num_args */
[111] Fix | Delete
);
[112] Fix | Delete
[113] Fix | Delete
typedef Boolean (*XtArgsFunc)(
[114] Fix | Delete
Widget /* widget */,
[115] Fix | Delete
ArgList /* args */,
[116] Fix | Delete
Cardinal* /* num_args */
[117] Fix | Delete
);
[118] Fix | Delete
[119] Fix | Delete
typedef void (*XtAlmostProc)(
[120] Fix | Delete
Widget /* old */,
[121] Fix | Delete
Widget /* new */,
[122] Fix | Delete
XtWidgetGeometry* /* request */,
[123] Fix | Delete
XtWidgetGeometry* /* reply */
[124] Fix | Delete
);
[125] Fix | Delete
[126] Fix | Delete
typedef void (*XtExposeProc)(
[127] Fix | Delete
Widget /* widget */,
[128] Fix | Delete
XEvent* /* event */,
[129] Fix | Delete
Region /* region */
[130] Fix | Delete
);
[131] Fix | Delete
[132] Fix | Delete
/* compress_exposure options*/
[133] Fix | Delete
#define XtExposeNoCompress ((XtEnum)False)
[134] Fix | Delete
#define XtExposeCompressSeries ((XtEnum)True)
[135] Fix | Delete
#define XtExposeCompressMultiple 2
[136] Fix | Delete
#define XtExposeCompressMaximal 3
[137] Fix | Delete
[138] Fix | Delete
/* modifiers */
[139] Fix | Delete
#define XtExposeGraphicsExpose 0x10
[140] Fix | Delete
#define XtExposeGraphicsExposeMerged 0x20
[141] Fix | Delete
#define XtExposeNoExpose 0x40
[142] Fix | Delete
#define XtExposeNoRegion 0x80
[143] Fix | Delete
[144] Fix | Delete
typedef void (*XtRealizeProc)(
[145] Fix | Delete
Widget /* widget */,
[146] Fix | Delete
XtValueMask* /* mask */,
[147] Fix | Delete
XSetWindowAttributes* /* attributes */
[148] Fix | Delete
);
[149] Fix | Delete
[150] Fix | Delete
typedef XtGeometryResult (*XtGeometryHandler)(
[151] Fix | Delete
Widget /* widget */,
[152] Fix | Delete
XtWidgetGeometry* /* request */,
[153] Fix | Delete
XtWidgetGeometry* /* reply */
[154] Fix | Delete
);
[155] Fix | Delete
[156] Fix | Delete
typedef void (*XtStringProc)(
[157] Fix | Delete
Widget /* widget */,
[158] Fix | Delete
String /* str */
[159] Fix | Delete
);
[160] Fix | Delete
[161] Fix | Delete
typedef struct {
[162] Fix | Delete
String name; /* resource name */
[163] Fix | Delete
String type; /* representation type name */
[164] Fix | Delete
XtArgVal value; /* representation */
[165] Fix | Delete
int size; /* size of representation */
[166] Fix | Delete
} XtTypedArg, *XtTypedArgList;
[167] Fix | Delete
[168] Fix | Delete
typedef void (*XtAllocateProc)(
[169] Fix | Delete
WidgetClass /* widget_class */,
[170] Fix | Delete
Cardinal * /* constraint_size */,
[171] Fix | Delete
Cardinal * /* more_bytes */,
[172] Fix | Delete
ArgList /* args */,
[173] Fix | Delete
Cardinal * /* num_args */,
[174] Fix | Delete
XtTypedArgList /* typed_args */,
[175] Fix | Delete
Cardinal * /* num_typed_args */,
[176] Fix | Delete
Widget * /* widget_return */,
[177] Fix | Delete
XtPointer * /* more_bytes_return */
[178] Fix | Delete
);
[179] Fix | Delete
[180] Fix | Delete
typedef void (*XtDeallocateProc)(
[181] Fix | Delete
Widget /* widget */,
[182] Fix | Delete
XtPointer /* more_bytes */
[183] Fix | Delete
);
[184] Fix | Delete
[185] Fix | Delete
struct _XtStateRec; /* Forward declare before use for C++ */
[186] Fix | Delete
[187] Fix | Delete
typedef struct _XtTMRec {
[188] Fix | Delete
XtTranslations translations; /* private to Translation Manager */
[189] Fix | Delete
XtBoundActions proc_table; /* procedure bindings for actions */
[190] Fix | Delete
struct _XtStateRec *current_state; /* Translation Manager state ptr */
[191] Fix | Delete
unsigned long lastEventTime;
[192] Fix | Delete
} XtTMRec, *XtTM;
[193] Fix | Delete
[194] Fix | Delete
#include <X11/CoreP.h>
[195] Fix | Delete
#include <X11/CompositeP.h>
[196] Fix | Delete
#include <X11/ConstrainP.h>
[197] Fix | Delete
#include <X11/ObjectP.h>
[198] Fix | Delete
#include <X11/RectObjP.h>
[199] Fix | Delete
[200] Fix | Delete
#define XtDisplay(widget) DisplayOfScreen((widget)->core.screen)
[201] Fix | Delete
#define XtScreen(widget) ((widget)->core.screen)
[202] Fix | Delete
#define XtWindow(widget) ((widget)->core.window)
[203] Fix | Delete
[204] Fix | Delete
#define XtClass(widget) ((widget)->core.widget_class)
[205] Fix | Delete
#define XtSuperclass(widget) (XtClass(widget)->core_class.superclass)
[206] Fix | Delete
#define XtIsRealized(object) (XtWindowOfObject(object) != None)
[207] Fix | Delete
#define XtParent(widget) ((widget)->core.parent)
[208] Fix | Delete
[209] Fix | Delete
#undef XtIsRectObj
[210] Fix | Delete
extern Boolean XtIsRectObj(Widget);
[211] Fix | Delete
#define XtIsRectObj(obj) \
[212] Fix | Delete
(((Object)(obj))->object.widget_class->core_class.class_inited & 0x02)
[213] Fix | Delete
[214] Fix | Delete
#undef XtIsWidget
[215] Fix | Delete
extern Boolean XtIsWidget(Widget);
[216] Fix | Delete
#define XtIsWidget(obj) \
[217] Fix | Delete
(((Object)(obj))->object.widget_class->core_class.class_inited & 0x04)
[218] Fix | Delete
[219] Fix | Delete
#undef XtIsComposite
[220] Fix | Delete
extern Boolean XtIsComposite(Widget);
[221] Fix | Delete
#define XtIsComposite(obj) \
[222] Fix | Delete
(((Object)(obj))->object.widget_class->core_class.class_inited & 0x08)
[223] Fix | Delete
[224] Fix | Delete
#undef XtIsConstraint
[225] Fix | Delete
extern Boolean XtIsConstraint(Widget);
[226] Fix | Delete
#define XtIsConstraint(obj) \
[227] Fix | Delete
(((Object)(obj))->object.widget_class->core_class.class_inited & 0x10)
[228] Fix | Delete
[229] Fix | Delete
#undef XtIsShell
[230] Fix | Delete
extern Boolean XtIsShell(Widget);
[231] Fix | Delete
#define XtIsShell(obj) \
[232] Fix | Delete
(((Object)(obj))->object.widget_class->core_class.class_inited & 0x20)
[233] Fix | Delete
[234] Fix | Delete
#undef XtIsWMShell
[235] Fix | Delete
extern Boolean XtIsWMShell(Widget);
[236] Fix | Delete
#define XtIsWMShell(obj) \
[237] Fix | Delete
(((Object)(obj))->object.widget_class->core_class.class_inited & 0x40)
[238] Fix | Delete
[239] Fix | Delete
#undef XtIsTopLevelShell
[240] Fix | Delete
extern Boolean XtIsTopLevelShell(Widget);
[241] Fix | Delete
#define XtIsTopLevelShell(obj) \
[242] Fix | Delete
(((Object)(obj))->object.widget_class->core_class.class_inited & 0x80)
[243] Fix | Delete
[244] Fix | Delete
#ifdef DEBUG
[245] Fix | Delete
#define XtCheckSubclass(w, widget_class_ptr, message) \
[246] Fix | Delete
if (!XtIsSubclass(((Widget)(w)), (widget_class_ptr))) { \
[247] Fix | Delete
String params[3]; \
[248] Fix | Delete
Cardinal num_params = 3; \
[249] Fix | Delete
params[0] = ((Widget)(w))->core.widget_class->core_class.class_name;\
[250] Fix | Delete
params[1] = (widget_class_ptr)->core_class.class_name; \
[251] Fix | Delete
params[2] = (message); \
[252] Fix | Delete
XtAppErrorMsg(XtWidgetToApplicationContext((Widget)(w)), \
[253] Fix | Delete
"subclassMismatch", "xtCheckSubclass", "XtToolkitError", \
[254] Fix | Delete
"Widget class %s found when subclass of %s expected: %s",\
[255] Fix | Delete
params, &num_params); \
[256] Fix | Delete
}
[257] Fix | Delete
#else
[258] Fix | Delete
#define XtCheckSubclass(w, widget_class, message) /* nothing */
[259] Fix | Delete
#endif
[260] Fix | Delete
[261] Fix | Delete
_XFUNCPROTOBEGIN
[262] Fix | Delete
[263] Fix | Delete
extern Widget _XtWindowedAncestor( /* internal; implementation-dependent */
[264] Fix | Delete
Widget /* object */
[265] Fix | Delete
);
[266] Fix | Delete
[267] Fix | Delete
#if (defined(_WIN32) || defined(__CYGWIN__)) && !defined(LIBXT_COMPILATION)
[268] Fix | Delete
__declspec(dllimport)
[269] Fix | Delete
#else
[270] Fix | Delete
extern
[271] Fix | Delete
#endif
[272] Fix | Delete
void _XtInherit(
[273] Fix | Delete
void
[274] Fix | Delete
);
[275] Fix | Delete
[276] Fix | Delete
extern void _XtHandleFocus(
[277] Fix | Delete
Widget /* widget */,
[278] Fix | Delete
XtPointer /* client_data */,
[279] Fix | Delete
XEvent * /* event */,
[280] Fix | Delete
Boolean * /* cont */);
[281] Fix | Delete
[282] Fix | Delete
extern void XtCreateWindow(
[283] Fix | Delete
Widget /* widget */,
[284] Fix | Delete
unsigned int /* window_class */,
[285] Fix | Delete
Visual* /* visual */,
[286] Fix | Delete
XtValueMask /* value_mask */,
[287] Fix | Delete
XSetWindowAttributes* /* attributes */
[288] Fix | Delete
);
[289] Fix | Delete
[290] Fix | Delete
extern void XtResizeWidget(
[291] Fix | Delete
Widget /* widget */,
[292] Fix | Delete
_XtDimension /* width */,
[293] Fix | Delete
_XtDimension /* height */,
[294] Fix | Delete
_XtDimension /* border_width */
[295] Fix | Delete
);
[296] Fix | Delete
[297] Fix | Delete
extern void XtMoveWidget(
[298] Fix | Delete
Widget /* widget */,
[299] Fix | Delete
_XtPosition /* x */,
[300] Fix | Delete
_XtPosition /* y */
[301] Fix | Delete
);
[302] Fix | Delete
[303] Fix | Delete
extern void XtConfigureWidget(
[304] Fix | Delete
Widget /* widget */,
[305] Fix | Delete
_XtPosition /* x */,
[306] Fix | Delete
_XtPosition /* y */,
[307] Fix | Delete
_XtDimension /* width */,
[308] Fix | Delete
_XtDimension /* height */,
[309] Fix | Delete
_XtDimension /* border_width */
[310] Fix | Delete
);
[311] Fix | Delete
[312] Fix | Delete
extern void XtResizeWindow(
[313] Fix | Delete
Widget /* widget */
[314] Fix | Delete
);
[315] Fix | Delete
[316] Fix | Delete
extern void XtProcessLock(
[317] Fix | Delete
void
[318] Fix | Delete
);
[319] Fix | Delete
[320] Fix | Delete
extern void XtProcessUnlock(
[321] Fix | Delete
void
[322] Fix | Delete
);
[323] Fix | Delete
[324] Fix | Delete
_XFUNCPROTOEND
[325] Fix | Delete
[326] Fix | Delete
#endif /* _XtIntrinsicP_h */
[327] Fix | Delete
/* DON'T ADD STUFF AFTER THIS #endif */
[328] Fix | Delete
[329] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function