static unsigned int esc_width = 23; static unsigned int esc_height = 13; /* Call this macro repeatedly. After each use, the pixel data can be extracted */ #define ESC_PIXEL(data,pixel) {\ pixel[0] = esc_header_data_cmap[(unsigned char)data[0]][0]; \ pixel[1] = esc_header_data_cmap[(unsigned char)data[0]][1]; \ pixel[2] = esc_header_data_cmap[(unsigned char)data[0]][2]; \ data ++; } static unsigned char esc_header_data_cmap[3][3] = { {153,153,153}, {255,255,255}, { 0, 0, 0} }; static unsigned char esc_header_data[] = { 2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2, 2,2,2,2,2,2,2, 2,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,2,2, 2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,2, 2,0,0,1,1,1,1,1,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,2, 2,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,2, 2,0,0,1,0,0,0,0,0,0,0,1,1,1,1,0, 0,1,1,1,0,0,2, 2,0,0,1,1,1,1,1,0,0,1,0,0,0,0,0, 1,0,0,0,0,0,2, 2,0,0,1,0,0,0,0,0,0,0,1,1,1,1,0, 1,0,0,0,0,0,2, 2,0,0,1,0,0,0,0,0,0,0,0,0,0,1,0, 1,0,0,0,0,0,2, 2,0,0,1,1,1,1,1,0,0,1,1,1,1,0,0, 0,1,1,1,0,0,2, 2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,2, 2,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,2,2, 2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2, 2,2,2,2,2,2,2 };