src/video/SDL_sysvideo.h
changeset 1985 8055185ae4ed
parent 1981 3f21778e7433
child 2062 c9aa6bcb26f3
     1.1 --- a/src/video/SDL_sysvideo.h	Thu Aug 24 12:49:59 2006 +0000
     1.2 +++ b/src/video/SDL_sysvideo.h	Mon Aug 28 03:17:39 2006 +0000
     1.3 @@ -44,6 +44,10 @@
     1.4      int access;         /**< SDL_TextureAccess */
     1.5      int w;              /**< The width of the texture */
     1.6      int h;              /**< The height of the texture */
     1.7 +    int modMode;        /**< The texture modulation mode */
     1.8 +    int blendMode;      /**< The texture blend mode */
     1.9 +    int scaleMode;      /**< The texture scale mode */
    1.10 +    Uint8 r, g, b, a;   /**< Texture modulation values */
    1.11  
    1.12      SDL_Renderer *renderer;
    1.13  
    1.14 @@ -66,6 +70,14 @@
    1.15      int (*GetTexturePalette) (SDL_Renderer * renderer, SDL_Texture * texture,
    1.16                                SDL_Color * colors, int firstcolor,
    1.17                                int ncolors);
    1.18 +    int (*SetTextureColorMod) (SDL_Renderer * renderer,
    1.19 +                               SDL_Texture * texture);
    1.20 +    int (*SetTextureAlphaMod) (SDL_Renderer * renderer,
    1.21 +                               SDL_Texture * texture);
    1.22 +    int (*SetTextureBlendMode) (SDL_Renderer * renderer,
    1.23 +                                SDL_Texture * texture);
    1.24 +    int (*SetTextureScaleMode) (SDL_Renderer * renderer,
    1.25 +                                SDL_Texture * texture);
    1.26      int (*UpdateTexture) (SDL_Renderer * renderer, SDL_Texture * texture,
    1.27                            const SDL_Rect * rect, const void *pixels,
    1.28                            int pitch);
    1.29 @@ -75,11 +87,10 @@
    1.30      void (*UnlockTexture) (SDL_Renderer * renderer, SDL_Texture * texture);
    1.31      void (*DirtyTexture) (SDL_Renderer * renderer, SDL_Texture * texture,
    1.32                            int numrects, const SDL_Rect * rects);
    1.33 -    int (*RenderFill) (SDL_Renderer * renderer, const SDL_Rect * rect,
    1.34 -                       Uint32 color);
    1.35 +    int (*RenderFill) (SDL_Renderer * renderer, Uint8 r, Uint8 g, Uint8 b,
    1.36 +                       Uint8 a, const SDL_Rect * rect);
    1.37      int (*RenderCopy) (SDL_Renderer * renderer, SDL_Texture * texture,
    1.38 -                       const SDL_Rect * srcrect, const SDL_Rect * dstrect,
    1.39 -                       int blendMode, int scaleMode);
    1.40 +                       const SDL_Rect * srcrect, const SDL_Rect * dstrect);
    1.41      void (*RenderPresent) (SDL_Renderer * renderer);
    1.42      void (*DestroyTexture) (SDL_Renderer * renderer, SDL_Texture * texture);
    1.43