Richard Parker / EALCD
Revision:
0:839ecbf5cb2a
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/EAPen.h	Thu Feb 11 12:21:18 2010 +0000
@@ -0,0 +1,30 @@
+// Copyright 2010 Richard Parker
+
+#ifndef MBED_EAPEN_H
+#define MBED_EAPEN_H
+
+#include "mbed.h"
+
+#include "EAColor.h"
+
+/**
+ * Class to handle the pen for the EA LCD.
+ * @author Richard Parker
+ */
+class EAPen
+{
+public:
+    EAPen();    
+    EAPen(const EAColor& color);
+    
+    ~EAPen();
+    
+    inline const EAColor& color() const { return _color; }
+    inline void setColor(const EAColor& c) { _color = c; }
+    
+private:
+    EAColor _color;
+    
+};
+
+#endif
\ No newline at end of file