用C语言实现按钮新技术
(i=0;i<=Grap;i++)
{
line(i+END-X-Grap,END-Y-Grap,i+END-X-Grap,START-Y+Grap-i);
}
}
void delay-time(long int i)
{
i=0;
while(i<=delay)
i++;
}
button.h
typedef struct ButtonDef
{ short x1;
short y1;
short x2;
short y2;
}button;
{
line(i+END-X-Grap,END-Y-Grap,i+END-X-Grap,START-Y+Grap-i);
}
}
void delay-time(long int i)
{
i=0;
while(i<=delay)
i++;
}
button.h
typedef struct ButtonDef
{ short x1;
short y1;
short x2;
short y2;
}button;