#include "svmwgraph.h" #include /* usleep */ /* MAKE SURE YOU DO A COOLBOX TO 319,199, not 320,200!!! */ /* This will cause HARD TO DEBUG BUGS!!! */ /* I should add a check here I suppose */ void vmwCoolBox(int x1,int y1,int x2,int y2,int fill,vmwVisual *target) { int i; for(i=0;i<5;i++) { vmwDrawHLine(x1+i,y1+i,(x2-x1-i-i),31-i,target); vmwDrawHLine(x1+i,y2-i,(x2-x1-i-i),31-i,target); vmwDrawVLine(x1+i,y1+i,(y2-y1-i-i)+1,31-i,target); vmwDrawVLine(x2-i,y1+i,(y2-y1-i-i)+1,31-i,target); } if (fill) { for(i=y1+5;i