Foundation classes for a basic GUI implementing simple widgets and events

Dependents:   TouchScreenGUIDemo

Committer:
duncanFrance
Date:
Mon Apr 11 16:54:02 2016 +0000
Revision:
8:a460cabc85ac
Parent:
FastFont/FFTerminal6x8.h@7:303850a4b30c
Added GUI for common defaults

Who changed what in which revision?

UserRevisionLine numberNew contents of line
duncanFrance 7:303850a4b30c 1 const uint8_t FFTerminal6x8[] = {
duncanFrance 7:303850a4b30c 2 0x08, // Height
duncanFrance 7:303850a4b30c 3 0x08, // Data Bytes Per Glyph
duncanFrance 7:303850a4b30c 4 0x20, // First Ascii Code
duncanFrance 7:303850a4b30c 5 0x7f, // Last Ascii Code
duncanFrance 7:303850a4b30c 6 0x01, // Proportional
duncanFrance 7:303850a4b30c 7 /* ' ' */ 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
duncanFrance 7:303850a4b30c 8 /* '!' */ 0x05, 0x10, 0x38, 0x38, 0x10, 0x10, 0x00, 0x10, 0x00,
duncanFrance 7:303850a4b30c 9 /* '"' */ 0x06, 0x6c, 0x6c, 0x48, 0x00, 0x00, 0x00, 0x00, 0x00,
duncanFrance 7:303850a4b30c 10 /* '#' */ 0x06, 0x00, 0x28, 0x7c, 0x28, 0x28, 0x7c, 0x28, 0x00,
duncanFrance 7:303850a4b30c 11 /* '$' */ 0x05, 0x20, 0x38, 0x40, 0x30, 0x08, 0x70, 0x10, 0x00,
duncanFrance 7:303850a4b30c 12 /* '%' */ 0x06, 0x64, 0x64, 0x08, 0x10, 0x20, 0x4c, 0x4c, 0x00,
duncanFrance 7:303850a4b30c 13 /* '&' */ 0x06, 0x20, 0x50, 0x50, 0x20, 0x54, 0x48, 0x34, 0x00,
duncanFrance 7:303850a4b30c 14 /* ''' */ 0x04, 0x30, 0x30, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00,
duncanFrance 7:303850a4b30c 15 /* '(' */ 0x04, 0x10, 0x20, 0x20, 0x20, 0x20, 0x20, 0x10, 0x00,
duncanFrance 7:303850a4b30c 16 /* ')' */ 0x04, 0x20, 0x10, 0x10, 0x10, 0x10, 0x10, 0x20, 0x00,
duncanFrance 7:303850a4b30c 17 /* '*' */ 0x06, 0x00, 0x28, 0x38, 0x7c, 0x38, 0x28, 0x00, 0x00,
duncanFrance 7:303850a4b30c 18 /* '+' */ 0x06, 0x00, 0x10, 0x10, 0x7c, 0x10, 0x10, 0x00, 0x00,
duncanFrance 7:303850a4b30c 19 /* ',' */ 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x30, 0x20,
duncanFrance 7:303850a4b30c 20 /* '-' */ 0x06, 0x00, 0x00, 0x00, 0x7c, 0x00, 0x00, 0x00, 0x00,
duncanFrance 7:303850a4b30c 21 /* '.' */ 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x30, 0x00,
duncanFrance 7:303850a4b30c 22 /* '/' */ 0x06, 0x00, 0x04, 0x08, 0x10, 0x20, 0x40, 0x00, 0x00,
duncanFrance 7:303850a4b30c 23 /* '0' */ 0x06, 0x38, 0x44, 0x4c, 0x54, 0x64, 0x44, 0x38, 0x00,
duncanFrance 7:303850a4b30c 24 /* '1' */ 0x05, 0x10, 0x30, 0x10, 0x10, 0x10, 0x10, 0x38, 0x00,
duncanFrance 7:303850a4b30c 25 /* '2' */ 0x06, 0x38, 0x44, 0x04, 0x18, 0x20, 0x40, 0x7c, 0x00,
duncanFrance 7:303850a4b30c 26 /* '3' */ 0x06, 0x38, 0x44, 0x04, 0x38, 0x04, 0x44, 0x38, 0x00,
duncanFrance 7:303850a4b30c 27 /* '4' */ 0x06, 0x08, 0x18, 0x28, 0x48, 0x7c, 0x08, 0x08, 0x00,
duncanFrance 7:303850a4b30c 28 /* '5' */ 0x06, 0x7c, 0x40, 0x40, 0x78, 0x04, 0x44, 0x38, 0x00,
duncanFrance 7:303850a4b30c 29 /* '6' */ 0x06, 0x18, 0x20, 0x40, 0x78, 0x44, 0x44, 0x38, 0x00,
duncanFrance 7:303850a4b30c 30 /* '7' */ 0x06, 0x7c, 0x04, 0x08, 0x10, 0x20, 0x20, 0x20, 0x00,
duncanFrance 7:303850a4b30c 31 /* '8' */ 0x06, 0x38, 0x44, 0x44, 0x38, 0x44, 0x44, 0x38, 0x00,
duncanFrance 7:303850a4b30c 32 /* '9' */ 0x06, 0x38, 0x44, 0x44, 0x3c, 0x04, 0x08, 0x30, 0x00,
duncanFrance 7:303850a4b30c 33 /* ':' */ 0x04, 0x00, 0x00, 0x30, 0x30, 0x00, 0x30, 0x30, 0x00,
duncanFrance 7:303850a4b30c 34 /* ';' */ 0x04, 0x00, 0x00, 0x30, 0x30, 0x00, 0x30, 0x30, 0x20,
duncanFrance 7:303850a4b30c 35 /* '<' */ 0x05, 0x08, 0x10, 0x20, 0x40, 0x20, 0x10, 0x08, 0x00,
duncanFrance 7:303850a4b30c 36 /* '=' */ 0x06, 0x00, 0x00, 0x7c, 0x00, 0x00, 0x7c, 0x00, 0x00,
duncanFrance 7:303850a4b30c 37 /* '>' */ 0x06, 0x20, 0x10, 0x08, 0x04, 0x08, 0x10, 0x20, 0x00,
duncanFrance 7:303850a4b30c 38 /* '?' */ 0x06, 0x38, 0x44, 0x04, 0x18, 0x10, 0x00, 0x10, 0x00,
duncanFrance 7:303850a4b30c 39 /* '@' */ 0x06, 0x38, 0x44, 0x5c, 0x54, 0x5c, 0x40, 0x38, 0x00,
duncanFrance 7:303850a4b30c 40 /* 'A' */ 0x06, 0x38, 0x44, 0x44, 0x44, 0x7c, 0x44, 0x44, 0x00,
duncanFrance 7:303850a4b30c 41 /* 'B' */ 0x06, 0x78, 0x44, 0x44, 0x78, 0x44, 0x44, 0x78, 0x00,
duncanFrance 7:303850a4b30c 42 /* 'C' */ 0x06, 0x38, 0x44, 0x40, 0x40, 0x40, 0x44, 0x38, 0x00,
duncanFrance 7:303850a4b30c 43 /* 'D' */ 0x06, 0x78, 0x44, 0x44, 0x44, 0x44, 0x44, 0x78, 0x00,
duncanFrance 7:303850a4b30c 44 /* 'E' */ 0x06, 0x7c, 0x40, 0x40, 0x78, 0x40, 0x40, 0x7c, 0x00,
duncanFrance 7:303850a4b30c 45 /* 'F' */ 0x06, 0x7c, 0x40, 0x40, 0x78, 0x40, 0x40, 0x40, 0x00,
duncanFrance 7:303850a4b30c 46 /* 'G' */ 0x06, 0x38, 0x44, 0x40, 0x5c, 0x44, 0x44, 0x3c, 0x00,
duncanFrance 7:303850a4b30c 47 /* 'H' */ 0x06, 0x44, 0x44, 0x44, 0x7c, 0x44, 0x44, 0x44, 0x00,
duncanFrance 7:303850a4b30c 48 /* 'I' */ 0x05, 0x38, 0x10, 0x10, 0x10, 0x10, 0x10, 0x38, 0x00,
duncanFrance 7:303850a4b30c 49 /* 'J' */ 0x06, 0x04, 0x04, 0x04, 0x04, 0x44, 0x44, 0x38, 0x00,
duncanFrance 7:303850a4b30c 50 /* 'K' */ 0x06, 0x44, 0x48, 0x50, 0x60, 0x50, 0x48, 0x44, 0x00,
duncanFrance 7:303850a4b30c 51 /* 'L' */ 0x06, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x7c, 0x00,
duncanFrance 7:303850a4b30c 52 /* 'M' */ 0x06, 0x44, 0x6c, 0x54, 0x44, 0x44, 0x44, 0x44, 0x00,
duncanFrance 7:303850a4b30c 53 /* 'N' */ 0x06, 0x44, 0x64, 0x54, 0x4c, 0x44, 0x44, 0x44, 0x00,
duncanFrance 7:303850a4b30c 54 /* 'O' */ 0x06, 0x38, 0x44, 0x44, 0x44, 0x44, 0x44, 0x38, 0x00,
duncanFrance 7:303850a4b30c 55 /* 'P' */ 0x06, 0x78, 0x44, 0x44, 0x78, 0x40, 0x40, 0x40, 0x00,
duncanFrance 7:303850a4b30c 56 /* 'Q' */ 0x06, 0x38, 0x44, 0x44, 0x44, 0x54, 0x48, 0x34, 0x00,
duncanFrance 7:303850a4b30c 57 /* 'R' */ 0x06, 0x78, 0x44, 0x44, 0x78, 0x48, 0x44, 0x44, 0x00,
duncanFrance 7:303850a4b30c 58 /* 'S' */ 0x06, 0x38, 0x44, 0x40, 0x38, 0x04, 0x44, 0x38, 0x00,
duncanFrance 7:303850a4b30c 59 /* 'T' */ 0x06, 0x7c, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x00,
duncanFrance 7:303850a4b30c 60 /* 'U' */ 0x06, 0x44, 0x44, 0x44, 0x44, 0x44, 0x44, 0x38, 0x00,
duncanFrance 7:303850a4b30c 61 /* 'V' */ 0x06, 0x44, 0x44, 0x44, 0x44, 0x44, 0x28, 0x10, 0x00,
duncanFrance 7:303850a4b30c 62 /* 'W' */ 0x06, 0x44, 0x44, 0x54, 0x54, 0x54, 0x54, 0x28, 0x00,
duncanFrance 7:303850a4b30c 63 /* 'X' */ 0x06, 0x44, 0x44, 0x28, 0x10, 0x28, 0x44, 0x44, 0x00,
duncanFrance 7:303850a4b30c 64 /* 'Y' */ 0x06, 0x44, 0x44, 0x44, 0x28, 0x10, 0x10, 0x10, 0x00,
duncanFrance 7:303850a4b30c 65 /* 'Z' */ 0x05, 0x78, 0x08, 0x10, 0x20, 0x40, 0x40, 0x78, 0x00,
duncanFrance 7:303850a4b30c 66 /* '[' */ 0x05, 0x38, 0x20, 0x20, 0x20, 0x20, 0x20, 0x38, 0x00,
duncanFrance 7:303850a4b30c 67 /* '\' */ 0x06, 0x00, 0x40, 0x20, 0x10, 0x08, 0x04, 0x00, 0x00,
duncanFrance 7:303850a4b30c 68 /* ']' */ 0x05, 0x38, 0x08, 0x08, 0x08, 0x08, 0x08, 0x38, 0x00,
duncanFrance 7:303850a4b30c 69 /* '^' */ 0x06, 0x10, 0x28, 0x44, 0x00, 0x00, 0x00, 0x00, 0x00,
duncanFrance 7:303850a4b30c 70 /* '_' */ 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xfc,
duncanFrance 7:303850a4b30c 71 /* '`' */ 0x04, 0x30, 0x30, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00,
duncanFrance 7:303850a4b30c 72 /* 'a' */ 0x06, 0x00, 0x00, 0x38, 0x04, 0x3c, 0x44, 0x3c, 0x00,
duncanFrance 7:303850a4b30c 73 /* 'b' */ 0x06, 0x40, 0x40, 0x78, 0x44, 0x44, 0x44, 0x78, 0x00,
duncanFrance 7:303850a4b30c 74 /* 'c' */ 0x06, 0x00, 0x00, 0x38, 0x44, 0x40, 0x44, 0x38, 0x00,
duncanFrance 7:303850a4b30c 75 /* 'd' */ 0x06, 0x04, 0x04, 0x3c, 0x44, 0x44, 0x44, 0x3c, 0x00,
duncanFrance 7:303850a4b30c 76 /* 'e' */ 0x06, 0x00, 0x00, 0x38, 0x44, 0x78, 0x40, 0x38, 0x00,
duncanFrance 7:303850a4b30c 77 /* 'f' */ 0x05, 0x18, 0x20, 0x20, 0x78, 0x20, 0x20, 0x20, 0x00,
duncanFrance 7:303850a4b30c 78 /* 'g' */ 0x06, 0x00, 0x00, 0x3c, 0x44, 0x44, 0x3c, 0x04, 0x38,
duncanFrance 7:303850a4b30c 79 /* 'h' */ 0x05, 0x40, 0x40, 0x70, 0x48, 0x48, 0x48, 0x48, 0x00,
duncanFrance 7:303850a4b30c 80 /* 'i' */ 0x05, 0x10, 0x00, 0x10, 0x10, 0x10, 0x10, 0x18, 0x00,
duncanFrance 7:303850a4b30c 81 /* 'j' */ 0x05, 0x08, 0x00, 0x18, 0x08, 0x08, 0x08, 0x48, 0x30,
duncanFrance 7:303850a4b30c 82 /* 'k' */ 0x05, 0x40, 0x40, 0x48, 0x50, 0x60, 0x50, 0x48, 0x00,
duncanFrance 7:303850a4b30c 83 /* 'l' */ 0x05, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x18, 0x00,
duncanFrance 7:303850a4b30c 84 /* 'm' */ 0x06, 0x00, 0x00, 0x68, 0x54, 0x54, 0x44, 0x44, 0x00,
duncanFrance 7:303850a4b30c 85 /* 'n' */ 0x05, 0x00, 0x00, 0x70, 0x48, 0x48, 0x48, 0x48, 0x00,
duncanFrance 7:303850a4b30c 86 /* 'o' */ 0x06, 0x00, 0x00, 0x38, 0x44, 0x44, 0x44, 0x38, 0x00,
duncanFrance 7:303850a4b30c 87 /* 'p' */ 0x06, 0x00, 0x00, 0x78, 0x44, 0x44, 0x44, 0x78, 0x40,
duncanFrance 7:303850a4b30c 88 /* 'q' */ 0x06, 0x00, 0x00, 0x3c, 0x44, 0x44, 0x44, 0x3c, 0x04,
duncanFrance 7:303850a4b30c 89 /* 'r' */ 0x06, 0x00, 0x00, 0x58, 0x24, 0x20, 0x20, 0x70, 0x00,
duncanFrance 7:303850a4b30c 90 /* 's' */ 0x06, 0x00, 0x00, 0x38, 0x40, 0x38, 0x04, 0x38, 0x00,
duncanFrance 7:303850a4b30c 91 /* 't' */ 0x05, 0x00, 0x20, 0x78, 0x20, 0x20, 0x28, 0x10, 0x00,
duncanFrance 7:303850a4b30c 92 /* 'u' */ 0x05, 0x00, 0x00, 0x48, 0x48, 0x48, 0x58, 0x28, 0x00,
duncanFrance 7:303850a4b30c 93 /* 'v' */ 0x06, 0x00, 0x00, 0x44, 0x44, 0x44, 0x28, 0x10, 0x00,
duncanFrance 7:303850a4b30c 94 /* 'w' */ 0x06, 0x00, 0x00, 0x44, 0x44, 0x54, 0x7c, 0x28, 0x00,
duncanFrance 7:303850a4b30c 95 /* 'x' */ 0x05, 0x00, 0x00, 0x48, 0x48, 0x30, 0x48, 0x48, 0x00,
duncanFrance 7:303850a4b30c 96 /* 'y' */ 0x05, 0x00, 0x00, 0x48, 0x48, 0x48, 0x38, 0x10, 0x60,
duncanFrance 7:303850a4b30c 97 /* 'z' */ 0x05, 0x00, 0x00, 0x78, 0x08, 0x30, 0x40, 0x78, 0x00,
duncanFrance 7:303850a4b30c 98 /* '{' */ 0x05, 0x18, 0x20, 0x20, 0x60, 0x20, 0x20, 0x18, 0x00,
duncanFrance 7:303850a4b30c 99 /* '|' */ 0x04, 0x10, 0x10, 0x10, 0x00, 0x10, 0x10, 0x10, 0x00,
duncanFrance 7:303850a4b30c 100 /* '}' */ 0x06, 0x30, 0x08, 0x08, 0x0c, 0x08, 0x08, 0x30, 0x00,
duncanFrance 7:303850a4b30c 101 /* '~' */ 0x05, 0x28, 0x50, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
duncanFrance 7:303850a4b30c 102 /* '' */ 0x06, 0x10, 0x38, 0x6c, 0x44, 0x44, 0x7c, 0x00, 0x00,
duncanFrance 7:303850a4b30c 103 };