diff options
Diffstat (limited to 'apps/plugins/lib/playergfx.h')
-rw-r--r-- | apps/plugins/lib/playergfx.h | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/apps/plugins/lib/playergfx.h b/apps/plugins/lib/playergfx.h index ced484398e..a0e3973dd4 100644 --- a/apps/plugins/lib/playergfx.h +++ b/apps/plugins/lib/playergfx.h | |||
@@ -30,16 +30,20 @@ bool pgfx_init(struct plugin_api* newrb, int cwidth, int cheight); | |||
30 | void pgfx_release(void); | 30 | void pgfx_release(void); |
31 | void pgfx_display(int cx, int cy); | 31 | void pgfx_display(int cx, int cy); |
32 | void pgfx_update(void); | 32 | void pgfx_update(void); |
33 | |||
34 | void pgfx_set_drawmode(int mode); | ||
35 | int pgfx_get_drawmode(void); | ||
36 | |||
33 | void pgfx_clear_display(void); | 37 | void pgfx_clear_display(void); |
34 | void pgfx_drawpixel(int x, int y); | 38 | void pgfx_drawpixel(int x, int y); |
35 | void pgfx_clearpixel(int x, int y); | ||
36 | void pgfx_invertpixel(int x, int y); | ||
37 | void pgfx_drawline(int x1, int y1, int x2, int y2); | 39 | void pgfx_drawline(int x1, int y1, int x2, int y2); |
38 | void pgfx_clearline(int x1, int y1, int x2, int y2); | 40 | void pgfx_hline(int x1, int x2, int y); |
39 | void pgfx_invertline(int x1, int y1, int x2, int y2); | 41 | void pgfx_vline(int x, int y1, int y2); |
40 | void pgfx_invertrect (int x, int y, int nx, int ny); | 42 | void pgfx_drawrect(int x, int y, int width, int height); |
41 | void pgfx_bitmap (const unsigned char *src, int x, int y, int nx, int ny, | 43 | void pgfx_fillrect(int x, int y, int width, int height); |
42 | bool clear); | 44 | void pgfx_bitmap_part(const unsigned char *src, int src_x, int src_y, |
45 | int stride, int x, int y, int width, int height); | ||
46 | void pgfx_bitmap(const unsigned char *src, int x, int y, int width, int height); | ||
43 | 47 | ||
44 | #endif /* HAVE_LCD_CHARCELLS */ | 48 | #endif /* HAVE_LCD_CHARCELLS */ |
45 | #endif /* __PGFX_H__ */ | 49 | #endif /* __PGFX_H__ */ |