summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/bounce.c10
-rw-r--r--apps/plugins/chessclock.c2
-rw-r--r--apps/plugins/chip8.c2
-rw-r--r--apps/plugins/clock.c200
-rw-r--r--apps/plugins/flipit.c8
-rw-r--r--apps/plugins/logo.c2
-rw-r--r--apps/plugins/minesweeper.c2
-rw-r--r--apps/plugins/rockboy/lcd-gb.h2
-rw-r--r--apps/plugins/rockboy/lcd.c4
-rw-r--r--apps/plugins/rockboy/sys_rockbox.c8
-rw-r--r--apps/plugins/sliding_puzzle.c2
-rw-r--r--apps/plugins/snake2.c6
-rw-r--r--apps/plugins/snow.c4
-rw-r--r--apps/plugins/solitaire.c12
-rw-r--r--apps/plugins/splitedit.c8
-rw-r--r--apps/plugins/star.c52
-rw-r--r--apps/plugins/vu_meter.c48
17 files changed, 186 insertions, 186 deletions
diff --git a/apps/plugins/bounce.c b/apps/plugins/bounce.c
index 98dcd5ff66..676d8fe169 100644
--- a/apps/plugins/bounce.c
+++ b/apps/plugins/bounce.c
@@ -309,8 +309,8 @@ static int scrollit(void)
309 for(i=0, yy=y, xx=x; i< LETTERS_ON_SCREEN; i++) { 309 for(i=0, yy=y, xx=x; i< LETTERS_ON_SCREEN; i++) {
310 letter = rock[(i+textpos) % rocklen ]; 310 letter = rock[(i+textpos) % rocklen ];
311 311
312 rb->lcd_bitmap((char *)char_gen_12x16[letter-0x20], 312 rb->lcd_mono_bitmap((char *)char_gen_12x16[letter-0x20],
313 xx, table[yy&(TABLE_SIZE-1)], 11, 16); 313 xx, table[yy&(TABLE_SIZE-1)], 11, 16);
314 yy += YADD; 314 yy += YADD;
315 xx+= LCD_WIDTH/LETTERS_ON_SCREEN; 315 xx+= LCD_WIDTH/LETTERS_ON_SCREEN;
316 } 316 }
@@ -399,9 +399,9 @@ static int loopit(void)
399 for(i=0, yy=y, xx=x; 399 for(i=0, yy=y, xx=x;
400 i<rocklen; 400 i<rocklen;
401 i++, yy+=values[NUM_YDIST].num, xx+=values[NUM_XDIST].num) 401 i++, yy+=values[NUM_YDIST].num, xx+=values[NUM_XDIST].num)
402 rb->lcd_bitmap((char *)char_gen_12x16[rock[i]-0x20], 402 rb->lcd_mono_bitmap((char *)char_gen_12x16[rock[i]-0x20],
403 xtable[xx&(TABLE_SIZE-1)], table[yy&(TABLE_SIZE-1)], 403 xtable[xx&(TABLE_SIZE-1)],
404 11, 16); 404 table[yy&(TABLE_SIZE-1)], 11, 16);
405 rb->lcd_update(); 405 rb->lcd_update();
406 rb->lcd_set_drawmode(DRMODE_SOLID); 406 rb->lcd_set_drawmode(DRMODE_SOLID);
407 407
diff --git a/apps/plugins/chessclock.c b/apps/plugins/chessclock.c
index 1c394df9de..d81b71ee44 100644
--- a/apps/plugins/chessclock.c
+++ b/apps/plugins/chessclock.c
@@ -215,7 +215,7 @@ static void show_pause_mode(bool enabled)
215 static const char pause_icon[] = {0x00,0x7f,0x7f,0x00,0x7f,0x7f,0x00}; 215 static const char pause_icon[] = {0x00,0x7f,0x7f,0x00,0x7f,0x7f,0x00};
216 216
217 if (enabled) 217 if (enabled)
218 rb->lcd_bitmap(pause_icon, 52, 0, 7, 8); 218 rb->lcd_mono_bitmap(pause_icon, 52, 0, 7, 8);
219 else 219 else
220 { 220 {
221 rb->lcd_set_drawmode(DRMODE_SOLID|DRMODE_INVERSEVID); 221 rb->lcd_set_drawmode(DRMODE_SOLID|DRMODE_INVERSEVID);
diff --git a/apps/plugins/chip8.c b/apps/plugins/chip8.c
index fab5eab102..e990742c9f 100644
--- a/apps/plugins/chip8.c
+++ b/apps/plugins/chip8.c
@@ -1062,7 +1062,7 @@ static void chip8_update_display(void)
1062 } 1062 }
1063#ifdef SIMULATOR 1063#ifdef SIMULATOR
1064 rb->lcd_set_drawmode(DRMODE_SOLID); 1064 rb->lcd_set_drawmode(DRMODE_SOLID);
1065 rb->lcd_bitmap(lcd_framebuf[0], CHIP8_X, CHIP8_Y, CHIP8_LCDWIDTH, CHIP8_HEIGHT); 1065 rb->lcd_mono_bitmap(lcd_framebuf[0], CHIP8_X, CHIP8_Y, CHIP8_LCDWIDTH, CHIP8_HEIGHT);
1066 rb->lcd_update(); 1066 rb->lcd_update();
1067#else 1067#else
1068 rb->lcd_blit(lcd_framebuf[0], CHIP8_X, CHIP8_Y>>3, CHIP8_LCDWIDTH, CHIP8_HEIGHT>>3 1068 rb->lcd_blit(lcd_framebuf[0], CHIP8_X, CHIP8_Y>>3, CHIP8_LCDWIDTH, CHIP8_HEIGHT>>3
diff --git a/apps/plugins/clock.c b/apps/plugins/clock.c
index bddda15f5f..6830c74d53 100644
--- a/apps/plugins/clock.c
+++ b/apps/plugins/clock.c
@@ -788,9 +788,9 @@ bool colon, bool lcd)
788 if(settings.digital_12h) 788 if(settings.digital_12h)
789 { 789 {
790 if(hour > 12) 790 if(hour > 12)
791 rb->lcd_bitmap(pm, 97, 55, 15, 8); 791 rb->lcd_mono_bitmap(pm, 97, 55, 15, 8);
792 else 792 else
793 rb->lcd_bitmap(am, 1, 55, 15, 8); 793 rb->lcd_mono_bitmap(am, 1, 55, 15, 8);
794 } 794 }
795 } 795 }
796 else 796 else
@@ -798,9 +798,9 @@ bool colon, bool lcd)
798 if(settings.lcd_12h) 798 if(settings.lcd_12h)
799 { 799 {
800 if(hour > 12) 800 if(hour > 12)
801 rb->lcd_bitmap(pm, 97, 55, 15, 8); 801 rb->lcd_mono_bitmap(pm, 97, 55, 15, 8);
802 else 802 else
803 rb->lcd_bitmap(am, 1, 55, 15, 8); 803 rb->lcd_mono_bitmap(am, 1, 55, 15, 8);
804 } 804 }
805 } 805 }
806 806
@@ -881,138 +881,138 @@ void binary(int hour, int minute, int second)
881 *****/ 881 *****/
882 if(temphour >= 32) 882 if(temphour >= 32)
883 { 883 {
884 rb->lcd_bitmap(bitmap_1, 0, 1, 15, 20); 884 rb->lcd_mono_bitmap(bitmap_1, 0, 1, 15, 20);
885 temphour -= 32; 885 temphour -= 32;
886 } 886 }
887 else 887 else
888 rb->lcd_bitmap(bitmap_0, 0, 1, 15, 20); 888 rb->lcd_mono_bitmap(bitmap_0, 0, 1, 15, 20);
889 if(temphour >= 16) 889 if(temphour >= 16)
890 { 890 {
891 rb->lcd_bitmap(bitmap_1, 19, 1, 15, 20); 891 rb->lcd_mono_bitmap(bitmap_1, 19, 1, 15, 20);
892 temphour -= 16; 892 temphour -= 16;
893 } 893 }
894 else 894 else
895 rb->lcd_bitmap(bitmap_0, 19, 1, 15, 20); 895 rb->lcd_mono_bitmap(bitmap_0, 19, 1, 15, 20);
896 if(temphour >= 8) 896 if(temphour >= 8)
897 { 897 {
898 rb->lcd_bitmap(bitmap_1, 38, 1, 15, 20); 898 rb->lcd_mono_bitmap(bitmap_1, 38, 1, 15, 20);
899 temphour -= 8; 899 temphour -= 8;
900 } 900 }
901 else 901 else
902 rb->lcd_bitmap(bitmap_0, 38, 1, 15, 20); 902 rb->lcd_mono_bitmap(bitmap_0, 38, 1, 15, 20);
903 if(temphour >= 4) 903 if(temphour >= 4)
904 { 904 {
905 rb->lcd_bitmap(bitmap_1, 57, 1, 15, 20); 905 rb->lcd_mono_bitmap(bitmap_1, 57, 1, 15, 20);
906 temphour -= 4; 906 temphour -= 4;
907 } 907 }
908 else 908 else
909 rb->lcd_bitmap(bitmap_0, 57, 1, 15, 20); 909 rb->lcd_mono_bitmap(bitmap_0, 57, 1, 15, 20);
910 if(temphour >= 2) 910 if(temphour >= 2)
911 { 911 {
912 rb->lcd_bitmap(bitmap_1, 76, 1, 15, 20); 912 rb->lcd_mono_bitmap(bitmap_1, 76, 1, 15, 20);
913 temphour -= 2; 913 temphour -= 2;
914 } 914 }
915 else 915 else
916 rb->lcd_bitmap(bitmap_0, 76, 1, 15, 20); 916 rb->lcd_mono_bitmap(bitmap_0, 76, 1, 15, 20);
917 if(temphour >= 1) 917 if(temphour >= 1)
918 { 918 {
919 rb->lcd_bitmap(bitmap_1, 95, 1, 15, 20); 919 rb->lcd_mono_bitmap(bitmap_1, 95, 1, 15, 20);
920 temphour -= 1; 920 temphour -= 1;
921 } 921 }
922 else 922 else
923 rb->lcd_bitmap(bitmap_0, 95, 1, 15, 20); 923 rb->lcd_mono_bitmap(bitmap_0, 95, 1, 15, 20);
924 924
925 /********* 925 /*********
926 * MINUTES 926 * MINUTES
927 ********/ 927 ********/
928 if(tempmin >= 32) 928 if(tempmin >= 32)
929 { 929 {
930 rb->lcd_bitmap(bitmap_1, 0, 21, 15, 20); 930 rb->lcd_mono_bitmap(bitmap_1, 0, 21, 15, 20);
931 tempmin -= 32; 931 tempmin -= 32;
932 } 932 }
933 else 933 else
934 rb->lcd_bitmap(bitmap_0, 0, 21, 15, 20); 934 rb->lcd_mono_bitmap(bitmap_0, 0, 21, 15, 20);
935 if(tempmin >= 16) 935 if(tempmin >= 16)
936 { 936 {
937 rb->lcd_bitmap(bitmap_1, 19, 21, 15, 20); 937 rb->lcd_mono_bitmap(bitmap_1, 19, 21, 15, 20);
938 tempmin -= 16; 938 tempmin -= 16;
939 } 939 }
940 else 940 else
941 rb->lcd_bitmap(bitmap_0, 19, 21, 15, 20); 941 rb->lcd_mono_bitmap(bitmap_0, 19, 21, 15, 20);
942 if(tempmin >= 8) 942 if(tempmin >= 8)
943 { 943 {
944 rb->lcd_bitmap(bitmap_1, 38, 21, 15, 20); 944 rb->lcd_mono_bitmap(bitmap_1, 38, 21, 15, 20);
945 tempmin -= 8; 945 tempmin -= 8;
946 } 946 }
947 else 947 else
948 rb->lcd_bitmap(bitmap_0, 38, 21, 15, 20); 948 rb->lcd_mono_bitmap(bitmap_0, 38, 21, 15, 20);
949 if(tempmin >= 4) 949 if(tempmin >= 4)
950 { 950 {
951 rb->lcd_bitmap(bitmap_1, 57, 21, 15, 20); 951 rb->lcd_mono_bitmap(bitmap_1, 57, 21, 15, 20);
952 tempmin -= 4; 952 tempmin -= 4;
953 } 953 }
954 else 954 else
955 rb->lcd_bitmap(bitmap_0, 57, 21, 15, 20); 955 rb->lcd_mono_bitmap(bitmap_0, 57, 21, 15, 20);
956 if(tempmin >= 2) 956 if(tempmin >= 2)
957 { 957 {
958 rb->lcd_bitmap(bitmap_1, 76, 21, 15, 20); 958 rb->lcd_mono_bitmap(bitmap_1, 76, 21, 15, 20);
959 tempmin -= 2; 959 tempmin -= 2;
960 } 960 }
961 else 961 else
962 rb->lcd_bitmap(bitmap_0, 76, 21, 15, 20); 962 rb->lcd_mono_bitmap(bitmap_0, 76, 21, 15, 20);
963 if(tempmin >= 1) 963 if(tempmin >= 1)
964 { 964 {
965 rb->lcd_bitmap(bitmap_1, 95, 21, 15, 20); 965 rb->lcd_mono_bitmap(bitmap_1, 95, 21, 15, 20);
966 tempmin -= 1; 966 tempmin -= 1;
967 } 967 }
968 else 968 else
969 rb->lcd_bitmap(bitmap_0, 95, 21, 15, 20); 969 rb->lcd_mono_bitmap(bitmap_0, 95, 21, 15, 20);
970 970
971 /********* 971 /*********
972 * SECONDS 972 * SECONDS
973 ********/ 973 ********/
974 if(tempsec >= 32) 974 if(tempsec >= 32)
975 { 975 {
976 rb->lcd_bitmap(bitmap_1, 0, 42, 15, 20); 976 rb->lcd_mono_bitmap(bitmap_1, 0, 42, 15, 20);
977 tempsec -= 32; 977 tempsec -= 32;
978 } 978 }
979 else 979 else
980 rb->lcd_bitmap(bitmap_0, 0, 42, 15, 20); 980 rb->lcd_mono_bitmap(bitmap_0, 0, 42, 15, 20);
981 if(tempsec >= 16) 981 if(tempsec >= 16)
982 { 982 {
983 rb->lcd_bitmap(bitmap_1, 19, 42, 15, 20); 983 rb->lcd_mono_bitmap(bitmap_1, 19, 42, 15, 20);
984 tempsec -= 16; 984 tempsec -= 16;
985 } 985 }
986 else 986 else
987 rb->lcd_bitmap(bitmap_0, 19, 42, 15, 20); 987 rb->lcd_mono_bitmap(bitmap_0, 19, 42, 15, 20);
988 if(tempsec >= 8) 988 if(tempsec >= 8)
989 { 989 {
990 rb->lcd_bitmap(bitmap_1, 38, 42, 15, 20); 990 rb->lcd_mono_bitmap(bitmap_1, 38, 42, 15, 20);
991 tempsec -= 8; 991 tempsec -= 8;
992 } 992 }
993 else 993 else
994 rb->lcd_bitmap(bitmap_0, 38, 42, 15, 20); 994 rb->lcd_mono_bitmap(bitmap_0, 38, 42, 15, 20);
995 if(tempsec >= 4) 995 if(tempsec >= 4)
996 { 996 {
997 rb->lcd_bitmap(bitmap_1, 57, 42, 15, 20); 997 rb->lcd_mono_bitmap(bitmap_1, 57, 42, 15, 20);
998 tempsec -= 4; 998 tempsec -= 4;
999 } 999 }
1000 else 1000 else
1001 rb->lcd_bitmap(bitmap_0, 57, 42, 15, 20); 1001 rb->lcd_mono_bitmap(bitmap_0, 57, 42, 15, 20);
1002 if(tempsec >= 2) 1002 if(tempsec >= 2)
1003 { 1003 {
1004 rb->lcd_bitmap(bitmap_1, 76, 42, 15, 20); 1004 rb->lcd_mono_bitmap(bitmap_1, 76, 42, 15, 20);
1005 tempsec -= 2; 1005 tempsec -= 2;
1006 } 1006 }
1007 else 1007 else
1008 rb->lcd_bitmap(bitmap_0, 76, 42, 15, 20); 1008 rb->lcd_mono_bitmap(bitmap_0, 76, 42, 15, 20);
1009 if(tempsec >= 1) 1009 if(tempsec >= 1)
1010 { 1010 {
1011 rb->lcd_bitmap(bitmap_1, 95, 42, 15, 20); 1011 rb->lcd_mono_bitmap(bitmap_1, 95, 42, 15, 20);
1012 tempsec -= 1; 1012 tempsec -= 1;
1013 } 1013 }
1014 else 1014 else
1015 rb->lcd_bitmap(bitmap_0, 95, 42, 15, 20); 1015 rb->lcd_mono_bitmap(bitmap_0, 95, 42, 15, 20);
1016 1016
1017 rb->lcd_update(); 1017 rb->lcd_update();
1018} 1018}
@@ -1039,7 +1039,7 @@ void show_logo(bool animate, bool show_clock_text)
1039 rb->lcd_drawline(0, y_position/2-1, 111, y_position/2-1); 1039 rb->lcd_drawline(0, y_position/2-1, 111, y_position/2-1);
1040 rb->lcd_drawline(0, y_position/2+38, 111, y_position/2+38); 1040 rb->lcd_drawline(0, y_position/2+38, 111, y_position/2+38);
1041 rb->lcd_set_drawmode(DRMODE_SOLID); 1041 rb->lcd_set_drawmode(DRMODE_SOLID);
1042 rb->lcd_bitmap(clogo, 0, y_position/2, 112, 37); 1042 rb->lcd_mono_bitmap(clogo, 0, y_position/2, 112, 37);
1043 if(show_clock_text) 1043 if(show_clock_text)
1044 rb->lcd_putsxy(LCD_WIDTH/2-buf_w/2, 48, buf); 1044 rb->lcd_putsxy(LCD_WIDTH/2-buf_w/2, 48, buf);
1045 rb->lcd_update(); 1045 rb->lcd_update();
@@ -1051,7 +1051,7 @@ void show_logo(bool animate, bool show_clock_text)
1051 rb->lcd_drawline(0, y_position/2-1, 111, y_position/2-1); 1051 rb->lcd_drawline(0, y_position/2-1, 111, y_position/2-1);
1052 rb->lcd_drawline(0, y_position/2+38, 111, y_position/2+38); 1052 rb->lcd_drawline(0, y_position/2+38, 111, y_position/2+38);
1053 rb->lcd_set_drawmode(DRMODE_SOLID); 1053 rb->lcd_set_drawmode(DRMODE_SOLID);
1054 rb->lcd_bitmap(clogo, 0, y_position/2, 112, 37); 1054 rb->lcd_mono_bitmap(clogo, 0, y_position/2, 112, 37);
1055 if(show_clock_text) 1055 if(show_clock_text)
1056 rb->lcd_putsxy(LCD_WIDTH/2-buf_w/2, 48, buf); 1056 rb->lcd_putsxy(LCD_WIDTH/2-buf_w/2, 48, buf);
1057 rb->lcd_update(); 1057 rb->lcd_update();
@@ -1063,7 +1063,7 @@ void show_logo(bool animate, bool show_clock_text)
1063 rb->lcd_drawline(0, y_position/2-1, 111, y_position/2-1); 1063 rb->lcd_drawline(0, y_position/2-1, 111, y_position/2-1);
1064 rb->lcd_drawline(0, y_position/2+38, 111, y_position/2+38); 1064 rb->lcd_drawline(0, y_position/2+38, 111, y_position/2+38);
1065 rb->lcd_set_drawmode(DRMODE_SOLID); 1065 rb->lcd_set_drawmode(DRMODE_SOLID);
1066 rb->lcd_bitmap(clogo, 0, y_position/2, 112, 37); 1066 rb->lcd_mono_bitmap(clogo, 0, y_position/2, 112, 37);
1067 if(show_clock_text) 1067 if(show_clock_text)
1068 rb->lcd_putsxy(LCD_WIDTH/2-buf_w/2, 48, buf); 1068 rb->lcd_putsxy(LCD_WIDTH/2-buf_w/2, 48, buf);
1069 rb->lcd_update(); 1069 rb->lcd_update();
@@ -1071,7 +1071,7 @@ void show_logo(bool animate, bool show_clock_text)
1071 } 1071 }
1072 else /* don't animate, just show */ 1072 else /* don't animate, just show */
1073 { 1073 {
1074 rb->lcd_bitmap(clogo, 0, 10, 112, 37); 1074 rb->lcd_mono_bitmap(clogo, 0, 10, 112, 37);
1075 if(show_clock_text) 1075 if(show_clock_text)
1076 rb->lcd_putsxy(LCD_WIDTH/2-buf_w/2, 48, buf); 1076 rb->lcd_putsxy(LCD_WIDTH/2-buf_w/2, 48, buf);
1077 rb->lcd_update(); 1077 rb->lcd_update();
@@ -1094,7 +1094,7 @@ void exit_logo(void)
1094 rb->lcd_set_drawmode(DRMODE_SOLID|DRMODE_INVERSEVID); 1094 rb->lcd_set_drawmode(DRMODE_SOLID|DRMODE_INVERSEVID);
1095 rb->lcd_drawline(0, y_position/2-1, 111, y_position/2-1); 1095 rb->lcd_drawline(0, y_position/2-1, 111, y_position/2-1);
1096 rb->lcd_set_drawmode(DRMODE_SOLID); 1096 rb->lcd_set_drawmode(DRMODE_SOLID);
1097 rb->lcd_bitmap(clogo, 0, y_position/2, 112, 37); 1097 rb->lcd_mono_bitmap(clogo, 0, y_position/2, 112, 37);
1098 rb->lcd_update(); 1098 rb->lcd_update();
1099 } 1099 }
1100} 1100}
@@ -1511,9 +1511,9 @@ bool f1_screen(void)
1511void draw_checkbox(bool setting, int x, int y) 1511void draw_checkbox(bool setting, int x, int y)
1512{ 1512{
1513 if(setting) /* checkbox is on */ 1513 if(setting) /* checkbox is on */
1514 rb->lcd_bitmap(checkbox_full, x, y, 8, 6); 1514 rb->lcd_mono_bitmap(checkbox_full, x, y, 8, 6);
1515 else /* checkbox is off */ 1515 else /* checkbox is off */
1516 rb->lcd_bitmap(checkbox_empty, x, y, 8, 6); 1516 rb->lcd_mono_bitmap(checkbox_empty, x, y, 8, 6);
1517} 1517}
1518 1518
1519void draw_settings(void) 1519void draw_settings(void)
@@ -1544,18 +1544,18 @@ void draw_settings(void)
1544 draw_checkbox(settings.analog_digits, 1, 33); 1544 draw_checkbox(settings.analog_digits, 1, 33);
1545 1545
1546 if(settings.analog_date == 0) 1546 if(settings.analog_date == 0)
1547 rb->lcd_bitmap(checkbox_empty, 1, 41, 8, 6); 1547 rb->lcd_mono_bitmap(checkbox_empty, 1, 41, 8, 6);
1548 else if(settings.analog_date == 1) 1548 else if(settings.analog_date == 1)
1549 rb->lcd_bitmap(checkbox_half, 1, 41, 8, 6); 1549 rb->lcd_mono_bitmap(checkbox_half, 1, 41, 8, 6);
1550 else 1550 else
1551 rb->lcd_bitmap(checkbox_full, 1, 41, 8, 6); 1551 rb->lcd_mono_bitmap(checkbox_full, 1, 41, 8, 6);
1552 1552
1553 if(settings.analog_time == 0) 1553 if(settings.analog_time == 0)
1554 rb->lcd_bitmap(checkbox_empty, 1, 49, 8, 6); 1554 rb->lcd_mono_bitmap(checkbox_empty, 1, 49, 8, 6);
1555 else if(settings.analog_time == 1) 1555 else if(settings.analog_time == 1)
1556 rb->lcd_bitmap(checkbox_half, 1, 49, 8, 6); 1556 rb->lcd_mono_bitmap(checkbox_half, 1, 49, 8, 6);
1557 else 1557 else
1558 rb->lcd_bitmap(checkbox_full, 1, 49, 8, 6); 1558 rb->lcd_mono_bitmap(checkbox_full, 1, 49, 8, 6);
1559 1559
1560 draw_checkbox(settings.analog_secondhand, 1, 57); 1560 draw_checkbox(settings.analog_secondhand, 1, 57);
1561 } 1561 }
@@ -1584,20 +1584,20 @@ void draw_settings(void)
1584 1584
1585 /* Draw checkboxes */ 1585 /* Draw checkboxes */
1586 if(settings.digital_date == 0) 1586 if(settings.digital_date == 0)
1587 rb->lcd_bitmap(checkbox_empty, 1, 33, 8, 6); 1587 rb->lcd_mono_bitmap(checkbox_empty, 1, 33, 8, 6);
1588 else if(settings.digital_date == 1) 1588 else if(settings.digital_date == 1)
1589 rb->lcd_bitmap(checkbox_half, 1, 33, 8, 6); 1589 rb->lcd_mono_bitmap(checkbox_half, 1, 33, 8, 6);
1590 else 1590 else
1591 rb->lcd_bitmap(checkbox_full, 1, 33, 8, 6); 1591 rb->lcd_mono_bitmap(checkbox_full, 1, 33, 8, 6);
1592 1592
1593 if(settings.digital_seconds == 0) 1593 if(settings.digital_seconds == 0)
1594 rb->lcd_bitmap(checkbox_empty, 1, 41, 8, 6); 1594 rb->lcd_mono_bitmap(checkbox_empty, 1, 41, 8, 6);
1595 else if(settings.digital_seconds == 1) 1595 else if(settings.digital_seconds == 1)
1596 rb->lcd_bitmap(checkbox_onethird, 1, 41, 8, 6); 1596 rb->lcd_mono_bitmap(checkbox_onethird, 1, 41, 8, 6);
1597 else if(settings.digital_seconds == 2) 1597 else if(settings.digital_seconds == 2)
1598 rb->lcd_bitmap(checkbox_twothird, 1, 41, 8, 6); 1598 rb->lcd_mono_bitmap(checkbox_twothird, 1, 41, 8, 6);
1599 else 1599 else
1600 rb->lcd_bitmap(checkbox_full, 1, 41, 8, 6); 1600 rb->lcd_mono_bitmap(checkbox_full, 1, 41, 8, 6);
1601 1601
1602 draw_checkbox(settings.digital_blinkcolon, 1, 49); 1602 draw_checkbox(settings.digital_blinkcolon, 1, 49);
1603 draw_checkbox(settings.digital_12h, 1, 57); 1603 draw_checkbox(settings.digital_12h, 1, 57);
@@ -1627,20 +1627,20 @@ void draw_settings(void)
1627 1627
1628 /* Draw checkboxes */ 1628 /* Draw checkboxes */
1629 if(settings.lcd_date == 0) 1629 if(settings.lcd_date == 0)
1630 rb->lcd_bitmap(checkbox_empty, 1, 33, 8, 6); 1630 rb->lcd_mono_bitmap(checkbox_empty, 1, 33, 8, 6);
1631 else if(settings.lcd_date == 1) 1631 else if(settings.lcd_date == 1)
1632 rb->lcd_bitmap(checkbox_half, 1, 33, 8, 6); 1632 rb->lcd_mono_bitmap(checkbox_half, 1, 33, 8, 6);
1633 else 1633 else
1634 rb->lcd_bitmap(checkbox_full, 1, 33, 8, 6); 1634 rb->lcd_mono_bitmap(checkbox_full, 1, 33, 8, 6);
1635 1635
1636 if(settings.lcd_seconds == 0) 1636 if(settings.lcd_seconds == 0)
1637 rb->lcd_bitmap(checkbox_empty, 1, 41, 8, 6); 1637 rb->lcd_mono_bitmap(checkbox_empty, 1, 41, 8, 6);
1638 else if(settings.lcd_seconds == 1) 1638 else if(settings.lcd_seconds == 1)
1639 rb->lcd_bitmap(checkbox_onethird, 1, 41, 8, 6); 1639 rb->lcd_mono_bitmap(checkbox_onethird, 1, 41, 8, 6);
1640 else if(settings.lcd_seconds == 2) 1640 else if(settings.lcd_seconds == 2)
1641 rb->lcd_bitmap(checkbox_twothird, 1, 41, 8, 6); 1641 rb->lcd_mono_bitmap(checkbox_twothird, 1, 41, 8, 6);
1642 else 1642 else
1643 rb->lcd_bitmap(checkbox_full, 1, 41, 8, 6); 1643 rb->lcd_mono_bitmap(checkbox_full, 1, 41, 8, 6);
1644 1644
1645 draw_checkbox(settings.lcd_blinkcolon, 1, 49); 1645 draw_checkbox(settings.lcd_blinkcolon, 1, 49);
1646 draw_checkbox(settings.lcd_12h, 1, 57); 1646 draw_checkbox(settings.lcd_12h, 1, 57);
@@ -2131,16 +2131,16 @@ void general_settings(void)
2131 rb->lcd_getstringsize(buf, &buf_w, &buf_h); 2131 rb->lcd_getstringsize(buf, &buf_w, &buf_h);
2132 rb->lcd_putsxy(LCD_WIDTH/2-buf_w/2, 56, buf); 2132 rb->lcd_putsxy(LCD_WIDTH/2-buf_w/2, 56, buf);
2133 2133
2134 rb->lcd_bitmap(arrow, 1, 17, 8, 6); 2134 rb->lcd_mono_bitmap(arrow, 1, 17, 8, 6);
2135 rb->lcd_bitmap(arrow, 1, 25, 8, 6); 2135 rb->lcd_mono_bitmap(arrow, 1, 25, 8, 6);
2136 draw_checkbox(settings.display_counter, 1, 33); 2136 draw_checkbox(settings.display_counter, 1, 33);
2137 2137
2138 if(settings.save_mode == 1) 2138 if(settings.save_mode == 1)
2139 rb->lcd_bitmap(checkbox_onethird, 1, 41, 8, 6); 2139 rb->lcd_mono_bitmap(checkbox_onethird, 1, 41, 8, 6);
2140 else if(settings.save_mode == 2) 2140 else if(settings.save_mode == 2)
2141 rb->lcd_bitmap(checkbox_twothird, 1, 41, 8, 6); 2141 rb->lcd_mono_bitmap(checkbox_twothird, 1, 41, 8, 6);
2142 else 2142 else
2143 rb->lcd_bitmap(checkbox_full, 1, 41, 8, 6); 2143 rb->lcd_mono_bitmap(checkbox_full, 1, 41, 8, 6);
2144 2144
2145 switch(cursorpos) 2145 switch(cursorpos)
2146 { 2146 {
@@ -2181,15 +2181,15 @@ void general_settings(void)
2181 rb->lcd_puts(2, 5, "Save: Automatic"); 2181 rb->lcd_puts(2, 5, "Save: Automatic");
2182 else 2182 else
2183 rb->lcd_puts(2, 5, "Save: Manually"); 2183 rb->lcd_puts(2, 5, "Save: Manually");
2184 rb->lcd_bitmap(arrow, 1, 17, 8, 6); 2184 rb->lcd_mono_bitmap(arrow, 1, 17, 8, 6);
2185 rb->lcd_bitmap(arrow, 1, 25, 8, 6); 2185 rb->lcd_mono_bitmap(arrow, 1, 25, 8, 6);
2186 draw_checkbox(settings.display_counter, 1, 33); 2186 draw_checkbox(settings.display_counter, 1, 33);
2187 if(settings.save_mode == 1) 2187 if(settings.save_mode == 1)
2188 rb->lcd_bitmap(checkbox_onethird, 1, 41, 8, 6); 2188 rb->lcd_mono_bitmap(checkbox_onethird, 1, 41, 8, 6);
2189 else if(settings.save_mode == 2) 2189 else if(settings.save_mode == 2)
2190 rb->lcd_bitmap(checkbox_twothird, 1, 41, 8, 6); 2190 rb->lcd_mono_bitmap(checkbox_twothird, 1, 41, 8, 6);
2191 else 2191 else
2192 rb->lcd_bitmap(checkbox_full, 1, 41, 8, 6); 2192 rb->lcd_mono_bitmap(checkbox_full, 1, 41, 8, 6);
2193 2193
2194 cursor(0, cursor_y, 112, 8); 2194 cursor(0, cursor_y, 112, 8);
2195 rb->lcd_update(); 2195 rb->lcd_update();
@@ -2218,15 +2218,15 @@ void general_settings(void)
2218 rb->lcd_puts(2, 5, "Save: Automatic"); 2218 rb->lcd_puts(2, 5, "Save: Automatic");
2219 else 2219 else
2220 rb->lcd_puts(2, 5, "Save: Manually"); 2220 rb->lcd_puts(2, 5, "Save: Manually");
2221 rb->lcd_bitmap(arrow, 1, 17, 8, 6); 2221 rb->lcd_mono_bitmap(arrow, 1, 17, 8, 6);
2222 rb->lcd_bitmap(arrow, 1, 25, 8, 6); 2222 rb->lcd_mono_bitmap(arrow, 1, 25, 8, 6);
2223 draw_checkbox(settings.display_counter, 1, 33); 2223 draw_checkbox(settings.display_counter, 1, 33);
2224 if(settings.save_mode == 1) 2224 if(settings.save_mode == 1)
2225 rb->lcd_bitmap(checkbox_onethird, 1, 41, 8, 6); 2225 rb->lcd_mono_bitmap(checkbox_onethird, 1, 41, 8, 6);
2226 else if(settings.save_mode == 2) 2226 else if(settings.save_mode == 2)
2227 rb->lcd_bitmap(checkbox_twothird, 1, 41, 8, 6); 2227 rb->lcd_mono_bitmap(checkbox_twothird, 1, 41, 8, 6);
2228 else 2228 else
2229 rb->lcd_bitmap(checkbox_full, 1, 41, 8, 6); 2229 rb->lcd_mono_bitmap(checkbox_full, 1, 41, 8, 6);
2230 2230
2231 cursor(0, cursor_y, 112, 8); 2231 cursor(0, cursor_y, 112, 8);
2232 rb->lcd_update(); 2232 rb->lcd_update();
@@ -2323,9 +2323,9 @@ void draw_extras(int year, int day, int month, int hour, int minute, int second)
2323 if(settings.analog_time == 2) 2323 if(settings.analog_time == 2)
2324 { 2324 {
2325 if(current_time->tm_hour > 12) /* PM */ 2325 if(current_time->tm_hour > 12) /* PM */
2326 rb->lcd_bitmap(pm, 96, 1, 15, 8); 2326 rb->lcd_mono_bitmap(pm, 96, 1, 15, 8);
2327 else /* AM */ 2327 else /* AM */
2328 rb->lcd_bitmap(am, 96, 1, 15, 8); 2328 rb->lcd_mono_bitmap(am, 96, 1, 15, 8);
2329 } 2329 }
2330 } 2330 }
2331 2331
@@ -2460,11 +2460,11 @@ void select_mode(void)
2460 rb->lcd_puts(0, 7, "PLAY:Go|OFF:Cancel"); 2460 rb->lcd_puts(0, 7, "PLAY:Go|OFF:Cancel");
2461 2461
2462 /* draw an arrow next to all of them */ 2462 /* draw an arrow next to all of them */
2463 rb->lcd_bitmap(arrow, 1, 9, 8, 6); 2463 rb->lcd_mono_bitmap(arrow, 1, 9, 8, 6);
2464 rb->lcd_bitmap(arrow, 1, 17, 8, 6); 2464 rb->lcd_mono_bitmap(arrow, 1, 17, 8, 6);
2465 rb->lcd_bitmap(arrow, 1, 25, 8, 6); 2465 rb->lcd_mono_bitmap(arrow, 1, 25, 8, 6);
2466 rb->lcd_bitmap(arrow, 1, 33, 8, 6); 2466 rb->lcd_mono_bitmap(arrow, 1, 33, 8, 6);
2467 rb->lcd_bitmap(arrow, 1, 41, 8, 6); 2467 rb->lcd_mono_bitmap(arrow, 1, 41, 8, 6);
2468 2468
2469 /* draw line selector */ 2469 /* draw line selector */
2470 switch(cursorpos) 2470 switch(cursorpos)
@@ -2501,11 +2501,11 @@ void select_mode(void)
2501 rb->lcd_puts(0, 7, "PLAY:Go|OFF:Cancel"); 2501 rb->lcd_puts(0, 7, "PLAY:Go|OFF:Cancel");
2502 2502
2503 /* draw an arrow next to all of them */ 2503 /* draw an arrow next to all of them */
2504 rb->lcd_bitmap(arrow, 1, 9, 8, 6); 2504 rb->lcd_mono_bitmap(arrow, 1, 9, 8, 6);
2505 rb->lcd_bitmap(arrow, 1, 17, 8, 6); 2505 rb->lcd_mono_bitmap(arrow, 1, 17, 8, 6);
2506 rb->lcd_bitmap(arrow, 1, 25, 8, 6); 2506 rb->lcd_mono_bitmap(arrow, 1, 25, 8, 6);
2507 rb->lcd_bitmap(arrow, 1, 33, 8, 6); 2507 rb->lcd_mono_bitmap(arrow, 1, 33, 8, 6);
2508 rb->lcd_bitmap(arrow, 1, 41, 8, 6); 2508 rb->lcd_mono_bitmap(arrow, 1, 41, 8, 6);
2509 2509
2510 cursor(0, cursor_y, 112, 8); 2510 cursor(0, cursor_y, 112, 8);
2511 rb->lcd_update(); 2511 rb->lcd_update();
@@ -2535,11 +2535,11 @@ void select_mode(void)
2535 rb->lcd_puts(0, 7, "PLAY:Go|OFF:Cancel"); 2535 rb->lcd_puts(0, 7, "PLAY:Go|OFF:Cancel");
2536 2536
2537 /* draw an arrow next to all of them */ 2537 /* draw an arrow next to all of them */
2538 rb->lcd_bitmap(arrow, 1, 9, 8, 6); 2538 rb->lcd_mono_bitmap(arrow, 1, 9, 8, 6);
2539 rb->lcd_bitmap(arrow, 1, 17, 8, 6); 2539 rb->lcd_mono_bitmap(arrow, 1, 17, 8, 6);
2540 rb->lcd_bitmap(arrow, 1, 25, 8, 6); 2540 rb->lcd_mono_bitmap(arrow, 1, 25, 8, 6);
2541 rb->lcd_bitmap(arrow, 1, 33, 8, 6); 2541 rb->lcd_mono_bitmap(arrow, 1, 33, 8, 6);
2542 rb->lcd_bitmap(arrow, 1, 41, 8, 6); 2542 rb->lcd_mono_bitmap(arrow, 1, 41, 8, 6);
2543 2543
2544 cursor(0, cursor_y, 112, 8); 2544 cursor(0, cursor_y, 112, 8);
2545 rb->lcd_update(); 2545 rb->lcd_update();
@@ -2580,7 +2580,7 @@ void counter_finished(void)
2580 rb->lcd_clear_display(); 2580 rb->lcd_clear_display();
2581 2581
2582 /* draw "TIME'S UP" text */ 2582 /* draw "TIME'S UP" text */
2583 rb->lcd_bitmap(times_up, 0, xpos, 112, 50); 2583 rb->lcd_mono_bitmap(times_up, 0, xpos, 112, 50);
2584 2584
2585 /* invert lcd */ 2585 /* invert lcd */
2586 rb->lcd_set_drawmode(DRMODE_COMPLEMENT); 2586 rb->lcd_set_drawmode(DRMODE_COMPLEMENT);
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
diff --git a/apps/plugins/logo.c b/apps/plugins/logo.c
index 08e0266a75..ad8b8fd025 100644
--- a/apps/plugins/logo.c
+++ b/apps/plugins/logo.c
@@ -230,7 +230,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter) {
230 while (1) { 230 while (1) {
231#ifdef HAVE_LCD_BITMAP 231#ifdef HAVE_LCD_BITMAP
232 rb->lcd_clear_display(); 232 rb->lcd_clear_display();
233 rb->lcd_bitmap(LOGO, x, y, LOGO_WIDTH, LOGO_HEIGHT); 233 rb->lcd_mono_bitmap(LOGO, x, y, LOGO_WIDTH, LOGO_HEIGHT);
234#ifdef REMOTE_LOGO 234#ifdef REMOTE_LOGO
235 rb->lcd_remote_clear_display(); 235 rb->lcd_remote_clear_display();
236 rb->lcd_remote_bitmap(REMOTE_LOGO, 236 rb->lcd_remote_bitmap(REMOTE_LOGO,
diff --git a/apps/plugins/minesweeper.c b/apps/plugins/minesweeper.c
index 907aaf71b3..aec9ba166b 100644
--- a/apps/plugins/minesweeper.c
+++ b/apps/plugins/minesweeper.c
@@ -381,7 +381,7 @@ int minesweeper(void)
381 rb->lcd_putsxy(j*8+1,i*8+1,"b"); 381 rb->lcd_putsxy(j*8+1,i*8+1,"b");
382 } else if(minefield[i][j].neighbors){ 382 } else if(minefield[i][j].neighbors){
383 rb->lcd_set_drawmode(DRMODE_FG); 383 rb->lcd_set_drawmode(DRMODE_FG);
384 rb->lcd_bitmap(num[minefield[i][j].neighbors],j*8,i*8,8,8); 384 rb->lcd_mono_bitmap(num[minefield[i][j].neighbors],j*8,i*8,8,8);
385 rb->lcd_set_drawmode(DRMODE_SOLID); 385 rb->lcd_set_drawmode(DRMODE_SOLID);
386 } 386 }
387 } else if(minefield[i][j].flag) { 387 } else if(minefield[i][j].flag) {
diff --git a/apps/plugins/rockboy/lcd-gb.h b/apps/plugins/rockboy/lcd-gb.h
index 3a612887e5..0b863b6eea 100644
--- a/apps/plugins/rockboy/lcd-gb.h
+++ b/apps/plugins/rockboy/lcd-gb.h
@@ -16,7 +16,7 @@ struct scan
16{ 16{
17 int bg[64]; 17 int bg[64];
18 int wnd[64]; 18 int wnd[64];
19#ifdef GRAYSCALE 19#if LCD_DEPTH == 2
20 byte buf[4][256]; 20 byte buf[4][256];
21#else 21#else
22 byte buf[8][256]; 22 byte buf[8][256];
diff --git a/apps/plugins/rockboy/lcd.c b/apps/plugins/rockboy/lcd.c
index 651c82286f..9a7ead798f 100644
--- a/apps/plugins/rockboy/lcd.c
+++ b/apps/plugins/rockboy/lcd.c
@@ -786,7 +786,7 @@ void lcd_refreshline(void)
786 recolor(BUF+WX, 0x04, 160-WX); 786 recolor(BUF+WX, 0x04, 160-WX);
787 } 787 }
788 spr_scan(); 788 spr_scan();
789#ifdef GRAYSCALE 789#if LCD_DEPTH == 2
790 if (scanline_ind == 3) 790 if (scanline_ind == 3)
791#else 791#else
792 if (scanline_ind == 7) 792 if (scanline_ind == 7)
@@ -800,7 +800,7 @@ void lcd_refreshline(void)
800#if LCD_HEIGHT == 64 800#if LCD_HEIGHT == 64
801 scanline_ind = (scanline_ind+1) % 8; 801 scanline_ind = (scanline_ind+1) % 8;
802#else 802#else
803#ifdef GRAYSCALE 803#if LCD_DEPTH == 2
804 scanline_ind = (scanline_ind+1) % 4; 804 scanline_ind = (scanline_ind+1) % 4;
805#else 805#else
806 scanline_ind = (scanline_ind+1) % 8; 806 scanline_ind = (scanline_ind+1) % 8;
diff --git a/apps/plugins/rockboy/sys_rockbox.c b/apps/plugins/rockboy/sys_rockbox.c
index 45608b9f36..e8a4923eee 100644
--- a/apps/plugins/rockboy/sys_rockbox.c
+++ b/apps/plugins/rockboy/sys_rockbox.c
@@ -245,21 +245,21 @@ void vid_update(int scanline)
245 scanline-=16; 245 scanline-=16;
246 else if (fb.mode==2) 246 else if (fb.mode==2)
247 scanline-=8; 247 scanline-=8;
248#ifdef GRAYSCALE 248#if LCD_DEPTH == 2
249 scanline_remapped = scanline / 4; 249 scanline_remapped = scanline / 4;
250#else 250#else
251 scanline_remapped = scanline / 8; 251 scanline_remapped = scanline / 8;
252#endif 252#endif
253 frameb = rb->lcd_framebuffer + scanline_remapped * LCD_WIDTH; 253 frameb = rb->lcd_framebuffer + scanline_remapped * LCD_WIDTH;
254 while (cnt < 160) { 254 while (cnt < 160) {
255#ifdef GRAYSCALE 255#if LCD_DEPTH == 2
256 *(frameb++) = (scan.buf[0][cnt]&0x3) | 256 *(frameb++) = (scan.buf[0][cnt]&0x3) |
257 ((scan.buf[1][cnt]&0x3)<<2) | 257 ((scan.buf[1][cnt]&0x3)<<2) |
258 ((scan.buf[2][cnt]&0x3)<<4) | 258 ((scan.buf[2][cnt]&0x3)<<4) |
259 ((scan.buf[3][cnt]&0x3)<<6); 259 ((scan.buf[3][cnt]&0x3)<<6);
260 cnt++; 260 cnt++;
261 } 261 }
262 rb->lcd_update_rect(0, scanline & ~3, LCD_WIDTH, 4); //8); 262 rb->lcd_update_rect(0, scanline & ~3, LCD_WIDTH, 4);
263#else 263#else
264 register unsigned scrbyte = 0; 264 register unsigned scrbyte = 0;
265 if (scan.buf[0][cnt] & 0x02) scrbyte |= 0x01; 265 if (scan.buf[0][cnt] & 0x02) scrbyte |= 0x01;
@@ -274,7 +274,7 @@ void vid_update(int scanline)
274 cnt++; 274 cnt++;
275 } 275 }
276 rb->lcd_update_rect(0, scanline & ~7, LCD_WIDTH, 8); 276 rb->lcd_update_rect(0, scanline & ~7, LCD_WIDTH, 8);
277#endif /* GRAYSCALE */ 277#endif /* LCD_DEPTH */
278#endif /* LCD_HEIGHT */ 278#endif /* LCD_HEIGHT */
279} 279}
280 280
diff --git a/apps/plugins/sliding_puzzle.c b/apps/plugins/sliding_puzzle.c
index 3b9fe01bc8..acd66a033a 100644
--- a/apps/plugins/sliding_puzzle.c
+++ b/apps/plugins/sliding_puzzle.c
@@ -149,7 +149,7 @@ static unsigned char picture[20][32] = {
149static void draw_spot(int p, int x, int y) 149static void draw_spot(int p, int x, int y)
150{ 150{
151 if (pic || p==20) { 151 if (pic || p==20) {
152 rb->lcd_bitmap (picture[p-1], x, y, 16, 16); 152 rb->lcd_mono_bitmap (picture[p-1], x, y, 16, 16);
153 } else { 153 } else {
154 rb->lcd_drawrect(x, y, 16, 16); 154 rb->lcd_drawrect(x, y, 16, 16);
155 rb->lcd_set_drawmode(DRMODE_SOLID|DRMODE_INVERSEVID); 155 rb->lcd_set_drawmode(DRMODE_SOLID|DRMODE_INVERSEVID);
diff --git a/apps/plugins/snake2.c b/apps/plugins/snake2.c
index e1f0c32a66..815867af56 100644
--- a/apps/plugins/snake2.c
+++ b/apps/plugins/snake2.c
@@ -625,11 +625,11 @@ void draw_apple( void )
625 char pscore[5], counter[4]; 625 char pscore[5], counter[4];
626 626
627 rb->lcd_set_drawmode(DRMODE_FG); 627 rb->lcd_set_drawmode(DRMODE_FG);
628 rb->lcd_bitmap(snakebmp,0,0,BMPWIDTH_snakebmp,BMPHEIGHT_snakebmp); 628 rb->lcd_mono_bitmap(snakebmp,0,0,BMPWIDTH_snakebmp,BMPHEIGHT_snakebmp);
629 rb->lcd_set_drawmode(DRMODE_SOLID|DRMODE_INVERSEVID); 629 rb->lcd_set_drawmode(DRMODE_SOLID|DRMODE_INVERSEVID);
630 rb->lcd_fillrect(0,0,BMPWIDTH_snakeupbmp,BMPHEIGHT_snakeupbmp); 630 rb->lcd_fillrect(0,0,BMPWIDTH_snakeupbmp,BMPHEIGHT_snakeupbmp);
631 rb->lcd_set_drawmode(DRMODE_FG); 631 rb->lcd_set_drawmode(DRMODE_FG);
632 rb->lcd_bitmap(snakeupbmp,0,0,BMPWIDTH_snakeupbmp,BMPHEIGHT_snakeupbmp); 632 rb->lcd_mono_bitmap(snakeupbmp,0,0,BMPWIDTH_snakeupbmp,BMPHEIGHT_snakeupbmp);
633 rb->lcd_set_drawmode(DRMODE_SOLID); 633 rb->lcd_set_drawmode(DRMODE_SOLID);
634 634
635 rb->snprintf(counter,sizeof(counter),"%d",applecount); 635 rb->snprintf(counter,sizeof(counter),"%d",applecount);
@@ -1303,7 +1303,7 @@ void game_init(void)
1303#if LCD_WIDTH >= 160 && LCD_HEIGHT >= 128 1303#if LCD_WIDTH >= 160 && LCD_HEIGHT >= 128
1304 1304
1305 rb->lcd_set_drawmode(DRMODE_FG); 1305 rb->lcd_set_drawmode(DRMODE_FG);
1306 rb->lcd_bitmap(snakebmp,0,0,BMPWIDTH_snakebmp,BMPWIDTH_snakebmp); 1306 rb->lcd_mono_bitmap(snakebmp,0,0,BMPWIDTH_snakebmp,BMPWIDTH_snakebmp);
1307 rb->lcd_set_drawmode(DRMODE_SOLID); 1307 rb->lcd_set_drawmode(DRMODE_SOLID);
1308 1308
1309 rb->snprintf(plevel,sizeof(plevel),"%d",level); 1309 rb->snprintf(plevel,sizeof(plevel),"%d",level);
diff --git a/apps/plugins/snow.c b/apps/plugins/snow.c
index 75c561427a..73ce386de9 100644
--- a/apps/plugins/snow.c
+++ b/apps/plugins/snow.c
@@ -118,8 +118,8 @@ static void snow_move(void)
118 } 118 }
119 if (particle_exists(i)) 119 if (particle_exists(i))
120#ifdef HAVE_LCD_BITMAP 120#ifdef HAVE_LCD_BITMAP
121 rb->lcd_bitmap(flake,particles[i][0],particles[i][1], 121 rb->lcd_mono_bitmap(flake,particles[i][0],particles[i][1],
122 FLAKE_WIDTH,FLAKE_WIDTH); 122 FLAKE_WIDTH,FLAKE_WIDTH);
123#else 123#else
124 pgfx_drawpixel(particles[i][0],particles[i][1]); 124 pgfx_drawpixel(particles[i][0],particles[i][1]);
125#endif 125#endif
diff --git a/apps/plugins/solitaire.c b/apps/plugins/solitaire.c
index 880b5a0ad9..89cadc3592 100644
--- a/apps/plugins/solitaire.c
+++ b/apps/plugins/solitaire.c
@@ -902,8 +902,8 @@ int solitaire(void){
902 rb->lcd_set_drawmode(DRMODE_SOLID); 902 rb->lcd_set_drawmode(DRMODE_SOLID);
903 /* known card */ 903 /* known card */
904 if(deck[c].known){ 904 if(deck[c].known){
905 rb->lcd_bitmap(numbers[deck[c].num], i*(LCD_WIDTH - CARD_WIDTH)/COL_NUM+1, j, 8, 8); 905 rb->lcd_mono_bitmap(numbers[deck[c].num], i*(LCD_WIDTH - CARD_WIDTH)/COL_NUM+1, j, 8, 8);
906 rb->lcd_bitmap(colors[deck[c].color], i*(LCD_WIDTH - CARD_WIDTH)/COL_NUM+7, j, 8, 8); 906 rb->lcd_mono_bitmap(colors[deck[c].color], i*(LCD_WIDTH - CARD_WIDTH)/COL_NUM+7, j, 8, 8);
907 } 907 }
908 /* draw top line of the card */ 908 /* draw top line of the card */
909 rb->lcd_drawline(i*(LCD_WIDTH - CARD_WIDTH)/COL_NUM+1,j,i*(LCD_WIDTH - CARD_WIDTH)/COL_NUM+CARD_WIDTH-1,j); 909 rb->lcd_drawline(i*(LCD_WIDTH - CARD_WIDTH)/COL_NUM+1,j,i*(LCD_WIDTH - CARD_WIDTH)/COL_NUM+CARD_WIDTH-1,j);
@@ -946,9 +946,9 @@ int solitaire(void){
946 } 946 }
947 } 947 }
948 if(c != NOT_A_CARD) { 948 if(c != NOT_A_CARD) {
949 rb->lcd_bitmap(numbers[deck[c].num], LCD_WIDTH2 - CARD_WIDTH+1, i*CARD_HEIGHT, 8, 8); 949 rb->lcd_mono_bitmap(numbers[deck[c].num], LCD_WIDTH2 - CARD_WIDTH+1, i*CARD_HEIGHT, 8, 8);
950 } 950 }
951 rb->lcd_bitmap(colors[i], LCD_WIDTH2 - CARD_WIDTH+7, i*CARD_HEIGHT, 8, 8); 951 rb->lcd_mono_bitmap(colors[i], LCD_WIDTH2 - CARD_WIDTH+7, i*CARD_HEIGHT, 8, 8);
952 /* draw a selected card */ 952 /* draw a selected card */
953 if(c != NOT_A_CARD) { 953 if(c != NOT_A_CARD) {
954 if(sel_card == c){ 954 if(sel_card == c){
@@ -978,8 +978,8 @@ int solitaire(void){
978 rb->lcd_drawline(LCD_WIDTH2,LCD_HEIGHT-CARD_HEIGHT,LCD_WIDTH2,LCD_HEIGHT-2); 978 rb->lcd_drawline(LCD_WIDTH2,LCD_HEIGHT-CARD_HEIGHT,LCD_WIDTH2,LCD_HEIGHT-2);
979#endif 979#endif
980 if(cur_rem != NOT_A_CARD){ 980 if(cur_rem != NOT_A_CARD){
981 rb->lcd_bitmap(numbers[deck[cur_rem].num], LCD_WIDTH2 - CARD_WIDTH+1, LCD_HEIGHT-CARD_HEIGHT, 8, 8); 981 rb->lcd_mono_bitmap(numbers[deck[cur_rem].num], LCD_WIDTH2 - CARD_WIDTH+1, LCD_HEIGHT-CARD_HEIGHT, 8, 8);
982 rb->lcd_bitmap(colors[deck[cur_rem].color], LCD_WIDTH2 - CARD_WIDTH+7, LCD_HEIGHT-CARD_HEIGHT, 8, 8); 982 rb->lcd_mono_bitmap(colors[deck[cur_rem].color], LCD_WIDTH2 - CARD_WIDTH+7, LCD_HEIGHT-CARD_HEIGHT, 8, 8);
983 /* draw a selected card */ 983 /* draw a selected card */
984 if(sel_card == cur_rem){ 984 if(sel_card == cur_rem){
985 rb->lcd_drawrect(LCD_WIDTH2 - CARD_WIDTH+1, LCD_HEIGHT-CARD_HEIGHT,CARD_WIDTH-1, CARD_HEIGHT-1); 985 rb->lcd_drawrect(LCD_WIDTH2 - CARD_WIDTH+1, LCD_HEIGHT-CARD_HEIGHT,CARD_WIDTH-1, CARD_HEIGHT-1);
diff --git a/apps/plugins/splitedit.c b/apps/plugins/splitedit.c
index e6d8551d63..142590d9e8 100644
--- a/apps/plugins/splitedit.c
+++ b/apps/plugins/splitedit.c
@@ -260,18 +260,18 @@ static void update_icons(void)
260 rb->lcd_set_drawmode(DRMODE_SOLID); 260 rb->lcd_set_drawmode(DRMODE_SOLID);
261 261
262 /* The CUT icon */ 262 /* The CUT icon */
263 rb->lcd_bitmap(CUT_BMP, 263 rb->lcd_mono_bitmap(CUT_BMP,
264 LCD_WIDTH / 3 / 2 - BMPWIDTH / 2, LCD_HEIGHT - BMPHEIGHT, 264 LCD_WIDTH / 3 / 2 - BMPWIDTH / 2, LCD_HEIGHT - BMPHEIGHT,
265 BMPWIDTH, BMPHEIGHT); 265 BMPWIDTH, BMPHEIGHT);
266 266
267 /* The loop mode icon */ 267 /* The loop mode icon */
268 rb->lcd_bitmap(LOOP_BMP[splitedit_get_loop_mode()], 268 rb->lcd_mono_bitmap(LOOP_BMP[splitedit_get_loop_mode()],
269 LCD_WIDTH/3 + LCD_WIDTH/3 / 2 - BMPWIDTH/2, LCD_HEIGHT - BMPHEIGHT, 269 LCD_WIDTH/3 + LCD_WIDTH/3 / 2 - BMPWIDTH/2, LCD_HEIGHT - BMPHEIGHT,
270 BMPWIDTH, BMPHEIGHT); 270 BMPWIDTH, BMPHEIGHT);
271 271
272#if (CONFIG_HWCODEC == MAS3587F) || (CONFIG_HWCODEC == MAS3539F) 272#if (CONFIG_HWCODEC == MAS3587F) || (CONFIG_HWCODEC == MAS3539F)
273 /* The scale icon */ 273 /* The scale icon */
274 rb->lcd_bitmap(SCALE_BMP[rb->peak_meter_get_use_dbfs()], 274 rb->lcd_mono_bitmap(SCALE_BMP[rb->peak_meter_get_use_dbfs()],
275 2 *LCD_WIDTH/3 + LCD_WIDTH/3 / 2 - BMPWIDTH/2, LCD_HEIGHT - BMPHEIGHT, 275 2 *LCD_WIDTH/3 + LCD_WIDTH/3 / 2 - BMPWIDTH/2, LCD_HEIGHT - BMPHEIGHT,
276 BMPWIDTH, BMPHEIGHT); 276 BMPWIDTH, BMPHEIGHT);
277#else 277#else
@@ -279,7 +279,7 @@ static void update_icons(void)
279 static int idx; 279 static int idx;
280 if (idx < 0 || idx > 1) idx = 0; 280 if (idx < 0 || idx > 1) idx = 0;
281 idx = 1 - idx; 281 idx = 1 - idx;
282 rb->lcd_bitmap(SCALE_BMP[idx], 282 rb->lcd_mono_bitmap(SCALE_BMP[idx],
283 2 *LCD_WIDTH/3 + LCD_WIDTH/3 / 2 - BMPWIDTH/2, LCD_HEIGHT - BMPHEIGHT, 283 2 *LCD_WIDTH/3 + LCD_WIDTH/3 / 2 - BMPWIDTH/2, LCD_HEIGHT - BMPHEIGHT,
284 BMPWIDTH, BMPHEIGHT); 284 BMPWIDTH, BMPHEIGHT);
285 } 285 }
diff --git a/apps/plugins/star.c b/apps/plugins/star.c
index 9b2e0bb010..9dd3659f52 100644
--- a/apps/plugins/star.c
+++ b/apps/plugins/star.c
@@ -485,11 +485,11 @@ static void star_display_board_info(void)
485 rb->lcd_putsxy(0, label_offset_y, str_info); 485 rb->lcd_putsxy(0, label_offset_y, str_info);
486 486
487 if (control == STAR_CONTROL_BALL) 487 if (control == STAR_CONTROL_BALL)
488 rb->lcd_bitmap (ball_bmp, 103, label_offset_y + 1, STAR_TILE_SIZE, 488 rb->lcd_mono_bitmap (ball_bmp, 103, label_offset_y + 1, STAR_TILE_SIZE,
489 STAR_TILE_SIZE); 489 STAR_TILE_SIZE);
490 else 490 else
491 rb->lcd_bitmap (block_bmp, 103, label_offset_y + 1, STAR_TILE_SIZE, 491 rb->lcd_mono_bitmap (block_bmp, 103, label_offset_y + 1, STAR_TILE_SIZE,
492 STAR_TILE_SIZE); 492 STAR_TILE_SIZE);
493 493
494 rb->lcd_update_rect(0, label_offset_y, LCD_WIDTH, char_height); 494 rb->lcd_update_rect(0, label_offset_y, LCD_WIDTH, char_height);
495} 495}
@@ -520,37 +520,37 @@ static int star_load_level(int current_level)
520 break; 520 break;
521 521
522 case STAR_WALL: 522 case STAR_WALL:
523 rb->lcd_bitmap (wall_bmp, 523 rb->lcd_mono_bitmap (wall_bmp,
524 STAR_OFFSET_X + x * STAR_TILE_SIZE, 524 STAR_OFFSET_X + x * STAR_TILE_SIZE,
525 STAR_OFFSET_Y + y * STAR_TILE_SIZE, 525 STAR_OFFSET_Y + y * STAR_TILE_SIZE,
526 STAR_TILE_SIZE, STAR_TILE_SIZE); 526 STAR_TILE_SIZE, STAR_TILE_SIZE);
527 break; 527 break;
528 528
529 case STAR_STAR: 529 case STAR_STAR:
530 rb->lcd_bitmap (star_bmp, 530 rb->lcd_mono_bitmap (star_bmp,
531 STAR_OFFSET_X + x * STAR_TILE_SIZE, 531 STAR_OFFSET_X + x * STAR_TILE_SIZE,
532 STAR_OFFSET_Y + y * STAR_TILE_SIZE, 532 STAR_OFFSET_Y + y * STAR_TILE_SIZE,
533 STAR_TILE_SIZE, STAR_TILE_SIZE); 533 STAR_TILE_SIZE, STAR_TILE_SIZE);
534 star_count++; 534 star_count++;
535 break; 535 break;
536 536
537 case STAR_BALL: 537 case STAR_BALL:
538 ball_x = x; 538 ball_x = x;
539 ball_y = y; 539 ball_y = y;
540 rb->lcd_bitmap (ball_bmp, 540 rb->lcd_mono_bitmap (ball_bmp,
541 STAR_OFFSET_X + x * STAR_TILE_SIZE, 541 STAR_OFFSET_X + x * STAR_TILE_SIZE,
542 STAR_OFFSET_Y + y * STAR_TILE_SIZE, 542 STAR_OFFSET_Y + y * STAR_TILE_SIZE,
543 STAR_TILE_SIZE, STAR_TILE_SIZE); 543 STAR_TILE_SIZE, STAR_TILE_SIZE);
544 break; 544 break;
545 545
546 546
547 case STAR_BLOCK: 547 case STAR_BLOCK:
548 block_x = x; 548 block_x = x;
549 block_y = y; 549 block_y = y;
550 rb->lcd_bitmap (block_bmp, 550 rb->lcd_mono_bitmap (block_bmp,
551 STAR_OFFSET_X + x * STAR_TILE_SIZE, 551 STAR_OFFSET_X + x * STAR_TILE_SIZE,
552 STAR_OFFSET_Y + y * STAR_TILE_SIZE, 552 STAR_OFFSET_Y + y * STAR_TILE_SIZE,
553 STAR_TILE_SIZE, STAR_TILE_SIZE); 553 STAR_TILE_SIZE, STAR_TILE_SIZE);
554 break; 554 break;
555 } 555 }
556 ptr_tab++; 556 ptr_tab++;
@@ -665,7 +665,7 @@ static int star_run_game(void)
665 { 665 {
666 for (i = 0 ; i < 7 ; i++) 666 for (i = 0 ; i < 7 ; i++)
667 { 667 {
668 rb->lcd_bitmap( 668 rb->lcd_mono_bitmap(
669 ball_bmp, 669 ball_bmp,
670 STAR_OFFSET_X + ball_x * STAR_TILE_SIZE + move_x * i, 670 STAR_OFFSET_X + ball_x * STAR_TILE_SIZE + move_x * i,
671 STAR_OFFSET_Y + ball_y * STAR_TILE_SIZE + move_y * i, 671 STAR_OFFSET_Y + ball_y * STAR_TILE_SIZE + move_y * i,
@@ -697,7 +697,7 @@ static int star_run_game(void)
697 { 697 {
698 for (i = 0 ; i < 7 ; i++) 698 for (i = 0 ; i < 7 ; i++)
699 { 699 {
700 rb->lcd_bitmap( 700 rb->lcd_mono_bitmap(
701 block_bmp, 701 block_bmp,
702 STAR_OFFSET_X + block_x * STAR_TILE_SIZE + move_x * i, 702 STAR_OFFSET_X + block_x * STAR_TILE_SIZE + move_x * i,
703 STAR_OFFSET_Y + block_y * STAR_TILE_SIZE + move_y * i, 703 STAR_OFFSET_Y + block_y * STAR_TILE_SIZE + move_y * i,
@@ -766,8 +766,8 @@ static int star_menu(void)
766 } 766 }
767 767
768 move_y = 0; 768 move_y = 0;
769 rb->lcd_bitmap(arrow_bmp[anim_arrow[(anim_state & 0x38) >> 3]], 769 rb->lcd_mono_bitmap(arrow_bmp[anim_arrow[(anim_state & 0x38) >> 3]],
770 2, menu_offset_y + menu_y * char_height, 7, 8); 770 2, menu_offset_y + menu_y * char_height, 7, 8);
771 rb->lcd_update_rect (2, menu_offset_y + menu_y * 8, 8, 8); 771 rb->lcd_update_rect (2, menu_offset_y + menu_y * 8, 8, 8);
772 rb->sleep(STAR_SLEEP); 772 rb->sleep(STAR_SLEEP);
773 anim_state++; 773 anim_state++;
@@ -842,8 +842,8 @@ static int star_menu(void)
842 rb->lcd_set_drawmode(DRMODE_SOLID|DRMODE_INVERSEVID); 842 rb->lcd_set_drawmode(DRMODE_SOLID|DRMODE_INVERSEVID);
843 rb->lcd_fillrect (2, 30, 7, 4 * 8); 843 rb->lcd_fillrect (2, 30, 7, 4 * 8);
844 rb->lcd_set_drawmode(DRMODE_FG); 844 rb->lcd_set_drawmode(DRMODE_FG);
845 rb->lcd_bitmap(arrow_bmp[anim_arrow[(anim_state & 0x38) >> 3]], 845 rb->lcd_mono_bitmap(arrow_bmp[anim_arrow[(anim_state & 0x38) >> 3]],
846 2, menu_offset_y + menu_y * 8 + move_y * i, 7, 8); 846 2, menu_offset_y + menu_y * 8 + move_y * i, 7, 8);
847 rb->lcd_update_rect(2, 30, 8, 4 * 8); 847 rb->lcd_update_rect(2, 30, 8, 4 * 8);
848 anim_state++; 848 anim_state++;
849 rb->sleep(STAR_SLEEP); 849 rb->sleep(STAR_SLEEP);
diff --git a/apps/plugins/vu_meter.c b/apps/plugins/vu_meter.c
index d54f86de06..c2db45ed88 100644
--- a/apps/plugins/vu_meter.c
+++ b/apps/plugins/vu_meter.c
@@ -278,54 +278,54 @@ void change_settings(void)
278} 278}
279 279
280void draw_analog_minimeters(void) { 280void draw_analog_minimeters(void) {
281 rb->lcd_bitmap(sound_speaker, 0, 12, 4, 8); 281 rb->lcd_mono_bitmap(sound_speaker, 0, 12, 4, 8);
282 rb->lcd_set_drawmode(DRMODE_FG); 282 rb->lcd_set_drawmode(DRMODE_FG);
283 if(5<left_needle_top_x) 283 if(5<left_needle_top_x)
284 rb->lcd_bitmap(sound_low_level, 5, 12, 2, 8); 284 rb->lcd_mono_bitmap(sound_low_level, 5, 12, 2, 8);
285 if(12<left_needle_top_x) 285 if(12<left_needle_top_x)
286 rb->lcd_bitmap(sound_med_level, 7, 12, 2, 8); 286 rb->lcd_mono_bitmap(sound_med_level, 7, 12, 2, 8);
287 if(24<left_needle_top_x) 287 if(24<left_needle_top_x)
288 rb->lcd_bitmap(sound_high_level, 9, 12, 2, 8); 288 rb->lcd_mono_bitmap(sound_high_level, 9, 12, 2, 8);
289 if(40<left_needle_top_x) 289 if(40<left_needle_top_x)
290 rb->lcd_bitmap(sound_max_level, 12, 12, 3, 8); 290 rb->lcd_mono_bitmap(sound_max_level, 12, 12, 3, 8);
291 291
292 rb->lcd_set_drawmode(DRMODE_SOLID); 292 rb->lcd_set_drawmode(DRMODE_SOLID);
293 rb->lcd_bitmap(sound_speaker, 54, 12, 4, 8); 293 rb->lcd_mono_bitmap(sound_speaker, 54, 12, 4, 8);
294 rb->lcd_set_drawmode(DRMODE_FG); 294 rb->lcd_set_drawmode(DRMODE_FG);
295 if(5<(right_needle_top_x-56)) 295 if(5<(right_needle_top_x-56))
296 rb->lcd_bitmap(sound_low_level, 59, 12, 2, 8); 296 rb->lcd_mono_bitmap(sound_low_level, 59, 12, 2, 8);
297 if(12<(right_needle_top_x-56)) 297 if(12<(right_needle_top_x-56))
298 rb->lcd_bitmap(sound_med_level, 61, 12, 2, 8); 298 rb->lcd_mono_bitmap(sound_med_level, 61, 12, 2, 8);
299 if(24<(right_needle_top_x-56)) 299 if(24<(right_needle_top_x-56))
300 rb->lcd_bitmap(sound_high_level, 63, 12, 2, 8); 300 rb->lcd_mono_bitmap(sound_high_level, 63, 12, 2, 8);
301 if(40<(right_needle_top_x-56)) 301 if(40<(right_needle_top_x-56))
302 rb->lcd_bitmap(sound_max_level, 66, 12, 3, 8); 302 rb->lcd_mono_bitmap(sound_max_level, 66, 12, 3, 8);
303 rb->lcd_set_drawmode(DRMODE_SOLID); 303 rb->lcd_set_drawmode(DRMODE_SOLID);
304} 304}
305 305
306void draw_digital_minimeters(void) { 306void draw_digital_minimeters(void) {
307 rb->lcd_bitmap(sound_speaker, 34, 24, 4, 8); 307 rb->lcd_mono_bitmap(sound_speaker, 34, 24, 4, 8);
308 rb->lcd_set_drawmode(DRMODE_FG); 308 rb->lcd_set_drawmode(DRMODE_FG);
309 if(1<num_left_leds) 309 if(1<num_left_leds)
310 rb->lcd_bitmap(sound_low_level, 39, 24, 2, 8); 310 rb->lcd_mono_bitmap(sound_low_level, 39, 24, 2, 8);
311 if(2<num_left_leds) 311 if(2<num_left_leds)
312 rb->lcd_bitmap(sound_med_level, 41, 24, 2, 8); 312 rb->lcd_mono_bitmap(sound_med_level, 41, 24, 2, 8);
313 if(5<num_left_leds) 313 if(5<num_left_leds)
314 rb->lcd_bitmap(sound_high_level, 43, 24, 2, 8); 314 rb->lcd_mono_bitmap(sound_high_level, 43, 24, 2, 8);
315 if(8<num_left_leds) 315 if(8<num_left_leds)
316 rb->lcd_bitmap(sound_max_level, 46, 24, 3, 8); 316 rb->lcd_mono_bitmap(sound_max_level, 46, 24, 3, 8);
317 317
318 rb->lcd_set_drawmode(DRMODE_SOLID); 318 rb->lcd_set_drawmode(DRMODE_SOLID);
319 rb->lcd_bitmap(sound_speaker, 34, 40, 4, 8); 319 rb->lcd_mono_bitmap(sound_speaker, 34, 40, 4, 8);
320 rb->lcd_set_drawmode(DRMODE_FG); 320 rb->lcd_set_drawmode(DRMODE_FG);
321 if(1<(num_right_leds)) 321 if(1<(num_right_leds))
322 rb->lcd_bitmap(sound_low_level, 39, 40, 2, 8); 322 rb->lcd_mono_bitmap(sound_low_level, 39, 40, 2, 8);
323 if(2<(num_right_leds)) 323 if(2<(num_right_leds))
324 rb->lcd_bitmap(sound_med_level, 41, 40, 2, 8); 324 rb->lcd_mono_bitmap(sound_med_level, 41, 40, 2, 8);
325 if(5<(num_right_leds)) 325 if(5<(num_right_leds))
326 rb->lcd_bitmap(sound_high_level, 43, 40, 2, 8); 326 rb->lcd_mono_bitmap(sound_high_level, 43, 40, 2, 8);
327 if(8<(num_right_leds)) 327 if(8<(num_right_leds))
328 rb->lcd_bitmap(sound_max_level, 46, 40, 3, 8); 328 rb->lcd_mono_bitmap(sound_max_level, 46, 40, 3, 8);
329 rb->lcd_set_drawmode(DRMODE_SOLID); 329 rb->lcd_set_drawmode(DRMODE_SOLID);
330} 330}
331 331
@@ -359,8 +359,8 @@ void analog_meter(void) {
359 359
360 /* Needle covers */ 360 /* Needle covers */
361 rb->lcd_set_drawmode(DRMODE_FG); 361 rb->lcd_set_drawmode(DRMODE_FG);
362 rb->lcd_bitmap(needle_cover, 22, 59, 13, 5); 362 rb->lcd_mono_bitmap(needle_cover, 22, 59, 13, 5);
363 rb->lcd_bitmap(needle_cover, 78, 59, 13, 5); 363 rb->lcd_mono_bitmap(needle_cover, 78, 59, 13, 5);
364 rb->lcd_set_drawmode(DRMODE_SOLID); 364 rb->lcd_set_drawmode(DRMODE_SOLID);
365 365
366 /* Show Left/Right */ 366 /* Show Left/Right */
@@ -396,10 +396,10 @@ void digital_meter(void) {
396 rb->lcd_set_drawmode(DRMODE_FG); 396 rb->lcd_set_drawmode(DRMODE_FG);
397 /* LEDS */ 397 /* LEDS */
398 for(i=0; i<num_left_leds; i++) 398 for(i=0; i<num_left_leds; i++)
399 rb->lcd_bitmap(led, i*9+2+i, 14, 9, 5); 399 rb->lcd_mono_bitmap(led, i*9+2+i, 14, 9, 5);
400 400
401 for(i=0; i<num_right_leds; i++) 401 for(i=0; i<num_right_leds; i++)
402 rb->lcd_bitmap(led, i*9+2+i, 52, 9, 5); 402 rb->lcd_mono_bitmap(led, i*9+2+i, 52, 9, 5);
403 403
404 rb->lcd_set_drawmode(DRMODE_SOLID); 404 rb->lcd_set_drawmode(DRMODE_SOLID);
405 405