Build doom on clipv2 and clip+
[kugel-rb.git] / apps / plugins / lib / xlcd.h
blobb6d0867e011a6866faeb2d284f6cccb6d0b14f07
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
10 * Additional LCD routines not present in the core itself
12 * Copyright (C) 2005 Jens Arnold
14 * This program is free software; you can redistribute it and/or
15 * modify it under the terms of the GNU General Public License
16 * as published by the Free Software Foundation; either version 2
17 * of the License, or (at your option) any later version.
19 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
20 * KIND, either express or implied.
22 ****************************************************************************/
24 #ifndef __XLCD_H__
25 #define __XLCD_H__
27 #include "plugin.h"
29 #ifdef HAVE_LCD_BITMAP
31 void xlcd_filltriangle(int x1, int y1, int x2, int y2, int x3, int y3);
32 void xlcd_filltriangle_screen(struct screen* display,
33 int x1, int y1, int x2, int y2, int x3, int y3);
34 #if LCD_DEPTH >= 8
35 void xlcd_gray_bitmap_part(const unsigned char *src, int src_x, int src_y,
36 int stride, int x, int y, int width, int height);
37 void xlcd_gray_bitmap(const unsigned char *src, int x, int y, int width,
38 int height);
39 #ifdef HAVE_LCD_COLOR
40 void xlcd_color_bitmap_part(const unsigned char *src, int src_x, int src_y,
41 int stride, int x, int y, int width, int height);
42 void xlcd_color_bitmap(const unsigned char *src, int x, int y, int width,
43 int height);
44 #endif
45 #endif
47 void xlcd_scroll_left(int count);
48 void xlcd_scroll_right(int count);
49 void xlcd_scroll_up(int count);
50 void xlcd_scroll_down(int count);
52 #endif /* HAVE_LCD_BITMAP */
53 #endif /* __XLCD_H__ */