2002-08-13 09:19:21 +00:00
|
|
|
/***************************************************************************
|
|
|
|
* __________ __ ___.
|
|
|
|
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
|
|
|
|
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
|
|
|
|
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
|
|
|
|
* Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
|
|
|
|
* \/ \/ \/ \/ \/
|
|
|
|
* $Id$
|
|
|
|
*
|
|
|
|
* Copyright (C) 2002 by Robert E. Hak <rhak@ramapo.edu>
|
|
|
|
*
|
|
|
|
* Windows Copyright (C) 2002 by Felix Arends
|
|
|
|
* X11 Copyright (C) 2002 by Daniel Stenberg <daniel@haxx.se>
|
|
|
|
*
|
|
|
|
* All files in this archive are subject to the GNU General Public License.
|
|
|
|
* See the file COPYING in the source tree root for full license agreement.
|
|
|
|
*
|
|
|
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
|
|
|
* KIND, either express or implied.
|
|
|
|
*
|
|
|
|
****************************************************************************/
|
|
|
|
|
|
|
|
#include "lcd-common.h"
|
|
|
|
|
2002-08-13 09:32:56 +00:00
|
|
|
#include "lcd.h"
|
2002-08-13 09:19:21 +00:00
|
|
|
|
2006-02-03 15:19:58 +00:00
|
|
|
#if defined(SDL)
|
|
|
|
#include "lcd-sdl.h"
|
|
|
|
#elif defined(WIN32)
|
2005-02-22 12:19:12 +00:00
|
|
|
#include "lcd-win32.h"
|
2002-08-13 09:19:21 +00:00
|
|
|
#else
|
2005-02-22 12:19:12 +00:00
|
|
|
#include "lcd-x11.h"
|
2002-08-13 09:19:21 +00:00
|
|
|
#endif
|
2003-12-15 10:25:51 +00:00
|
|
|
|
2005-11-15 23:37:21 +00:00
|
|
|
void lcd_blit(const fb_data* p_data, int x, int y, int width, int height,
|
2003-12-15 10:25:51 +00:00
|
|
|
int stride)
|
|
|
|
{
|
|
|
|
(void)p_data;
|
|
|
|
(void)x;
|
|
|
|
(void)y;
|
|
|
|
(void)width;
|
|
|
|
(void)height;
|
|
|
|
(void)stride;
|
|
|
|
}
|
|
|
|
|
2003-12-20 10:00:37 +00:00
|
|
|
void lcd_set_flip(bool yesno)
|
|
|
|
{
|
|
|
|
(void)yesno;
|
2004-04-21 09:44:07 +00:00
|
|
|
}
|
|
|
|
|
2005-05-23 16:23:25 +00:00
|
|
|
void lcd_set_invert_display(bool invert)
|
|
|
|
{
|
|
|
|
(void)invert;
|
|
|
|
}
|
|
|
|
|
2006-07-25 11:15:50 +00:00
|
|
|
int lcd_default_contrast(void)
|
2005-05-23 16:23:25 +00:00
|
|
|
{
|
2006-07-25 11:15:50 +00:00
|
|
|
return 28;
|
2005-05-23 16:23:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#ifdef HAVE_REMOTE_LCD
|
|
|
|
void lcd_remote_set_contrast(int val)
|
|
|
|
{
|
|
|
|
(void)val;
|
|
|
|
}
|
|
|
|
void lcd_remote_backlight_on(int val)
|
|
|
|
{
|
|
|
|
(void)val;
|
|
|
|
}
|
|
|
|
void lcd_remote_backlight_off(int val)
|
|
|
|
{
|
|
|
|
(void)val;
|
|
|
|
}
|
2005-06-17 22:03:56 +00:00
|
|
|
|
|
|
|
void lcd_remote_set_flip(bool yesno)
|
|
|
|
{
|
|
|
|
(void)yesno;
|
|
|
|
}
|
2006-07-25 11:15:50 +00:00
|
|
|
|
|
|
|
void lcd_remote_set_invert_display(bool invert)
|
|
|
|
{
|
|
|
|
(void)invert;
|
|
|
|
}
|
2005-05-23 16:23:25 +00:00
|
|
|
#endif
|