fltk 1.3.0rc3
About: FLTK (Fast Light Tool Kit) is a cross-platform C++ GUI toolkit for UNIX/Linux (X11), Microsoft Windows, and MacOS X. Release candidate.
  SfR Fresh Dox: fltk-1.3.0rc3-source.tar.gz ("inofficial" and yet experimental doxygen-generated source code documentation)  

dump_compose.c

Go to the documentation of this file.
00001 /* write out the documentation for the compose key */
00002 
00003 /* copy the string from Fl_Input.C */
00004 static const char* const compose_pairs =
00005 "  ! @ # $ y=| & : c a <<~ - r _ * +-2 3 ' u p . , 1 o >>141234? "
00006 "A`A'A^A~A:A*AEC,E`E'E^E:I`I'I^I:D-N~O`O'O^O~O:x O/U`U'U^U:Y'DDss"
00007 "a`a'a^a~a:a*aec,e`e'e^e:i`i'i^i:d-n~o`o'o^o~o:-:o/u`u'u^u:y'ddy:";
00008 
00009 #include <stdio.h>
00010 
00011 int main() {
00012   int x,y;
00013   for (x = 0; x<16; x++) {
00014     for (y = 0; y<6; y++) {
00015       const char *p = compose_pairs + (16*y+x)*2;
00016       if (p[1] == ' ')
00017         printf("<td><code>%c&nbsp</code>&nbsp&nbsp&nbsp%c\n",
00018                p[0],(p-compose_pairs)/2+0xA0);
00019       else
00020         printf("<td><code>%c%c</code>&nbsp&nbsp&nbsp%c\n",
00021                p[0],p[1],(p-compose_pairs)/2+0xA0);
00022     }
00023     printf("<tr>");
00024   }
00025   return 0;
00026 }