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: Switcher.h
- Revision:
- 1:a74e42cf52b2
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Switcher.h Sun Apr 05 13:54:48 2015 +0000 @@ -0,0 +1,36 @@ +#ifndef SWITCHER_H +#define SWITCHER_H + +#include "Screen.h" + +class Switcher:public Widget +{ +public: + /** Construct a Switch + * + * @param mScreen the pointer screen + * @param _id the identifier Id + * @params _x up left + * @params _y up left + * @params _width + * @params _height + */ + Switcher(Screen* mScreen,UINT16 _id,UINT16 _x,UINT16 _y,UINT16 _width,UINT16 _height); + // + virtual void draw(void); + // + virtual ~Switcher(void); + // + void setInvisible(bool _state); + // + void setState(State _state); + // + void changeState(GraphicMessage* msg); + +protected: + Color myColorOn; + Color myColorOff; + Color myColorCursor; +}; + +#endif \ No newline at end of file