Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../usr/include/X11
File: TranslateI.h
/***********************************************************
[0] Fix | Delete
[1] Fix | Delete
Copyright 1987, 1988, 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
/*
[47] Fix | Delete
* TranslateI.h - Header file private to translation management
[48] Fix | Delete
*
[49] Fix | Delete
* Author: Gabe Beged-Dov, HP
[50] Fix | Delete
*
[51] Fix | Delete
* Former Author: Charles Haynes
[52] Fix | Delete
* Digital Equipment Corporation
[53] Fix | Delete
* Western Research Laboratory
[54] Fix | Delete
* Date: Sat Aug 29 1987
[55] Fix | Delete
*/
[56] Fix | Delete
[57] Fix | Delete
/*#define REFCNT_TRANSLATIONS*/
[58] Fix | Delete
#define CACHE_TRANSLATIONS
[59] Fix | Delete
[60] Fix | Delete
#define TM_NO_MATCH (-2)
[61] Fix | Delete
[62] Fix | Delete
#define _XtRStateTablePair "_XtStateTablePair"
[63] Fix | Delete
[64] Fix | Delete
typedef unsigned char TMByteCard;
[65] Fix | Delete
typedef unsigned short TMShortCard;
[66] Fix | Delete
typedef unsigned long TMLongCard;
[67] Fix | Delete
typedef short TMShortInt;
[68] Fix | Delete
[69] Fix | Delete
typedef struct _TMTypeMatchRec *TMTypeMatch;
[70] Fix | Delete
typedef struct _TMModifierMatchRec *TMModifierMatch;
[71] Fix | Delete
typedef struct _TMEventRec *TMEventPtr;
[72] Fix | Delete
[73] Fix | Delete
typedef Boolean (*MatchProc)(TMTypeMatch typeMatch,
[74] Fix | Delete
TMModifierMatch modMatch,
[75] Fix | Delete
TMEventPtr eventSeq);
[76] Fix | Delete
[77] Fix | Delete
typedef struct _ModToKeysymTable {
[78] Fix | Delete
Modifiers mask;
[79] Fix | Delete
int count;
[80] Fix | Delete
int idx;
[81] Fix | Delete
} ModToKeysymTable;
[82] Fix | Delete
[83] Fix | Delete
typedef struct _LateBindings {
[84] Fix | Delete
unsigned int knot:1;
[85] Fix | Delete
unsigned int pair:1;
[86] Fix | Delete
unsigned short ref_count; /* garbage collection */
[87] Fix | Delete
KeySym keysym;
[88] Fix | Delete
} LateBindings, *LateBindingsPtr;
[89] Fix | Delete
[90] Fix | Delete
typedef short ModifierMask;
[91] Fix | Delete
[92] Fix | Delete
typedef struct _ActionsRec *ActionPtr;
[93] Fix | Delete
typedef struct _ActionsRec {
[94] Fix | Delete
int idx; /* index into quarkTable to find proc */
[95] Fix | Delete
String *params; /* pointer to array of params */
[96] Fix | Delete
Cardinal num_params; /* number of params */
[97] Fix | Delete
ActionPtr next; /* next action to perform */
[98] Fix | Delete
} ActionRec;
[99] Fix | Delete
[100] Fix | Delete
typedef struct _XtStateRec *StatePtr;
[101] Fix | Delete
typedef struct _XtStateRec {
[102] Fix | Delete
unsigned int isCycleStart:1;
[103] Fix | Delete
unsigned int isCycleEnd:1;
[104] Fix | Delete
TMShortCard typeIndex;
[105] Fix | Delete
TMShortCard modIndex;
[106] Fix | Delete
ActionPtr actions; /* rhs list of actions to perform */
[107] Fix | Delete
StatePtr nextLevel;
[108] Fix | Delete
}StateRec;
[109] Fix | Delete
[110] Fix | Delete
[111] Fix | Delete
#define XtTableReplace 0
[112] Fix | Delete
#define XtTableAugment 1
[113] Fix | Delete
#define XtTableOverride 2
[114] Fix | Delete
#define XtTableUnmerge 3
[115] Fix | Delete
[116] Fix | Delete
typedef unsigned int _XtTranslateOp;
[117] Fix | Delete
[118] Fix | Delete
/*
[119] Fix | Delete
* New Definitions
[120] Fix | Delete
*/
[121] Fix | Delete
typedef struct _TMModifierMatchRec{
[122] Fix | Delete
TMLongCard modifiers;
[123] Fix | Delete
TMLongCard modifierMask;
[124] Fix | Delete
LateBindingsPtr lateModifiers;
[125] Fix | Delete
Boolean standard;
[126] Fix | Delete
}TMModifierMatchRec;
[127] Fix | Delete
[128] Fix | Delete
typedef struct _TMTypeMatchRec{
[129] Fix | Delete
TMLongCard eventType;
[130] Fix | Delete
TMLongCard eventCode;
[131] Fix | Delete
TMLongCard eventCodeMask;
[132] Fix | Delete
MatchProc matchEvent;
[133] Fix | Delete
}TMTypeMatchRec;
[134] Fix | Delete
[135] Fix | Delete
typedef struct _TMBranchHeadRec {
[136] Fix | Delete
unsigned int isSimple:1;
[137] Fix | Delete
unsigned int hasActions:1;
[138] Fix | Delete
unsigned int hasCycles:1;
[139] Fix | Delete
unsigned int more:13;
[140] Fix | Delete
TMShortCard typeIndex;
[141] Fix | Delete
TMShortCard modIndex;
[142] Fix | Delete
}TMBranchHeadRec, *TMBranchHead;
[143] Fix | Delete
[144] Fix | Delete
/* NOTE: elements of this structure must match those of
[145] Fix | Delete
* TMComplexStateTreeRec and TMParseStateTreeRec.
[146] Fix | Delete
*/
[147] Fix | Delete
typedef struct _TMSimpleStateTreeRec{
[148] Fix | Delete
unsigned int isSimple:1;
[149] Fix | Delete
unsigned int isAccelerator:1;
[150] Fix | Delete
unsigned int mappingNotifyInterest:1;
[151] Fix | Delete
unsigned int refCount:13;
[152] Fix | Delete
TMShortCard numBranchHeads;
[153] Fix | Delete
TMShortCard numQuarks; /* # of entries in quarkTbl */
[154] Fix | Delete
TMShortCard unused; /* to ensure same alignment */
[155] Fix | Delete
TMBranchHeadRec *branchHeadTbl;
[156] Fix | Delete
XrmQuark *quarkTbl; /* table of quarkified rhs*/
[157] Fix | Delete
}TMSimpleStateTreeRec, *TMSimpleStateTree;
[158] Fix | Delete
[159] Fix | Delete
/* NOTE: elements of this structure must match those of
[160] Fix | Delete
* TMSimpleStateTreeRec and TMParseStateTreeRec.
[161] Fix | Delete
*/
[162] Fix | Delete
typedef struct _TMComplexStateTreeRec{
[163] Fix | Delete
unsigned int isSimple:1;
[164] Fix | Delete
unsigned int isAccelerator:1;
[165] Fix | Delete
unsigned int mappingNotifyInterest:1;
[166] Fix | Delete
unsigned int refCount:13;
[167] Fix | Delete
TMShortCard numBranchHeads;
[168] Fix | Delete
TMShortCard numQuarks; /* # of entries in quarkTbl */
[169] Fix | Delete
TMShortCard numComplexBranchHeads;
[170] Fix | Delete
TMBranchHeadRec *branchHeadTbl;
[171] Fix | Delete
XrmQuark *quarkTbl; /* table of quarkified rhs*/
[172] Fix | Delete
StatePtr *complexBranchHeadTbl;
[173] Fix | Delete
}TMComplexStateTreeRec, *TMComplexStateTree;
[174] Fix | Delete
[175] Fix | Delete
/* NOTE: elements of this structure must match those of
[176] Fix | Delete
* TMSimpleStateTreeRec and TMComplexStateTreeRec.
[177] Fix | Delete
*/
[178] Fix | Delete
typedef struct _TMParseStateTreeRec{
[179] Fix | Delete
unsigned int isSimple:1;
[180] Fix | Delete
unsigned int isAccelerator:1;
[181] Fix | Delete
unsigned int mappingNotifyInterest:1;
[182] Fix | Delete
unsigned int isStackQuarks:1;
[183] Fix | Delete
unsigned int isStackBranchHeads:1;
[184] Fix | Delete
unsigned int isStackComplexBranchHeads:1;
[185] Fix | Delete
unsigned int unused:10; /* to ensure correct alignment */
[186] Fix | Delete
TMShortCard numBranchHeads;
[187] Fix | Delete
TMShortCard numQuarks; /* # of entries in quarkTbl */
[188] Fix | Delete
TMShortCard numComplexBranchHeads;
[189] Fix | Delete
TMBranchHeadRec *branchHeadTbl;
[190] Fix | Delete
XrmQuark *quarkTbl; /* table of quarkified rhs*/
[191] Fix | Delete
StatePtr *complexBranchHeadTbl;
[192] Fix | Delete
TMShortCard branchHeadTblSize;
[193] Fix | Delete
TMShortCard quarkTblSize; /*total size of quarkTbl */
[194] Fix | Delete
TMShortCard complexBranchHeadTblSize;
[195] Fix | Delete
StatePtr head;
[196] Fix | Delete
}TMParseStateTreeRec, *TMParseStateTree;
[197] Fix | Delete
[198] Fix | Delete
typedef union _TMStateTreeRec{
[199] Fix | Delete
TMSimpleStateTreeRec simple;
[200] Fix | Delete
TMParseStateTreeRec parse;
[201] Fix | Delete
TMComplexStateTreeRec complex;
[202] Fix | Delete
}*TMStateTree, **TMStateTreePtr, **TMStateTreeList;
[203] Fix | Delete
[204] Fix | Delete
typedef struct _TMSimpleBindProcsRec {
[205] Fix | Delete
XtActionProc *procs;
[206] Fix | Delete
}TMSimpleBindProcsRec, *TMSimpleBindProcs;
[207] Fix | Delete
[208] Fix | Delete
typedef struct _TMComplexBindProcsRec {
[209] Fix | Delete
Widget widget; /*widgetID to pass to action Proc*/
[210] Fix | Delete
XtTranslations aXlations;
[211] Fix | Delete
XtActionProc *procs;
[212] Fix | Delete
}TMComplexBindProcsRec, *TMComplexBindProcs;
[213] Fix | Delete
[214] Fix | Delete
typedef struct _TMSimpleBindDataRec {
[215] Fix | Delete
unsigned int isComplex:1; /* must be first */
[216] Fix | Delete
TMSimpleBindProcsRec bindTbl[1]; /* variable length */
[217] Fix | Delete
}TMSimpleBindDataRec, *TMSimpleBindData;
[218] Fix | Delete
[219] Fix | Delete
typedef struct _TMComplexBindDataRec {
[220] Fix | Delete
unsigned int isComplex:1; /* must be first */
[221] Fix | Delete
struct _ATranslationData *accel_context; /* for GetValues */
[222] Fix | Delete
TMComplexBindProcsRec bindTbl[1]; /* variable length */
[223] Fix | Delete
}TMComplexBindDataRec, *TMComplexBindData;
[224] Fix | Delete
[225] Fix | Delete
typedef union _TMBindDataRec{
[226] Fix | Delete
TMSimpleBindDataRec simple;
[227] Fix | Delete
TMComplexBindDataRec complex;
[228] Fix | Delete
}*TMBindData;
[229] Fix | Delete
[230] Fix | Delete
typedef struct _TranslationData{
[231] Fix | Delete
unsigned char hasBindings; /* must be first */
[232] Fix | Delete
unsigned char operation; /*replace,augment,override*/
[233] Fix | Delete
TMShortCard numStateTrees;
[234] Fix | Delete
struct _TranslationData *composers[2];
[235] Fix | Delete
EventMask eventMask;
[236] Fix | Delete
TMStateTree stateTreeTbl[1]; /* variable length */
[237] Fix | Delete
}TranslationData;
[238] Fix | Delete
[239] Fix | Delete
/*
[240] Fix | Delete
* ATranslations is returned by GetValues for translations that contain
[241] Fix | Delete
* accelerators. The TM can differentiate between this and TranslationData
[242] Fix | Delete
* (that don't have a bindTbl) by looking at the first field (hasBindings)
[243] Fix | Delete
* of either structure. All ATranslationData structures associated with a
[244] Fix | Delete
* widget are chained off the BindData record of the widget.
[245] Fix | Delete
*/
[246] Fix | Delete
typedef struct _ATranslationData{
[247] Fix | Delete
unsigned char hasBindings; /* must be first */
[248] Fix | Delete
unsigned char operation;
[249] Fix | Delete
struct _TranslationData *xlations; /* actual translations */
[250] Fix | Delete
struct _ATranslationData *next; /* chain the contexts together */
[251] Fix | Delete
TMComplexBindProcsRec bindTbl[1]; /* accelerator bindings */
[252] Fix | Delete
}ATranslationData, *ATranslations;
[253] Fix | Delete
[254] Fix | Delete
typedef struct _TMConvertRec {
[255] Fix | Delete
XtTranslations old; /* table to merge into */
[256] Fix | Delete
XtTranslations new; /* table to merge from */
[257] Fix | Delete
} TMConvertRec;
[258] Fix | Delete
[259] Fix | Delete
#define _XtEventTimerEventType ((TMLongCard)~0L)
[260] Fix | Delete
#define KeysymModMask (1L<<27) /* private to TM */
[261] Fix | Delete
#define AnyButtonMask (1L<<28) /* private to TM */
[262] Fix | Delete
[263] Fix | Delete
typedef struct _EventRec {
[264] Fix | Delete
TMLongCard modifiers;
[265] Fix | Delete
TMLongCard modifierMask;
[266] Fix | Delete
LateBindingsPtr lateModifiers;
[267] Fix | Delete
TMLongCard eventType;
[268] Fix | Delete
TMLongCard eventCode;
[269] Fix | Delete
TMLongCard eventCodeMask;
[270] Fix | Delete
MatchProc matchEvent;
[271] Fix | Delete
Boolean standard;
[272] Fix | Delete
} Event;
[273] Fix | Delete
[274] Fix | Delete
typedef struct _EventSeqRec *EventSeqPtr;
[275] Fix | Delete
typedef struct _EventSeqRec {
[276] Fix | Delete
Event event; /* X event description */
[277] Fix | Delete
StatePtr state; /* private to state table builder */
[278] Fix | Delete
EventSeqPtr next; /* next event on line */
[279] Fix | Delete
ActionPtr actions; /* r.h.s. list of actions to perform */
[280] Fix | Delete
} EventSeqRec;
[281] Fix | Delete
[282] Fix | Delete
typedef EventSeqRec EventRec;
[283] Fix | Delete
typedef EventSeqPtr EventPtr;
[284] Fix | Delete
[285] Fix | Delete
typedef struct _TMEventRec {
[286] Fix | Delete
XEvent *xev;
[287] Fix | Delete
Event event;
[288] Fix | Delete
}TMEventRec;
[289] Fix | Delete
[290] Fix | Delete
typedef struct _ActionHookRec {
[291] Fix | Delete
struct _ActionHookRec* next; /* must remain first */
[292] Fix | Delete
XtAppContext app;
[293] Fix | Delete
XtActionHookProc proc;
[294] Fix | Delete
XtPointer closure;
[295] Fix | Delete
} ActionHookRec, *ActionHook;
[296] Fix | Delete
[297] Fix | Delete
/* choose a number between 2 and 8 */
[298] Fix | Delete
#define TMKEYCACHELOG2 6
[299] Fix | Delete
#define TMKEYCACHESIZE (1<<TMKEYCACHELOG2)
[300] Fix | Delete
[301] Fix | Delete
typedef struct _KeyCacheRec {
[302] Fix | Delete
unsigned char modifiers_return[256]; /* constant per KeyCode, key proc */
[303] Fix | Delete
KeyCode keycode[TMKEYCACHESIZE];
[304] Fix | Delete
unsigned char modifiers[TMKEYCACHESIZE];
[305] Fix | Delete
KeySym keysym[TMKEYCACHESIZE];
[306] Fix | Delete
} TMKeyCache;
[307] Fix | Delete
[308] Fix | Delete
typedef struct _TMKeyContextRec {
[309] Fix | Delete
XEvent *event;
[310] Fix | Delete
unsigned long serial;
[311] Fix | Delete
KeySym keysym;
[312] Fix | Delete
Modifiers modifiers;
[313] Fix | Delete
TMKeyCache keycache; /* keep this last, to keep offsets to others small */
[314] Fix | Delete
} TMKeyContextRec, *TMKeyContext;
[315] Fix | Delete
[316] Fix | Delete
typedef struct _TMGlobalRec{
[317] Fix | Delete
TMTypeMatchRec **typeMatchSegmentTbl;
[318] Fix | Delete
TMShortCard numTypeMatches;
[319] Fix | Delete
TMShortCard numTypeMatchSegments;
[320] Fix | Delete
TMShortCard typeMatchSegmentTblSize;
[321] Fix | Delete
TMModifierMatchRec **modMatchSegmentTbl;
[322] Fix | Delete
TMShortCard numModMatches;
[323] Fix | Delete
TMShortCard numModMatchSegments;
[324] Fix | Delete
TMShortCard modMatchSegmentTblSize;
[325] Fix | Delete
Boolean newMatchSemantics;
[326] Fix | Delete
#ifdef TRACE_TM
[327] Fix | Delete
XtTranslations *tmTbl;
[328] Fix | Delete
TMShortCard numTms;
[329] Fix | Delete
TMShortCard tmTblSize;
[330] Fix | Delete
struct _TMBindCacheRec **bindCacheTbl;
[331] Fix | Delete
TMShortCard numBindCache;
[332] Fix | Delete
TMShortCard bindCacheTblSize;
[333] Fix | Delete
TMShortCard numLateBindings;
[334] Fix | Delete
TMShortCard numBranchHeads;
[335] Fix | Delete
TMShortCard numComplexStates;
[336] Fix | Delete
TMShortCard numComplexActions;
[337] Fix | Delete
#endif /* TRACE_TM */
[338] Fix | Delete
}TMGlobalRec;
[339] Fix | Delete
[340] Fix | Delete
_XFUNCPROTOBEGIN
[341] Fix | Delete
[342] Fix | Delete
extern TMGlobalRec _XtGlobalTM;
[343] Fix | Delete
[344] Fix | Delete
#define TM_MOD_SEGMENT_SIZE 16
[345] Fix | Delete
#define TM_TYPE_SEGMENT_SIZE 16
[346] Fix | Delete
[347] Fix | Delete
#define TMGetTypeMatch(idx) \
[348] Fix | Delete
((TMTypeMatch) \
[349] Fix | Delete
&((_XtGlobalTM.typeMatchSegmentTbl[((idx) >> 4)])[(idx) & 15]))
[350] Fix | Delete
#define TMGetModifierMatch(idx) \
[351] Fix | Delete
((TMModifierMatch) \
[352] Fix | Delete
&((_XtGlobalTM.modMatchSegmentTbl[(idx) >> 4])[(idx) & 15]))
[353] Fix | Delete
[354] Fix | Delete
/* Useful Access Macros */
[355] Fix | Delete
#define TMNewMatchSemantics() (_XtGlobalTM.newMatchSemantics)
[356] Fix | Delete
#define TMBranchMore(branch) (branch->more)
[357] Fix | Delete
#define TMComplexBranchHead(tree, br) \
[358] Fix | Delete
(((TMComplexStateTree)tree)->complexBranchHeadTbl[TMBranchMore(br)])
[359] Fix | Delete
[360] Fix | Delete
#define TMGetComplexBindEntry(bindData, idx) \
[361] Fix | Delete
((TMComplexBindProcs)&(((TMComplexBindData)bindData)->bindTbl[idx]))
[362] Fix | Delete
[363] Fix | Delete
#define TMGetSimpleBindEntry(bindData, idx) \
[364] Fix | Delete
((TMSimpleBindProcs)&(((TMSimpleBindData)bindData)->bindTbl[idx]))
[365] Fix | Delete
[366] Fix | Delete
[367] Fix | Delete
#define _InitializeKeysymTables(dpy, pd) \
[368] Fix | Delete
if (pd->keysyms == NULL) \
[369] Fix | Delete
_XtBuildKeysymTables(dpy, pd)
[370] Fix | Delete
[371] Fix | Delete
/*
[372] Fix | Delete
* Internal Functions
[373] Fix | Delete
*/
[374] Fix | Delete
[375] Fix | Delete
extern void _XtPopup(
[376] Fix | Delete
Widget /* widget */,
[377] Fix | Delete
XtGrabKind /* grab_kind */,
[378] Fix | Delete
_XtBoolean /* spring_loaded */
[379] Fix | Delete
);
[380] Fix | Delete
[381] Fix | Delete
extern String _XtPrintXlations(
[382] Fix | Delete
Widget /* w */,
[383] Fix | Delete
XtTranslations /* xlations */,
[384] Fix | Delete
Widget /* accelWidget */,
[385] Fix | Delete
_XtBoolean /* includeRHS */
[386] Fix | Delete
);
[387] Fix | Delete
[388] Fix | Delete
extern void _XtRegisterGrabs(
[389] Fix | Delete
Widget /* widget */
[390] Fix | Delete
);
[391] Fix | Delete
[392] Fix | Delete
extern XtPointer _XtInitializeActionData(
[393] Fix | Delete
struct _XtActionsRec * /* actions */,
[394] Fix | Delete
Cardinal /* count */,
[395] Fix | Delete
_XtBoolean /* inPlace */
[396] Fix | Delete
);
[397] Fix | Delete
[398] Fix | Delete
extern void _XtAddEventSeqToStateTree(
[399] Fix | Delete
EventSeqPtr /* eventSeq */,
[400] Fix | Delete
TMParseStateTree /* stateTree */
[401] Fix | Delete
);
[402] Fix | Delete
[403] Fix | Delete
extern Boolean _XtMatchUsingStandardMods(
[404] Fix | Delete
TMTypeMatch /* typeMatch */,
[405] Fix | Delete
TMModifierMatch /* modMatch */,
[406] Fix | Delete
TMEventPtr /* eventSeq */
[407] Fix | Delete
);
[408] Fix | Delete
[409] Fix | Delete
extern Boolean _XtMatchUsingDontCareMods(
[410] Fix | Delete
TMTypeMatch /* typeMatch */,
[411] Fix | Delete
TMModifierMatch /* modMatch */,
[412] Fix | Delete
TMEventPtr /* eventSeq */
[413] Fix | Delete
);
[414] Fix | Delete
[415] Fix | Delete
extern Boolean _XtRegularMatch(
[416] Fix | Delete
TMTypeMatch /* typeMatch */,
[417] Fix | Delete
TMModifierMatch /* modMatch */,
[418] Fix | Delete
TMEventPtr /* eventSeq */
[419] Fix | Delete
);
[420] Fix | Delete
[421] Fix | Delete
extern Boolean _XtMatchAtom(
[422] Fix | Delete
TMTypeMatch /* typeMatch */,
[423] Fix | Delete
TMModifierMatch /* modMatch */,
[424] Fix | Delete
TMEventPtr /* eventSeq */
[425] Fix | Delete
);
[426] Fix | Delete
[427] Fix | Delete
extern void _XtTranslateEvent(
[428] Fix | Delete
Widget /* widget */,
[429] Fix | Delete
XEvent* /* event */
[430] Fix | Delete
);
[431] Fix | Delete
[432] Fix | Delete
#include "CallbackI.h"
[433] Fix | Delete
#include "EventI.h"
[434] Fix | Delete
#include "HookObjI.h"
[435] Fix | Delete
#include "PassivGraI.h"
[436] Fix | Delete
#include "ThreadsI.h"
[437] Fix | Delete
#include "InitialI.h"
[438] Fix | Delete
#include "ResourceI.h"
[439] Fix | Delete
#include "StringDefs.h"
[440] Fix | Delete
[441] Fix | Delete
extern void _XtBuildKeysymTables(Display *dpy, XtPerDisplay pd);
[442] Fix | Delete
[443] Fix | Delete
#ifndef NO_MIT_HACKS
[444] Fix | Delete
extern void _XtDisplayTranslations(
[445] Fix | Delete
Widget /* widget */,
[446] Fix | Delete
XEvent* /* event */,
[447] Fix | Delete
String* /* params */,
[448] Fix | Delete
Cardinal* /* num_params */
[449] Fix | Delete
);
[450] Fix | Delete
[451] Fix | Delete
extern void _XtDisplayAccelerators(
[452] Fix | Delete
Widget /* widget */,
[453] Fix | Delete
XEvent* /* event */,
[454] Fix | Delete
String* /* params */,
[455] Fix | Delete
Cardinal* /* num_params */
[456] Fix | Delete
);
[457] Fix | Delete
[458] Fix | Delete
extern void _XtDisplayInstalledAccelerators(
[459] Fix | Delete
Widget /* widget */,
[460] Fix | Delete
XEvent* /* event */,
[461] Fix | Delete
String* /* params */,
[462] Fix | Delete
Cardinal* /* num_params */
[463] Fix | Delete
);
[464] Fix | Delete
#endif /* ifndef NO_MIT_HACKS */
[465] Fix | Delete
[466] Fix | Delete
extern void _XtPopupInitialize(
[467] Fix | Delete
XtAppContext /* app_context */
[468] Fix | Delete
);
[469] Fix | Delete
[470] Fix | Delete
extern void _XtBindActions(
[471] Fix | Delete
Widget /* widget */,
[472] Fix | Delete
XtTM /* tm_rec */
[473] Fix | Delete
);
[474] Fix | Delete
[475] Fix | Delete
extern Boolean _XtComputeLateBindings(
[476] Fix | Delete
Display* /* dpy */,
[477] Fix | Delete
LateBindingsPtr /* lateModifiers */,
[478] Fix | Delete
Modifiers* /* computed */,
[479] Fix | Delete
Modifiers* /* computedMask */
[480] Fix | Delete
);
[481] Fix | Delete
[482] Fix | Delete
extern XtTranslations _XtCreateXlations(
[483] Fix | Delete
TMStateTree * /* stateTrees */,
[484] Fix | Delete
TMShortCard /* numStateTrees */,
[485] Fix | Delete
XtTranslations /* first */,
[486] Fix | Delete
XtTranslations /* second */
[487] Fix | Delete
);
[488] Fix | Delete
[489] Fix | Delete
extern Boolean _XtCvtMergeTranslations(
[490] Fix | Delete
Display* /* dpy */,
[491] Fix | Delete
XrmValuePtr /* args */,
[492] Fix | Delete
Cardinal* /* num_args */,
[493] Fix | Delete
XrmValuePtr /* from */,
[494] Fix | Delete
XrmValuePtr /* to */,
[495] Fix | Delete
XtPointer* /* closure_ret */
[496] Fix | Delete
);
[497] Fix | Delete
[498] Fix | Delete
void _XtRemoveStateTreeByIndex(
[499] Fix | Delete
12
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function