include/SDL_video.h
changeset 3211 8c7d86ae6509
parent 3210 3272812c7eab
child 3213 1f0f9172a1ff
equal deleted inserted replaced
3210:3272812c7eab 3211:8c7d86ae6509
  1140 extern DECLSPEC void SDLCALL SDL_DirtyTexture(SDL_TextureID textureID,
  1140 extern DECLSPEC void SDLCALL SDL_DirtyTexture(SDL_TextureID textureID,
  1141                                               int numrects,
  1141                                               int numrects,
  1142                                               const SDL_Rect * rects);
  1142                                               const SDL_Rect * rects);
  1143 
  1143 
  1144 /**
  1144 /**
  1145  * \fn void SDL_SetRenderDrawColor(Uint8 r, Uint8 g, Uint8 b, Uint8 a)
  1145  * \fn int SDL_SetRenderDrawColor(Uint8 r, Uint8 g, Uint8 b, Uint8 a)
  1146  *
  1146  *
  1147  * \brief Set the color used for drawing operations (Fill and Line).
  1147  * \brief Set the color used for drawing operations (Fill and Line).
  1148  *
  1148  *
  1149  * \param r The red value used to draw on the rendering target
  1149  * \param r The red value used to draw on the rendering target
  1150  * \param g The green value used to draw on the rendering target
  1150  * \param g The green value used to draw on the rendering target
  1154  */
  1154  */
  1155 extern DECLSPEC int SDL_SetRenderDrawColor(Uint8 r, Uint8 g, Uint8 b,
  1155 extern DECLSPEC int SDL_SetRenderDrawColor(Uint8 r, Uint8 g, Uint8 b,
  1156                                            Uint8 a);
  1156                                            Uint8 a);
  1157 
  1157 
  1158 /**
  1158 /**
  1159  * \fn void SDL_GetRenderDrawColor(Uint8 * r, Uint8 * g, Uint8 * b, Uint8 * a)
  1159  * \fn int SDL_GetRenderDrawColor(Uint8 * r, Uint8 * g, Uint8 * b, Uint8 * a)
  1160  *
  1160  *
  1161  * \brief Get the color used for drawing operations (Fill and Line).
  1161  * \brief Get the color used for drawing operations (Fill and Line).
  1162  *
  1162  *
  1163  * \param r A pointer to the red value used to draw on the rendering target
  1163  * \param r A pointer to the red value used to draw on the rendering target
  1164  * \param g A pointer to the green value used to draw on the rendering target
  1164  * \param g A pointer to the green value used to draw on the rendering target