wok annotate libsdl-pango/stuff/matrix_declarations.patch @ rev 17178

Add rinetd
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 26 18:33:13 2014 +0200 (2014-09-26)
parents
children
rev   line source
slaxemulator@7409 1 Index: SDL_Pango-0.1.2/src/SDL_Pango.c
slaxemulator@7409 2 ===================================================================
slaxemulator@7409 3 --- SDL_Pango-0.1.2.orig/src/SDL_Pango.c 2007-09-18 15:03:10.732910311 +0200
slaxemulator@7409 4 +++ SDL_Pango-0.1.2/src/SDL_Pango.c 2007-09-18 15:04:41.970109622 +0200
slaxemulator@7409 5 @@ -286,6 +286,59 @@
slaxemulator@7409 6 } contextImpl;
slaxemulator@7409 7
slaxemulator@7409 8
slaxemulator@7409 9 +const SDLPango_Matrix _MATRIX_WHITE_BACK
slaxemulator@7409 10 + = {255, 0, 0, 0,
slaxemulator@7409 11 + 255, 0, 0, 0,
slaxemulator@7409 12 + 255, 0, 0, 0,
slaxemulator@7409 13 + 255, 255, 0, 0,};
slaxemulator@7409 14 +
slaxemulator@7409 15 +/*!
slaxemulator@7409 16 + Specifies white back and black letter.
slaxemulator@7409 17 +*/
slaxemulator@7409 18 +const SDLPango_Matrix *MATRIX_WHITE_BACK = &_MATRIX_WHITE_BACK;
slaxemulator@7409 19 +
slaxemulator@7409 20 +const SDLPango_Matrix _MATRIX_BLACK_BACK
slaxemulator@7409 21 + = {0, 255, 0, 0,
slaxemulator@7409 22 + 0, 255, 0, 0,
slaxemulator@7409 23 + 0, 255, 0, 0,
slaxemulator@7409 24 + 255, 255, 0, 0,};
slaxemulator@7409 25 +/*!
slaxemulator@7409 26 + Specifies black back and white letter.
slaxemulator@7409 27 +*/
slaxemulator@7409 28 +const SDLPango_Matrix *MATRIX_BLACK_BACK = &_MATRIX_BLACK_BACK;
slaxemulator@7409 29 +
slaxemulator@7409 30 +const SDLPango_Matrix _MATRIX_TRANSPARENT_BACK_BLACK_LETTER
slaxemulator@7409 31 + = {0, 0, 0, 0,
slaxemulator@7409 32 + 0, 0, 0, 0,
slaxemulator@7409 33 + 0, 0, 0, 0,
slaxemulator@7409 34 + 0, 255, 0, 0,};
slaxemulator@7409 35 +/*!
slaxemulator@7409 36 + Specifies transparent back and black letter.
slaxemulator@7409 37 +*/
slaxemulator@7409 38 +const SDLPango_Matrix *MATRIX_TRANSPARENT_BACK_BLACK_LETTER = &_MATRIX_TRANSPARENT_BACK_BLACK_LETTER;
slaxemulator@7409 39 +
slaxemulator@7409 40 +const SDLPango_Matrix _MATRIX_TRANSPARENT_BACK_WHITE_LETTER
slaxemulator@7409 41 + = {255, 255, 0, 0,
slaxemulator@7409 42 + 255, 255, 0, 0,
slaxemulator@7409 43 + 255, 255, 0, 0,
slaxemulator@7409 44 + 0, 255, 0, 0,};
slaxemulator@7409 45 +/*!
slaxemulator@7409 46 + Specifies transparent back and white letter.
slaxemulator@7409 47 +*/
slaxemulator@7409 48 +const SDLPango_Matrix *MATRIX_TRANSPARENT_BACK_WHITE_LETTER = &_MATRIX_TRANSPARENT_BACK_WHITE_LETTER;
slaxemulator@7409 49 +
slaxemulator@7409 50 +const SDLPango_Matrix _MATRIX_TRANSPARENT_BACK_TRANSPARENT_LETTER
slaxemulator@7409 51 + = {255, 255, 0, 0,
slaxemulator@7409 52 + 255, 255, 0, 0,
slaxemulator@7409 53 + 255, 255, 0, 0,
slaxemulator@7409 54 + 0, 0, 0, 0,};
slaxemulator@7409 55 +/*!
slaxemulator@7409 56 + Specifies transparent back and transparent letter.
slaxemulator@7409 57 + This is useful for KARAOKE like rendering.
slaxemulator@7409 58 +*/
slaxemulator@7409 59 +const SDLPango_Matrix *MATRIX_TRANSPARENT_BACK_TRANSPARENT_LETTER = &_MATRIX_TRANSPARENT_BACK_TRANSPARENT_LETTER;
slaxemulator@7409 60 +
slaxemulator@7409 61 +
slaxemulator@7409 62 /*!
slaxemulator@7409 63 Initialize the Glib and Pango API.
slaxemulator@7409 64 This must be called before using other functions in this library,
slaxemulator@7409 65 Index: SDL_Pango-0.1.2/src/SDL_Pango.h
slaxemulator@7409 66 ===================================================================
slaxemulator@7409 67 --- SDL_Pango-0.1.2.orig/src/SDL_Pango.h 2007-09-18 15:03:10.732910311 +0200
slaxemulator@7409 68 +++ SDL_Pango-0.1.2/src/SDL_Pango.h 2007-09-18 15:06:24.919976401 +0200
slaxemulator@7409 69 @@ -47,57 +47,27 @@
slaxemulator@7409 70 Uint8 m[4][4]; /*! Matrix variables */
slaxemulator@7409 71 } SDLPango_Matrix;
slaxemulator@7409 72
slaxemulator@7409 73 -const SDLPango_Matrix _MATRIX_WHITE_BACK
slaxemulator@7409 74 - = {255, 0, 0, 0,
slaxemulator@7409 75 - 255, 0, 0, 0,
slaxemulator@7409 76 - 255, 0, 0, 0,
slaxemulator@7409 77 - 255, 255, 0, 0,};
slaxemulator@7409 78 -
slaxemulator@7409 79 /*!
slaxemulator@7409 80 Specifies white back and black letter.
slaxemulator@7409 81 */
slaxemulator@7409 82 -const SDLPango_Matrix *MATRIX_WHITE_BACK = &_MATRIX_WHITE_BACK;
slaxemulator@7409 83 -
slaxemulator@7409 84 -const SDLPango_Matrix _MATRIX_BLACK_BACK
slaxemulator@7409 85 - = {0, 255, 0, 0,
slaxemulator@7409 86 - 0, 255, 0, 0,
slaxemulator@7409 87 - 0, 255, 0, 0,
slaxemulator@7409 88 - 255, 255, 0, 0,};
slaxemulator@7409 89 +extern const SDLPango_Matrix *MATRIX_WHITE_BACK;
slaxemulator@7409 90 /*!
slaxemulator@7409 91 Specifies black back and white letter.
slaxemulator@7409 92 */
slaxemulator@7409 93 -const SDLPango_Matrix *MATRIX_BLACK_BACK = &_MATRIX_BLACK_BACK;
slaxemulator@7409 94 -
slaxemulator@7409 95 -const SDLPango_Matrix _MATRIX_TRANSPARENT_BACK_BLACK_LETTER
slaxemulator@7409 96 - = {0, 0, 0, 0,
slaxemulator@7409 97 - 0, 0, 0, 0,
slaxemulator@7409 98 - 0, 0, 0, 0,
slaxemulator@7409 99 - 0, 255, 0, 0,};
slaxemulator@7409 100 +extern const SDLPango_Matrix *MATRIX_BLACK_BACK;
slaxemulator@7409 101 /*!
slaxemulator@7409 102 Specifies transparent back and black letter.
slaxemulator@7409 103 */
slaxemulator@7409 104 -const SDLPango_Matrix *MATRIX_TRANSPARENT_BACK_BLACK_LETTER = &_MATRIX_TRANSPARENT_BACK_BLACK_LETTER;
slaxemulator@7409 105 -
slaxemulator@7409 106 -const SDLPango_Matrix _MATRIX_TRANSPARENT_BACK_WHITE_LETTER
slaxemulator@7409 107 - = {255, 255, 0, 0,
slaxemulator@7409 108 - 255, 255, 0, 0,
slaxemulator@7409 109 - 255, 255, 0, 0,
slaxemulator@7409 110 - 0, 255, 0, 0,};
slaxemulator@7409 111 +extern const SDLPango_Matrix *MATRIX_TRANSPARENT_BACK_BLACK_LETTER;
slaxemulator@7409 112 /*!
slaxemulator@7409 113 Specifies transparent back and white letter.
slaxemulator@7409 114 */
slaxemulator@7409 115 -const SDLPango_Matrix *MATRIX_TRANSPARENT_BACK_WHITE_LETTER = &_MATRIX_TRANSPARENT_BACK_WHITE_LETTER;
slaxemulator@7409 116 -
slaxemulator@7409 117 -const SDLPango_Matrix _MATRIX_TRANSPARENT_BACK_TRANSPARENT_LETTER
slaxemulator@7409 118 - = {255, 255, 0, 0,
slaxemulator@7409 119 - 255, 255, 0, 0,
slaxemulator@7409 120 - 255, 255, 0, 0,
slaxemulator@7409 121 - 0, 0, 0, 0,};
slaxemulator@7409 122 +extern const SDLPango_Matrix *MATRIX_TRANSPARENT_BACK_WHITE_LETTER;
slaxemulator@7409 123 /*!
slaxemulator@7409 124 Specifies transparent back and transparent letter.
slaxemulator@7409 125 This is useful for KARAOKE like rendering.
slaxemulator@7409 126 */
slaxemulator@7409 127 -const SDLPango_Matrix *MATRIX_TRANSPARENT_BACK_TRANSPARENT_LETTER = &_MATRIX_TRANSPARENT_BACK_TRANSPARENT_LETTER;
slaxemulator@7409 128 +extern const SDLPango_Matrix *MATRIX_TRANSPARENT_BACK_TRANSPARENT_LETTER;
slaxemulator@7409 129
slaxemulator@7409 130 /*!
slaxemulator@7409 131 Specifies direction of text. See Pango reference for detail