Tweak themes for more color consistency.
[ntk.git] / src / dump_compose.c
blobfe41991cf98530bf042f3c3f9cd488aceda97dcc
1 /* write out the documentation for the compose key */
3 /* copy the string from Fl_Input.C */
4 static const char* const compose_pairs =
5 " ! @ # $ y=| & : c a <<~ - r _ * +-2 3 ' u p . , 1 o >>141234? "
6 "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"
7 "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:";
9 #include <stdio.h>
11 int main() {
12 int x,y;
13 for (x = 0; x<16; x++) {
14 for (y = 0; y<6; y++) {
15 const char *p = compose_pairs + (16*y+x)*2;
16 if (p[1] == ' ')
17 printf("<td><code>%c&nbsp</code>&nbsp&nbsp&nbsp%c\n",
18 p[0],(p-compose_pairs)/2+0xA0);
19 else
20 printf("<td><code>%c%c</code>&nbsp&nbsp&nbsp%c\n",
21 p[0],p[1],(p-compose_pairs)/2+0xA0);
23 printf("<tr>");
25 return 0;