summaryrefslogtreecommitdiff
path: root/apps/plugins/flipit.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/flipit.c')
-rw-r--r--apps/plugins/flipit.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/plugins/flipit.c b/apps/plugins/flipit.c
index d8d8eeb2ec..36411c2978 100644
--- a/apps/plugins/flipit.c
+++ b/apps/plugins/flipit.c
@@ -72,9 +72,9 @@ static unsigned char cursor_pic[32] = {
72/* draw a spot at the coordinates (x,y), range of p is 0-19 */ 72/* draw a spot at the coordinates (x,y), range of p is 0-19 */
73static void draw_spot(int p) { 73static void draw_spot(int p) {
74 ptr = spot_pic[spots[p]]; 74 ptr = spot_pic[spots[p]];
75 rb->lcd_bitmap (ptr, (p%5)*16+1, (p/5)*16+1, 14, 8); 75 rb->lcd_mono_bitmap (ptr, (p%5)*16+1, (p/5)*16+1, 14, 8);
76 ptr += 14; 76 ptr += 14;
77 rb->lcd_bitmap (ptr, (p%5)*16+1, (p/5)*16+9, 14, 6); 77 rb->lcd_mono_bitmap (ptr, (p%5)*16+1, (p/5)*16+9, 14, 6);
78} 78}
79 79
80/* draw the cursor at the current cursor position */ 80/* draw the cursor at the current cursor position */
@@ -84,9 +84,9 @@ static void draw_cursor(void) {
84 j = (cursor_pos/5)*16; 84 j = (cursor_pos/5)*16;
85 rb->lcd_set_drawmode(DRMODE_FG); 85 rb->lcd_set_drawmode(DRMODE_FG);
86 ptr = cursor_pic; 86 ptr = cursor_pic;
87 rb->lcd_bitmap (ptr, i, j, 16, 8); 87 rb->lcd_mono_bitmap (ptr, i, j, 16, 8);
88 ptr += 16; 88 ptr += 16;
89 rb->lcd_bitmap (ptr, i, j+8, 16, 8); 89 rb->lcd_mono_bitmap (ptr, i, j+8, 16, 8);
90 rb->lcd_set_drawmode(DRMODE_SOLID); 90 rb->lcd_set_drawmode(DRMODE_SOLID);
91} 91}
92 92