forked from len0rd/rockbox
Player graphics library extended and converted to new api. Please note that the player gfx bitmap format chas changed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6956 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
05c3cc2978
commit
93867305d5
5 changed files with 370 additions and 127 deletions
|
|
@ -30,16 +30,20 @@ bool pgfx_init(struct plugin_api* newrb, int cwidth, int cheight);
|
|||
void pgfx_release(void);
|
||||
void pgfx_display(int cx, int cy);
|
||||
void pgfx_update(void);
|
||||
|
||||
void pgfx_set_drawmode(int mode);
|
||||
int pgfx_get_drawmode(void);
|
||||
|
||||
void pgfx_clear_display(void);
|
||||
void pgfx_drawpixel(int x, int y);
|
||||
void pgfx_clearpixel(int x, int y);
|
||||
void pgfx_invertpixel(int x, int y);
|
||||
void pgfx_drawline(int x1, int y1, int x2, int y2);
|
||||
void pgfx_clearline(int x1, int y1, int x2, int y2);
|
||||
void pgfx_invertline(int x1, int y1, int x2, int y2);
|
||||
void pgfx_invertrect (int x, int y, int nx, int ny);
|
||||
void pgfx_bitmap (const unsigned char *src, int x, int y, int nx, int ny,
|
||||
bool clear);
|
||||
void pgfx_hline(int x1, int x2, int y);
|
||||
void pgfx_vline(int x, int y1, int y2);
|
||||
void pgfx_drawrect(int x, int y, int width, int height);
|
||||
void pgfx_fillrect(int x, int y, int width, int height);
|
||||
void pgfx_bitmap_part(const unsigned char *src, int src_x, int src_y,
|
||||
int stride, int x, int y, int width, int height);
|
||||
void pgfx_bitmap(const unsigned char *src, int x, int y, int width, int height);
|
||||
|
||||
#endif /* HAVE_LCD_CHARCELLS */
|
||||
#endif /* __PGFX_H__ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue