Joshua Newth / Mbed 2 deprecated POV01

Dependencies:   mbed

Revision:
0:e4ea0ca99174
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/FontPack.h	Thu Nov 04 23:00:34 2010 +0000
@@ -0,0 +1,33 @@
+namespace FontPack {
+
+
+typedef struct {
+    int nCols;
+    const char* col;
+    char getCol(int i) {
+        return col[i];
+    }
+} FontPackChar;
+
+
+
+
+/*
+FN: writeChar
+Function takes the char to write to the map, the map to write to,
+and where in the map to start the writing.
+RETURN: index in map after inserting char (the caret)
+*/
+int writeChar(char a, char map[], int index, int col = 0);
+/*FN: blank
+Inserts a blank.
+RETURN: index in map after inserting blank
+*/
+int blank(int index);
+
+/*
+FN: getChar
+RETURN: a struct encapsulating the requested char.
+*/
+FontPackChar getChar(char a);
+}
\ No newline at end of file