有一段程序看不懂,请解释一下

来源:百度知道 编辑:UC知道 时间:2024/06/07 03:36:12
void InitFrame()
{
setfillstyle(SOLID_FILL,BLUE);
setcolor(RED);

bar3d(SaveLeft,SaveTop,SaveRight,SaveBottom,4,2);
outtextxy(60,20,"Save");

bar3d(CloseLeft,CloseTop,CloseRight,CloseBottom,4,2);
outtextxy(160,20,"Close");

setfillstyle(SOLID_FILL,WHITE);
bar(MemoLeft,MemoTop,MemoLeft+MemoWidth,MemoTop+ MemoHeight);
}
还有
void getmouse(int *x,int *y,int *key)
{
union REGS inregs,outregs;
inregs.x.ax = 3;
int86(0x33,&inregs,&outregs);
*x = outregs.x.cx;
*y = outregs.x.dx;
*key = outregs.x.bx;
}

void InitFrame()
{
setfillstyle(SOLID_FILL,BLUE); //填充模式
setcolor(RED);

bar3d(SaveLeft,SaveTop,SaveRight,SaveBottom,4,2); //画立体长方形?
outtextxy(60,20,"Save"); //哦,是画菜单

bar3d(CloseLeft,CloseTop,CloseRight,CloseBottom,4,2);
outtextxy(160,20,"Close");

setfillstyle(SOLID_FILL,WHITE);
bar(MemoLeft,MemoTop,MemoLeft+MemoWidth,MemoTop+ MemoHeight);
}
还有
void getmouse(int *x,int *y,int *key)
{
union REGS inregs,outregs;
inregs.x.ax = 3;
int86(0x33,&inregs,&outregs); //呼叫#33号功能调用。
*x = outregs.x.cx;
*y = outregs.x.dx;
*key = outregs.x.bx;
}