Library for 3.2'' uLcd Picaso Display4D system Picaso Serial Environment Command Set web: http://www.4dsystems.com.au/product/20/67/Processors_Graphics/PICASO/
Diff: Label.h
- Revision:
- 1:a74e42cf52b2
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Label.h Sun Apr 05 13:54:48 2015 +0000 @@ -0,0 +1,40 @@ +#ifndef LABEL_H +#define LABEL_H + +#include "Screen.h" + +class Label:public Widget +{ +public: + /** Construct a label + * + * @param mScreen the pointer screen + * @params _x + * @params _y + * @params _text + * @params _font + * @params _colorText + * @params _colorBkg + */ + + Label(Screen* mScreen,UINT16 _x,UINT16 _y, + string _text,Font _font,Color _colorText,Color _colorBkg); + + // + virtual void draw(void); + // + virtual ~Label(void); + +//setter + void setInvisible(bool _state); + // + void setNewText(string _newText); + +protected: + string myText; + Font myFont; + Color myColorText; + +}; + +#endif \ No newline at end of file