Renamed the buttonbar functions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4016 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f97756e733
commit
0a2e2c82a9
3 changed files with 6 additions and 6 deletions
|
@ -168,8 +168,8 @@ int kbd_input(char* text, int buflen)
|
|||
lcd_drawline(curpos, main_y, curpos, main_y + font_h);
|
||||
|
||||
/* draw the status bar */
|
||||
set_buttonbar("Shift", "OK", "Del");
|
||||
draw_buttonbar();
|
||||
buttonbar_set("Shift", "OK", "Del");
|
||||
buttonbar_draw();
|
||||
|
||||
/* highlight the key that has focus */
|
||||
lcd_invertrect(font_w * x, font_h * y, font_w, font_h);
|
||||
|
|
|
@ -255,7 +255,7 @@ static char stored_caption1[8];
|
|||
static char stored_caption2[8];
|
||||
static char stored_caption3[8];
|
||||
|
||||
void set_buttonbar(char* caption1, char *caption2, char *caption3)
|
||||
void buttonbar_set(char* caption1, char *caption2, char *caption3)
|
||||
{
|
||||
strncpy(stored_caption1, caption1, 7);
|
||||
stored_caption1[7] = 0;
|
||||
|
@ -265,7 +265,7 @@ void set_buttonbar(char* caption1, char *caption2, char *caption3)
|
|||
stored_caption3[7] = 0;
|
||||
}
|
||||
|
||||
void draw_buttonbar(void)
|
||||
void buttonbar_draw(void)
|
||||
{
|
||||
draw_buttonbar_btn(0, stored_caption1);
|
||||
draw_buttonbar_btn(1, stored_caption2);
|
||||
|
|
|
@ -34,8 +34,8 @@ void status_init(void);
|
|||
void status_set_playmode(enum playmode mode);
|
||||
#ifdef HAVE_LCD_BITMAP
|
||||
bool statusbar(bool state);
|
||||
void set_buttonbar(char* caption1, char* caption2, char* caption3);
|
||||
void draw_buttonbar(void);
|
||||
void buttonbar_set(char* caption1, char* caption2, char* caption3);
|
||||
void buttonbar_draw(void);
|
||||
#endif
|
||||
void status_draw(bool force_redraw);
|
||||
|
||||
|
|
Loading…
Reference in a new issue