1
0
Fork 0
forked from len0rd/rockbox

Make the lcd_gradient_* functions static - they're not exported in lcd.h

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16070 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dave Chapman 2008-01-13 09:53:32 +00:00
parent 189f9e2be9
commit 20b38238ab

View file

@ -622,7 +622,7 @@ void lcd_fillrect(int x, int y, int width, int height)
} }
/* Fill a rectangle with a gradient */ /* Fill a rectangle with a gradient */
void lcd_gradient_rect(int x1, int x2, int y, int h) static void lcd_gradient_rect(int x1, int x2, int y, int h)
{ {
int old_pattern = current_vp->fg_pattern; int old_pattern = current_vp->fg_pattern;
@ -655,8 +655,8 @@ void lcd_gradient_rect(int x1, int x2, int y, int h)
covers several lines, we need to know how many lines will be covered covers several lines, we need to know how many lines will be covered
(the num_lines arg), and which one is the current line within the selection (the num_lines arg), and which one is the current line within the selection
(the cur_line arg). */ (the cur_line arg). */
void lcd_gradient_rect_scroll(int x1, int x2, int y, int h, static void lcd_gradient_rect_scroll(int x1, int x2, int y, int h,
unsigned char num_lines, unsigned char cur_line) unsigned char num_lines, unsigned char cur_line)
{ {
if (h == 0 || num_lines == 0) return; if (h == 0 || num_lines == 0) return;