diff options
Diffstat (limited to 'common/fltk/src/xutf8/keysym2Ucs.c')
-rw-r--r-- | common/fltk/src/xutf8/keysym2Ucs.c | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/common/fltk/src/xutf8/keysym2Ucs.c b/common/fltk/src/xutf8/keysym2Ucs.c new file mode 100644 index 00000000..5bf23d19 --- /dev/null +++ b/common/fltk/src/xutf8/keysym2Ucs.c @@ -0,0 +1,41 @@ +/* "$Id: $" + * + * Author: Jean-Marc Lienher ( http://oksid.ch ) + * Copyright 2000-2003 by O'ksi'D. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA. + * + * Please report all bugs and problems on the following page: + * + * http://www.fltk.org/str.php + */ + +#define KEYSYM2UCS_INCLUDED + +#if !defined(WIN32) && !defined(__APPLE__) + +#include "../../FL/Xutf8.h" +#include "imKStoUCS.c" + +long XKeysymToUcs(KeySym keysym) { + return (long) KeySymToUcs4(keysym); +} + +#endif /* X11 only */ + +/* + * End of "$Id$". + */ |