Author: matt
Date: 2010-04-04 23:46:41 -0700 (Sun, 04 Apr 2010)
New Revision: 7424
Log:
Removed UTF-8 code from header file because it confuses some command line tools 
(specifically 'sed').

Modified:
   branches/branch-1.3/src/fl_shortcut.cxx

Modified: branches/branch-1.3/src/fl_shortcut.cxx
===================================================================
--- branches/branch-1.3/src/fl_shortcut.cxx     2010-04-04 22:30:19 UTC (rev 
7423)
+++ branches/branch-1.3/src/fl_shortcut.cxx     2010-04-05 06:46:41 UTC (rev 
7424)
@@ -129,36 +129,36 @@
 static Keyname table[] = {
                                  // v - this column contains utf8 characters
   {' ', "Space"},
-  {FL_BackSpace,"\xe2\x8c\xab"}, // ⌫  erase to the left
-  {FL_Tab,     "\xe2\x87\xa5"}, // ⇥  rightwards arrow to bar
-  {0xff0b,      "\xe2\x8c\xa6"}, // ⌦  erase to the right
-  {FL_Enter,   "\xe2\x86\xa9"}, // ↩  leftwards arrow with hook
+  {FL_BackSpace,"\xe2\x8c\xab"}, // erase to the left
+  {FL_Tab,     "\xe2\x87\xa5"}, // rightwards arrow to bar
+  {0xff0b,      "\xe2\x8c\xa6"}, // erase to the right
+  {FL_Enter,   "\xe2\x86\xa9"}, // leftwards arrow with hook
   {FL_Pause,   "Pause"},
   {FL_Scroll_Lock, "Scroll_Lock"},
   {FL_Escape,  "\xe2\x90\x9b"},
-  {FL_Home,    "\xe2\x86\x96"}, // ↖  north west arrow
-  {FL_Left,    "\xe2\x86\x90"}, // ←  leftwards arrow
-  {FL_Up,      "\xe2\x86\x91"}, // ↑  upwards arrow
-  {FL_Right,   "\xe2\x86\x92"}, // →  rightwards arrow
-  {FL_Down,    "\xe2\x86\x93"}, // ↓  downwards arrow
-  {FL_Page_Up, "\xe2\x87\x9e"}, // ⇞  upwards arrow with double stroke
-  {FL_Page_Down,"\xe2\x87\x9f"}, // ⇟  downward arrow with double stroke
-  {FL_End,     "\xe2\x86\x98"}, // ↘  south east arrow
+  {FL_Home,    "\xe2\x86\x96"}, // north west arrow
+  {FL_Left,    "\xe2\x86\x90"}, // leftwards arrow
+  {FL_Up,      "\xe2\x86\x91"}, // upwards arrow
+  {FL_Right,   "\xe2\x86\x92"}, // rightwards arrow
+  {FL_Down,    "\xe2\x86\x93"}, // downwards arrow
+  {FL_Page_Up, "\xe2\x87\x9e"}, // upwards arrow with double stroke
+  {FL_Page_Down,"\xe2\x87\x9f"}, // downward arrow with double stroke
+  {FL_End,     "\xe2\x86\x98"}, // south east arrow
   {FL_Print,   "Print"},
   {FL_Insert,  "Insert"},
   {FL_Menu,    "Menu"},
   {FL_Num_Lock,        "Num_Lock"},
-  {FL_KP_Enter,        "\xe2\x8c\xa4"}, // ⌤ up arrow head between two 
horizontal bars
+  {FL_KP_Enter,        "\xe2\x8c\xa4"}, // up arrow head between two 
horizontal bars
   {FL_Shift_L, "Shift_L"},
   {FL_Shift_R, "Shift_R"},
   {FL_Control_L,"Control_L"},
   {FL_Control_R,"Control_R"},
-  {FL_Caps_Lock,"\xe2\x87\xaa"}, // ⇪  upwards white arrow from bar
+  {FL_Caps_Lock,"\xe2\x87\xaa"}, // upwards white arrow from bar
   {FL_Meta_L,  "Meta_L"},
   {FL_Meta_R,  "Meta_R"},
   {FL_Alt_L,   "Alt_L"},
   {FL_Alt_R,   "Alt_R"},
-  {FL_Delete,  "\xe2\x8c\xa7"}  // ⌧  x in a rectangle box
+  {FL_Delete,  "\xe2\x8c\xa7"}  // x in a rectangle box
 };
 #endif
 
@@ -198,10 +198,10 @@
   }
 #ifdef __APPLE__
   //                        this column contains utf8 characters - v
-  if (shortcut & FL_SHIFT) {strcpy(p,"\xe2\x87\xa7"); p += 3;}  // ⇧  upwards 
white arrow
-  if (shortcut & FL_CTRL)  {strcpy(p,"\xe2\x8c\x83"); p += 3;}  // ⌃  up 
arrowhead
-  if (shortcut & FL_ALT)   {strcpy(p,"\xe2\x8c\xa5"); p += 3;}  // ⌥  
alternative key symbol
-  if (shortcut & FL_META)  {strcpy(p,"\xe2\x8c\x98"); p += 3;}  // ⌘  place of 
interest sign
+  if (shortcut & FL_SHIFT) {strcpy(p,"\xe2\x87\xa7"); p += 3;}  // upwards 
white arrow
+  if (shortcut & FL_CTRL)  {strcpy(p,"\xe2\x8c\x83"); p += 3;}  // up arrowhead
+  if (shortcut & FL_ALT)   {strcpy(p,"\xe2\x8c\xa5"); p += 3;}  // alternative 
key symbol
+  if (shortcut & FL_META)  {strcpy(p,"\xe2\x8c\x98"); p += 3;}  // place of 
interest sign
 #else
   if (shortcut & FL_META) {strcpy(p,"Meta+"); p += 5;}
   if (shortcut & FL_ALT) {strcpy(p,"Alt+"); p += 4;}

_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to