Курсовая работа: Скріпт мова управління віконним інтерфейсом на С++
** **
** Desciption : Output the text on screen with shadow effect **
** **
** Parameters : Txt => Output String **
** TxtX => Coordinate-X of the output string **
** TxtY => Coordinate-X of the output string **
** TxtCol => Color of the output string **
***************************************************************************/
void Shadow(char Txt[],int TxtX,int TxtY,int TxtCol)
{
setcolor(0);outtextxy(TxtX+1,TxtY+1,Txt);
setcolor(TxtCol);outtextxy(TxtX,TxtY,Txt);
return;
}
/***************************************************************************
** Module Name : Box **
** **
** Desciption : Draw a Square Frame with desired color **
** **
** Parameters : BoxX => Coordinate-X of the Box **
** BoxY => Coordinate-Y of the Box **
** BoxW => Width of the Box **
** BoxH => Height of the Box **
** BoxCol => Color of the Box Line **
***************************************************************************/
void Box(int BoxX,int BoxY,int BoxW,int BoxH,int BoxCol)
{
setcolor(BoxCol); /*== Set Line Color ==*/
line(BoxX,BoxY,BoxX,BoxY+BoxH); /*== Left Line ==*/