1: /** 2: * 3: * $Id: VirtKeys.h,v 1.2 2000/09/23 14:51:41 amai Exp $ 4: * 5: * Copyright (C) 1995 Free Software Foundation, Inc. 6: * Copyright (C) 1995-2000 LessTif Development Team 7: * 8: * This file is part of the GNU LessTif Library. 9: * 10: * This library is free software; you can redistribute it and/or 11: * modify it under the terms of the GNU Library General Public 12: * License as published by the Free Software Foundation; either 13: * version 2 of the License, or (at your option) any later version. 14: * 15: * This library is distributed in the hope that it will be useful, 16: * but WITHOUT ANY WARRANTY; without even the implied warranty of 17: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 18: * Library General Public License for more details. 19: * 20: * You should have received a copy of the GNU Library General Public 21: * License along with this library; if not, write to the Free 22: * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 23: * 24: **/ 25: 26: #ifndef _XM_VIRTKEYS_H 27: #define _XM_VIRTKEYS_H 28: 29: #include <Xm/Xm.h> 30: 31: #ifdef __cplusplus 32: extern "C" { 33: #endif 34: 35: /* 36: * All those nasty virtual (but quite real) keysyms, which have been 37: * invented by the closed software foundation (csf). 38: */ 39: #define osfXK_Activate 0x1004FF44 40: #define osfXK_AddMode 0x1004FF31 41: #define osfXK_BackSpace 0x1004FF08 42: #define osfXK_BeginLine 0x1004FF58 43: #define osfXK_Cancel 0x1004FF69 44: #define osfXK_Clear 0x1004FF0B 45: #define osfXK_Copy 0x1004FF02 46: #define osfXK_Cut 0x1004FF03 47: #define osfXK_Delete 0x1004FFFF 48: #define osfXK_Down 0x1004FF54 49: #define osfXK_EndLine 0x1004FF57 50: #define osfXK_Help 0x1004FF6A 51: #define osfXK_Insert 0x1004FF63 52: #define osfXK_Left 0x1004FF51 53: #define osfXK_Menu 0x1004FF67 54: #define osfXK_MenuBar 0x1004FF45 55: #define osfXK_PageLeft 0x1004FF40 56: #define osfXK_PageDown 0x1004FF42 57: #define osfXK_PageRight 0x1004FF43 58: #define osfXK_PageUp 0x1004FF41 59: #define osfXK_Paste 0x1004FF04 60: #define osfXK_PrimaryPaste 0x1004FF32 61: #define osfXK_QuickPaste 0x1004FF33 62: #define osfXK_Right 0x1004FF53 63: #define osfXK_Select 0x1004FF60 64: #define osfXK_Undo 0x1004FF65 65: #define osfXK_Up 0x1004FF52 66: 67: 68: extern void XmTranslateKey(Display *Dsp, KeyCode Keycode, 69: Modifiers modifiers, Modifiers *modifiers_return, 70: KeySym *Keysym_return); 71: 72: #ifdef __cplusplus 73: } 74: #endif 75: 76: #endif /* _XM_VIRTKEYS_H */ 77: