summaryrefslogtreecommitdiff
path: root/apps/gui/logo.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui/logo.h')
-rw-r--r--apps/gui/logo.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/apps/gui/logo.h b/apps/gui/logo.h
new file mode 100644
index 0000000000..38eafeaef2
--- /dev/null
+++ b/apps/gui/logo.h
@@ -0,0 +1,43 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
9 *
10 * Copyright (C) 2005 by Kevin Ferrare
11 *
12 * All files in this archive are subject to the GNU General Public License.
13 * See the file COPYING in the source tree root for full license agreement.
14 *
15 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16 * KIND, either express or implied.
17 *
18 ****************************************************************************/
19
20#ifndef _GUI_LOGO_H_
21#define _GUI_LOGO_H_
22#include "screen_access.h"
23
24struct logo{
25#ifdef HAVE_LCD_BITMAP
26 const unsigned char * bitmap;
27 int width;
28 int height;
29#else
30 const char * text;
31#endif
32};
33
34extern struct logo usb_logos[];
35
36/*
37 * Draws the given logo at the center of the given screen
38 * - logo : the logo
39 * - display : the screen to draw on
40 */
41void gui_logo_draw(struct logo * logo, struct screen * display);
42
43#endif /* _GUI_LOGO_H_ */