Dependencies:   4DGL Rectangle mbed Screens

Screens/Screens.h

Committer:
projetremote
Date:
2011-05-03
Revision:
0:55bfec6d748f

File content as of revision 0:55bfec6d748f:

#include "mbed.h"
#include "TFT_4DGL.h"
#include "Rectangle.h"

class Screens{
    protected : 
        char * infos[];
        TFT_4DGL * ecran;
        Rectangle tab_rectangles[];
    public :   
        Screens(PinName Tx,PinName Rx,PinName rst);
        Screens(TFT_4DGL * p);

        void background_color(int couleur);
        
        void rectangle(int x1, int y1 , int x2, int y2, int color);
        
        void deplace(Rectangle un_rec, int x, int y);
        
        void baudrate(int bauds);
    };