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/
Segment.h
- Committer:
- adelino
- Date:
- 2015-04-05
- Revision:
- 1:a74e42cf52b2
File content as of revision 1:a74e42cf52b2:
#ifndef SEGMENT_H #define SEGMENT_H #include "Screen.h" class Segment: public Widget { public: /** Construct a Segment * * @param mScreen the pointer screen * @param _id the identifier Id * @params _x1 first point * @params _y1 * @params _x2 second point * @params _y2 * @params _color * @params _isVisible */ Segment(Screen* mScreen,UINT16 _x1,UINT16 _y1,UINT16 _x2,UINT16 _y2,Color _color); // virtual void draw(void); // virtual ~Segment(void); // void setInvisible(bool _state); // void setNewCoord(UINT16 _x1,UINT16 _y1,UINT16 _x2,UINT16 _y2); protected: UINT16 myX1; UINT16 myY1; UINT16 myX2; UINT16 myY2; }; #endif