summaryrefslogtreecommitdiff
path: root/apps/gui/skin_engine/skin_engine.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui/skin_engine/skin_engine.h')
-rw-r--r--apps/gui/skin_engine/skin_engine.h15
1 files changed, 4 insertions, 11 deletions
diff --git a/apps/gui/skin_engine/skin_engine.h b/apps/gui/skin_engine/skin_engine.h
index b56674112c..d04c873e84 100644
--- a/apps/gui/skin_engine/skin_engine.h
+++ b/apps/gui/skin_engine/skin_engine.h
@@ -40,25 +40,18 @@ enum skinnable_screens {
40 40
41struct skin_stats; 41struct skin_stats;
42struct skin_viewport; 42struct skin_viewport;
43struct wps_data; 43struct gui_wps;
44 44
45#ifdef HAVE_TOUCHSCREEN 45#ifdef HAVE_TOUCHSCREEN
46int skin_get_touchaction(struct wps_data *data, int* edge_offset); 46int skin_get_touchaction(struct gui_wps *gwps, int* edge_offset);
47void skin_disarm_touchregions(struct wps_data *data); 47void skin_disarm_touchregions(struct gui_wps *gwps);
48#endif 48#endif
49 49
50/* Do a update_type update of the skinned screen */ 50/* Do a update_type update of the skinned screen */
51void skin_update(enum skinnable_screens skin, enum screen_type screen, 51void skin_update(enum skinnable_screens skin, enum screen_type screen,
52 unsigned int update_type); 52 unsigned int update_type);
53 53
54/* 54bool skin_has_sbs(struct gui_wps *gwps);
55 * setup up the skin-data from a format-buffer (isfile = false)
56 * or from a skinfile (isfile = true)
57 */
58bool skin_data_load(enum screen_type screen, struct wps_data *wps_data,
59 const char *buf, bool isfile, struct skin_stats *stats);
60
61bool skin_has_sbs(enum screen_type screen, struct wps_data *data);
62 55
63 56
64/* load a backdrop into the skin buffer. 57/* load a backdrop into the skin buffer.