Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:15:30

0001 /* 
0002  * Motif
0003  *
0004  * Copyright (c) 1987-2012, The Open Group. All rights reserved.
0005  *
0006  * These libraries and programs are free software; you can
0007  * redistribute them and/or modify them under the terms of the GNU
0008  * Lesser General Public License as published by the Free Software
0009  * Foundation; either version 2 of the License, or (at your option)
0010  * any later version.
0011  *
0012  * These libraries and programs are distributed in the hope that
0013  * they will be useful, but WITHOUT ANY WARRANTY; without even the
0014  * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
0015  * PURPOSE. See the GNU Lesser General Public License for more
0016  * details.
0017  *
0018  * You should have received a copy of the GNU Lesser General Public
0019  * License along with these librararies and programs; if not, write
0020  * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
0021  * Floor, Boston, MA 02110-1301 USA
0022 */ 
0023 #ifndef _XmVirtKeysP_h
0024 #define _XmVirtKeysP_h
0025 
0026 #include <Xm/XmP.h>
0027 #include <Xm/VirtKeys.h>
0028 
0029 #ifdef __cplusplus
0030 extern "C" {
0031 #endif
0032 
0033 #define XmKEYCODE_TAG_SIZE 32
0034 
0035 typedef struct _XmDefaultBindingStringRec {
0036     String  vendorName;
0037     String  defaults;
0038 } XmDefaultBindingStringRec, *XmDefaultBindingString;
0039 
0040 typedef struct _XmVirtualKeysymRec {
0041     String      name;
0042     KeySym      keysym;
0043 } XmVirtualKeysymRec, *XmVirtualKeysym;
0044 
0045 /* For converting a Virtual keysym to a real keysym. */
0046 typedef struct _XmVKeyBindingRec
0047 {
0048   KeySym    keysym;
0049   Modifiers modifiers;
0050   KeySym    virtkey;
0051 } XmVKeyBindingRec, *XmVKeyBinding;
0052 
0053 #ifdef __cplusplus
0054 }  /* Close scope of 'extern "C"' declaration which encloses file. */
0055 #endif
0056 
0057 #endif /* _XmVirtKeysP_h */