summaryrefslogtreecommitdiff
path: root/apps/plugins/lib
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/lib')
-rw-r--r--apps/plugins/lib/playergfx.c6
-rw-r--r--apps/plugins/lib/playergfx.h1
2 files changed, 7 insertions, 0 deletions
diff --git a/apps/plugins/lib/playergfx.c b/apps/plugins/lib/playergfx.c
index b6e7ccfc64..1df7a3be4c 100644
--- a/apps/plugins/lib/playergfx.c
+++ b/apps/plugins/lib/playergfx.c
@@ -85,6 +85,12 @@ void pgfx_display(int cx, int cy)
85 pgfx_rb->lcd_putc(cx + i, cy + j, gfx_chars[char_height * i + j]); 85 pgfx_rb->lcd_putc(cx + i, cy + j, gfx_chars[char_height * i + j]);
86} 86}
87 87
88void pgfx_display_block(int cx, int cy, int x, int y)
89{
90 pgfx_rb->lcd_putc(cx, cy, gfx_chars[char_height * x + y]);
91}
92
93
88/*** Update functions ***/ 94/*** Update functions ***/
89 95
90void pgfx_update(void) 96void pgfx_update(void)
diff --git a/apps/plugins/lib/playergfx.h b/apps/plugins/lib/playergfx.h
index 198d98e4ad..5f49831609 100644
--- a/apps/plugins/lib/playergfx.h
+++ b/apps/plugins/lib/playergfx.h
@@ -29,6 +29,7 @@
29bool pgfx_init(struct plugin_api* newrb, int cwidth, int cheight); 29bool pgfx_init(struct plugin_api* newrb, int cwidth, int cheight);
30void pgfx_release(void); 30void pgfx_release(void);
31void pgfx_display(int cx, int cy); 31void pgfx_display(int cx, int cy);
32void pgfx_display_block(int cx, int cy, int x, int y);
32void pgfx_update(void); 33void pgfx_update(void);
33 34
34void pgfx_set_drawmode(int mode); 35void pgfx_set_drawmode(int mode);