Subversion Repositories tendra.SVN

Rev

Rev 2 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 7u83 1
/*
2
    COPYRIGHT NOTICE
3
 
4
    This program is the proprietary property of IXI Ltd, a subsidiary
5
    of the Santa Cruz Operation (SCO). Use, reproduction, production
6
    of amended versions and/or transfer of this program is permitted
7
    PROVIDED THAT:
8
 
9
    (a)  This legend be preserved on any such reproduction and amended
10
         version.
11
 
12
    (b)  Any recipient of such reproduction or amended version accept
13
         the conditions set out in this legend.
14
 
15
    IXI accepts no liability whatsoever in relation to any use to
16
    which this program may be put and gives no warranty as to the
17
    program's suitability for any purpose.
18
 
19
    All rights reserved.
20
 
21
    Copyright (c) 1995, 1996
22
 
23
*/
24
 
25
 
26
 
27
/* SCO CID (IXI) VirtKeysP.h,v 1.1 1996/08/08 14:13:56 wendland Exp */
28
 
29
%%
30
#ifndef __MOTIF_P_HEADERS
31
#error Unexpected access to Motif P headers
32
#endif
33
%%
34
 
35
+USE "motif/1_2", "Xm/XmP.h";
36
+USE "motif/1_2", "Xm/VirtKeys.h";
37
 
38
+NAT XmKEYCODE_TAG_SIZE;
39
 
40
+FIELD (struct) _XmDefaultBindingStringRec := { 
41
 
42
	String		vendorName;
43
	String		defaults;
44
};
45
 
46
+TYPEDEF _XmDefaultBindingStringRec XmDefaultBindingStringRec;
47
+TYPEDEF _XmDefaultBindingStringRec *XmDefaultBindingString;
48
 
49
 
50
+FIELD (struct) _XmKeyBindingRec := { 
51
 
52
	KeySym		keysym;
53
	unsigned int	modifiers;
54
};
55
 
56
+TYPEDEF _XmKeyBindingRec XmKeyBindingRec;
57
+TYPEDEF _XmKeyBindingRec *XmKeyBinding;
58
 
59
 
60
+FIELD (struct) _XmVirtualKeysymRec := { 
61
 
62
	String		name;
63
	KeySym		keysym;
64
};
65
 
66
+TYPEDEF _XmVirtualKeysymRec XmVirtualKeysymRec;
67
+TYPEDEF _XmVirtualKeysymRec *XmVirtualKeysym;
68
 
69
+FUNC void _XmVirtKeysDestroy(Widget);
70
+FUNC void _XmVirtKeysHandler(Widget, XtPointer, XEvent *, Boolean *);
71
+FUNC void _XmVirtualToActualKeysym(Display *, KeySym, KeySym *, Modifiers *);
72
+FUNC void _XmVirtKeysStoreBindings(Widget, String);
73
+FUNC Boolean _XmVirtKeysLoadFileBindings(char *, String *);
74
+FUNC int _XmVirtKeysLoadFallbackBindings(Display *, String *);
75