Курсовая работа: Програмний комплекс для роботи розробки візитних карток
else { say("file not found");}
infile.close();
}
void changer(int col)
{ for(int a=100;a<=635;a++)
{ for(int b=50;b<=450;b++)
{ if(col==getpixel(a,b))
{ putpixel(a,b,icolor);
}
}
}
}
void say(char text[])
{ m.hidemouseptr();
settextstyle(2,0,4);
int width=textwidth(text)+20;
int height=60;
back(150,100,150+width,100+height,0);
openwindow(150,100,150+width,100+height,title);
setcolor(0);
buttonon(160,100+height-17,180,100+height-2,"OK",3);
setcolor(0);
outtextxy(160,120,text);
m.showmouseptr();
int lc=1;
while(lc==1)
{ m.getmousepos(button,x,y);
if((x>160)&&(x<180)&&(y>100+height-17)&&(y<100+height-2)&&(button==1))
{ lc=0;