From 77e5024c1cae62996ada908750b5155db03d06bb Mon Sep 17 00:00:00 2001 From: Guillaume Poirier Date: Tue, 12 Dec 2006 22:32:14 +0000 Subject: [PATCH] Feedback from Karl H. Beckers about mouse cursor Reverse direction of the mouse cursor pointer Originally committed as revision 7300 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/x11grab.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/libavformat/x11grab.c b/libavformat/x11grab.c index ffcf055..ecc8c04 100644 --- a/libavformat/x11grab.c +++ b/libavformat/x11grab.c @@ -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; -- 2.7.4