#include #include #include "../put_pixel.h" extern char**environ; int main(int argc, char **argv) { // we need a window _gui_win(); // basically loads font and sets a few constants vesa_init(NULL); while(1) { int x = rand()%600; int y = rand()%300; int width=10; int height=10; int col = rand()% 0x00ffff; put_rect( x, y, width,height,col); _gui_inval((x<<16)|(y),(width<<16)|height); } }