added sed1520_cellwidth() and sed1520_cellheight()

based on a patch by rene ( just AT absorb it )
This commit is contained in:
marschap
2005-01-22 19:01:17 +00:00
parent 112d58eb33
commit e3b41e3dc6
2 changed files with 20 additions and 0 deletions
+18
View File
@@ -267,6 +267,24 @@ sed1520_height (Driver *drvthis)
return height;
}
/////////////////////////////////////////////////////////////////
// Returns the display width
//
MODULE_EXPORT int
sed1520_cellwidth (Driver *drvthis)
{
return cellwidth;
}
/////////////////////////////////////////////////////////////////
// Returns the display height
//
MODULE_EXPORT int
sed1520_cellheight (Driver *drvthis)
{
return cellheight;
}
/////////////////////////////////////////////////////////////////
// Clears the LCD screen
//
+2
View File
@@ -7,6 +7,8 @@ MODULE_EXPORT int sed1520_init (Driver *drvthis, char *args);
MODULE_EXPORT void sed1520_close (Driver *drvthis);
MODULE_EXPORT int sed1520_width (Driver *drvthis);
MODULE_EXPORT int sed1520_height (Driver *drvthis);
MODULE_EXPORT int sed1520_cellwidth (Driver *drvthis);
MODULE_EXPORT int sed1520_cellheight (Driver *drvthis);
MODULE_EXPORT void sed1520_clear (Driver *drvthis);
MODULE_EXPORT void sed1520_flush (Driver *drvthis);
MODULE_EXPORT void sed1520_string (Driver *drvthis, int x, int y, char string[]);