File style cleanup for the SDL 2.0 release

This commit is contained in:
Sam Lantinga 2013-05-18 14:17:52 -07:00
parent 2ac8624930
commit 0cb6385637
376 changed files with 17562 additions and 17773 deletions

View file

@ -1,7 +1,7 @@
/*
* touch.c
* written by Holmes Futrell
* use however you want
* touch.c
* written by Holmes Futrell
* use however you want
*/
#include "SDL.h"
@ -14,8 +14,8 @@
static SDL_Texture *brush = 0; /* texture for the brush */
/*
draws a line from (startx, starty) to (startx + dx, starty + dy)
this is accomplished by drawing several blots spaced PIXELS_PER_ITERATION apart
draws a line from (startx, starty) to (startx + dx, starty + dy)
this is accomplished by drawing several blots spaced PIXELS_PER_ITERATION apart
*/
void
drawLine(SDL_Renderer *renderer, float startx, float starty, float dx, float dy)
@ -48,7 +48,7 @@ drawLine(SDL_Renderer *renderer, float startx, float starty, float dx, float dy)
}
/*
loads the brush texture
loads the brush texture
*/
void
initializeTexture(SDL_Renderer *renderer)
@ -78,7 +78,7 @@ main(int argc, char *argv[])
Uint8 state; /* mouse (touch) state */
SDL_Event event;
SDL_Window *window; /* main window */
SDL_Renderer *renderer;
SDL_Renderer *renderer;
int done; /* does user want to quit? */
/* initialize SDL */