?? about.c
字號:
/*菜單“關于”中的函數*/
int about1(int *x,int *y)
{
int buttons;
setwritemode(COPY_PUT);
showtext1();
DrawButtons3();
setwritemode(XOR_PUT);
cursor(*x,*y);
for(;;)
{
newxy(x,y,&buttons);
if(*x > 285 && *x < 355 && *y > 420 && *y < 450 && buttons)
break;
}
return 0;
}
int about2(int *x,int *y)
{
int buttons,xmin = 1,xmax = 639,ymin = 1,ymax = 479;
setwritemode(COPY_PUT);
showtext2();
DrawButtons3();
setwritemode(XOR_PUT);
cursor(*x,*y);
for(;;)
{
newxy(x,y,&buttons);
if(*x > 285 && *x < 355 && *y > 420 && *y < 450 && buttons)
break;
}
return 0;
}
int showtext1()
{
drawmat(ben24H,24,150,100,BLACK);
delay(100);
drawmat(cheng24H,24,180,100,BLACK);
delay(100);
drawmat(xu24H,24,210,100,BLACK);
delay(100);
drawmat(you24H,24,240,100,BLACK);
delay(100);
drawmat(du24H,24,270,100,BLACK);
delay(100);
drawmat(huang24H,24,300,100,BLACK);
delay(100);
drawmat(chen24H,24,330,100,BLACK);
delay(100);
drawmat(san24H,24,360,100,BLACK);
delay(100);
drawmat(ren24H,24,390,100,BLACK);
delay(100);
drawmat(xie24H,24,420,100,BLACK);
delay(100);
drawmat(shou24H,24,450,100,BLACK);
delay(100);
drawmat(feng24H,24,480,100,BLACK);
delay(100);
drawmat(xian24H,24,510,100,BLACK);
setcolor(WHITE);
return 0;
}
int showtext2()
{
drawmat(ben24H,24,120,100,BLACK);
delay(100);
drawmat(cheng24H,24,150,100,BLACK);
delay(100);
drawmat(xu24H,24,180,100,BLACK);
delay(100);
drawmat(zui24H,24,210,100,BLACK);
delay(100);
drawmat(zhong24H,24,240,100,BLACK);
delay(100);
drawmat(jie24H,24,270,100,BLACK);
delay(100);
drawmat(shi24H,24,300,100,BLACK);
delay(100);
drawmat(quan24H,24,330,100,BLACK);
delay(100);
drawmat(gui24H,24,360,100,BLACK);
delay(100);
drawmat(du24H,24,390,100,BLACK);
delay(100);
drawmat(huang24H,24,420,100,BLACK);
delay(100);
drawmat(chen24H,24,450,100,BLACK);
delay(100);
drawmat(san24H,24,480,100,BLACK);
delay(100);
drawmat(ren24H,24,510,100,BLACK);
delay(100);
drawmat(lian24H,24,120,200,BLACK);
delay(100);
drawmat(xi24H,24,150,200,BLACK);
delay(100);
drawmat(dian24H,24,180,200,BLACK);
delay(100);
drawmat(hua24H,24,210,200,BLACK);
delay(100);
setcolor(RED);
settextstyle(0,0,2);
settextjustify(1,1);
outtextxy(400,210,"13277048360");
setcolor(WHITE);
return 0;
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -