blob: a50745a33410d8456b2a854ff61cfa89611902d2 [file] [log] [blame]
Robert Hak4db2ded2002-08-13 09:19:21 +00001/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
9 *
10 * Copyright (C) 2002 by Robert E. Hak <rhak@ramapo.edu>
11 *
12 * Windows Copyright (C) 2002 by Felix Arends
13 * X11 Copyright (C) 2002 by Daniel Stenberg <daniel@haxx.se>
14 *
15 * All files in this archive are subject to the GNU General Public License.
16 * See the file COPYING in the source tree root for full license agreement.
17 *
18 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
19 * KIND, either express or implied.
20 *
21 ****************************************************************************/
22
23#include "lcd-common.h"
24
Robert Hake7a6a822002-08-13 09:32:56 +000025#include "lcd.h"
26
Linus Nielsen Feltzingfc72c532006-02-03 15:19:58 +000027#if defined(SDL)
28#include "lcd-sdl.h"
29#elif defined(WIN32)
Daniel Stenberg22b77012005-02-22 12:19:12 +000030#include "lcd-win32.h"
Robert Hak4db2ded2002-08-13 09:19:21 +000031#else
Daniel Stenberg22b77012005-02-22 12:19:12 +000032#include "lcd-x11.h"
Robert Hak4db2ded2002-08-13 09:19:21 +000033#endif
Daniel Stenberg41cfe302003-12-15 10:25:51 +000034
Jens Arnold3be6cf12005-11-15 23:37:21 +000035void lcd_blit(const fb_data* p_data, int x, int y, int width, int height,
Daniel Stenberg41cfe302003-12-15 10:25:51 +000036 int stride)
37{
38 (void)p_data;
39 (void)x;
40 (void)y;
41 (void)width;
42 (void)height;
43 (void)stride;
44}
45
Jörg Hohensohna5e1d062003-12-20 10:00:37 +000046void lcd_set_flip(bool yesno)
47{
48 (void)yesno;
Jens Arnolde8bb31e2004-04-21 09:44:07 +000049}
50
Daniel Stenbergac31e6a2005-05-23 16:23:25 +000051void lcd_set_invert_display(bool invert)
52{
53 (void)invert;
54}
55
Jens Arnold9051afa2006-07-25 11:15:50 +000056int lcd_default_contrast(void)
Daniel Stenbergac31e6a2005-05-23 16:23:25 +000057{
Jens Arnold9051afa2006-07-25 11:15:50 +000058 return 28;
Daniel Stenbergac31e6a2005-05-23 16:23:25 +000059}
60
61#ifdef HAVE_REMOTE_LCD
62void lcd_remote_set_contrast(int val)
63{
64 (void)val;
65}
66void lcd_remote_backlight_on(int val)
67{
68 (void)val;
69}
70void lcd_remote_backlight_off(int val)
71{
72 (void)val;
73}
Jens Arnold22c15b72005-06-17 22:03:56 +000074
75void lcd_remote_set_flip(bool yesno)
76{
77 (void)yesno;
78}
Jens Arnold9051afa2006-07-25 11:15:50 +000079
80void lcd_remote_set_invert_display(bool invert)
81{
82 (void)invert;
83}
Daniel Stenbergac31e6a2005-05-23 16:23:25 +000084#endif