X-Git-Url: http://git.maemo.org/git/?p=jspeed;a=blobdiff_plain;f=www%2Ftheme-howto.html;h=2966ddcb1adb097ee5ef428c90af26c9f8ce55ae;hp=d988069413617673a67b80f7692dd85ed8ad18fd;hb=02bd1fc15718029c5871819bc18191006c95c42f;hpb=f9714dfee601882e7081bce34dc34558412e56ab diff --git a/www/theme-howto.html b/www/theme-howto.html index d988069..2966ddc 100644 --- a/www/theme-howto.html +++ b/www/theme-howto.html @@ -66,7 +66,7 @@ -

jSpeed theme files (ie. default.jspeed) are just regular zip-files renamed to .jspeed. The path for theme files is /home/user/.jspeed/themes.

+

jSpeed theme files (e.g. default.jspeed) are just regular zip-files renamed to .jspeed. The path for theme files is /home/user/.jspeed/themes.

Each of these zip-files contains at least one file called theme.xml, which contains all the information required to draw the theme. Theme file may also contain image files and fonts required for the theme.

@@ -236,7 +236,7 @@ visiblewhen - Defines when element should be visible. Possible values are always (default), poivisible (show only when there is a poi (ie. speed camera) in view) and speedexceeded (show only when speed threshold is exceeded and speed alarm is enabled). + Defines when element should be visible. Possible values are always (default), poivisible (show only when there is a poi (e.g. a speed camera) in view) and speedexceeded (show only when speed threshold is exceeded and speed alarm is enabled). effect @@ -426,7 +426,7 @@ zerospeed - The minimum speed in km/h of a pointer (usually 0). + The minimum speed of a pointer in km/h (usually 0).
<zerospeed>0</zerospeed>
@@ -527,7 +527,7 @@ data - The actual textual data. Can be a plain text (ie. "Speed:") or a special field (ie. "{SPEED}"). Special fields are automatically updated to contain their value in unit which is specified in settings. Possible special fiels are listed below:
+ The actual textual data. Can be a plain text (e.g. "Speed:") or a special field (e.g. "{SPEED}"). Special fields are automatically updated to contain their value in unit which is specified in settings. Special fields can also be combined (e.g. "{SPEED} {SPEEDUNIT}"). Possible special fiels are listed below:
{TRIP}: Trip value.
{TOTAL}: Total travelled kilometers or miles.
{SPEED}: Current speed.
@@ -537,10 +537,12 @@ {SPEEDUNIT}: Speed unit (km/h or mph).
{TIME}: Current time, formatted according to timeformat tag.
{DATE}: Current date, formatted according to dateformat tag.
- {POIDISTANCE}: Distance to the nearest poi (ie. speed camera). Empty if there is no poi in view
+ {POIDISTANCE}: Distance to the nearest poi (e.g. speed camera). Empty if there is no poi in view
{ANGLE}: Angle of current direction in degrees. 0 means north.
{LATITUDE}: Current latitude.
- {LONGITUDE}: Current longitude.
+ {LONGITUDE}: Current longitude.
+ {ALTITUDE}: Current altitude (in meters or feet).
+ {DISTANCEUNIT}: Unit for altitude and poidistance fields (m or ft).
<data>{SPEED}</data>
@@ -571,7 +573,7 @@ font - Text font. Can be a font file inside the theme file (ie. "somefont.ttf") or a name of a font intalled in system (ie. "Tahoma"). + Text font. Can be a font file inside the theme file (e.g. "somefont.ttf") or a name of a font intalled in system (e.g. "Tahoma").
<font>arial.ttf</font>