Compare commits

...
Sign in to create a new pull request.

16 commits
master ... v3.4

Author SHA1 Message Date
Björn Stenberg
36a81eb9b9 Reverted r23881 mistakenly committed to branch.
git-svn-id: svn://svn.rockbox.org/rockbox/branches/v3_4@23882 a1c6a512-1295-4272-9138-f99709370657
2009-12-07 09:17:48 +00:00
Björn Stenberg
66fa5b5789 Rename targets to be consistent in all places. (FS #10819)
git-svn-id: svn://svn.rockbox.org/rockbox/branches/v3_4@23881 a1c6a512-1295-4272-9138-f99709370657
2009-12-07 09:03:11 +00:00
Jens Arnold
7b70046e7a Fix crash in early USB introduced in r22365 by moving the gui_syncstatusbar_init() back to where it needs to be. The comment clearly stated that it needs to happen that early.
git-svn-id: svn://svn.rockbox.org/rockbox/branches/v3_4@23036 a1c6a512-1295-4272-9138-f99709370657
2009-10-09 09:33:43 +00:00
Björn Stenberg
3a3d4aec74 Modify version string for 3.4
git-svn-id: svn://svn.rockbox.org/rockbox/branches/v3_4@22817 a1c6a512-1295-4272-9138-f99709370657
2009-09-24 08:13:07 +00:00
Thomas Martitz
85f75e5104 The metronome keymap is still not fixed for ondio, player and c200. Disable for release yet again
Copied from r20425.


git-svn-id: svn://svn.rockbox.org/rockbox/branches/v3_4@22816 a1c6a512-1295-4272-9138-f99709370657
2009-09-23 22:49:23 +00:00
Thomas Martitz
6ed01374a2 Use OF USB on the ipods. Using our own USB code exposes some problems, such as the current charging issues (for many people, charging basically doesn't work), and speed (mostly due to not using DMA)
Copied from r21261


git-svn-id: svn://svn.rockbox.org/rockbox/branches/v3_4@22815 a1c6a512-1295-4272-9138-f99709370657
2009-09-23 22:42:08 +00:00
Thomas Martitz
21b0713d42 Modify version strings for 3.4
git-svn-id: svn://svn.rockbox.org/rockbox/branches/v3_4@22813 a1c6a512-1295-4272-9138-f99709370657
2009-09-23 22:07:28 +00:00
Marianne Arnold
3f52c794ca Use singular to make a few strings in the German translation sound a bit more like a setting, corresponding to the initial English change. (still open to suggestions)
git-svn-id: svn://svn.rockbox.org/rockbox/branches/v3_4@22793 a1c6a512-1295-4272-9138-f99709370657
2009-09-23 05:32:39 +00:00
Mustapha Senhaji
2c81d45913 French translation: minor rewording for one string.
git-svn-id: svn://svn.rockbox.org/rockbox/branches/v3_4@22791 a1c6a512-1295-4272-9138-f99709370657
2009-09-23 00:50:04 +00:00
Marianne Arnold
75bed7e237 Update German translation in the release branch.
git-svn-id: svn://svn.rockbox.org/rockbox/branches/v3_4@22787 a1c6a512-1295-4272-9138-f99709370657
2009-09-22 20:05:59 +00:00
Magnus Holmgren
1d0b507f8b Update Swedish translation.
git-svn-id: svn://svn.rockbox.org/rockbox/branches/v3_4@22785 a1c6a512-1295-4272-9138-f99709370657
2009-09-22 18:04:34 +00:00
Jonas Häggqvist
68b7a19626 Backport r22782 (translation updates).
git-svn-id: svn://svn.rockbox.org/rockbox/branches/v3_4@22783 a1c6a512-1295-4272-9138-f99709370657
2009-09-22 11:41:39 +00:00
Jens Arnold
7d5ab394b6 Fix splash on charcell (was wasting 2 precious chars per line since r20870). This fixes the volume splash in wps, as it doesn't wrap anymore, but it's not a proper fix. The real problem is that the 2nd line of the default WPS updates immediately. The ultimate fix would be to get rid of the special charcell handling and use a VP in the WPS.
git-svn-id: svn://svn.rockbox.org/rockbox/branches/v3_4@22776 a1c6a512-1295-4272-9138-f99709370657
2009-09-21 19:46:35 +00:00
Jeffrey Goode
07d5d7e600 Fixes FS#10572: Timestretch + limiter is broken
git-svn-id: svn://svn.rockbox.org/rockbox/branches/v3_4@22774 a1c6a512-1295-4272-9138-f99709370657
2009-09-21 19:04:39 +00:00
Alex Parker
9cbf1c3886 Port r22756 to the 3.4 branch - Add viewports to the manual. Adapted from FS#9934 by Jonas Häggqvist and FS#10553 by David Kauffmann.
git-svn-id: svn://svn.rockbox.org/rockbox/branches/v3_4@22757 a1c6a512-1295-4272-9138-f99709370657
2009-09-20 17:03:11 +00:00
Thomas Martitz
7e229f9c50 Branch for Rockbox 3.4
git-svn-id: svn://svn.rockbox.org/rockbox/branches/v3_4@22748 a1c6a512-1295-4272-9138-f99709370657
2009-09-20 12:28:39 +00:00
32 changed files with 1116 additions and 121 deletions

View file

@ -227,7 +227,37 @@ static long album_peak;
static long replaygain;
static bool crossfeed_enabled;
#define AUDIO_DSP (dsp_conf[CODEC_IDX_AUDIO])
#define VOICE_DSP (dsp_conf[CODEC_IDX_VOICE])
/* The internal format is 32-bit samples, non-interleaved, stereo. This
* format is similar to the raw output from several codecs, so the amount
* of copying needed is minimized for that case.
*/
#define RESAMPLE_RATIO 4 /* Enough for 11,025 Hz -> 44,100 Hz */
static int32_t small_sample_buf[SMALL_SAMPLE_BUF_COUNT] IBSS_ATTR;
static int32_t small_resample_buf[SMALL_SAMPLE_BUF_COUNT * RESAMPLE_RATIO] IBSS_ATTR;
static int32_t *big_sample_buf = NULL;
static int32_t *big_resample_buf = NULL;
static int big_sample_buf_count = -1; /* -1=unknown, 0=not available */
static int sample_buf_count;
static int32_t *sample_buf;
static int32_t *resample_buf;
#define SAMPLE_BUF_LEFT_CHANNEL 0
#define SAMPLE_BUF_RIGHT_CHANNEL (sample_buf_count/2)
#define RESAMPLE_BUF_LEFT_CHANNEL 0
#define RESAMPLE_BUF_RIGHT_CHANNEL (sample_buf_count/2 * RESAMPLE_RATIO)
/* limiter */
/* MAX_COUNT is largest possible sample count in limiter_process. This is
needed in case time stretch makes the count in dsp_process larger than
the limiter buffer. */
#define MAX_COUNT MAX(SMALL_SAMPLE_BUF_COUNT * RESAMPLE_RATIO / 2, LIMITER_BUFFER_SIZE)
static int count_adjust;
static bool limiter_buffer_active;
static bool limiter_buffer_full;
@ -238,7 +268,7 @@ static int32_t *start_lim_buf[2] IBSS_ATTR,
static uint16_t lim_buf_peak[LIMITER_BUFFER_SIZE] IBSS_ATTR;
static uint16_t *start_peak IBSS_ATTR,
*end_peak IBSS_ATTR;
static uint16_t out_buf_peak[LIMITER_BUFFER_SIZE] IBSS_ATTR;
static uint16_t out_buf_peak[MAX_COUNT];
static uint16_t *out_buf_peak_index IBSS_ATTR;
static uint16_t release_peak IBSS_ATTR;
static int32_t in_samp IBSS_ATTR,
@ -276,32 +306,6 @@ const long gain_steps[49] ICONST_ATTR = { 0x10000000,
0x4EA84FE, 0x4C6D00E, 0x4A41E78, 0x48268DF, 0x461A81C,
0x441D53E, 0x422E985, 0x404DE62};
#define AUDIO_DSP (dsp_conf[CODEC_IDX_AUDIO])
#define VOICE_DSP (dsp_conf[CODEC_IDX_VOICE])
/* The internal format is 32-bit samples, non-interleaved, stereo. This
* format is similar to the raw output from several codecs, so the amount
* of copying needed is minimized for that case.
*/
#define RESAMPLE_RATIO 4 /* Enough for 11,025 Hz -> 44,100 Hz */
static int32_t small_sample_buf[SMALL_SAMPLE_BUF_COUNT] IBSS_ATTR;
static int32_t small_resample_buf[SMALL_SAMPLE_BUF_COUNT * RESAMPLE_RATIO] IBSS_ATTR;
static int32_t *big_sample_buf = NULL;
static int32_t *big_resample_buf = NULL;
static int big_sample_buf_count = -1; /* -1=unknown, 0=not available */
static int sample_buf_count;
static int32_t *sample_buf;
static int32_t *resample_buf;
#define SAMPLE_BUF_LEFT_CHANNEL 0
#define SAMPLE_BUF_RIGHT_CHANNEL (sample_buf_count/2)
#define RESAMPLE_BUF_LEFT_CHANNEL 0
#define RESAMPLE_BUF_RIGHT_CHANNEL (sample_buf_count/2 * RESAMPLE_RATIO)
/* Clip sample to signed 16 bit range */
static inline int32_t clip_sample_16(int32_t sample)

View file

@ -34,15 +34,16 @@
#define MAXLINES (LCD_HEIGHT/6)
#define MAXBUFFER 512
#define RECT_SPACING 2
#else /* HAVE_LCD_CHARCELLS */
#define MAXLINES 2
#define MAXBUFFER 64
#define RECT_SPACING 0
#endif
#define RECT_SPACING 2
static void splash_internal(struct screen * screen, const char *fmt, va_list ap)
{

View file

@ -256,13 +256,13 @@
desc: in the main menu
user: core
<source>
*: "Browse Themes"
*: "Browse Theme Files"
</source>
<dest>
*: "Vis temaer"
*: "Vis temafiler"
</dest>
<voice>
*: "Vis temaer"
*: "Vis temafiler"
</voice>
</phrase>
<phrase>
@ -1384,15 +1384,15 @@
user: core
<source>
*: none
lcd_bitmap: "Browse Fonts"
lcd_bitmap: "Font"
</source>
<dest>
*: none
lcd_bitmap: "Vis skrifttyper"
lcd_bitmap: "Skrifttype"
</dest>
<voice>
*: none
lcd_bitmap: "Vis skrifttyper"
lcd_bitmap: "Skrifttype"
</voice>
</phrase>
<phrase>
@ -1400,13 +1400,13 @@
desc: in settings_menu()
user: core
<source>
*: "Browse .wps files"
*: "While Playing Screen"
</source>
<dest>
*: "Vis afspilnings-skærm filer"
*: "Afspilnings-skærm"
</dest>
<voice>
*: "Vis afspilnings-skærm filer"
*: "Afspilnings-skærm"
</voice>
</phrase>
<phrase>
@ -1415,15 +1415,15 @@
user: core
<source>
*: none
remote: "Browse .rwps files"
remote: "Remote While Playing Screen"
</source>
<dest>
*: none
remote: "Vis fjernbetjenings afspilnings-skærm filer"
remote: "Fjernbetjenings afspilnings-skærm"
</dest>
<voice>
*: none
remote: "Vis fjernbetjenings afspilnings-skærm filer"
remote: "Fjernbetjenings afspilnings-skærm"
</voice>
</phrase>
<phrase>
@ -3888,6 +3888,7 @@
<source>
*: none
rtc: "OFF = Revert"
mrobe500: "POWER = Revert"
h100,h120,h300: "STOP = Revert"
ipod*,c200*: "MENU = Revert"
x5,m5: "RECORD = Revert"
@ -3900,6 +3901,7 @@
<dest>
*: none
rtc: "SLUK = Fortryd"
mrobe500: "TÆND/SLUK = Fortryd"
h100,h120,h300: "STOP = Fortryd"
ipod*,c200*: "MENU = Fortryd"
x5,m5: "OPTAG = Fortryd"
@ -3911,14 +3913,6 @@
</dest>
<voice>
*: none
rtc: ""
h100,h120,h300: ""
ipod*,e200*,c200*,sa9200: ""
x5,m5: ""
h10,h10_5gb: ""
gigabeatf: ""
mrobe100: ""
gigabeats: ""
</voice>
</phrase>
<phrase>
@ -10560,12 +10554,14 @@
user: core
<source>
*: "PLAY = Yes"
cowond2*: "MENU = Yes"
h100,h120,h300: "NAVI = Yes"
yh*,ipod*,x5,m5,gigabeat*,e200*,c200*,h10,h10_5gb,mrobe100,clip*,fuze*: "SELECT = Yes"
player: "(PLAY/STOP)"
</source>
<dest>
*: "SPIL = Ja"
cowond2*: "MENU = Ja"
h100,h120,h300: "NAVI = Ja"
yh*,ipod*,x5,m5,gigabeat*,e200*,c200*,h10,h10_5gb,mrobe100,clip*,fuze*: "VÆLG = Ja"
player: "(SPIL/STOP)"
@ -10581,6 +10577,7 @@
<source>
*: none
rtc: "ON = Set"
mrobe500: "HEART = Set"
h100,h120,h300: "NAVI = Set"
ipod*,x5,m5,h10,h10_5gb,e200*,c200*,gigabeat*,mrobe100,clip*,fuze*: "SELECT = Set"
sa9200: "PLAY = Set"
@ -10588,15 +10585,13 @@
<dest>
*: none
rtc: "Tænd = Indstil"
mrobe500: "HJERTE = Indstil"
h100,h120,h300: "NAVI = Indstil"
ipod*,x5,m5,h10,h10_5gb,e200*,c200*,gigabeat*,mrobe100,clip*,fuze*: "VÆLG = Indstil"
sa9200: "SPIL = Indstil"
</dest>
<voice>
*: none
rtc: ""
h100,h120,h300: ""
ipod*,x5,m5,h10,h10_5gb,e200*,c200*,gigabeat*,mrobe100,sa9200: ""
</voice>
</phrase>
<phrase>
@ -12375,11 +12370,11 @@
</source>
<dest>
*: none
touchscreen: "3x3 net"
touchscreen: "3x3 gitter"
</dest>
<voice>
*: none
touchscreen: "3 gange 3 net"
touchscreen: "3 gange 3 gitter"
</voice>
</phrase>
<phrase>
@ -12484,3 +12479,209 @@
swcodec: "Hastighed"
</voice>
</phrase>
<phrase>
id: LANG_SCROLLBAR_POSITION
desc: in Settings -> General -> Display -> Status-/Scrollbar
user: core
<source>
*: none
lcd_bitmap: "Scroll Bar Position"
</source>
<dest>
*: none
lcd_bitmap: "Rullebjælkens position"
</dest>
<voice>
*: none
lcd_bitmap: "Rullebjælkens position"
</voice>
</phrase>
<phrase>
id: LANG_REMOTE_STATUSBAR
desc: in Settings -> General -> Display -> statusbar
user: core
<source>
*: none
remote: "Remote Statusbar"
</source>
<dest>
*: none
remote: "Statusbjælke på fjernbetjening"
</dest>
<voice>
*: none
remote: "Statusbjælke på fjernbetjening"
</voice>
</phrase>
<phrase>
id: LANG_TOP_QS_ITEM
desc: used for the submenu name for the quickscreen items
user: core
<source>
*: none
quickscreen: "Set as Top Quickscreen Item"
</source>
<dest>
*: none
quickscreen: "Vælg som øverste hurtigindstilling"
</dest>
<voice>
*: none
quickscreen: "Vælg som øverste hurtigindstilling"
</voice>
</phrase>
<phrase>
id: LANG_PLAYBACK_RATE
desc: "rate" in pitch screen
user: core
<source>
*: none
pitchscreen: "Rate"
</source>
<dest>
*: none
pitchscreen: "Hastighed"
</dest>
<voice>
*: none
pitchscreen: "Hastighed"
</voice>
</phrase>
<phrase>
id: LANG_RIGHT
desc: Generic use of 'right
user: core
<source>
*: "Right"
</source>
<dest>
*: "Højre"
</dest>
<voice>
*: "Højre"
</voice>
</phrase>
<phrase>
id: LANG_SEMITONE
desc:
user: core
<source>
*: none
pitchscreen: "Semitone"
</source>
<dest>
*: none
pitchscreen: "Semitone"
</dest>
<voice>
*: none
pitchscreen: "Semitone"
</voice>
</phrase>
<phrase>
id: LANG_STRETCH_LIMIT
desc: "limit" in pitch screen
user: core
<source>
*: none
pitchscreen: "Limit"
</source>
<dest>
*: none
pitchscreen: "Grænse"
</dest>
<voice>
*: none
pitchscreen: "Grænse"
</voice>
</phrase>
<phrase>
id: LANG_SCROLLBAR_WIDTH
desc: in Settings -> General -> Display -> Status-/Scrollbar
user: core
<source>
*: none
lcd_bitmap: "Scroll Bar Width"
</source>
<dest>
*: none
lcd_bitmap: "Rullebjælkens bredde"
</dest>
<voice>
*: none
lcd_bitmap: "Rullebjælkens bredde"
</voice>
</phrase>
<phrase>
id: LANG_SKIN_RAM_USAGE
desc: how much RAM the skins are using
user: core
<source>
*: "Skin RAM usage:"
</source>
<dest>
*: "Temas RAM-forbrug:"
</dest>
<voice>
*: "Temas RAM-forbrug"
</voice>
</phrase>
<phrase>
id: LANG_STATUSBAR_BOTTOM
desc: in Settings -> General -> Display -> statusbar
user: core
<source>
*: "Bottom"
</source>
<dest>
*: "Nederst"
</dest>
<voice>
*: "Nederst"
</voice>
</phrase>
<phrase>
id: LANG_COMPRESSOR
desc: in sound settings
user: core
<source>
*: none
swcodec: "Limiter Preamp"
</source>
<dest>
*: none
swcodec: "Begrænser forforstærkning"
</dest>
<voice>
*: none
swcodec: "Begrænser for-forstærkning"
</voice>
</phrase>
<phrase>
id: LANG_LEFT
desc: Generic use of 'left'
user: core
<source>
*: "Left"
</source>
<dest>
*: "Venstre"
</dest>
<voice>
*: "Venstre"
</voice>
</phrase>
<phrase>
id: LANG_STATUSBAR_TOP
desc: in Settings -> General -> Display -> statusbar
user: core
<source>
*: "Top"
</source>
<dest>
*: "Øverst"
</dest>
<voice>
*: "Øverst"
</voice>
</phrase>

View file

@ -281,14 +281,14 @@
*: "PLAY = Yes"
cowond2*: "MENU = Yes"
h100,h120,h300: "NAVI = Yes"
yh*,ipod*,x5,m5,gigabeat*,e200*,c200*,h10,h10_5gb,mrobe100,sa9200: "SELECT = Yes"
yh*,ipod*,x5,m5,gigabeat*,e200*,c200*,h10,h10_5gb,mrobe100,clip*,fuze*: "SELECT = Yes"
player: "(PLAY/STOP)"
</source>
<dest>
*: "PLAY = Ja"
cowond2*: "MENU = Ja"
h100,h120,h300: "NAVI = Ja"
yh*,ipod*,x5,m5,gigabeat*,e200*,c200*,h10,h10_5gb,mrobe100,sa9200: "SELECT = Ja"
yh*,ipod*,x5,m5,gigabeat*,e200*,c200*,h10,h10_5gb,mrobe100,clip*,fuze*: "SELECT = Ja"
player: "(PLAY/STOP)"
</dest>
<voice>
@ -2388,14 +2388,16 @@
h100,h120,h300: "Building database... %d found (STOP to return)"
ipod*: "Building database... %d found (PREV to return)"
x5,m5,gigabeat*,mrobe100: "Building database... %d found (LEFT to return)"
h10,h10_5gb,e200*,c200*,sa9200: "Building database... %d found (PREV to return)"
h10,h10_5gb,e200*,c200*,fuze*: "Building database... %d found (PREV to return)"
sa9200: "Building database... %d found (REW to return)"
</source>
<dest>
*: "Erstelle Datenbank... %d gefunden (OFF zum Abbrechen)"
h100,h120,h300: "Erstelle Datenbank... %d gefunden (STOP zum Abbrechen)"
ipod*: "Erstelle Datenbank... %d gefunden (PLAY/PAUSE zum Abbrechen)"
x5,m5,gigabeat*,mrobe100: "Erstelle Datenbank... %d gefunden (LEFT zum Abbrechen)"
h10,h10_5gb,e200*,c200*,sa9200: "Erstelle Datenbank... %d gefunden (PREV zum Abbrechen)"
h10,h10_5gb,e200*,c200*,fuze*: "Erstelle Datenbank... %d gefunden (PREV zum Abbrechen)"
sa9200: "Erstelle Datenbank... %d gefunden (REW zum Abbrechen)"
</dest>
<voice>
*: "Erstelle Datenbank"
@ -2578,15 +2580,15 @@
user: core
<source>
*: none
lcd_bitmap: "Browse Fonts"
lcd_bitmap: "Font"
</source>
<dest>
*: none
lcd_bitmap: "Zeige Schriftarten"
lcd_bitmap: "Schriftart"
</dest>
<voice>
*: none
lcd_bitmap: "Zeige Schriftarten"
lcd_bitmap: "Schriftart"
</voice>
</phrase>
<phrase>
@ -2594,13 +2596,13 @@
desc: in settings_menu()
user: core
<source>
*: "Browse .wps files"
*: "While Playing Screen"
</source>
<dest>
*: "Zeige .wps-Dateien"
*: "WPS-Datei"
</dest>
<voice>
*: "Zeige WPS-Dateien"
*: "WPS-Datei"
</voice>
</phrase>
<phrase>
@ -2609,15 +2611,15 @@
user: core
<source>
*: none
remote: "Browse .rwps files"
remote: "Remote While Playing Screen"
</source>
<dest>
*: none
remote: "Zeige .rwps-Dateien"
remote: "RWPS-Datei"
</dest>
<voice>
*: none
remote: "Zeige RWPS-Dateien"
remote: "RWPS-Datei"
</voice>
</phrase>
<phrase>
@ -4148,14 +4150,18 @@
<source>
*: none
rtc: "ON = Set"
mrobe500: "HEART = Set"
h100,h120,h300: "NAVI = Set"
ipod*,x5,m5,h10,h10_5gb,e200*,c200*,gigabeat*,mrobe100,sa9200: "SELECT = Set"
ipod*,x5,m5,h10,h10_5gb,e200*,c200*,gigabeat*,mrobe100,clip*,fuze*: "SELECT = Set"
sa9200: "PLAY = Set"
</source>
<dest>
*: none
rtc: "ON = Speichern"
mrobe500: "HEART = Speichern"
h100,h120,h300: "NAVI = Speichern"
ipod*,x5,m5,h10,h10_5gb,e200*,c200*,gigabeat*,mrobe100,sa9200: "SELECT = Speichern"
ipod*,x5,m5,h10,h10_5gb,e200*,c200*,gigabeat*,mrobe100,clip*,fuze*: "SELECT = Speichern"
sa9200: "PLAY = Speichern"
</dest>
<voice>
*: none
@ -4169,24 +4175,27 @@
<source>
*: none
rtc: "OFF = Revert"
mrobe500: "POWER = Revert"
h100,h120,h300: "STOP = Revert"
ipod*,c200*,sa9200: "MENU = Revert"
ipod*,c200*: "MENU = Revert"
x5,m5: "RECORD = Revert"
h10,h10_5gb,e200*,fuze*: "PREV = Revert"
gigabeatf: "POWER = Revert"
mrobe100: "DISPLAY = Revert"
gigabeats: "BACK = Revert"
sa9200: "LEFT = Revert"
</source>
<dest>
*: none
rtc: "OFF = Abbrechen"
h100,h120,h300: "STOP = Abbrechen"
ipod*,c200*,sa9200: "MENU = Abbrechen"
ipod*,c200*: "MENU = Abbrechen"
x5,m5: "RECORD = Abbrechen"
h10,h10_5gb,e200*,fuze*: "PREV = Abbrechen"
gigabeatf: "POWER = Abbrechen"
mrobe100: "DISPLAY = Abbrechen"
gigabeats: "BACK = Abbrechen"
sa9200: "LEFT = Abbrechen"
</dest>
<voice>
*: none
@ -5114,13 +5123,13 @@
desc: in the main menu
user: core
<source>
*: "Browse Themes"
*: "Browse Theme Files"
</source>
<dest>
*: "Zeige Themen"
*: "Zeige Themen-Dateien"
</dest>
<voice>
*: "Zeige Themen"
*: "Zeige Themen-Dateien"
</voice>
</phrase>
<phrase>
@ -12481,3 +12490,192 @@
quickscreen: "Als obere Schnelleinstellung verwenden"
</voice>
</phrase>
<phrase>
id: LANG_SCROLLBAR_POSITION
desc: in Settings -> General -> Display -> Status-/Scrollbar
user: core
<source>
*: none
lcd_bitmap: "Scroll Bar Position"
</source>
<dest>
*: none
lcd_bitmap: "Bildlaufleisten-Position"
</dest>
<voice>
*: none
lcd_bitmap: "Bildlaufleisten-Position"
</voice>
</phrase>
<phrase>
id: LANG_REMOTE_STATUSBAR
desc: in Settings -> General -> Display -> statusbar
user: core
<source>
*: none
remote: "Remote Statusbar"
</source>
<dest>
*: none
remote: "Fernbedienungs-Statusleiste"
</dest>
<voice>
*: none
remote: "Fernbedienungs-Statusleiste"
</voice>
</phrase>
<phrase>
id: LANG_PLAYBACK_RATE
desc: "rate" in pitch screen
user: core
<source>
*: none
pitchscreen: "Rate"
</source>
<dest>
*: none
pitchscreen: "Rate"
</dest>
<voice>
*: none
pitchscreen: "Rate"
</voice>
</phrase>
<phrase>
id: LANG_RIGHT
desc: Generic use of 'right
user: core
<source>
*: "Right"
</source>
<dest>
*: "Rechts"
</dest>
<voice>
*: "Rechts"
</voice>
</phrase>
<phrase>
id: LANG_SEMITONE
desc:
user: core
<source>
*: none
pitchscreen: "Semitone"
</source>
<dest>
*: none
pitchscreen: "Halbton"
</dest>
<voice>
*: none
pitchscreen: "Halbton"
</voice>
</phrase>
<phrase>
id: LANG_STRETCH_LIMIT
desc: "limit" in pitch screen
user: core
<source>
*: none
pitchscreen: "Limit"
</source>
<dest>
*: none
pitchscreen: "Grenze"
</dest>
<voice>
*: none
pitchscreen: "Grenze"
</voice>
</phrase>
<phrase>
id: LANG_SCROLLBAR_WIDTH
desc: in Settings -> General -> Display -> Status-/Scrollbar
user: core
<source>
*: none
lcd_bitmap: "Scroll Bar Width"
</source>
<dest>
*: none
lcd_bitmap: "Bildlaufleisten-Breite"
</dest>
<voice>
*: none
lcd_bitmap: "Bildlaufleisten-Breite"
</voice>
</phrase>
<phrase>
id: LANG_SKIN_RAM_USAGE
desc: how much RAM the skins are using
user: core
<source>
*: "Skin RAM usage:"
</source>
<dest>
*: "Themen-Speicher:"
</dest>
<voice>
*: "Themen-Speicher"
</voice>
</phrase>
<phrase>
id: LANG_STATUSBAR_BOTTOM
desc: in Settings -> General -> Display -> statusbar
user: core
<source>
*: "Bottom"
</source>
<dest>
*: "Unten"
</dest>
<voice>
*: "Unten"
</voice>
</phrase>
<phrase>
id: LANG_COMPRESSOR
desc: in sound settings
user: core
<source>
*: none
swcodec: "Limiter Preamp"
</source>
<dest>
*: none
swcodec: "Begrenzer-Vorverstärkung"
</dest>
<voice>
*: none
swcodec: "Begrenzer-Vorverstärkung"
</voice>
</phrase>
<phrase>
id: LANG_LEFT
desc: Generic use of 'left'
user: core
<source>
*: "Left"
</source>
<dest>
*: "Links"
</dest>
<voice>
*: "Links"
</voice>
</phrase>
<phrase>
id: LANG_STATUSBAR_TOP
desc: in Settings -> General -> Display -> statusbar
user: core
<source>
*: "Top"
</source>
<dest>
*: "Oben"
</dest>
<voice>
*: "Oben"
</voice>
</phrase>

View file

@ -12617,10 +12617,10 @@
*: "Skin RAM usage:"
</source>
<dest>
*: "Tampon écrans de lecture:"
*: "Tampon du thème:"
</dest>
<voice>
*: "Tampon des écrans de lecture"
*: "Tampon du thème utilisé"
</voice>
</phrase>
<phrase>

View file

@ -266,16 +266,16 @@
user: core
<source>
*: "PLAY = Yes"
cowond2*: "MENU = Yes"
h100,h120,h300: "NAVI = Yes"
yh*,ipod*,x5,m5,gigabeat*,e200*,c200*,h10,h10_5gb,mrobe100,clip*,fuze*: "SELECT = Yes"
mrobe500: "PLAY or POWER = Yes"
player: "(PLAY/STOP)"
</source>
<dest>
*: "SPELA = Ja"
cowond2*: "MENY = Ja"
h100,h120,h300: "NAVI = Ja"
yh*,ipod*,x5,m5,gigabeat*,e200*,c200*,h10,h10_5gb,mrobe100,clip*,fuze*: "VÄLJ = Ja"
mrobe500: "SPELA / PÅ/AV = Ja"
player: "SPELA/STOPP"
</dest>
<voice>
@ -12339,7 +12339,7 @@
</phrase>
<phrase>
id: LANG_TOUCHSCREEN_MODE
desc: in Settings -> General -> System menu
desc: in Settings -> General -> Display -> Touchscreen Settings
user: core
<source>
*: none
@ -12356,7 +12356,7 @@
</phrase>
<phrase>
id: LANG_TOUCHSCREEN_GRID
desc: in Settings -> General -> System menu
desc: in Settings -> General -> Display -> Touchscreen Settings
user: core
<source>
*: none
@ -12373,7 +12373,7 @@
</phrase>
<phrase>
id: LANG_TOUCHSCREEN_POINT
desc: in Settings -> General -> System menu
desc: in Settings -> General -> Display -> Touchscreen Settings
user: core
<source>
*: none
@ -12648,3 +12648,20 @@
swcodec: "Limiter-förförstärkning"
</voice>
</phrase>
<phrase>
id: LANG_TOP_QS_ITEM
desc: used for the submenu name for the quickscreen items
user: core
<source>
*: none
quickscreen: "Set as Top Quickscreen Item"
</source>
<dest>
*: none
quickscreen: "Sätt som övre snabbmenyval"
</dest>
<voice>
*: none
quickscreen: "Sätt som övre snabbmenyval"
</voice>
</phrase>

View file

@ -19,7 +19,7 @@
#
# Fitchî e walon ki rote avou tolminme kéne éndjolreye
#
# Stéphane QUERTINMONT <stefane AT walon.org> - May 2009
# Stéphane QUERTINMONT <stefane AT walon.org> - Awousse 2009
#
<phrase>
id: LANG_SET_BOOL_YES
@ -265,14 +265,17 @@
user: core
<source>
*: "PLAY = Yes"
cowond2*: "MENU = Yes"
h100,h120,h300: "NAVI = Yes"
yh*,ipod*,x5,m5,gigabeat*,e200*,c200*,h10,h10_5gb,mrobe100,sa9200: "SELECT = Yes"
yh*,ipod*,x5,m5,gigabeat*,e200*,c200*,h10,h10_5gb,mrobe100,clip*,fuze*: "SELECT = Yes"
player: "(PLAY/STOP)"
</source>
<dest>
*: "PLAY = Oyi"
cowond2*: "MENU = Oyi"
h100,h120,h300: "NAVI = Oyi"
yh*,ipod*,x5,m5,gigabeat*,e200*,c200*,h10,h10_5gb,mrobe100,sa9200: "SELECT = Oyi"
yh*,ipod*,x5,m5,gigabeat*,e200*,c200*,h10,h10_5gb,mrobe100,clip*,fuze*: "SELECT = Oyi"
mrobe500: "PLAY or POWER = Oyi"
player: "(PLAY/STOP)"
</dest>
<voice>
@ -2389,14 +2392,16 @@
h100,h120,h300: "Building database... %d found (STOP to return)"
ipod*: "Building database... %d found (PREV to return)"
x5,m5,gigabeat*,mrobe100: "Building database... %d found (LEFT to return)"
h10,h10_5gb,e200*,c200*,sa9200: "Building database... %d found (PREV to return)"
h10,h10_5gb,e200*,c200*,fuze*: "Building database... %d found (PREV to return)"
sa9200: "Building database... %d found (REW to return)"
</source>
<dest>
*: "Bastixhaedje del båze di dnêyes... %d di trovés (OFF po-z eraler en erî)"
h100,h120,h300: "Bastixhaedje del båze di dnêyes... %d di trovés (STOP po-z eraler en erî)"
ipod*: "Bastixhaedje del båze di dnêyes... %d di trovés (PREV po-z eraler en erî)"
x5,m5,gigabeat*,mrobe100: "Bastixhaedje del båze di dnêyes... %d di trovés (LEFT po-z eraler en erî)"
h10,h10_5gb,e200*,c200*,sa9200: "Bastixhaedje del båze di dnêyes... %d di trovés (PREV po-z eraler en erî)"
h10,h10_5gb,e200*,c200*,fuze*: "Bastixhaedje del båze di dnêyes... %d di trovés (PREV po-z eraler en erî)"
sa9200: "Bastixhaedje del båze di dnêyes... %d di trovés (REW po-z eraler en erî)"
</dest>
<voice>
*: "intrêyes trovêyes pol båze di dnêyes"
@ -2579,7 +2584,7 @@
user: core
<source>
*: none
lcd_bitmap: "Browse Fonts"
lcd_bitmap: "Font"
</source>
<dest>
*: none
@ -2595,7 +2600,7 @@
desc: in settings_menu()
user: core
<source>
*: "Browse .wps files"
*: "While Playing Screen"
</source>
<dest>
*: "Tcherdjî ls apont. waitroûle di lijhaedje LCD principå"
@ -2610,7 +2615,7 @@
user: core
<source>
*: none
remote: "Browse .rwps files"
remote: "Remote While Playing Screen"
</source>
<dest>
*: none
@ -4147,14 +4152,18 @@
<source>
*: none
rtc: "ON = Set"
mrobe500: "HEART = Set"
h100,h120,h300: "NAVI = Set"
ipod*,x5,m5,h10,h10_5gb,e200*,c200*,gigabeat*,mrobe100,sa9200: "SELECT = Set"
ipod*,x5,m5,h10,h10_5gb,e200*,c200*,gigabeat*,mrobe100,clip*,fuze*: "SELECT = Set"
sa9200: "PLAY = Set"
</source>
<dest>
*: none
rtc: "ON = Eployî"
mrobe500: "HEART = Eployî"
h100,h120,h300: "NAVI = Eployî"
ipod*,x5,m5,h10,h10_5gb,e200*,c200*,gigabeat*,mrobe100,sa9200: "SELECT = Eployî"
ipod*,x5,m5,h10,h10_5gb,e200*,c200*,gigabeat*,mrobe100,clip*,fuze*: "SELECT = Eployî"
sa9200: "PLAY = Eployî"
</dest>
<voice>
*: none
@ -4168,24 +4177,28 @@
<source>
*: none
rtc: "OFF = Revert"
mrobe500: "POWER = Revert"
h100,h120,h300: "STOP = Revert"
ipod*,c200*,sa9200: "MENU = Revert"
ipod*,c200*: "MENU = Revert"
x5,m5: "RECORD = Revert"
h10,h10_5gb,e200*,fuze*: "PREV = Revert"
gigabeatf: "POWER = Revert"
mrobe100: "DISPLAY = Revert"
gigabeats: "BACK = Revert"
sa9200: "LEFT = Revert"
</source>
<dest>
*: none
rtc: "OFF = Rinoncî"
mrobe500: "POWER = Rinoncî"
h100,h120,h300: "STOP = Rinoncî"
ipod*,c200*,sa9200: "MENU = Rinoncî"
ipod*,c200*: "MENU = Rinoncî"
x5,m5: "RECORD = Rinoncî"
h10,h10_5gb,e200*,fuze*: "PREV = Rinoncî"
gigabeatf: "POWER = Rinoncî"
mrobe100: "DISPLAY = Rinoncî"
gigabeats: "BACK = Rinoncî"
sa9200: "LEFT = Rinoncî"
</dest>
<voice>
*: none
@ -5113,7 +5126,7 @@
desc: in the main menu
user: core
<source>
*: "Browse Themes"
*: "Browse Theme Files"
</source>
<dest>
*: "Djivêye des tinmes"
@ -12141,6 +12154,34 @@
quickscreen: ""
</voice>
</phrase>
<phrase>
id: LANG_LEFT
desc: Generic use of 'left'
user: core
<source>
*: "Left"
</source>
<dest>
*: "Hintche"
</dest>
<voice>
*: "Hintche"
</voice>
</phrase>
<phrase>
id: LANG_RIGHT
desc: Generic use of 'right
user: core
<source>
*: "Right"
</source>
<dest>
*: "Droete"
</dest>
<voice>
*: "Droete"
</voice>
</phrase>
<phrase>
id: LANG_BOTTOM
desc: DEPRECATED
@ -12298,7 +12339,7 @@
</phrase>
<phrase>
id: LANG_TOUCHSCREEN_MODE
desc: in Settings -> General -> System menu
desc: in Settings -> General -> Display -> Touchscreen Settings
user: core
<source>
*: none
@ -12315,7 +12356,7 @@
</phrase>
<phrase>
id: LANG_TOUCHSCREEN_GRID
desc: in Settings -> General -> System menu
desc: in Settings -> General -> Display -> Touchscreen Settings
user: core
<source>
*: none
@ -12332,7 +12373,7 @@
</phrase>
<phrase>
id: LANG_TOUCHSCREEN_POINT
desc: in Settings -> General -> System menu
desc: in Settings -> General -> Display -> Touchscreen Settings
user: core
<source>
*: none
@ -12361,3 +12402,249 @@
*: "Espaitchî d' passer les bokets"
</voice>
</phrase>
<phrase>
id: LANG_TIMESTRETCH
desc: timestretch enable
user: core
<source>
*: none
swcodec: "Timestretch"
</source>
<dest>
*: none
swcodec: "Stindaedje do tins"
</dest>
<voice>
*: none
swcodec: "Stindaedje do tins"
</voice>
</phrase>
<phrase>
id: LANG_SPEED
desc: timestretch speed
user: core
<source>
*: none
swcodec: "Speed"
</source>
<dest>
*: none
swcodec: "Radisté"
</dest>
<voice>
*: none
swcodec: "Radisté"
</voice>
</phrase>
<phrase>
id: LANG_TOUCHSCREEN_SETTINGS
desc: in Settings -> General -> Display menu
user: core
<source>
*: none
touchscreen: "Touchscreen Settings"
</source>
<dest>
*: none
touchscreen: "Tchuzes del waitroûle-taprece"
</dest>
<voice>
*: none
touchscreen: "Tchuzes del waitroûle-taprece"
</voice>
</phrase>
<phrase>
id: LANG_TOUCHSCREEN_CALIBRATE
desc: in Settings -> General -> Display -> Touchscreen Settings
user: core
<source>
*: none
touchscreen: "Calibrate"
</source>
<dest>
*: none
touchscreen: "Calibrer"
</dest>
<voice>
*: none
touchscreen: "Calibrer"
</voice>
</phrase>
<phrase>
id: LANG_TOUCHSCREEN_RESET_CALIBRATION
desc: in Settings -> General -> Display -> Touchscreen Settings
user: core
<source>
*: none
touchscreen: "Reset Calibration"
</source>
<dest>
*: none
touchscreen: "Rimete li calibraedje a zero"
</dest>
<voice>
*: none
touchscreen: "Rimete li calibraedje a zero"
</voice>
</phrase>
<phrase>
id: LANG_STATUSBAR_TOP
desc: in Settings -> General -> Display -> statusbar
user: core
<source>
*: "Top"
</source>
<dest>
*: "Copete"
</dest>
<voice>
*: "Copete"
</voice>
</phrase>
<phrase>
id: LANG_STATUSBAR_BOTTOM
desc: in Settings -> General -> Display -> statusbar
user: core
<source>
*: "Bottom"
</source>
<dest>
*: "Al valeye"
</dest>
<voice>
*: "Al valeye"
</voice>
</phrase>
<phrase>
id: LANG_REMOTE_STATUSBAR
desc: in Settings -> General -> Display -> statusbar
user: core
<source>
*: none
remote: "Remote Statusbar"
</source>
<dest>
*: none
remote: "Bår ås messaedjes då lon"
</dest>
<voice>
*: none
remote: "Bår ås messaedjes då lon"
</voice>
</phrase>
<phrase>
id: LANG_SEMITONE
desc:
user: core
<source>
*: none
pitchscreen: "Semitone"
</source>
<dest>
*: none
pitchscreen: "Dmey-ton"
</dest>
<voice>
*: none
pitchscreen: "Dmey-ton"
</voice>
</phrase>
<phrase>
id: LANG_STRETCH_LIMIT
desc: "limit" in pitch screen
user: core
<source>
*: none
pitchscreen: "Limit"
</source>
<dest>
*: none
pitchscreen: "Aschate"
</dest>
<voice>
*: none
pitchscreen: "Aschate"
</voice>
</phrase>
<phrase>
id: LANG_PLAYBACK_RATE
desc: "rate" in pitch screen
user: core
<source>
*: none
pitchscreen: "Rate"
</source>
<dest>
*: none
pitchscreen: "Debit"
</dest>
<voice>
*: none
pitchscreen: "Debit"
</voice>
</phrase>
<phrase>
id: LANG_SKIN_RAM_USAGE
desc: how much RAM the skins are using
user: core
<source>
*: "Skin RAM usage:"
</source>
<dest>
*: "Memwere eployeye pol pea:"
</dest>
<voice>
*: "Memwere eployeye pol pea"
</voice>
</phrase>
<phrase>
id: LANG_SCROLLBAR_WIDTH
desc: in Settings -> General -> Display -> Status-/Scrollbar
user: core
<source>
*: none
lcd_bitmap: "Scroll Bar Width"
</source>
<dest>
*: none
lcd_bitmap: "Lårdjeu del bår d' acinseur"
</dest>
<voice>
*: none
lcd_bitmap: "Lårdjeu del bår d' acinseur"
</voice>
</phrase>
<phrase>
id: LANG_SCROLLBAR_POSITION
desc: in Settings -> General -> Display -> Status-/Scrollbar
user: core
<source>
*: none
lcd_bitmap: "Scroll Bar Position"
</source>
<dest>
*: none
lcd_bitmap: "Eplaeçmint del bår d' acinseur"
</dest>
<voice>
*: none
lcd_bitmap: "Eplaeçmint del bår d' acinseur"
</voice>
</phrase>
<phrase>
id: LANG_LIMITER
desc: in sound settings
user: core
<source>
*: none
swcodec: "Limiter Preamp"
</source>
<dest>
*: none
swcodec: "Aschatrece Preamp"
</dest>
<voice>
*: none
swcodec: "Aschatrece Preamp"
</voice>
</phrase>

View file

@ -139,7 +139,6 @@ static void app_main(void)
list_init();
#endif
tree_gui_init();
gui_syncstatusbar_init(&statusbars);
viewportmanager_init();
#ifdef HAVE_USBSTACK
/* All threads should be created and public queues registered by now */
@ -310,6 +309,8 @@ static void init(void)
#ifdef DEBUG
debug_init();
#endif
/* Must be done before any code uses the multi-screen API */
gui_syncstatusbar_init(&statusbars);
storage_init();
settings_reset();
settings_load(SETTINGS_ALL);
@ -431,6 +432,9 @@ static void init(void)
radio_init();
#endif
/* Must be done before any code uses the multi-screen API */
gui_syncstatusbar_init(&statusbars);
#if CONFIG_CHARGING && (CONFIG_CPU == SH7034)
/* charger_inserted() can't be used here because power_thread()
hasn't checked power_input_status() yet */

View file

@ -35,8 +35,12 @@ pitch_detector.c
#endif
#if (CONFIG_CODEC == SWCODEC) || !defined(SIMULATOR)
/* button maps are broken on the following */
#if !defined(SANSA_C200) && !defined(ARCHOS_ONDIOSP) && !defined(ARCHOS_ONDIOFM) && !defined(ARCHOS_PLAYER)
metronome.c
#endif
#endif
#if ((CONFIG_CODEC == MAS3587F) || (CONFIG_CODEC == MAS3539F)) && !defined(SIMULATOR)
wavplay.c

View file

@ -493,6 +493,7 @@ Jason Yu
Aaron DeMille
Tomasz Kowalczyk
Michael Lechner
David Kauffmann
The libmad team
The wavpack team

View file

@ -180,7 +180,8 @@
/* enable these for the experimental usb stack */
#define HAVE_USBSTACK
#define USE_ROCKBOX_USB
/*Disable USB for the release due to charging issues */
/*#define USE_ROCKBOX_USB*/
#define USB_VENDOR_ID 0x05ac
#define USB_PRODUCT_ID 0x1203

View file

@ -157,7 +157,8 @@
/* enable these for the experimental usb stack */
#define HAVE_USBSTACK
#define USE_ROCKBOX_USB
/*Disable USB for the release due to charging issues */
/*#define USE_ROCKBOX_USB*/
#define USB_VENDOR_ID 0x05ac
#define USB_PRODUCT_ID 0x1204

View file

@ -176,7 +176,8 @@
/* enable these for the experimental usb stack */
#define HAVE_USBSTACK
#define USE_ROCKBOX_USB
/*Disable USB for the release due to charging issues */
/*#define USE_ROCKBOX_USB*/
#define USB_VENDOR_ID 0x05ac
#define USB_PRODUCT_ID 0x1205

View file

@ -183,7 +183,8 @@
/* enable these for the experimental usb stack */
#define HAVE_USBSTACK
#define USE_ROCKBOX_USB
/*Disable USB for the release due to charging issues */
/*#define USE_ROCKBOX_USB*/
#define USB_VENDOR_ID 0x05ac
#define USB_PRODUCT_ID 0x1205

View file

@ -167,7 +167,8 @@
/* enable these for the experimental usb stack */
#define HAVE_USBSTACK
#define USE_ROCKBOX_USB
/*Disable USB for the release due to charging issues */
/*#define USE_ROCKBOX_USB*/
#define USB_VENDOR_ID 0x05ac
#define USB_PRODUCT_ID 0x120a

View file

@ -191,7 +191,8 @@
/* enable these for the experimental usb stack */
#define HAVE_USBSTACK
#define USE_ROCKBOX_USB
/*Disable USB for the release due to charging issues */
/*#define USE_ROCKBOX_USB*/
#define USB_VENDOR_ID 0x05ac
#define USB_PRODUCT_ID 0x1209

View file

@ -132,6 +132,42 @@ file find the instructions on the Rockbox website:
the \fname{/.rockbox/backdrops} directory.
}%
\nopt{lcd_charcell}{
\subsection{UI Viewport}
By default, the UI is drawn on the whole screen. This can be changed so that
the UI is confined to a specific area of the screen, by use of a UI
viewport. This is done by adding the following line to the
\fname{.cfg} file for a theme:\\*
\nopt{lcd_non-mono}{\config{ui viewport: X,Y,[width],[height],[font]}}
\nopt{lcd_color}{\opt{lcd_non-mono}{
\config{ui viewport: X,Y,[width],[height],[font],[fgshade],[bgshade]}}}
\opt{lcd_color}{
\config{ui viewport: X,Y,[width],[height],[font],[fgcolour],[bgcolour]}}
\\*
\opt{HAVE_REMOTE_LCD}{
The dimensions of the menu that is displayed on the remote control of your
\dap\ can be set in the same way. The line to be added to the theme
\fname{.cfg} is the following:\\*
\nopt{lcd_non-mono}{\config{remote ui viewport: X,Y,[width],[height],[font]}}
\nopt{lcd_color}{\opt{lcd_non-mono}{
\config{remote ui viewport: X,Y,[width],[height],[font],[fgshade],[bgshade]}}}
\opt{lcd_color}{
\config{remote ui viewport: X,Y,[width],[height],[font],[fgcolour],[bgcolour]}}
\\*
}
Only the first two parameters \emph{have} to be specified, the others can
be omitted using '-' as a placeholder. The syntax is very similar to WPS
viewports (see \reference{ref:Viewports}). Briefly:
\nopt{lcd_non-mono}{\input{advanced_topics/viewports/mono-uivp-syntax.tex}}
\nopt{lcd_color}{\opt{lcd_non-mono}{\input{advanced_topics/viewports/grayscale-uivp-syntax.tex}}}
\opt{lcd_color}{\input{advanced_topics/viewports/colour-uivp-syntax.tex}}
}
\section{\label{ref:ConfiguringtheWPS}Configuring the WPS}
\subsection{WPS -- General Info}
@ -171,11 +207,6 @@ all the tags that are available.
\begin{itemize}
\item All characters not preceded by \% are displayed as typed.
\item Lines beginning with \# are comments and will be ignored.
\item Maximum file size used is
\opt{lcd_bitmap}{1600}
\opt{player}{400} bytes.
If you have a bigger WPS file, only the first part of it will be
loaded and used.
\end{itemize}
\note{Keep in mind that your \dap{} resolution is \genericimg{} (with
@ -184,6 +215,66 @@ all the tags that are available.
\opt{HAVE_REMOTE_LCD}{The resolution of the remote is
\opt{h100,h300}{128x64x1}\opt{x5,m5}{128x96x2} pixels.}}
\nopt{lcd_charcell}{
\subsubsection{\label{ref:Viewports}Viewports}
By default, a viewport filling the whole screen contains all the elements
defined in the \fname(.wps) file. The
\opt{lcd_non-mono}{elements in this viewport are displayed
with the same background/foreground
\opt{lcd_color}{colours}\nopt{lcd_color}{shades} and the}
text is rendered in the
same font as in the main menu. To change this behaviour a custom viewport can
be defined. A viewport is a rectangular window on the screen%
\opt{lcd_non-mono}{ with its own foreground/background
\opt{lcd_color}{colours}\nopt{lcd_color}{shades}}.
This window also has variable dimensions. To
define a viewport a line starting \config{{\%V{\textbar}\dots}} has to be
present in the \fname{.wps} file. The full syntax will be explained later in
this section. All elements placed before the
line defining a viewport are displayed in the default viewport. Elements
defined after a viewport declaration are drawn within that viewport.
\opt{lcd_bitmap}{Loading images (see Appendix \reference{ref:wps_images})
should be done within the default viewport.}
A viewport ends either with the end of the file, or with the next viewport
declaration line. Viewports sharing the same
coordinates and dimensions cannot be displayed at the same time. Viewports
cannot be layered \emph{transparently} over one another. Subsequent viewports
will be drawn over any other viewports already drawn onto that
area of the screen.
\nopt{lcd_non-mono}{\input{advanced_topics/viewports/mono-vp-syntax.tex}}
\nopt{lcd_color}{\opt{lcd_non-mono}{\input{advanced_topics/viewports/grayscale-vp-syntax.tex}}}
\opt{lcd_color}{\input{advanced_topics/viewports/colour-vp-syntax.tex}}
\subsubsection{Conditional Viewports}
Any viewport can be displayed either permanently or conditionally.
Defining a viewport as \config{{\%V{\textbar}\dots}}
will display it permanently.
\begin{itemize}
\item {\config{\%Vl{\textbar}'identifier'{\textbar}\dots{\textbar}}}
This tag preloads a viewport for later display. 'identifier' is a single
lowercase letter (a-z) and the '\dots' parameters use the same logic as
the \config{\%V} tag explained above.
\item {\config{\%Vd'identifier'}} Display the 'identifier' viewport.
\end{itemize}
Viewports can share identifiers so that you can display multiple viewports
with one \%Vd line.
\nopt{lcd_non-mono}{\input{advanced_topics/viewports/mono-conditional.tex}}
\nopt{lcd_color}{%
\opt{lcd_non-mono}{\input{advanced_topics/viewports/grayscale-conditional.tex}}}
\opt{lcd_color}{\input{advanced_topics/viewports/colour-conditional.tex}}
\\*
\note{The tag to display conditional viewports must come before the tag to
preload the viewport in the \fname{.wps} file.}
}
\subsubsection{Conditional Tags}
\begin{description}

View file

@ -0,0 +1,15 @@
\begin{example}
%?C<%Vda|%Vdb>
%Vl|a|10|10|50|50|-|-|-|
%Cl|0|0|50|50|
%C
%Vl|a|0|70|70|14|1|-|-|
%s%acThere you have it: Album art.
%Vl|b|20|14|50|14|1|ff0000|ffffff|
%t1%acWarning:;%t.1
%Vl|b|20|30|50|50|1|000000|ffffff|
%sNo album art found
%scheck your filenames.
\end{example}
This example checks for album art. Album art will be displayed in viewport 'a', if
it is found. Otherwise a red flashing warning will be displayed in viewport 'b'.

View file

@ -0,0 +1,13 @@
\begin{itemize}
\item 'fgcolour' and 'bgcolour' are 6-digit RGB888 colours - e.g. FF00FF.
\item 'font' is a number - '0' is the built-in system font, '1' is the
user-selected font.
\end{itemize}
\begin{example}
\config{ui viewport: 15,20,100,150,-,-,-}
\end{example}
This displays the menu starting at 15px from the left of the screen and 20px
from the top of the screen. It is 100px wide and 150px high.
The font and the foreground/background colours are defined in the theme
\fname{.cfg} file or in the \setting{Theme Settings} menu.

View file

@ -0,0 +1,26 @@
\subsubsection{Viewport Declaration Syntax}
{\config{\%V}}{\textbar}x{\textbar}y{\textbar}[width]{\textbar}[height]{\textbar}[font]{\textbar}[fgcolour]{\textbar}[bgcolour]{\textbar}%
\begin{itemize}
\item 'fgcolour' and 'bgcolour' are 6-digit RGB888 colours - e.g. FF00FF.
\item 'font' is a number - '0' is the built-in system font, '1' is the
user-selected font.
\item Only the coordinates \emph{have} to be specified. Leaving the other
definitions blank will set them to their default values.
\note{The correct number of {\textbar}s with hyphens in blank fields
are still needed in any case.}
\end{itemize}
\begin{example}
%V|12|20|-|-|1|-|-|
%sThis viewport is displayed permanently. It starts 12px from the left and
%s20px from the top of the screen, and fills the rest of the screen from
%sthat point. The lines will scroll if this text does not fit in the viewport.
%sThe user font is used, as are the default foreground/background colours.
\end{example}
\begin{rbtabular}{.75\textwidth}{XX}{Viewport definition & Default value}{}{}
width/height & remaining part of screen \\
font & user defined \\
forground/background colours & defined by theme \\
\end{rbtabular}

View file

@ -0,0 +1,15 @@
\begin{example}
%?C<%Vda|%Vdb>
%Vl|a|10|10|50|50|-|-|-|
%Cl|0|0|50|50|
%C
%Vl|a|0|70|70|14|1|-|-|
%s%acThere you have it: Album art.
%Vl|b|20|14|50|14|1|2|-|
%t1%acWarning:;%t.1
%Vl|b|20|30|50|50|1|-|-|
%sNo album art found
%scheck your filenames.
\end{example}
This example checks for album art. Album art will be displayed in viewport 'a', if
it is found. Otherwise a flashing warning will be displayed in viewport 'b'.

View file

@ -0,0 +1,14 @@
\begin{itemize}
\item 'fgshade' and bgshade are numbers in the range '0' (= black) to '3'
(= white).
\item 'font' is a number - '0' is the built-in system font, '1' is the
user-selected font.
\end{itemize}
\begin{example}
\config{ui viewport: 15,20,100,150,-,-,-}
\end{example}
his displays the menu starting at 15px from the left of the screen and 20px
from the top of the screen. It is 100px wide and 150px high.
The font and the foreground/background shades are defined in the theme
\fname{.cfg} file or in the \setting{Theme Settings} menu.

View file

@ -0,0 +1,27 @@
\subsubsection{Viewport Declaration Syntax}
{\config{\%V}}{\textbar}x{\textbar}y{\textbar}[width]{\textbar}[height]{\textbar}[font]{\textbar}[fgshade]{\textbar}[bgshade]{\textbar}%
\begin{itemize}
\item 'fgshade' and bgshade are numbers in the range '0' (= black) to '3'
(= white).
\item 'font' is a number - '0' is the built-in system font, '1' is the
user-selected font.
\item Only the coordinates \emph{have} to be specified. Leaving the other
definitions blank will set them to their default values.
\note{The correct number of {\textbar}s with hyphens in blank fields
are still needed in any case.}
\end{itemize}
\begin{example}
%V|12|20|-|-|1|-|-|
%sThis viewport is displayed permanently. It starts 12px from the left and
%s20px from the top of the screen, and fills the rest of the screen from
%sthat point. The lines will scroll if this text does not fit in the viewport.
%sThe user font is used, as are the default foreground/background shades.
\end{example}
\begin{rbtabular}{.75\textwidth}{XX}{Viewport definition & Default value}{}{}
width/height & remaining part of screen \\
font & user defined \\
shade & black foreground on white background \\
\end{rbtabular}

View file

@ -0,0 +1,13 @@
\begin{example}
%?mh<%Vda|%Vdb>
%Vl|a|10|10|50|50|-|
%sYou could now show a hold icon using the %%xl and %%xd tags.
%Vl|a|0|70|70|14|1|
%s%acYour DAP is locked.
%Vl|b|20|14|50|14|1|
%t1%acWarning:;%t.1
%Vl|b|20|30|50|50|0|
%sYou've unlocked your player.
\end{example}
This example checks for hold. Viewport 'a' will be displayed if it is on,
otherwise viewport 'b' will display a flashing warning.

View file

@ -0,0 +1,11 @@
\begin{itemize}
\item 'font' is a number - '0' is the built-in system font, '1' is the
user-selected font.
\end{itemize}
\begin{example}
\config{ui viewport: 15,20,100,150,-}
\end{example}
This displays the menu starting at 15px from the left of the screen and 20px
from the top of the screen. It is 100px wide and 150px high. The font is
defined in the theme \fname{.cfg} file or in the \setting{Theme Settings} menu.

View file

@ -0,0 +1,24 @@
\subsubsection{Viewport Declaration Syntax}
{\config{\%V}}{\textbar}x{\textbar}y{\textbar}[width]{\textbar}[height]{\textbar}[font]{\textbar}%
\begin{itemize}
\item 'font' is a number - '0' is the built-in system font, '1' is the
user-selected font.
\item Only the coordinates \emph{have} to be specified. Leaving the other
definitions blank will set them to their default values.
\note{The correct number of {\textbar}s with hyphens in blank fields
are still needed in any case.}
\end{itemize}
\begin{example}
%V|12|20|-|-|1|
%sThis viewport is displayed permanently. It starts 12px from the left and
%s20px from the top of the screen, and fills the rest of the screen from
%sthat point. The lines will scroll if this text does not fit in the viewport.
%sThe user font is used.
\end{example}
\begin{rbtabular}{.75\textwidth}{XX}{Viewport definition & Default value}{}{}
width/height & remaining part of screen \\
font & user defined \\
\end{rbtabular}

View file

@ -27,7 +27,33 @@ Remember that this information is not always available, so use the
conditionals to show alternate information in preference to assuming.
These tags, when written with a capital ``I'' (e.g. \config{\%Ia} or \config{\%Ic}),
produce the information for the next song to be played.
show the information for the next song to be played.
\nopt{lcd_charcell}{
\section{Viewports}
\begin{table}
\begin{tagmap}{}{}
\nopt{lcd_non-mono}{~%
\config{\%V{\textbar}x{\textbar}y{\textbar}[width]{\textbar}%
[height]{\textbar}[font]{\textbar}}
& (see section \ref{ref:Viewports})\\}
\nopt{lcd_color}{\opt{lcd_non-mono}{%
\config{\%V{\textbar}x{\textbar}y{\textbar}[width]{\textbar}%
[height]{\textbar}[font]{\textbar}[fgshade]{\textbar}[bgshade]{\textbar}}
& (see section \ref{ref:Viewports})\\}}
\opt{lcd_color}{%
\config{\%V{\textbar}x{\textbar}y{\textbar}[width]{\textbar}%
[height]{\textbar}[font]{\textbar}[fgcolour]{\textbar}[bgcolour]{\textbar}}
& (see section \ref{ref:Viewports})\\}
\config{\%Vd'identifier'} & Display the 'identifier' viewport. E.g.
\config{\%?C{\textless}\%C\%Vda{\textbar}\%Vdb{\textgreater}}
will show viewport 'a' if album art is found, and 'b' if it isn't.\\
\end{tagmap}
\end{table}
}
\section{Power Related Information}
\begin{table}
@ -91,9 +117,9 @@ produce the information for the next file to be played.
that empties as the time progresses.}
\opt{lcd_bitmap}{
& This will replace the entire line with a progress bar. \\
& You can set the height, position and width of the progressbar %
(in pixels): \config{\%pb{\textbar}height{\textbar}leftpos%
{\textbar}rightpos{\textbar}toppos{\textbar}}} \\
& You can set the position, width and height of the progressbar %
(in pixels) and load a custom image for it: %
\config{\%pb{\textbar}image.bmp{\textbar}x{\textbar}y{\textbar}width{\textbar}height{\textbar}}} \\
\opt{player}{%
\config{\%pf} & Full-line progress bar \& time display\\
}%
@ -231,7 +257,7 @@ Examples:
\opt{lcd_bitmap}{
\section{Images}
\section{\label{ref:wps_images}Images}
\begin{table}
\begin{tagmap}{}{}
\nopt{archos}{%
@ -239,9 +265,6 @@ Examples:
& Load and set a backdrop image for the WPS.
This image must be exactly the same size as your LCD.\\
}%
\config{\%P{\textbar}filename.bmp{\textbar}}
& Load a Progress Bar image for the WPS. Use \config{\%pb} tag to show the
progress bar\\
\config{\%x{\textbar}n{\textbar}filename{\textbar}x{\textbar}y{\textbar}}
& Load and display an image\\
& \config{n}: image ID (a-z and A-Z) for later referencing in \config{\%xd}\\

View file

@ -1,6 +1,6 @@
#!/usr/bin/perl
$version="3.0";
$version="3.4";
my $verbose;
if($ARGV[0] eq "-v") {

View file

@ -1,6 +1,6 @@
#!/usr/bin/perl
$version="3.0";
$version="3.4";
my $verbose;
if($ARGV[0] eq "-v") {

View file

@ -1,6 +1,6 @@
#!/bin/sh
version="3.0"
version="3.4"
srcdir=.
tempdir=rockbox-temp

View file

@ -1,6 +1,6 @@
#!/usr/bin/perl
$version="3.0";
$version="3.4";
my $verbose;
if($ARGV[0] eq "-v") {

View file

@ -83,5 +83,5 @@ else
fi
fi
VERSION=$VER-`date -u +%y%m%d`
echo $VERSION
echo "3.4"