Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: graphics/EAPen.h
- 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