A modern Music Player Daemon based on Rockbox open source high quality audio player
libadwaita
audio
rust
zig
deno
mpris
rockbox
mpd
1/***************************************************************************
2* __________ __ ___.
3* Open \______ \ ____ ____ | | _\_ |__ _______ ___
4* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5* Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6* Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7* \/ \/ \/ \/ \/
8* $Id$
9*
10* Additional LCD routines not present in the core itself
11*
12* Copyright (C) 2005 Jens Arnold
13*
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.
18*
19* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
20* KIND, either express or implied.
21*
22****************************************************************************/
23
24#ifndef __XLCD_H__
25#define __XLCD_H__
26
27#include "plugin.h"
28
29void xlcd_filltriangle(int x1, int y1, int x2, int y2, int x3, int y3);
30void xlcd_filltriangle_screen(struct screen* display,
31 int x1, int y1, int x2, int y2, int x3, int y3);
32void xlcd_fillcircle(int cx, int cy, int radius);
33void xlcd_fillcircle_screen(struct screen* display, int cx, int cy, int radius);
34void xlcd_drawcircle(int cx, int cy, int radius);
35void xlcd_drawcircle_screen(struct screen* display, int cx, int cy, int radius);
36
37fb_data* get_framebuffer(struct viewport *vp, size_t *stride); /*CORE*/
38
39#if LCD_DEPTH >= 8
40void xlcd_gray_bitmap_part(const unsigned char *src, int src_x, int src_y,
41 int stride, int x, int y, int width, int height);
42void xlcd_gray_bitmap(const unsigned char *src, int x, int y, int width,
43 int height);
44#ifdef HAVE_LCD_COLOR
45void xlcd_color_bitmap_part(const unsigned char *src, int src_x, int src_y,
46 int stride, int x, int y, int width, int height);
47void xlcd_color_bitmap(const unsigned char *src, int x, int y, int width,
48 int height);
49#endif
50#endif
51
52void xlcd_scroll_left(int count);
53void xlcd_scroll_right(int count);
54void xlcd_scroll_up(int count);
55void xlcd_scroll_down(int count);
56
57#endif /* __XLCD_H__ */
58