diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/PLUGIN_API | 130 |
1 files changed, 37 insertions, 93 deletions
diff --git a/docs/PLUGIN_API b/docs/PLUGIN_API index b2fb94ed7e..e7ab119f97 100644 --- a/docs/PLUGIN_API +++ b/docs/PLUGIN_API | |||
@@ -185,7 +185,7 @@ unsigned int battery_voltage(void) | |||
185 | \description | 185 | \description |
186 | 186 | ||
187 | unsigned short *bidi_l2v( const unsigned char *str, int orientation ) | 187 | unsigned short *bidi_l2v( const unsigned char *str, int orientation ) |
188 | \conditions !defined(HAVE_LCD_CHARCELLS) | 188 | \conditions defined(HAVE_LCD_BITMAP) |
189 | \param str | 189 | \param str |
190 | \param orientation | 190 | \param orientation |
191 | \return | 191 | \return |
@@ -353,7 +353,7 @@ bool button_hold(void) | |||
353 | \description | 353 | \description |
354 | 354 | ||
355 | struct event_queue *button_queue | 355 | struct event_queue *button_queue |
356 | \conditions !defined(HAVE_LCD_CHARCELLS) )) && (defined(HAVE_LCD_ENABLE | 356 | \conditions defined(HAVE_LCD_BITMAP) )) && (defined(HAVE_LCD_ENABLE |
357 | \return | 357 | \return |
358 | \description | 358 | \description |
359 | 359 | ||
@@ -372,7 +372,7 @@ void cancel_cpu_boost(void) | |||
372 | \description Unboosts the CPU for the current thread | 372 | \description Unboosts the CPU for the current thread |
373 | 373 | ||
374 | const unsigned char *font_get_bits( struct font *pf, unsigned short char_code ) | 374 | const unsigned char *font_get_bits( struct font *pf, unsigned short char_code ) |
375 | \conditions !defined(HAVE_LCD_CHARCELLS) | 375 | \conditions defined(HAVE_LCD_BITMAP) |
376 | \param pf | 376 | \param pf |
377 | \param char_code | 377 | \param char_code |
378 | \return | 378 | \return |
@@ -628,14 +628,14 @@ void flush_icache(void) | |||
628 | \description | 628 | \description |
629 | 629 | ||
630 | struct font* font_get(int font) | 630 | struct font* font_get(int font) |
631 | \conditions !defined(HAVE_LCD_CHARCELLS) | 631 | \conditions defined(HAVE_LCD_BITMAP) |
632 | \param font | 632 | \param font |
633 | \return the font structure for =font= | 633 | \return the font structure for =font= |
634 | \description If the requested font isn't loaded/compiled-in, decrement the font number and try again. | 634 | \description If the requested font isn't loaded/compiled-in, decrement the font number and try again. |
635 | \see [S[firmware/export/font.h]] | 635 | \see [S[firmware/export/font.h]] |
636 | 636 | ||
637 | int font_getstringsize(const unsigned char *str, int *w, int *h, int fontnumber) | 637 | int font_getstringsize(const unsigned char *str, int *w, int *h, int fontnumber) |
638 | \conditions !defined(HAVE_LCD_CHARCELLS) | 638 | \conditions defined(HAVE_LCD_BITMAP) |
639 | \param str | 639 | \param str |
640 | \param w | 640 | \param w |
641 | \param h | 641 | \param h |
@@ -644,14 +644,14 @@ int font_getstringsize(const unsigned char *str, int *w, int *h, int fontnumber) | |||
644 | \description | 644 | \description |
645 | 645 | ||
646 | int font_get_width(struct font* pf, unsigned short char_code) | 646 | int font_get_width(struct font* pf, unsigned short char_code) |
647 | \conditions !defined(HAVE_LCD_CHARCELLS) | 647 | \conditions defined(HAVE_LCD_BITMAP) |
648 | \param pf | 648 | \param pf |
649 | \param char_code | 649 | \param char_code |
650 | \return | 650 | \return |
651 | \description | 651 | \description |
652 | 652 | ||
653 | struct font* font_load(const char *path) | 653 | struct font* font_load(const char *path) |
654 | \conditions !defined(HAVE_LCD_CHARCELLS) | 654 | \conditions defined(HAVE_LCD_BITMAP) |
655 | \param path | 655 | \param path |
656 | \return | 656 | \return |
657 | \description Load font =path= and returns a struct font pointer for it | 657 | \description Load font =path= and returns a struct font pointer for it |
@@ -707,7 +707,7 @@ struct system_status *global_status | |||
707 | \see [S[apps/settings.h]] | 707 | \see [S[apps/settings.h]] |
708 | 708 | ||
709 | void gui_scrollbar_draw(struct screen * screen, int x, int y, int width, int height, int items, int min_shown, int max_shown, unsigned flags) | 709 | void gui_scrollbar_draw(struct screen * screen, int x, int y, int width, int height, int items, int min_shown, int max_shown, unsigned flags) |
710 | \conditions !defined(HAVE_LCD_CHARCELLS) | 710 | \conditions defined(HAVE_LCD_BITMAP) |
711 | \param screen | 711 | \param screen |
712 | \param x | 712 | \param x |
713 | \param y | 713 | \param y |
@@ -837,7 +837,7 @@ int kbd_input(char* buffer, int buflen) | |||
837 | 837 | ||
838 | void lcd_bitmap(const fb_data *src, int x, int y, int width, int height) | 838 | void lcd_bitmap(const fb_data *src, int x, int y, int width, int height) |
839 | \group lcd | 839 | \group lcd |
840 | \conditions !defined(HAVE_LCD_CHARCELLS) && (LCD_DEPTH > 1) | 840 | \conditions defined(HAVE_LCD_BITMAP) && (LCD_DEPTH > 1) |
841 | \param src | 841 | \param src |
842 | \param x | 842 | \param x |
843 | \param y | 843 | \param y |
@@ -847,7 +847,7 @@ void lcd_bitmap(const fb_data *src, int x, int y, int width, int height) | |||
847 | 847 | ||
848 | void lcd_bitmap_part(const fb_data *src, int src_x, int src_y, int stride, int x, int y, int width, int height) | 848 | void lcd_bitmap_part(const fb_data *src, int src_x, int src_y, int stride, int x, int y, int width, int height) |
849 | \group lcd | 849 | \group lcd |
850 | \conditions !defined(HAVE_LCD_CHARCELLS) && (LCD_DEPTH > 1) | 850 | \conditions defined(HAVE_LCD_BITMAP) && (LCD_DEPTH > 1) |
851 | \param src | 851 | \param src |
852 | \param src_x | 852 | \param src_x |
853 | \param src_y | 853 | \param src_y |
@@ -860,7 +860,7 @@ void lcd_bitmap_part(const fb_data *src, int src_x, int src_y, int stride, int x | |||
860 | 860 | ||
861 | void lcd_bitmap_transparent(const fb_data *src, int x, int y, int width, int height) | 861 | void lcd_bitmap_transparent(const fb_data *src, int x, int y, int width, int height) |
862 | \group lcd | 862 | \group lcd |
863 | \conditions !defined(HAVE_LCD_CHARCELLS) && (LCD_DEPTH == 16) | 863 | \conditions defined(HAVE_LCD_BITMAP) && (LCD_DEPTH == 16) |
864 | \param src | 864 | \param src |
865 | \param x | 865 | \param x |
866 | \param y | 866 | \param y |
@@ -870,7 +870,7 @@ void lcd_bitmap_transparent(const fb_data *src, int x, int y, int width, int hei | |||
870 | 870 | ||
871 | void lcd_bitmap_transparent_part(const fb_data *src, int src_x, int src_y, int stride, int x, int y, int width, int height) | 871 | void lcd_bitmap_transparent_part(const fb_data *src, int src_x, int src_y, int stride, int x, int y, int width, int height) |
872 | \group lcd | 872 | \group lcd |
873 | \conditions !defined(HAVE_LCD_CHARCELLS) && (LCD_DEPTH == 16) | 873 | \conditions defined(HAVE_LCD_BITMAP) && (LCD_DEPTH == 16) |
874 | \param src | 874 | \param src |
875 | \param src_x | 875 | \param src_x |
876 | \param src_y | 876 | \param src_y |
@@ -883,7 +883,7 @@ void lcd_bitmap_transparent_part(const fb_data *src, int src_x, int src_y, int s | |||
883 | 883 | ||
884 | void lcd_blit_grey_phase(unsigned char *values, unsigned char *phases, int bx, int by, int bwidth, int bheight, int stride) | 884 | void lcd_blit_grey_phase(unsigned char *values, unsigned char *phases, int bx, int by, int bwidth, int bheight, int stride) |
885 | \group lcd | 885 | \group lcd |
886 | \conditions !defined(HAVE_LCD_CHARCELLS) )) && ((LCD_DEPTH < 4) && !defined(SIMULATOR | 886 | \conditions defined(HAVE_LCD_BITMAP) )) && ((LCD_DEPTH < 4) && !defined(SIMULATOR |
887 | \param values | 887 | \param values |
888 | \param phases | 888 | \param phases |
889 | \param bx | 889 | \param bx |
@@ -895,7 +895,7 @@ void lcd_blit_grey_phase(unsigned char *values, unsigned char *phases, int bx, i | |||
895 | 895 | ||
896 | void lcd_blit_mono(const unsigned char *data, int x, int by, int width, int bheight, int stride) | 896 | void lcd_blit_mono(const unsigned char *data, int x, int by, int width, int bheight, int stride) |
897 | \group lcd | 897 | \group lcd |
898 | \conditions !defined(HAVE_LCD_CHARCELLS) )) && ((LCD_DEPTH < 4) && !defined(SIMULATOR | 898 | \conditions defined(HAVE_LCD_BITMAP) )) && ((LCD_DEPTH < 4) && !defined(SIMULATOR |
899 | \param data | 899 | \param data |
900 | \param x | 900 | \param x |
901 | \param by | 901 | \param by |
@@ -906,7 +906,7 @@ void lcd_blit_mono(const unsigned char *data, int x, int by, int width, int bhei | |||
906 | 906 | ||
907 | void lcd_blit_yuv(unsigned char * const src[3], int src_x, int src_y, int stride, int x, int y, int width, int height) | 907 | void lcd_blit_yuv(unsigned char * const src[3], int src_x, int src_y, int stride, int x, int y, int width, int height) |
908 | \group lcd | 908 | \group lcd |
909 | \conditions !defined(HAVE_LCD_CHARCELLS) && (LCD_DEPTH == 16) | 909 | \conditions defined(HAVE_LCD_BITMAP) && (LCD_DEPTH == 16) |
910 | \param src[3] | 910 | \param src[3] |
911 | \param src_x | 911 | \param src_x |
912 | \param src_y | 912 | \param src_y |
@@ -921,22 +921,9 @@ void lcd_clear_display(void) | |||
921 | \group lcd | 921 | \group lcd |
922 | \description Clears the LCD and the framebuffer | 922 | \description Clears the LCD and the framebuffer |
923 | 923 | ||
924 | void lcd_define_pattern(unsigned long ucs, const char *pattern) | ||
925 | \group lcd | ||
926 | \conditions (defined(HAVE_LCD_CHARCELLS)) | ||
927 | \param ucs | ||
928 | \param pattern is a 8x8 pixelbitmap | ||
929 | \description Define a custom pattern for index =ucs= | ||
930 | |||
931 | void lcd_double_height(bool on) | ||
932 | \group lcd | ||
933 | \conditions (defined(HAVE_LCD_CHARCELLS)) | ||
934 | \param on | ||
935 | \description | ||
936 | |||
937 | void lcd_drawline(int x1, int y1, int x2, int y2) | 924 | void lcd_drawline(int x1, int y1, int x2, int y2) |
938 | \group lcd | 925 | \group lcd |
939 | \conditions !defined(HAVE_LCD_CHARCELLS) | 926 | \conditions defined(HAVE_LCD_BITMAP) |
940 | \param x1 X top coordinate | 927 | \param x1 X top coordinate |
941 | \param y1 Y top coordinate | 928 | \param y1 Y top coordinate |
942 | \param x2 X bottom coordinate | 929 | \param x2 X bottom coordinate |
@@ -945,14 +932,14 @@ void lcd_drawline(int x1, int y1, int x2, int y2) | |||
945 | 932 | ||
946 | void lcd_drawpixel(int x, int y) | 933 | void lcd_drawpixel(int x, int y) |
947 | \group lcd | 934 | \group lcd |
948 | \conditions !defined(HAVE_LCD_CHARCELLS) | 935 | \conditions defined(HAVE_LCD_BITMAP) |
949 | \param x | 936 | \param x |
950 | \param y | 937 | \param y |
951 | \description Draws a pixel at (=x=, =y=) within current drawing mode | 938 | \description Draws a pixel at (=x=, =y=) within current drawing mode |
952 | 939 | ||
953 | void lcd_drawrect(int x, int y, int width, int height) | 940 | void lcd_drawrect(int x, int y, int width, int height) |
954 | \group lcd | 941 | \group lcd |
955 | \conditions !defined(HAVE_LCD_CHARCELLS) | 942 | \conditions defined(HAVE_LCD_BITMAP) |
956 | \param x | 943 | \param x |
957 | \param y | 944 | \param y |
958 | \param width | 945 | \param width |
@@ -961,7 +948,7 @@ void lcd_drawrect(int x, int y, int width, int height) | |||
961 | 948 | ||
962 | void lcd_fillrect(int x, int y, int width, int height) | 949 | void lcd_fillrect(int x, int y, int width, int height) |
963 | \group lcd | 950 | \group lcd |
964 | \conditions !defined(HAVE_LCD_CHARCELLS) | 951 | \conditions defined(HAVE_LCD_BITMAP) |
965 | \param x | 952 | \param x |
966 | \param y | 953 | \param y |
967 | \param width | 954 | \param width |
@@ -970,7 +957,7 @@ void lcd_fillrect(int x, int y, int width, int height) | |||
970 | 957 | ||
971 | fb_data* lcd_framebuffer | 958 | fb_data* lcd_framebuffer |
972 | \group lcd | 959 | \group lcd |
973 | \conditions !defined(HAVE_LCD_CHARCELLS) | 960 | \conditions defined(HAVE_LCD_BITMAP) |
974 | \return | 961 | \return |
975 | \description Pointer to the framebuffer | 962 | \description Pointer to the framebuffer |
976 | \see [S[firmware/export/lcd.h]] | 963 | \see [S[firmware/export/lcd.h]] |
@@ -985,55 +972,40 @@ int lcd_getstringsize(const unsigned char *str, int *w, int *h) | |||
985 | 972 | ||
986 | fb_data* lcd_get_backdrop(void) | 973 | fb_data* lcd_get_backdrop(void) |
987 | \group lcd | 974 | \group lcd |
988 | \conditions !defined(HAVE_LCD_CHARCELLS) && (LCD_DEPTH > 1) | 975 | \conditions defined(HAVE_LCD_BITMAP) && (LCD_DEPTH > 1) |
989 | \return Pointer to framebuffer data | 976 | \return Pointer to framebuffer data |
990 | \description Gets the current backdrop | 977 | \description Gets the current backdrop |
991 | \see lcd_framebuffer | 978 | \see lcd_framebuffer |
992 | 979 | ||
993 | unsigned lcd_get_background(void) | 980 | unsigned lcd_get_background(void) |
994 | \group lcd | 981 | \group lcd |
995 | \conditions !defined(HAVE_LCD_CHARCELLS) && (LCD_DEPTH > 1) | 982 | \conditions defined(HAVE_LCD_BITMAP) && (LCD_DEPTH > 1) |
996 | \return | 983 | \return |
997 | \description | 984 | \description |
998 | 985 | ||
999 | int lcd_get_drawmode(void) | 986 | int lcd_get_drawmode(void) |
1000 | \group lcd | 987 | \group lcd |
1001 | \conditions !defined(HAVE_LCD_CHARCELLS) | 988 | \conditions defined(HAVE_LCD_BITMAP) |
1002 | \return current LCD drawing mode | 989 | \return current LCD drawing mode |
1003 | \description | 990 | \description |
1004 | 991 | ||
1005 | unsigned lcd_get_foreground(void) | 992 | unsigned lcd_get_foreground(void) |
1006 | \group lcd | 993 | \group lcd |
1007 | \conditions !defined(HAVE_LCD_CHARCELLS) && (LCD_DEPTH > 1) | 994 | \conditions defined(HAVE_LCD_BITMAP) && (LCD_DEPTH > 1) |
1008 | \return | 995 | \return |
1009 | \description | 996 | \description |
1010 | 997 | ||
1011 | unsigned long lcd_get_locked_pattern(void) | ||
1012 | \group lcd | ||
1013 | \conditions (defined(HAVE_LCD_CHARCELLS)) | ||
1014 | \return | ||
1015 | \description Get a locked pattern index | ||
1016 | \see [S[firmware/drivers/lcd-player.c]] | ||
1017 | |||
1018 | void lcd_hline(int x1, int x2, int y) | 998 | void lcd_hline(int x1, int x2, int y) |
1019 | \group lcd | 999 | \group lcd |
1020 | \conditions !defined(HAVE_LCD_CHARCELLS) | 1000 | \conditions defined(HAVE_LCD_BITMAP) |
1021 | \param x1 X start coordinate | 1001 | \param x1 X start coordinate |
1022 | \param x2 X end coordinate | 1002 | \param x2 X end coordinate |
1023 | \param y Y coordinate | 1003 | \param y Y coordinate |
1024 | \description Draws a horizontal line at (=x1=, =y=) -> (=x2=, =y=) within current drawing mode | 1004 | \description Draws a horizontal line at (=x1=, =y=) -> (=x2=, =y=) within current drawing mode |
1025 | 1005 | ||
1026 | void lcd_icon(int icon, bool enable) | ||
1027 | \group lcd | ||
1028 | \conditions (defined(HAVE_LCD_CHARCELLS)) | ||
1029 | \param icon | ||
1030 | \param enable | ||
1031 | \description | ||
1032 | \see [S[firmware/drivers/lcd-player.c]] | ||
1033 | |||
1034 | void lcd_mono_bitmap(const unsigned char *src, int x, int y, int width, int height) | 1006 | void lcd_mono_bitmap(const unsigned char *src, int x, int y, int width, int height) |
1035 | \group lcd | 1007 | \group lcd |
1036 | \conditions !defined(HAVE_LCD_CHARCELLS) | 1008 | \conditions defined(HAVE_LCD_BITMAP) |
1037 | \param src | 1009 | \param src |
1038 | \param x | 1010 | \param x |
1039 | \param y | 1011 | \param y |
@@ -1043,7 +1015,7 @@ void lcd_mono_bitmap(const unsigned char *src, int x, int y, int width, int heig | |||
1043 | 1015 | ||
1044 | void lcd_mono_bitmap_part(const unsigned char *src, int src_x, int src_y, int stride, int x, int y, int width, int height) | 1016 | void lcd_mono_bitmap_part(const unsigned char *src, int src_x, int src_y, int stride, int x, int y, int width, int height) |
1045 | \group lcd | 1017 | \group lcd |
1046 | \conditions !defined(HAVE_LCD_CHARCELLS) | 1018 | \conditions defined(HAVE_LCD_BITMAP) |
1047 | \param src | 1019 | \param src |
1048 | \param src_x | 1020 | \param src_x |
1049 | \param src_y | 1021 | \param src_y |
@@ -1054,14 +1026,6 @@ void lcd_mono_bitmap_part(const unsigned char *src, int src_x, int src_y, int st | |||
1054 | \param height | 1026 | \param height |
1055 | \description | 1027 | \description |
1056 | 1028 | ||
1057 | void lcd_putc(int x, int y, unsigned long ucs) | ||
1058 | \group lcd | ||
1059 | \conditions (defined(HAVE_LCD_CHARCELLS)) | ||
1060 | \param x | ||
1061 | \param y | ||
1062 | \param ucs | ||
1063 | \description Put character =ucs= at coordinates (=x=, =y=) | ||
1064 | |||
1065 | void lcd_puts(int x, int y, const unsigned char *string) | 1029 | void lcd_puts(int x, int y, const unsigned char *string) |
1066 | \group lcd | 1030 | \group lcd |
1067 | \param x Row X | 1031 | \param x Row X |
@@ -1083,15 +1047,6 @@ void lcd_puts_scroll(int x, int y, const unsigned char* string) | |||
1083 | \param string | 1047 | \param string |
1084 | \description Puts scrolling string on the LCD at row =x= and column =y=. The scrolling style is STYLE_DEFAULT. | 1048 | \description Puts scrolling string on the LCD at row =x= and column =y=. The scrolling style is STYLE_DEFAULT. |
1085 | 1049 | ||
1086 | void lcd_put_cursor(int x, int y, unsigned long ucs) | ||
1087 | \group lcd | ||
1088 | \conditions (defined(HAVE_LCD_CHARCELLS)) | ||
1089 | \param x | ||
1090 | \param y | ||
1091 | \param ucs | ||
1092 | \description Put cursor at coordinates (=x=, =y=) | ||
1093 | \see [S[firmware/export/lcd.h]] | ||
1094 | |||
1095 | void lcd_remote_bitmap(const fb_remote_data *src, int x, int y, int width, int height) | 1050 | void lcd_remote_bitmap(const fb_remote_data *src, int x, int y, int width, int height) |
1096 | \conditions (defined(HAVE_REMOTE_LCD) && (LCD_REMOTE_DEPTH > 1)) | 1051 | \conditions (defined(HAVE_REMOTE_LCD) && (LCD_REMOTE_DEPTH > 1)) |
1097 | \param src | 1052 | \param src |
@@ -1302,27 +1257,22 @@ void lcd_remote_vline(int x, int y1, int y2) | |||
1302 | \param y2 | 1257 | \param y2 |
1303 | \description | 1258 | \description |
1304 | 1259 | ||
1305 | void lcd_remove_cursor(void) | ||
1306 | \group lcd | ||
1307 | \conditions (defined(HAVE_LCD_CHARCELLS)) | ||
1308 | \description Remove the cursor from the screen | ||
1309 | |||
1310 | void lcd_setfont(int font) | 1260 | void lcd_setfont(int font) |
1311 | \group lcd | 1261 | \group lcd |
1312 | \conditions !defined(HAVE_LCD_CHARCELLS) | 1262 | \conditions defined(HAVE_LCD_BITMAP) |
1313 | \param font | 1263 | \param font |
1314 | \description Set default font | 1264 | \description Set default font |
1315 | 1265 | ||
1316 | void lcd_set_backdrop(fb_data* backdrop) | 1266 | void lcd_set_backdrop(fb_data* backdrop) |
1317 | \group lcd | 1267 | \group lcd |
1318 | \conditions !defined(HAVE_LCD_CHARCELLS) && (LCD_DEPTH > 1) | 1268 | \conditions defined(HAVE_LCD_BITMAP) && (LCD_DEPTH > 1) |
1319 | \param backdrop Pointer to backdrop image | 1269 | \param backdrop Pointer to backdrop image |
1320 | \description Set the backdrop to =backdrop= | 1270 | \description Set the backdrop to =backdrop= |
1321 | \see lcd_framebuffer | 1271 | \see lcd_framebuffer |
1322 | 1272 | ||
1323 | void lcd_set_background(unsigned foreground) | 1273 | void lcd_set_background(unsigned foreground) |
1324 | \group lcd | 1274 | \group lcd |
1325 | \conditions !defined(HAVE_LCD_CHARCELLS) && (LCD_DEPTH > 1) | 1275 | \conditions defined(HAVE_LCD_BITMAP) && (LCD_DEPTH > 1) |
1326 | \param foreground | 1276 | \param foreground |
1327 | \description | 1277 | \description |
1328 | 1278 | ||
@@ -1333,19 +1283,19 @@ void lcd_set_contrast(int x) | |||
1333 | 1283 | ||
1334 | void lcd_set_drawmode(int mode) | 1284 | void lcd_set_drawmode(int mode) |
1335 | \group lcd | 1285 | \group lcd |
1336 | \conditions !defined(HAVE_LCD_CHARCELLS) | 1286 | \conditions defined(HAVE_LCD_BITMAP) |
1337 | \param mode | 1287 | \param mode |
1338 | \description | 1288 | \description |
1339 | 1289 | ||
1340 | void lcd_set_foreground(unsigned foreground) | 1290 | void lcd_set_foreground(unsigned foreground) |
1341 | \group lcd | 1291 | \group lcd |
1342 | \conditions !defined(HAVE_LCD_CHARCELLS) && (LCD_DEPTH > 1) | 1292 | \conditions defined(HAVE_LCD_BITMAP) && (LCD_DEPTH > 1) |
1343 | \param foreground | 1293 | \param foreground |
1344 | \description | 1294 | \description |
1345 | 1295 | ||
1346 | void lcd_set_invert_display(bool yesno) | 1296 | void lcd_set_invert_display(bool yesno) |
1347 | \group lcd | 1297 | \group lcd |
1348 | \conditions !defined(HAVE_LCD_CHARCELLS) )) && (defined(HAVE_LCD_INVERT | 1298 | \conditions defined(HAVE_LCD_BITMAP) )) && (defined(HAVE_LCD_INVERT |
1349 | \param yesno | 1299 | \param yesno |
1350 | \description | 1300 | \description |
1351 | 1301 | ||
@@ -1353,19 +1303,13 @@ void lcd_stop_scroll(void) | |||
1353 | \group lcd | 1303 | \group lcd |
1354 | \description Stop all scrolling lines on the screen | 1304 | \description Stop all scrolling lines on the screen |
1355 | 1305 | ||
1356 | void lcd_unlock_pattern(unsigned long ucs) | ||
1357 | \group lcd | ||
1358 | \conditions (defined(HAVE_LCD_CHARCELLS)) | ||
1359 | \param ucs | ||
1360 | \description Unlock pattern of index =ucs= | ||
1361 | |||
1362 | void lcd_update(void) | 1306 | void lcd_update(void) |
1363 | \group lcd | 1307 | \group lcd |
1364 | \description Pushes LCD framebuffer changes to the LCD | 1308 | \description Pushes LCD framebuffer changes to the LCD |
1365 | 1309 | ||
1366 | void lcd_update_rect(int x, int y, int width, int height) | 1310 | void lcd_update_rect(int x, int y, int width, int height) |
1367 | \group lcd | 1311 | \group lcd |
1368 | \conditions !defined(HAVE_LCD_CHARCELLS) | 1312 | \conditions defined(HAVE_LCD_BITMAP) |
1369 | \param x measured in pixels | 1313 | \param x measured in pixels |
1370 | \param y measured in pixels | 1314 | \param y measured in pixels |
1371 | \param width measured in pixels | 1315 | \param width measured in pixels |
@@ -1374,7 +1318,7 @@ void lcd_update_rect(int x, int y, int width, int height) | |||
1374 | 1318 | ||
1375 | void lcd_vline(int x, int y1, int y2) | 1319 | void lcd_vline(int x, int y1, int y2) |
1376 | \group lcd | 1320 | \group lcd |
1377 | \conditions !defined(HAVE_LCD_CHARCELLS) | 1321 | \conditions defined(HAVE_LCD_BITMAP) |
1378 | \param x X coordinate | 1322 | \param x X coordinate |
1379 | \param y1 Y start coordinate | 1323 | \param y1 Y start coordinate |
1380 | \param y2 Y end coordinate | 1324 | \param y2 Y end coordinate |
@@ -1382,7 +1326,7 @@ void lcd_vline(int x, int y1, int y2) | |||
1382 | 1326 | ||
1383 | void lcd_yuv_set_options(unsigned options) | 1327 | void lcd_yuv_set_options(unsigned options) |
1384 | \group lcd | 1328 | \group lcd |
1385 | \conditions !defined(HAVE_LCD_CHARCELLS) )) && (LCD_DEPTH == 16) && (defined(TOSHIBA_GIGABEAT_F) || defined(SANSA_E200) || defined(SANSA_C200) || defined(IRIVER_H10) || defined(COWON_D2 | 1329 | \conditions defined(HAVE_LCD_BITMAP) )) && (LCD_DEPTH == 16) && (defined(TOSHIBA_GIGABEAT_F) || defined(SANSA_E200) || defined(SANSA_C200) || defined(IRIVER_H10) || defined(COWON_D2 |
1386 | \param options | 1330 | \param options |
1387 | \description | 1331 | \description |
1388 | 1332 | ||
@@ -1932,7 +1876,7 @@ struct screen* screens[NB_SCREENS] | |||
1932 | \description | 1876 | \description |
1933 | 1877 | ||
1934 | void screen_clear_area(struct screen * display, int xstart, int ystart, int width, int height) | 1878 | void screen_clear_area(struct screen * display, int xstart, int ystart, int width, int height) |
1935 | \conditions !defined(HAVE_LCD_CHARCELLS) | 1879 | \conditions defined(HAVE_LCD_BITMAP) |
1936 | \param display | 1880 | \param display |
1937 | \param xstart | 1881 | \param xstart |
1938 | \param ystart | 1882 | \param ystart |