summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2009-08-03 05:06:26 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2009-08-03 05:06:26 +0000
commit0ce5b3296fc6a54ed3234d899863c2b9279bf854 (patch)
tree57470594531d14dac380f0eb54ba56189674c9cc /apps
parentb5442f8752f510f0b79d09579ad98ac517848721 (diff)
downloadrockbox-0ce5b3296fc6a54ed3234d899863c2b9279bf854.tar.gz
rockbox-0ce5b3296fc6a54ed3234d899863c2b9279bf854.zip
one more add which didnt get added
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22137 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/gui/skin_engine/skin_engine.h59
1 files changed, 59 insertions, 0 deletions
diff --git a/apps/gui/skin_engine/skin_engine.h b/apps/gui/skin_engine/skin_engine.h
new file mode 100644
index 0000000000..00232a327a
--- /dev/null
+++ b/apps/gui/skin_engine/skin_engine.h
@@ -0,0 +1,59 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id: wps_internals.h 22062 2009-07-27 07:21:05Z jdgordon $
9 *
10 * Copyright (C) 2007 Nicolas Pennequin
11 * Copyright (C) 2009 Jonathan Gordon
12 *
13 * This program is free software; you can redistribute it and/or
14 * modify it under the terms of the GNU General Public License
15 * as published by the Free Software Foundation; either version 2
16 * of the License, or (at your option) any later version.
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#ifndef _SKIN_ENGINE_H
24#define _SKIN_ENGINE_H
25
26#include "wps_internals.h" /* TODO: remove this line.. shoudlnt be needed */
27
28
29#ifdef HAVE_TOUCHSCREEN
30int wps_get_touchaction(struct wps_data *data);
31#endif
32
33#ifdef HAVE_ALBUMART
34/* gives back if WPS contains an albumart tag */
35bool gui_sync_wps_uses_albumart(void);
36#endif
37
38/* setup and display a WPS for the first time */
39bool gui_wps_display(struct gui_wps *gwps);
40
41
42/* Do a update_type update of the skinned screen */
43bool skin_update(struct gui_wps *gwps, unsigned int update_type);
44
45/* to setup up the wps-data from a format-buffer (isfile = false)
46 from a (wps-)file (isfile = true)
47 if buf == NULL it will load the hardcoded default
48 */
49void skin_data_load(struct wps_data *wps_data,
50 struct screen *display,
51 const char *buf,
52 bool isfile);
53
54
55
56
57
58
59#endif