Dependents:   Objet Telecommande_prologue

Committer:
projetremote
Date:
Tue May 03 13:32:04 2011 +0000
Revision:
0:19fca77774b6

        

Who changed what in which revision?

UserRevisionLine numberNew contents of line
projetremote 0:19fca77774b6 1 #include "mbed.h"
projetremote 0:19fca77774b6 2
projetremote 0:19fca77774b6 3 class Rectangle {
projetremote 0:19fca77774b6 4 protected :
projetremote 0:19fca77774b6 5 int Origin[1];
projetremote 0:19fca77774b6 6 int End[1];
projetremote 0:19fca77774b6 7 int * back;
projetremote 0:19fca77774b6 8
projetremote 0:19fca77774b6 9
projetremote 0:19fca77774b6 10 public :
projetremote 0:19fca77774b6 11 Rectangle(int x,int y, int x2, int y2, int color, int * back);
projetremote 0:19fca77774b6 12
projetremote 0:19fca77774b6 13 bool is_touch(int x_touch, int y_touch);
projetremote 0:19fca77774b6 14
projetremote 0:19fca77774b6 15 bool deplace(int x, int y);
projetremote 0:19fca77774b6 16
projetremote 0:19fca77774b6 17 int getX1();
projetremote 0:19fca77774b6 18
projetremote 0:19fca77774b6 19 int getX2();
projetremote 0:19fca77774b6 20
projetremote 0:19fca77774b6 21 int getY1();
projetremote 0:19fca77774b6 22
projetremote 0:19fca77774b6 23 int getY2();
projetremote 0:19fca77774b6 24
projetremote 0:19fca77774b6 25 int * getBack();
projetremote 0:19fca77774b6 26 };