Settings | Sign in | Sign up

There are currently 3 posts.

一个鼠标指针图案

Floor 1 巨大八爪鱼 1/31/16 18:43
static char cursor[16][17] = {
        "**************..",
        "*00000000000*...",
        "*0000000000*....",
        "*000000000*.....",
        "*00000000*......",
        "*0000000*.......",
        "*0000000*.......",
        "*00000000*......",
        "*0000**000*.....",
        "*000*..*000*....",
        "*00*....*000*...",
        "*0*......*000*..",
        "**........*000*.",
        "*..........*000*",
        "............*00*",
        ".............***"
    };
Floor 2 巨大八爪鱼 1/31/16 18:44
int x, y;
    for (y = 0; y < xsize; y++)
    {
        for (x = 0; x < ysize; x++)
        {
            if (cursor[y][x] == '*')
                SetPixel(hdc, mx + x, my + y, COL_000000);
            else if (cursor[y][x] == '0')
                SetPixel(hdc, mx + x, my + y, COL_FFFFFF);
            else if (cursor[y][x] == '.')
                SetPixel(hdc, mx + x, my + y, bgColor);
        }
    }
Floor 3 巨大八爪鱼 2/4/16 23:04
其实,这个直接用TransparentBlt就可以了

Content converter:

Reply the post
Content:
User: You are currently anonymous.
Captcha:
Unclear? Try another one.