mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 20:55:17 -05:00
Moved declarations to top
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@932 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e2b92ebeed
commit
874fccbbc9
1 changed files with 17 additions and 18 deletions
|
|
@ -100,6 +100,23 @@
|
|||
|
||||
/*** generic code ***/
|
||||
|
||||
struct scrollinfo {
|
||||
char text[128];
|
||||
int textlen;
|
||||
char offset;
|
||||
char xpos;
|
||||
char startx;
|
||||
char starty;
|
||||
char space;
|
||||
};
|
||||
|
||||
static void scroll_thread(void);
|
||||
static char scroll_stack[0x100];
|
||||
static char scroll_speed = 10; /* updates per second */
|
||||
|
||||
static struct scrollinfo scroll; /* only one scroll line at the moment */
|
||||
static bool run_scroll = false;
|
||||
|
||||
#ifndef SIMULATOR
|
||||
/*
|
||||
* About /CS,DS,SC,SD
|
||||
|
|
@ -746,24 +763,6 @@ void lcd_getfontsize(unsigned int font, int *width, int *height)
|
|||
/* no LCD defined, no code to use */
|
||||
#endif
|
||||
|
||||
|
||||
struct scrollinfo {
|
||||
char text[128];
|
||||
int textlen;
|
||||
char offset;
|
||||
char xpos;
|
||||
char startx;
|
||||
char starty;
|
||||
char space;
|
||||
};
|
||||
|
||||
static void scroll_thread(void);
|
||||
static char scroll_stack[0x100];
|
||||
static char scroll_speed = 10; /* updates per second */
|
||||
|
||||
static struct scrollinfo scroll; /* only one scroll line at the moment */
|
||||
static bool run_scroll = false;
|
||||
|
||||
void lcd_puts_scroll(int x, int y, char* string )
|
||||
{
|
||||
struct scrollinfo* s = &scroll;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue