Dependencies: 4DGL Rectangle mbed Screens
Screens/Screens.h@0:55bfec6d748f, 2011-05-03 (annotated)
- Committer:
- projetremote
- Date:
- Tue May 03 13:36:16 2011 +0000
- Revision:
- 0:55bfec6d748f
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
projetremote | 0:55bfec6d748f | 1 | #include "mbed.h" |
projetremote | 0:55bfec6d748f | 2 | #include "TFT_4DGL.h" |
projetremote | 0:55bfec6d748f | 3 | #include "Rectangle.h" |
projetremote | 0:55bfec6d748f | 4 | |
projetremote | 0:55bfec6d748f | 5 | class Screens{ |
projetremote | 0:55bfec6d748f | 6 | protected : |
projetremote | 0:55bfec6d748f | 7 | char * infos[]; |
projetremote | 0:55bfec6d748f | 8 | TFT_4DGL * ecran; |
projetremote | 0:55bfec6d748f | 9 | Rectangle tab_rectangles[]; |
projetremote | 0:55bfec6d748f | 10 | public : |
projetremote | 0:55bfec6d748f | 11 | Screens(PinName Tx,PinName Rx,PinName rst); |
projetremote | 0:55bfec6d748f | 12 | Screens(TFT_4DGL * p); |
projetremote | 0:55bfec6d748f | 13 | |
projetremote | 0:55bfec6d748f | 14 | void background_color(int couleur); |
projetremote | 0:55bfec6d748f | 15 | |
projetremote | 0:55bfec6d748f | 16 | void rectangle(int x1, int y1 , int x2, int y2, int color); |
projetremote | 0:55bfec6d748f | 17 | |
projetremote | 0:55bfec6d748f | 18 | void deplace(Rectangle un_rec, int x, int y); |
projetremote | 0:55bfec6d748f | 19 | |
projetremote | 0:55bfec6d748f | 20 | void baudrate(int bauds); |
projetremote | 0:55bfec6d748f | 21 | }; |