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.
Dependencies: 4DGL-uLCD-SE PinDetect mbed
Rectangle.h
00001 #ifndef RECTANGLE_H 00002 #define RECTANGLE_H 00003 00004 #include "Sprite.h" 00005 00006 class Rectangle : public Sprite { 00007 public: 00008 Rectangle(); 00009 void init(int x, int y, uLCD_4DGL *uLCD); 00010 void setDimensions(int height, int width); 00011 void drawRect(int baseX, int baseY, int color); 00012 00013 private: 00014 int _height; 00015 int _width; 00016 }; 00017 00018 #endif 00019
Generated on Sun Jul 17 2022 07:39:56 by
1.7.2