indent
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403608
This commit is contained in:
parent
3071101f22
commit
483f2ba3fb
41 changed files with 7305 additions and 7366 deletions
|
@ -174,7 +174,8 @@ void
|
|||
drawBlank(int x, int y)
|
||||
{
|
||||
SDL_Rect rect = { x, y, GLYPH_SIZE_SCREEN, GLYPH_SIZE_SCREEN };
|
||||
SDL_SetRenderDrawColor(bg_color.r, bg_color.g, bg_color.b, bg_color.unused);
|
||||
SDL_SetRenderDrawColor(bg_color.r, bg_color.g, bg_color.b,
|
||||
bg_color.unused);
|
||||
SDL_RenderFill(&rect);
|
||||
}
|
||||
|
||||
|
@ -254,7 +255,8 @@ main(int argc, char *argv[])
|
|||
loadFont();
|
||||
|
||||
/* draw the background, we'll just paint over it */
|
||||
SDL_SetRenderDrawColor(bg_color.r, bg_color.g, bg_color.b, bg_color.unused);
|
||||
SDL_SetRenderDrawColor(bg_color.r, bg_color.g, bg_color.b,
|
||||
bg_color.unused);
|
||||
SDL_RenderFill(NULL);
|
||||
SDL_RenderPresent();
|
||||
|
||||
|
|
|
@ -168,7 +168,7 @@ render(void)
|
|||
{
|
||||
int i;
|
||||
SDL_SetRenderDrawColor(50, 50, 50, 255);
|
||||
SDL_RenderFill(NULL); /* draw background (gray) */
|
||||
SDL_RenderFill(NULL); /* draw background (gray) */
|
||||
/* draw the drum buttons */
|
||||
for (i = 0; i < NUM_DRUMS; i++) {
|
||||
SDL_Color color =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue