mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 10:37:38 -04:00
fix yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17592 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
b4275d4941
commit
5f796087b0
1 changed files with 17 additions and 17 deletions
|
@ -27,23 +27,6 @@ static const char* const credits[] = {
|
||||||
#include "credits.raw" /* generated list of names from docs/CREDITS */
|
#include "credits.raw" /* generated list of names from docs/CREDITS */
|
||||||
};
|
};
|
||||||
|
|
||||||
static bool stop_autoscroll(int action)
|
|
||||||
{
|
|
||||||
switch (action)
|
|
||||||
{
|
|
||||||
case ACTION_STD_CANCEL:
|
|
||||||
case ACTION_STD_OK:
|
|
||||||
case ACTION_STD_NEXT:
|
|
||||||
case ACTION_STD_NEXTREPEAT:
|
|
||||||
case ACTION_STD_PREV:
|
|
||||||
case ACTION_STD_PREVREPEAT:
|
|
||||||
return true;
|
|
||||||
default:
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
#ifdef HAVE_LCD_CHARCELLS
|
#ifdef HAVE_LCD_CHARCELLS
|
||||||
|
|
||||||
static void roll_credits(void)
|
static void roll_credits(void)
|
||||||
|
@ -107,6 +90,23 @@ static void roll_credits(void)
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
|
static bool stop_autoscroll(int action)
|
||||||
|
{
|
||||||
|
switch (action)
|
||||||
|
{
|
||||||
|
case ACTION_STD_CANCEL:
|
||||||
|
case ACTION_STD_OK:
|
||||||
|
case ACTION_STD_NEXT:
|
||||||
|
case ACTION_STD_NEXTREPEAT:
|
||||||
|
case ACTION_STD_PREV:
|
||||||
|
case ACTION_STD_PREVREPEAT:
|
||||||
|
return true;
|
||||||
|
default:
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
static int update_rowpos(int action, int cur_pos, int rows_per_screen, int tot_rows)
|
static int update_rowpos(int action, int cur_pos, int rows_per_screen, int tot_rows)
|
||||||
{
|
{
|
||||||
switch(action)
|
switch(action)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue