1 /***************************************************************************
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
8 * $Id: wps_internals.h 22062 2009-07-27 07:21:05Z jdgordon $
10 * Copyright (C) 2007 Nicolas Pennequin
11 * Copyright (C) 2009 Jonathan Gordon
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.
18 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
19 * KIND, either express or implied.
21 ****************************************************************************/
23 #ifndef _SKIN_ENGINE_H
24 #define _SKIN_ENGINE_H
26 #include "wps_internals.h" /* TODO: remove this line.. shoudlnt be needed */
29 #ifdef HAVE_TOUCHSCREEN
30 int wps_get_touchaction(struct wps_data
*data
);
33 /* setup and display a WPS for the first time */
34 bool gui_wps_display(struct gui_wps
*gwps
);
37 /* Do a update_type update of the skinned screen */
38 bool skin_update(struct gui_wps
*gwps
, unsigned int update_type
);
40 /* to setup up the wps-data from a format-buffer (isfile = false)
41 from a (wps-)file (isfile = true)
42 if buf == NULL it will load the hardcoded default
44 void skin_data_load(struct wps_data
*wps_data
,
45 struct screen
*display
,
50 /* initial setup of wps_data */
51 void skin_data_init(struct wps_data
*wps_data
);