
#include <iostream>

using namespace std;

#include <SDL/SDL.h>

#include "../lib/gfxMR.hpp"
#include "../lib/sdlMR.hpp"

int main(int argc, char * argv[])
{
    SDL_Surface *screen;
    SDL_Event event;

    int keypress = 0;
    int mx = 0,
        my = 0;
        
    SDL_Init(SDL_INIT_EVERYTHING);
    screen = SDL_SetVideoMode(512, 256, 8, SDL_SWSURFACE);

    sdlPutPixel plot(screen);
    sdlGetPixel get(screen);
    ploter * pp = &plot;
    bresenhamCircle cercle(plot);
    bresenhamLine ligne(plot);
    floodFill paint(plot,get);

    while(!keypress)
    {
        SDL_Flip(screen);
        SDL_FillRect(screen,0,0);

    SDL_Quit();
    return 0;
}
