From d0bdfe300dd636322dedfdc98b9edea2c5f06566 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Sat, 22 Dec 2001 07:16:12 +0000 Subject: - MacOS: more keyboard handler fixes, mainly mapping of Mac specific keys and iBook keys, several fixes to keyboard focus. Happy Holidays! git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1894 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Input_.cxx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/Fl_Input_.cxx') diff --git a/src/Fl_Input_.cxx b/src/Fl_Input_.cxx index 09ded3191..b4ab77f48 100644 --- a/src/Fl_Input_.cxx +++ b/src/Fl_Input_.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_Input_.cxx,v 1.21.2.11.2.4 2001/11/17 17:00:22 easysw Exp $" +// "$Id: Fl_Input_.cxx,v 1.21.2.11.2.5 2001/12/22 07:16:12 matthiaswm Exp $" // // Common input widget routines for the Fast Light Tool Kit (FLTK). // @@ -87,7 +87,11 @@ const char* Fl_Input_::expand(const char* p, char* buf) const { *o++ = '^'; *o++ = c ^ 0x40; } +#ifdef __APPLE__ + } else if ( 0 ) { // this is a rather complex issue on MacOS: see glyphs vs. characters in font sets... +#else } else if (c >= 128 && c < 0xA0) { +#endif *o++ = '\\'; *o++ = (c>>6)+'0'; *o++ = ((c>>3)&7)+'0'; @@ -855,5 +859,5 @@ Fl_Input_::~Fl_Input_() { } // -// End of "$Id: Fl_Input_.cxx,v 1.21.2.11.2.4 2001/11/17 17:00:22 easysw Exp $". +// End of "$Id: Fl_Input_.cxx,v 1.21.2.11.2.5 2001/12/22 07:16:12 matthiaswm Exp $". // -- cgit v1.2.3