Unnamed
public cpp v1 · immutablevoid window::draw(BITMAP * dest) { if(!hidden) { blit(title,dest,0,0,x,y,title->w,title->h); blit(surface,dest,0,0,x,y+title_height,surface->w,surface->h); }}void window_holder::draw_windows(BITMAP * dest) { for(int i=0;i<container.size();i++) { container[i]->draw(dest); }}void onRedraw() { // The screen is about to be redrawn- draw things to the double buffer windows->draw_windows(display);}