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.
Dependents: Objet Telecommande_prologue
Rectangle.h
00001 #include "mbed.h" 00002 00003 class Rectangle { 00004 protected : 00005 int Origin[1]; 00006 int End[1]; 00007 int * back; 00008 00009 00010 public : 00011 Rectangle(int x,int y, int x2, int y2, int color, int * back); 00012 00013 bool is_touch(int x_touch, int y_touch); 00014 00015 bool deplace(int x, int y); 00016 00017 int getX1(); 00018 00019 int getX2(); 00020 00021 int getY1(); 00022 00023 int getY2(); 00024 00025 int * getBack(); 00026 };
Generated on Mon Jul 25 2022 12:51:18 by
1.7.2