www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

vesaGraphique.h (717B)


      1 #ifndef PC_VESA_GRAPHIQUE_VESA_GRAPHIQUE_H
      2 #define PC_VESA_GRAPHIQUE_VESA_GRAPHIQUE_H
      3 
      4 #include <interfaceUtilisateur/console/console.h>
      5 
      6 typedef struct Pixel {
      7 	uint32 rvb:24;
      8 } PACKED Pixel;
      9 
     10 typedef struct EtatVesaGraphique {
     11 	Pixel* memoireVideo;
     12 	Console console;
     13 } EtatVesaGraphique;
     14 
     15 
     16 void setPixel32 (uint32 x, uint32 y, uint32 couleur);
     17 void ligne (uint32 x1, uint32 y1, uint32 x2, uint32 y2, uint32 couleur);
     18 void rectanglePlein (uint32 x1, uint32 x2, uint32 y1, uint32 y2, uint32 couleur);
     19 void rectangleContour (uint32 x1, uint32 x2, uint32 y1, uint32 y2, uint32 couleur);
     20 void vesaGraphiqueAfficherCaractereCouleurPosition(char caractere, uint32 couleurAv, uint32 couleurAr, uint32 x, uint32 y);
     21 
     22 #endif