static void drawshadow(int x,int y,int w,int h)//绘制矩形阴影效果
{
int i,j;
for (i = 0;i < w;i ++)
{
if (i % 2 == 0)
{
for (j = 0;j < h;j ++)
{
if(j % 2 == 0)
draw_pixel(scrbuf,x + i,y + j,VRE_COLOR16(0x000000));/*lint !e572*/
}
}
}
}
static void drawwell(int x,int y,int w,int h)//绘制矩形阴影方格
{
int i;
for (i = 0;i < w;i ++)
{
if (i % 2 == 0)
{
draw_line(NULL,x+i,y,x+i,y+h,VRE_COLOR16(0x0));/*lint !e572*/
}
}
for (i = 0;i < h;i ++)
{
if (i % 2 == 0)
{
draw_line(NULL,x,y+i,x+w,y+i,VRE_COLOR16(0x0));/*lint !e572*/
}
}
}