Subversion Repositories freemyipod

Rev

Rev 243 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 243 Rev 293
Line 28... Line 28...
28
#include "global.h"
28
#include "global.h"
29
#include "drawing.h"
29
#include "drawing.h"
30
#include "lcd.h"
30
#include "lcd.h"
31
 
31
 
32
 
32
 
33
#define LCDCONSOLE_COLS (LCD_WIDTH / FONT_WIDTH)
33
#define LCDCONSOLE_COLS (FRAMEBUF_WIDTH / FONT_WIDTH)
34
#define LCDCONSOLE_ROWS (LCD_HEIGHT / FONT_HEIGHT)
34
#define LCDCONSOLE_ROWS (FRAMEBUF_HEIGHT / FONT_HEIGHT)
35
#define LCDCONSOLE_OFFSETX ((LCD_WIDTH - LCDCONSOLE_COLS * FONT_WIDTH) / 2)
35
#define LCDCONSOLE_OFFSETX ((FRAMEBUF_WIDTH - LCDCONSOLE_COLS * FONT_WIDTH) / 2)
36
#define LCDCONSOLE_OFFSETY ((LCD_HEIGHT - LCDCONSOLE_ROWS * FONT_HEIGHT) / 2)
36
#define LCDCONSOLE_OFFSETY ((FRAMEBUF_HEIGHT - LCDCONSOLE_ROWS * FONT_HEIGHT) / 2)
37
 
37
 
38
 
38
 
39
void lcdconsole_init();
39
void lcdconsole_init();
40
void lcdconsole_putc(char string, int fgcolor, int bgcolor) ICODE_ATTR;
40
void lcdconsole_putc(char string, int fgcolor, int bgcolor) ICODE_ATTR;
41
void lcdconsole_puts(const char* string, int fgcolor, int bgcolor) ICODE_ATTR;
41
void lcdconsole_puts(const char* string, int fgcolor, int bgcolor) ICODE_ATTR;