diff options
| author | Daniel Stenberg <daniel@haxx.se> | 2005-06-22 20:40:35 +0000 |
|---|---|---|
| committer | Daniel Stenberg <daniel@haxx.se> | 2005-06-22 20:40:35 +0000 |
| commit | 055303ad7d3b7fd4de58009d1b54be60f535c480 (patch) | |
| tree | 1865ba5fed3dc41adbae3e89274d8cac00733a00 /apps/codecs.h | |
| parent | 17098e1c088bca52de53224bf483dbccd2639dcc (diff) | |
| download | rockbox-055303ad7d3b7fd4de58009d1b54be60f535c480.zip rockbox-055303ad7d3b7fd4de58009d1b54be60f535c480.tar.gz rockbox-055303ad7d3b7fd4de58009d1b54be60f535c480.tar.bz2 rockbox-055303ad7d3b7fd4de58009d1b54be60f535c480.tar.xz | |
rip out all the LCD junk from the codec API
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6821 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs.h')
| -rw-r--r-- | apps/codecs.h | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/apps/codecs.h b/apps/codecs.h index ac5265c..59de3ec 100644 --- a/apps/codecs.h +++ b/apps/codecs.h @@ -39,7 +39,6 @@ #include "button.h" #include "font.h" #include "system.h" -#include "lcd.h" #include "id3.h" #include "mpeg.h" #include "audio.h" @@ -50,15 +49,8 @@ #include "settings.h" #include "thread.h" #include "playlist.h" -#ifdef HAVE_LCD_BITMAP -#include "widgets.h" -#endif #include "sound.h" -#ifdef HAVE_REMOTE_LCD -#include "lcd-remote.h" -#endif - #ifdef CODEC #if defined(DEBUG) || defined(SIMULATOR) @@ -177,54 +169,6 @@ struct codec_api { /* Configure different codec buffer parameters. */ void (*configure)(int setting, void *value); - - /* lcd */ - void (*lcd_clear_display)(void); - void (*lcd_puts)(int x, int y, const unsigned char *string); - void (*lcd_puts_scroll)(int x, int y, const unsigned char* string); - void (*lcd_stop_scroll)(void); - void (*lcd_set_contrast)(int x); -#ifdef HAVE_LCD_CHARCELLS - void (*lcd_define_pattern)(int which,const char *pattern); - unsigned char (*lcd_get_locked_pattern)(void); - void (*lcd_unlock_pattern)(unsigned char pat); - void (*lcd_putc)(int x, int y, unsigned short ch); - void (*lcd_put_cursor)(int x, int y, char cursor_char); - void (*lcd_remove_cursor)(void); - void (*PREFIX(lcd_icon))(int icon, bool enable); -#else - void (*lcd_putsxy)(int x, int y, const unsigned char *string); - void (*lcd_puts_style)(int x, int y, const unsigned char *str, int style); - void (*lcd_puts_scroll_style)(int x, int y, const unsigned char* string, - int style); - void (*lcd_bitmap)(const unsigned char *src, int x, int y, - int nx, int ny, bool clear); - void (*lcd_drawline)(int x1, int y1, int x2, int y2); - void (*lcd_clearline)(int x1, int y1, int x2, int y2); - void (*lcd_drawpixel)(int x, int y); - void (*lcd_clearpixel)(int x, int y); - void (*lcd_setfont)(int font); - struct font* (*font_get)(int font); - void (*lcd_clearrect)(int x, int y, int nx, int ny); - void (*lcd_fillrect)(int x, int y, int nx, int ny); - void (*lcd_drawrect)(int x, int y, int nx, int ny); - void (*lcd_invertrect)(int x, int y, int nx, int ny); - int (*lcd_getstringsize)(const unsigned char *str, int *w, int *h); - void (*lcd_update)(void); - void (*lcd_update_rect)(int x, int y, int width, int height); - void (*scrollbar)(int x, int y, int width, int height, int items, - int min_shown, int max_shown, int orientation); - void (*checkbox)(int x, int y, int width, int height, bool checked); - unsigned char* lcd_framebuffer; - void (*lcd_blit) (const unsigned char* p_data, int x, int y, int width, - int height, int stride); -#ifndef SIMULATOR - void (*lcd_roll)(int pixels); -#endif -#endif - void (*backlight_on)(void); - void (*backlight_off)(void); - void (*backlight_set_timeout)(int index); void (*splash)(int ticks, bool center, const char *fmt, ...); /* file */ @@ -377,10 +321,6 @@ struct codec_api { void (*peak_meter_set_use_dbfs)(int use); int (*peak_meter_get_use_dbfs)(void); #endif -#ifdef HAVE_LCD_BITMAP - int (*read_bmp_file)(char* filename, int *get_width, int *get_height, - char *bitmap, int maxsize); -#endif /* new stuff at the end, sort into place next time the API gets incompatible */ |