rockbox/apps/gui/skin_engine
Thomas Martitz 0070f60441 Fix %Sp expansion in wps
The value returned from sound_get_pitch() was shown assuming that 100%
corresponds to 1000 by skin_tokens.c::get_token_value().  The value
actually is 100*PITCH_SPEED_PRECISION.

Steal the way the callchain from gui_syncpitchscreen_run() to
pitchscreen_draw() in apps/gui/pitchscreen.c formats the value and use it
here for consistency.

Flyspray: FS#10673
Author: Junio C Hamano

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23199 a1c6a512-1295-4272-9138-f99709370657
2009-10-15 22:22:07 +00:00
..
skin_buffer.c Remove some trailing whitespaces in in the skin engine files. 2009-09-13 12:24:14 +00:00
skin_buffer.h move the statically allocated tokens array into the skin buffer. this is done with a little bit of magic with the buffer... explanation in the comments but breifly, tokens + images are stored at the front of the buffer, everything else (constant sizes) are stored at the back, the 2 ends meet when the buffer is full. 2009-08-19 04:19:08 +00:00
skin_display.c Remove wps_reset(), and rename skin_data_init to skin_data_reset() and extend it to zero most of the wps_data members. 2009-10-14 15:49:11 +00:00
skin_engine.h Fix skin engine calling wps code to draw the statusbars (add a pointer to viewportmanager-suitable statusbar values, which are the same for all screens), and re-arrange statusbar related code slightly. No functional change. 2009-08-26 00:06:27 +00:00
skin_parser.c Remove wps_reset(), and rename skin_data_init to skin_data_reset() and extend it to zero most of the wps_data members. 2009-10-14 15:49:11 +00:00
skin_tokens.c Fix %Sp expansion in wps 2009-10-15 22:22:07 +00:00
skin_tokens.h new skin tag: %Sx|<english>| will display the current languages translation of the "<english>" string. 2009-09-26 00:58:32 +00:00
wps_debug.c new skin tag: %Sx|<english>| will display the current languages translation of the "<english>" string. 2009-09-26 00:58:32 +00:00
wps_internals.h Remove wps_reset(), and rename skin_data_init to skin_data_reset() and extend it to zero most of the wps_data members. 2009-10-14 15:49:11 +00:00