# include "Ximage.h"

void FlashButton (Graphic *graphic, Button *button) {

  unsigned long black, white;

  black =  graphic[0].black;
  white =  graphic[0].white;
  graphic[0].black = white;
  graphic[0].white = black;

  DrawButton (graphic, button);
  XFlush (graphic[0].display);
/*  usleep (20000);  removed - not a standard C sleep command, apparently! */
  
  graphic[0].black = black;
  graphic[0].white = white;
  DrawButton (graphic, button);
  XFlush (graphic[0].display);

}

