forked from len0rd/rockbox
plugin: implement highscore_show for player and use it in rockblox.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24861 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
adf5bbdc46
commit
c1bb06c3af
3 changed files with 49 additions and 18 deletions
|
@ -82,7 +82,6 @@ int highscore_update(int score, int level, const char *name,
|
|||
bool highscore_would_update(int score, struct highscore *scores,
|
||||
int num_scores);
|
||||
|
||||
#ifdef HAVE_LCD_BITMAP
|
||||
/* Displays a nice highscore table. In general the font is FONT_UI, but if
|
||||
* the highscore table doesn't fit on the the display size it uses
|
||||
* FONT_SYSFIXED.
|
||||
|
@ -90,7 +89,8 @@ bool highscore_would_update(int score, struct highscore *scores,
|
|||
* - position : highlight position line
|
||||
* - scores : the array of existing scores
|
||||
* - num_scores: number of elements in 'scores'
|
||||
* - show_level: whether to display the level column or not
|
||||
*/
|
||||
void highscore_show(int position, struct highscore *scores, int num_scores, bool show_level);
|
||||
#endif
|
||||
void highscore_show(int position, struct highscore *scores, int num_scores,
|
||||
bool show_level);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue