forked from len0rd/rockbox
Fixed the icon for unknown file types on the archos Player, and the bug when removing the last file on the screen in filetree, added some code for playlists integration with multi-screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7800 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
0b00108c3e
commit
f7c97522a8
8 changed files with 88 additions and 14 deletions
|
|
@ -83,6 +83,7 @@ struct screen
|
|||
void (*drawline)(int x1, int y1, int x2, int y2);
|
||||
void (*vline)(int x, int y1, int y2);
|
||||
void (*hline)(int x1, int x2, int y);
|
||||
void (*invertscroll) (int x, int y);
|
||||
#endif /* HAVE_LCD_BITMAP */
|
||||
|
||||
#ifdef HAVE_LCD_CHARCELLS
|
||||
|
|
@ -136,6 +137,17 @@ extern void screen_init(struct screen * screen, enum screen_type screen_type);
|
|||
#define screen_set_ymargin(screen, ymargin) \
|
||||
(screen)->setmargins((screen)->getxmargin(), ymargin);
|
||||
|
||||
#ifdef HAVE_LCD_BITMAP
|
||||
/*
|
||||
* Clear only a given area of the screen
|
||||
* - screen : the screen structure
|
||||
* - xstart, ystart : where the area starts
|
||||
* - width, height : size of the area
|
||||
*/
|
||||
void screen_clear_area(struct screen * display, int xstart, int ystart,
|
||||
int width, int height);
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Initializes the whole screen_access api
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue