diff options
Diffstat (limited to 'apps/credits.c')
-rw-r--r-- | apps/credits.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/apps/credits.c b/apps/credits.c index f3bbd5992b..f8b060f31c 100644 --- a/apps/credits.c +++ b/apps/credits.c | |||
@@ -19,6 +19,7 @@ | |||
19 | 19 | ||
20 | #include "credits.h" | 20 | #include "credits.h" |
21 | #include "lcd.h" | 21 | #include "lcd.h" |
22 | #include "font.h" | ||
22 | #include "kernel.h" | 23 | #include "kernel.h" |
23 | #include "button.h" | 24 | #include "button.h" |
24 | #include "sprintf.h" | 25 | #include "sprintf.h" |
@@ -64,6 +65,7 @@ char* credits[] = { | |||
64 | "Chad Lockwood", | 65 | "Chad Lockwood", |
65 | "John Pybus", | 66 | "John Pybus", |
66 | "Randy Wood", | 67 | "Randy Wood", |
68 | "Gregory Haerr", | ||
67 | }; | 69 | }; |
68 | 70 | ||
69 | #ifdef HAVE_LCD_BITMAP | 71 | #ifdef HAVE_LCD_BITMAP |
@@ -111,15 +113,15 @@ void roll_credits(void) | |||
111 | int height; | 113 | int height; |
112 | int width; | 114 | int width; |
113 | 115 | ||
114 | lcd_getfontsize(0, &width, &height); | 116 | lcd_getfontsize(FONT_UI, &width, &height); |
115 | 117 | ||
116 | while(1) { | 118 | while(1) { |
117 | lcd_clear_display(); | 119 | lcd_clear_display(); |
118 | for ( i=0; i <= (64-y)/height; i++ ) | 120 | for ( i=0; i <= (64-y)/height; i++ ) |
119 | lcd_putsxy(0, i*height+y, line+i<numnames?credits[line+i]:"", 0); | 121 | lcd_putsxy(0, i*height+y, line+i<numnames?credits[line+i]:"", FONT_UI); |
120 | snprintf(buffer, sizeof(buffer), " [Credits] %2d/%2d ", | 122 | snprintf(buffer, sizeof(buffer), " [Credits] %2d/%2d ", |
121 | line+1, numnames); | 123 | line+1, numnames); |
122 | lcd_putsxy(0, 0, buffer, 0); | 124 | lcd_putsxy(0, 0, buffer, FONT_UI); |
123 | lcd_update(); | 125 | lcd_update(); |
124 | 126 | ||
125 | if (button_get_w_tmo(HZ/20)) | 127 | if (button_get_w_tmo(HZ/20)) |