f09e17c3c5
- remove obsolete svn '$Id$' tags from all source files - update .fl files and generated files accordingly - replace 'http://www.fltk.org' URL's with 'https://...' - replace bug report URL 'str.php' with 'bugs.php' - remove trailing whitespace - fix other whitespace errors flagged by Git - add and/or fix missing or wrong standard headers - convert tabs to spaces in all source files The only relevant code changes are in the fluid/ folder where some .fl files and other source files were used to generate the '$Id' headers and footers.
27 lines
784 B
C
27 lines
784 B
C
/* write out the documentation for the compose key */
|
|
|
|
/* copy the string from Fl_Input.C */
|
|
static const char* const compose_pairs =
|
|
" ! @ # $ y=| & : c a <<~ - r _ * +-2 3 ' u p . , 1 o >>141234? "
|
|
"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"
|
|
"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:";
|
|
|
|
#include <stdio.h>
|
|
|
|
int main() {
|
|
int x,y;
|
|
for (x = 0; x<16; x++) {
|
|
for (y = 0; y<6; y++) {
|
|
const char *p = compose_pairs + (16*y+x)*2;
|
|
if (p[1] == ' ')
|
|
printf("<td><code>%c </code>   %c\n",
|
|
p[0],(p-compose_pairs)/2+0xA0);
|
|
else
|
|
printf("<td><code>%c%c</code>   %c\n",
|
|
p[0],p[1],(p-compose_pairs)/2+0xA0);
|
|
}
|
|
printf("<tr>");
|
|
}
|
|
return 0;
|
|
}
|