diff options
-rw-r--r-- | apps/recorder/keyboard.c | 4 | ||||
-rw-r--r-- | apps/status.c | 4 | ||||
-rw-r--r-- | apps/status.h | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/apps/recorder/keyboard.c b/apps/recorder/keyboard.c index 95b2cb3386..b4630d3e7d 100644 --- a/apps/recorder/keyboard.c +++ b/apps/recorder/keyboard.c | |||
@@ -168,8 +168,8 @@ int kbd_input(char* text, int buflen) | |||
168 | lcd_drawline(curpos, main_y, curpos, main_y + font_h); | 168 | lcd_drawline(curpos, main_y, curpos, main_y + font_h); |
169 | 169 | ||
170 | /* draw the status bar */ | 170 | /* draw the status bar */ |
171 | set_buttonbar("Shift", "OK", "Del"); | 171 | buttonbar_set("Shift", "OK", "Del"); |
172 | draw_buttonbar(); | 172 | buttonbar_draw(); |
173 | 173 | ||
174 | /* highlight the key that has focus */ | 174 | /* highlight the key that has focus */ |
175 | lcd_invertrect(font_w * x, font_h * y, font_w, font_h); | 175 | lcd_invertrect(font_w * x, font_h * y, font_w, font_h); |
diff --git a/apps/status.c b/apps/status.c index a1e01106bc..01929e4540 100644 --- a/apps/status.c +++ b/apps/status.c | |||
@@ -255,7 +255,7 @@ static char stored_caption1[8]; | |||
255 | static char stored_caption2[8]; | 255 | static char stored_caption2[8]; |
256 | static char stored_caption3[8]; | 256 | static char stored_caption3[8]; |
257 | 257 | ||
258 | void set_buttonbar(char* caption1, char *caption2, char *caption3) | 258 | void buttonbar_set(char* caption1, char *caption2, char *caption3) |
259 | { | 259 | { |
260 | strncpy(stored_caption1, caption1, 7); | 260 | strncpy(stored_caption1, caption1, 7); |
261 | stored_caption1[7] = 0; | 261 | stored_caption1[7] = 0; |
@@ -265,7 +265,7 @@ void set_buttonbar(char* caption1, char *caption2, char *caption3) | |||
265 | stored_caption3[7] = 0; | 265 | stored_caption3[7] = 0; |
266 | } | 266 | } |
267 | 267 | ||
268 | void draw_buttonbar(void) | 268 | void buttonbar_draw(void) |
269 | { | 269 | { |
270 | draw_buttonbar_btn(0, stored_caption1); | 270 | draw_buttonbar_btn(0, stored_caption1); |
271 | draw_buttonbar_btn(1, stored_caption2); | 271 | draw_buttonbar_btn(1, stored_caption2); |
diff --git a/apps/status.h b/apps/status.h index 1331351523..72a490f499 100644 --- a/apps/status.h +++ b/apps/status.h | |||
@@ -34,8 +34,8 @@ void status_init(void); | |||
34 | void status_set_playmode(enum playmode mode); | 34 | void status_set_playmode(enum playmode mode); |
35 | #ifdef HAVE_LCD_BITMAP | 35 | #ifdef HAVE_LCD_BITMAP |
36 | bool statusbar(bool state); | 36 | bool statusbar(bool state); |
37 | void set_buttonbar(char* caption1, char* caption2, char* caption3); | 37 | void buttonbar_set(char* caption1, char* caption2, char* caption3); |
38 | void draw_buttonbar(void); | 38 | void buttonbar_draw(void); |
39 | #endif | 39 | #endif |
40 | void status_draw(bool force_redraw); | 40 | void status_draw(bool force_redraw); |
41 | 41 | ||