Permalink
Browse files

make LEDs smaller

  • Loading branch information...
1 parent 1e193bc commit 1124965b8b3bfc9f8c59a65327fd35e8994c6586 @sebseb7 committed Nov 22, 2011
Showing with 4 additions and 4 deletions.
  1. +1 −1 firmware/sim/main.c
  2. +3 −3 firmware/sim/sdl_draw/SDL_draw.h
View
@@ -111,7 +111,7 @@ int main(int argc, char *argv[]) {
int x, y;
for(x = 0; x < LED_WIDTH; x++) {
for(y = 0; y < LED_HEIGHT; y++) {
- Draw_FillCircle(screen, ZOOM*x+(ZOOM/2),ZOOM*(LED_HEIGHT - y - 1)+(ZOOM/2), (ZOOM*0.4), color[leds[y][x]]);
+ Draw_FillCircle(screen, ZOOM*x+(ZOOM/2),ZOOM*(LED_HEIGHT - y - 1)+(ZOOM/2), (ZOOM*0.35), color[leds[y][x]]);
}
}
SDL_Flip(screen);
@@ -24,8 +24,8 @@
#ifndef SDL_DRAW_H
#define SDL_DRAW_H
-#include "SDL.h"
-#include "begin_code.h"
+#include "SDL/SDL.h"
+#include "SDL/begin_code.h"
#ifdef __cplusplus
extern "C" {
@@ -106,7 +106,7 @@ void (*Draw_FillRound)(SDL_Surface *super,
} /* extern "C" */
#endif
-#include "close_code.h"
+#include "SDL/close_code.h"
#endif /* SDL_DRAW_H */

0 comments on commit 1124965

Please sign in to comment.