summaryrefslogtreecommitdiff
path: root/apps/gui/gwps-common.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui/gwps-common.h')
-rw-r--r--apps/gui/gwps-common.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/apps/gui/gwps-common.h b/apps/gui/gwps-common.h
new file mode 100644
index 0000000000..5cf052898d
--- /dev/null
+++ b/apps/gui/gwps-common.h
@@ -0,0 +1,27 @@
1#ifndef _GWPS_COMMON_
2#define _GWPS_COMMON_
3#include <stdbool.h>
4#include <sys/types.h> /* for size_t */
5
6/* to avoid the unnecessary include if gwps.h */
7struct mp3entry;
8struct gui_img;
9struct wps_data;
10struct gui_wps;
11struct align_pos;
12
13void gui_wps_format_time(char* buf, int buf_size, long time);
14void fade(bool fade_in);
15void gui_wps_format(struct wps_data *data, const char *bmpdir, size_t bmpdirlen);
16bool gui_wps_refresh(struct gui_wps *gwps, int ffwd_offset,
17 unsigned char refresh_mode);
18bool gui_wps_display(void);
19bool setvol(void);
20bool update(struct gui_wps *gwps);
21bool ffwd_rew(int button);
22#ifdef WPS_KEYLOCK
23void display_keylock_text(bool locked);
24void waitfor_nokey(void);
25#endif
26#endif
27