mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
plugins: use lcd_putsf/lcd_putsxyf
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27926 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
8418a2c94a
commit
ab9fd1840b
52 changed files with 173 additions and 412 deletions
|
@ -598,11 +598,9 @@ int screen[X_MAX + 1][Y_MAX + 1];
|
|||
*
|
||||
*****************************************************************************/
|
||||
|
||||
static void drawchar(int x, int y, char c)
|
||||
static inline void drawchar(int x, int y, char c)
|
||||
{
|
||||
char str[2];
|
||||
rb->snprintf(str, sizeof(str), "%c", c);
|
||||
rb->lcd_putsxy(x*SYSFONT_WIDTH, y*SYSFONT_HEIGHT, str);
|
||||
rb->lcd_putsxyf(x*SYSFONT_WIDTH, y*SYSFONT_HEIGHT, "%c", c);
|
||||
}
|
||||
|
||||
static void draw(struct screen_object o)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue