Курсовая работа: Скріпт мова управління віконним інтерфейсом на С++
** **
** Parameters : Winx => Coordinate-X of Win **
** Winy => Coordinate-Y of Win **
** Winw => Width of Win **
** Winh => Height of Win **
** WinCol => Win filled color **
** LineCol => Win frame line color **
***************************************************************************/
void Win(int Winx,int Winy,int Winw,int Winh,int WinCol)
{
setfillstyle(1,WinCol);
bar(Winx,Winy,Winx+Winw,Winy+Winh);
return;
}
/***************************************************************************
** Module Name : Win3D **
** **
** Desciption : Draw a color filled Windows with 3D effect **
** **
** Parameters : Winx => Coordinate-X of Win **
** Winy => Coordinate-Y of Win **
** Winw => Width of Win **
** Winh => Height of Win **
** WinCol => Win filled color **
** LineCol => Win frame line color **
***************************************************************************/
void Win3D(int Winx,int Winy,int Winw,int Winh,int WinCol)
{
Win(Winx,Winy,Winw-1,Winh-1,WinCol); /*== Draw the Windows ==*/