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/
GraphicLed.h
- Committer:
- adelino
- Date:
- 2015-04-05
- Revision:
- 1:a74e42cf52b2
File content as of revision 1:a74e42cf52b2:
#ifndef GRAPHIC_LED_H #define GRAPHIC_LED_H #include "Screen.h" class GraphicLed:public Widget { public: /** Construct a filled Circle * * @param mScreen the pointer screen * @params _xc center * @params _yc center * @params _radius * @params _colorOn * @params _colorOff * @params _state LED_STATE_ON or LED_STATE_OFF, */ GraphicLed(Screen* mScreen,UINT16 _xc,UINT16 _yc,UINT16 _radius, Color _colorOn,Color _colorOff,State _state); // virtual void draw(void); // virtual ~GraphicLed(void); //setter void setInvisible(bool _state); // void setState(State _state); protected: Color myColorOn; Color myColorOff; UINT16 myRadius; UINT16 myCenterX; UINT16 myCenterY; }; #endif