glcd driver: Implement user selectable cell size (if FreeType enabled), big

numbers using FreeType and 16x24 built-in font. Complete API towards LCDd
and connection types.
This commit is contained in:
mmdolze
2011-11-20 11:15:39 +00:00
parent fdd440219d
commit e45822c37d
6 changed files with 381 additions and 53 deletions
+8
View File
@@ -12,10 +12,18 @@ MODULE_EXPORT void glcd_flush(Driver *drvthis);
MODULE_EXPORT void glcd_string(Driver *drvthis, int x, int y, const char string[]);
MODULE_EXPORT void glcd_chr(Driver *drvthis, int x, int y, char c);
MODULE_EXPORT void glcd_num(Driver *drvthis, int x, int num);
MODULE_EXPORT void glcd_vbar(Driver *drvthis, int x, int y, int len, int promille, int options);
MODULE_EXPORT void glcd_hbar(Driver *drvthis, int x, int y, int len, int promille, int options);
MODULE_EXPORT int glcd_icon(Driver *drvthis, int x, int y, int icon);
MODULE_EXPORT const char *glcd_get_info(Driver *drvthis);
MODULE_EXPORT int glcd_get_contrast (Driver *drvthis);
MODULE_EXPORT void glcd_set_contrast (Driver *drvthis, int promille);
MODULE_EXPORT int glcd_get_brightness (Driver *drvthis, int state);
MODULE_EXPORT void glcd_set_brightness (Driver *drvthis, int state, int promille);
MODULE_EXPORT void glcd_backlight (Driver *drvthis, int promille);
MODULE_EXPORT void glcd_output(Driver *drvthis, int value);
#endif