diff options
Diffstat (limited to 'apps/wps-display.h')
-rw-r--r-- | apps/wps-display.h | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/apps/wps-display.h b/apps/wps-display.h deleted file mode 100644 index b23c0d603d..0000000000 --- a/apps/wps-display.h +++ /dev/null | |||
@@ -1,48 +0,0 @@ | |||
1 | /*************************************************************************** | ||
2 | * __________ __ ___. | ||
3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
7 | * \/ \/ \/ \/ \/ | ||
8 | * $Id$ | ||
9 | * | ||
10 | * Copyright (C) 2002 Björn Stenberg | ||
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 | #ifndef WPS_DISPLAY | ||
20 | #define WPS_DISPLAY | ||
21 | |||
22 | #include <stdbool.h> | ||
23 | #include "id3.h" | ||
24 | |||
25 | /* constants used in line_type and as refresh_mode for wps_refresh */ | ||
26 | #define WPS_REFRESH_STATIC 1 /* line doesn't change over time */ | ||
27 | #define WPS_REFRESH_DYNAMIC 2 /* line may change (e.g. time flag) */ | ||
28 | #define WPS_REFRESH_SCROLL 4 /* line scrolls */ | ||
29 | #define WPS_REFRESH_PLAYER_PROGRESS 8 /* line contains a progress bar */ | ||
30 | #define WPS_REFRESH_PEAK_METER 16 /* line contains a peak meter */ | ||
31 | #define WPS_REFRESH_ALL 0xff /* to refresh all line types */ | ||
32 | /* to refresh only those lines that change over time */ | ||
33 | #define WPS_REFRESH_NON_STATIC (WPS_REFRESH_ALL & ~WPS_REFRESH_STATIC & ~WPS_REFRESH_SCROLL) | ||
34 | |||
35 | /* alignments */ | ||
36 | #define WPS_ALIGN_RIGHT 32 | ||
37 | #define WPS_ALIGN_CENTER 64 | ||
38 | #define WPS_ALIGN_LEFT 128 | ||
39 | |||
40 | |||
41 | void wps_format_time(char* buf, int buf_size, long time); | ||
42 | bool wps_refresh(struct mp3entry* id3, struct mp3entry* nid3, | ||
43 | int ffwd_offset, unsigned char refresh_mode); | ||
44 | bool wps_display(struct mp3entry* id3, struct mp3entry* nid3); | ||
45 | bool wps_load(const char* file, bool display); | ||
46 | void wps_reset(void); | ||
47 | |||
48 | #endif | ||