Commit 8f5b9d0e authored by gpoirier's avatar gpoirier

Feedback from Karl H. Beckers about mouse cursor

(patch by Edouard Gomez)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@7309 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 90cc2bb3
......@@ -298,19 +298,19 @@ paint_mouse_pointer(XImage *image, x11_grab_t *s, int x, int y)
/* 16x20x1bpp bitmap for the black channel of the mouse pointer */
static const uint16_t const mousePointerBlack[] =
{
0x0000, 0xc000, 0xa000, 0x9000, 0x8800,
0x8400, 0x8200, 0x8100, 0x8080, 0x8040,
0x83c0, 0x9200, 0xa900, 0xc900, 0x0480,
0x0480, 0x0240, 0x0240, 0x01c0, 0x0000
0x0000, 0x0003, 0x0005, 0x0009, 0x0011,
0x0021, 0x0041, 0x0081, 0x0101, 0x0201,
0x03c1, 0x0049, 0x0095, 0x0093, 0x0120,
0x0120, 0x0240, 0x0240, 0x0380, 0x0000
};
/* 16x20x1bpp bitmap for the white channel of the mouse pointer */
static const uint16_t const mousePointerWhite[] =
{
0x0000, 0x0000, 0x4000, 0x6000, 0x7000,
0x7800, 0x7c00, 0x7e00, 0x7f00, 0x7f80,
0x7c00, 0x6c00, 0x4600, 0x0600, 0x0300,
0x0300, 0x0180, 0x0180, 0x0000, 0x0000
0x0000, 0x0000, 0x0002, 0x0006, 0x000e,
0x001e, 0x003e, 0x007e, 0x00fe, 0x01fe,
0x003e, 0x0036, 0x0062, 0x0060, 0x00c0,
0x00c0, 0x0180, 0x0180, 0x0000, 0x0000
};
int x_off = s->x_off;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment