[Ffmpeg-devel] [PATCH 8 of 8] Feedback from Karl H. Beckers about mouse cursor

Edouard Gomez ed.gomez
Mon Dec 4 21:41:05 CET 2006


# HG changeset patch
# User Edouard Gomez <ed.gomez at free.fr>
# Date 1165268090 -3600
# Node ID f418693f708d14f8c9672f034b4b7440c8e66299
# Parent  ba7abd486672d6dd60c9bb5297176b1817958fbd
Feedback from Karl H. Beckers about mouse cursor

Reverse direction of the mouse cursor pointer

diff -r ba7abd486672 -r f418693f708d libavformat/x11grab.c
--- a/libavformat/x11grab.c	Sun Dec 03 23:45:57 2006 +0100
+++ b/libavformat/x11grab.c	Mon Dec 04 22:34:50 2006 +0100
@@ -298,19 +298,19 @@ paint_mouse_pointer(XImage *image, x11_g
     /* 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;




More information about the ffmpeg-devel mailing list