Курсовая работа: Скріпт мова управління віконним інтерфейсом на С++
line(BoxX,BoxY,BoxX+BoxW,BoxY); /*== Top Line ==*/
line(BoxX,BoxY+BoxH,BoxX+BoxW,BoxY+BoxH); /*== Bottom Line ==*/
return;
}
/***************************************************************************
** Module Name : Box3D **
** **
** Desciption : Draw a Square Frame with 3D effect **
** **
** Parameters : BoxX => Coordinate-X of the Box **
** BoxY => Coordinate-Y of the Box **
** BoxW => Width of the Box **
** BoxH => Height of the Box **
** BoxFloat => "1" indicate float effect **
** "0" indicate sink effect **
***************************************************************************/
void Box3D(int BoxX,int BoxY,int BoxW,int BoxH,int BoxFloat)
{
if(BoxFloat==1)setcolor(15);else setcolor(0);
line(BoxX,BoxY,BoxX,BoxY+BoxH); /*== Left Line ==*/
line(BoxX,BoxY,BoxX+BoxW,BoxY); /*== Top Line ==*/
if(BoxFloat==1)setcolor(0);else setcolor(15);
line(BoxX,BoxY+BoxH,BoxX+BoxW,BoxY+BoxH); /*== Bottom Line ==*/
line(BoxX+BoxW,BoxY,BoxX+BoxW,BoxY+BoxH); /*== Right Line ==*/
return;
}
/***************************************************************************
** Module Name : Win **
** **