Another go at FS#11295 -- Use nice 'times' glyphs for describing dimensions. This time properly implemented.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26198 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Alexander Levin 2010-05-20 16:20:58 +00:00
parent f531adc312
commit 87b2ad14c7
39 changed files with 110 additions and 42 deletions

View File

@ -125,7 +125,7 @@ file find the instructions on the Rockbox website:
\subsection{\label{ref:LoadingBackdrops}Loading Backdrops}
Rockbox supports showing an image as a backdrop in the \setting{File Browser}
and the menus. The backdrop image must be a \fname{.bmp} file of the exact
same dimensions as the display in your \dap{} (\genericimg{} with the last
same dimensions as the display in your \dap{} (\dapdisplaysize{} with the last
number giving the colour depth in bits). To use an image as a backdrop browse
to it in the \setting{File Browser} and open the \setting{Context Menu}
(see \reference{ref:Contextmenu}) on it and select the option
@ -221,11 +221,11 @@ are discussed below.
\item Lines beginning with \# are comments and will be ignored.
\end{itemize}
\note{Keep in mind that your \dap{} resolution is \genericimg{} (with
\note{Keep in mind that your \dap{} resolution is \dapdisplaysize{} (with
the last number giving the colour depth in bits) when
designing your own WPS, or if you use a WPS designed for another target.
\opt{HAVE_REMOTE_LCD}{The resolution of the remote is
\opt{h100,h300}{128x64x1}\opt{x5,m5}{128x96x2} pixels.}}
\opt{h100,h300}{128$\times$64$\times$1}\opt{x5,m5}{128$\times$96$\times$2} pixels.}}
\nopt{lcd_charcell}{
\subsubsection{\label{ref:Viewports}Viewports}

View File

@ -371,7 +371,7 @@ Examples:
\begin{enumerate}
\item Load albumart at position 20,40 and display it without resizing:\\
\config{\%Cl{\textbar}20{\textbar}40{\textbar}{\textbar}{\textbar}}
\item Load albumart at position 0,20 and resize it to be at most 100x100
\item Load albumart at position 0,20 and resize it to be at most 100$\times$100
pixels. If the image isn't square, align it to the bottom-right
corner:\\
\config{\%CL{\textbar}0{\textbar}20{\textbar}r100{\textbar}b100{\textbar}}

View File

@ -82,7 +82,7 @@ follow the instructions at
cards until we are satisfied the driver is safe to use.\\}
\item There is only basic touchscreen support. Further work is
required to make the UI more usable with a touchscreen in general.
\note{The touchscreen can be used in two modes, either a 3x3 grid mode
\note{The touchscreen can be used in two modes, either a 3$\times$3 grid mode
which divides the screen into areas to emulate a set of physical
buttons (the default setting), or ``absolute point'' mode where the
touchscreen is used to point to items on the screen.\\}

View File

@ -9,7 +9,9 @@
\newcommand{\playerman}{Archos}
\newcommand{\playertype}{Recorder V2/FM}
\newcommand{\playerlongtype}{Recorder V2 and FM}
\newcommand{\genericimg}{112x64x1}
\newcommand{\dapdisplaywidth}{112}
\newcommand{\dapdisplayheight}{64}
\newcommand{\dapdisplaydepth}{1}
\newcommand{\specimg}{archosfmrecorder}
%Used to name the player, e.g. ...to the \dap
\newcommand{\dap}{player}

View File

@ -9,7 +9,9 @@
\newcommand{\playerman}{Archos}
\newcommand{\playertype}{Ondio}
\newcommand{\playerlongtype}{Ondio 128 FM}
\newcommand{\genericimg}{112x64x1}
\newcommand{\dapdisplaywidth}{112}
\newcommand{\dapdisplayheight}{64}
\newcommand{\dapdisplaydepth}{1}
\newcommand{\specimg}{archosondiofm}
%Used to name the player, e.g. ...to the \dap
\newcommand{\dap}{player}

View File

@ -9,7 +9,9 @@
\newcommand{\playerman}{Archos}
\newcommand{\playertype}{Ondio}
\newcommand{\playerlongtype}{Ondio 128 SP}
\newcommand{\genericimg}{112x64x1}
\newcommand{\dapdisplaywidth}{112}
\newcommand{\dapdisplayheight}{64}
\newcommand{\dapdisplaydepth}{1}
\newcommand{\specimg}{archosondiosp}
%Used to name the player, e.g. ...to the \dap
\newcommand{\dap}{player}

View File

@ -10,7 +10,9 @@
\newcommand{\playerman}{Archos}
\newcommand{\playertype}{Studio/Player}
\newcommand{\playerlongtype}{Jukebox 5000, 6000, Studio 10 and 20}
\newcommand{\genericimg}{charx11x1}
\newcommand{\dapdisplaywidth}{char}
\newcommand{\dapdisplayheight}{11}
\newcommand{\dapdisplaydepth}{1}
\newcommand{\specimg}{archosplayer}
%Used to name the player, e.g. ...to the \dap
\newcommand{\dap}{player}

View File

@ -9,7 +9,9 @@
\newcommand{\playerman}{Archos}
\newcommand{\playertype}{Recorder}
\newcommand{\playerlongtype}{Recorder 6, 10, 15 and 20}
\newcommand{\genericimg}{112x64x1}
\newcommand{\dapdisplaywidth}{112}
\newcommand{\dapdisplayheight}{64}
\newcommand{\dapdisplaydepth}{1}
\newcommand{\specimg}{archosrecorder}
%Used to name the player, e.g. ...to the \dap

View File

@ -9,7 +9,9 @@
\newcommand{\playerman}{Cowon}
\newcommand{\playertype}{D2}
\newcommand{\playerlongtype}{\playertype}
\newcommand{\genericimg}{320x240x16}
\newcommand{\dapdisplaywidth}{320}
\newcommand{\dapdisplayheight}{240}
\newcommand{\dapdisplaydepth}{16}
\newcommand{\specimg}{cowond2}
%Used to name the player, e.g. ...to the \dap
\newcommand{\dap}{player}

View File

@ -13,7 +13,9 @@
\newcommand{\playerman}{Toshiba}
\newcommand{\playertype}{Gigabeat F and X Series}
\newcommand{\playerlongtype}{\playertype}
\newcommand{\genericimg}{240x320x16}
\newcommand{\dapdisplaywidth}{240}
\newcommand{\dapdisplayheight}{320}
\newcommand{\dapdisplaydepth}{16}
\newcommand{\specimg}{gigabeatfx}
%Used to name the player, e.g. ...to the \dap
\newcommand{\dap}{player}

View File

@ -12,7 +12,9 @@
\newcommand{\playerman}{Toshiba}
\newcommand{\playertype}{Gigabeat S Series}
\newcommand{\playerlongtype}{\playertype}
\newcommand{\genericimg}{240x320x16}
\newcommand{\dapdisplaywidth}{240}
\newcommand{\dapdisplayheight}{320}
\newcommand{\dapdisplaydepth}{16}
\newcommand{\specimg}{gigabeats}
%Used to name the player, e.g. ...to the \dap
\newcommand{\dap}{player}

View File

@ -11,7 +11,9 @@
\newcommand{\playerman}{Iaudio}
\newcommand{\playertype}{M3}
\newcommand{\playerlongtype}{\playertype}
\newcommand{\genericimg}{128x96x2}
\newcommand{\dapdisplaywidth}{128}
\newcommand{\dapdisplayheight}{96}
\newcommand{\dapdisplaydepth}{2}
\newcommand{\specimg}{iaudiom3}
%Used to name the player, e.g. ...to the \dap
\newcommand{\dap}{player}

View File

@ -11,7 +11,9 @@
\newcommand{\playerman}{Iaudio}
\newcommand{\playertype}{M5}
\newcommand{\playerlongtype}{\playertype}
\newcommand{\genericimg}{160x128x2}
\newcommand{\dapdisplaywidth}{160}
\newcommand{\dapdisplayheight}{128}
\newcommand{\dapdisplaydepth}{2}
\newcommand{\specimg}{iaudiom5}
%Used to name the player, e.g. ...to the \dap
\newcommand{\dap}{player}

View File

@ -11,7 +11,9 @@
\newcommand{\playerman}{Iaudio}
\newcommand{\playertype}{X5}
\newcommand{\playerlongtype}{\playertype}
\newcommand{\genericimg}{160x128x16}
\newcommand{\dapdisplaywidth}{160}
\newcommand{\dapdisplayheight}{128}
\newcommand{\dapdisplaydepth}{16}
\newcommand{\specimg}{iaudiox5}
%Used to name the player, e.g. ...to the \dap
\newcommand{\dap}{player}

View File

@ -9,7 +9,9 @@
\newcommand{\playerman}{Ipod}
\newcommand{\playertype}{1G / 2G}
\newcommand{\playerlongtype}{\playertype}
\newcommand{\genericimg}{160x128x2}
\newcommand{\dapdisplaywidth}{160}
\newcommand{\dapdisplayheight}{128}
\newcommand{\dapdisplaydepth}{2}
\newcommand{\specimg}{ipod1g2g}
%Used to name the player, e.g. ...to the \dap
\newcommand{\dap}{player}

View File

@ -9,7 +9,9 @@
\newcommand{\playerman}{Ipod}
\newcommand{\playertype}{3G}
\newcommand{\playerlongtype}{\playertype}
\newcommand{\genericimg}{160x128x2}
\newcommand{\dapdisplaywidth}{160}
\newcommand{\dapdisplayheight}{128}
\newcommand{\dapdisplaydepth}{2}
\newcommand{\specimg}{ipod3g}
%Used to name the player, e.g. ...to the \dap
\newcommand{\dap}{player}

View File

@ -9,7 +9,9 @@
\newcommand{\playerman}{Ipod}
\newcommand{\playertype}{4G}
\newcommand{\playerlongtype}{\playertype}
\newcommand{\genericimg}{160x128x2}
\newcommand{\dapdisplaywidth}{160}
\newcommand{\dapdisplayheight}{128}
\newcommand{\dapdisplaydepth}{2}
\newcommand{\specimg}{ipod4g}
%Used to name the player, e.g. ...to the \dap
\newcommand{\dap}{player}

View File

@ -9,7 +9,9 @@
\newcommand{\playerman}{Ipod}
\newcommand{\playertype}{Color}
\newcommand{\playerlongtype}{\playertype}
\newcommand{\genericimg}{220x176x16}
\newcommand{\dapdisplaywidth}{220}
\newcommand{\dapdisplayheight}{176}
\newcommand{\dapdisplaydepth}{16}
\newcommand{\specimg}{ipodcolor}
%Used to name the player, e.g. ...to the \dap
\newcommand{\dap}{player}

View File

@ -9,7 +9,9 @@
\newcommand{\playerman}{Ipod}
\newcommand{\playertype}{Mini}
\newcommand{\playerlongtype}{\playertype}
\newcommand{\genericimg}{138x110x2}
\newcommand{\dapdisplaywidth}{138}
\newcommand{\dapdisplayheight}{110}
\newcommand{\dapdisplaydepth}{2}
\newcommand{\specimg}{ipodmini1g}
%Used to name the player, e.g. ...to the \dap
\newcommand{\dap}{player}

View File

@ -8,7 +8,9 @@
\newcommand{\playerman}{Ipod}
\newcommand{\playertype}{Nano}
\newcommand{\playerlongtype}{\playertype{} 1st generation}
\newcommand{\genericimg}{176x132x16}
\newcommand{\dapdisplaywidth}{176}
\newcommand{\dapdisplayheight}{132}
\newcommand{\dapdisplaydepth}{16}
\newcommand{\specimg}{ipodnano1g}
%Used to name the player, e.g. ...to the \dap
\newcommand{\dap}{player}

View File

@ -8,7 +8,9 @@
\newcommand{\playerman}{Ipod}
\newcommand{\playertype}{Nano}
\newcommand{\playerlongtype}{\playertype{} 2nd generation}
\newcommand{\genericimg}{176x132x16}
\newcommand{\dapdisplaywidth}{176}
\newcommand{\dapdisplayheight}{132}
\newcommand{\dapdisplaydepth}{16}
\newcommand{\specimg}{ipodnano2g}
%Used to name the player, e.g. ...to the \dap
\newcommand{\dap}{player}

View File

@ -10,7 +10,9 @@
\newcommand{\playerman}{Ipod}
\newcommand{\playertype}{Video}
\newcommand{\playerlongtype}{\playertype}
\newcommand{\genericimg}{320x240x16}
\newcommand{\dapdisplaywidth}{320}
\newcommand{\dapdisplayheight}{240}
\newcommand{\dapdisplaydepth}{16}
\newcommand{\specimg}{ipodvideo}
%Used to name the player, e.g. ...to the \dap
\newcommand{\dap}{player}

View File

@ -10,7 +10,9 @@
\newcommand{\playerman}{Iriver}
\newcommand{\playertype}{H10}
\newcommand{\playerlongtype}{\playertype{} 20~GB}
\newcommand{\genericimg}{160x128x16}
\newcommand{\dapdisplaywidth}{160}
\newcommand{\dapdisplayheight}{128}
\newcommand{\dapdisplaydepth}{16}
\newcommand{\specimg}{iriverh10}
%Used to name the player, e.g. ...to the \dap
\newcommand{\dap}{player}

View File

@ -13,7 +13,9 @@
\newcommand{\playerman}{Iriver}
\newcommand{\playertype}{H100}
\newcommand{\playerlongtype}{iHP100, iHP115, iHP120, iHP140, H120 and H140}
\newcommand{\genericimg}{160x128x2}
\newcommand{\dapdisplaywidth}{160}
\newcommand{\dapdisplayheight}{128}
\newcommand{\dapdisplaydepth}{2}
\newcommand{\specimg}{iriverh100}
%Used to name the player, e.g. ...to the \dap
\newcommand{\dap}{player}

View File

@ -10,7 +10,9 @@
\newcommand{\playerman}{Iriver}
\newcommand{\playertype}{H10}
\newcommand{\playerlongtype}{\playertype{} 5~GB and 6~GB}
\newcommand{\genericimg}{128x128x16}
\newcommand{\dapdisplaywidth}{128}
\newcommand{\dapdisplayheight}{128}
\newcommand{\dapdisplaydepth}{16}
\newcommand{\specimg}{iriverh10_5gb}
%Used to name the player, e.g. ...to the \dap
\newcommand{\dap}{player}

View File

@ -11,7 +11,9 @@
\newcommand{\playerman}{Iriver}
\newcommand{\playertype}{H3xx}
\newcommand{\playerlongtype}{H320 and H340}
\newcommand{\genericimg}{220x176x16}
\newcommand{\dapdisplaywidth}{220}
\newcommand{\dapdisplayheight}{176}
\newcommand{\dapdisplaydepth}{16}
\newcommand{\specimg}{iriverh300}
%Used to name the player, e.g. ...to the \dap
\newcommand{\dap}{player}

View File

@ -12,7 +12,9 @@
\newcommand{\playerman}{Olympus}
\newcommand{\playertype}{m:robe 100}
\newcommand{\playerlongtype}{\playertype}
\newcommand{\genericimg}{160x128x1}
\newcommand{\dapdisplaywidth}{160}
\newcommand{\dapdisplayheight}{128}
\newcommand{\dapdisplaydepth}{1}
\newcommand{\specimg}{mrobe100}
%Used to name the player, e.g. ...to the \dap
\newcommand{\dap}{player}

View File

@ -9,7 +9,9 @@
\newcommand{\playerman}{Philips}
\newcommand{\playertype}{GoGear SA9200}
\newcommand{\playerlongtype}{\playertype}
\newcommand{\genericimg}{128x160x16}
\newcommand{\dapdisplaywidth}{128}
\newcommand{\dapdisplayheight}{160}
\newcommand{\dapdisplaydepth}{16}
\newcommand{\specimg}{sa9200}
%Used to name the player, e.g. ...to the \dap
\newcommand{\dap}{player}

View File

@ -10,7 +10,9 @@
\newcommand{\playerman}{Sansa}
\newcommand{\playertype}{c200 Series}
\newcommand{\playerlongtype}{\playertype}
\newcommand{\genericimg}{132x80x16}
\newcommand{\dapdisplaywidth}{132}
\newcommand{\dapdisplayheight}{80}
\newcommand{\dapdisplaydepth}{16}
\newcommand{\specimg}{sansac200}
%Used to name the player, e.g. ...to the \dap
\newcommand{\dap}{player}

View File

@ -10,7 +10,9 @@
\newcommand{\playerman}{Sansa}
\newcommand{\playertype}{Clip}
\newcommand{\playerlongtype}{Clip v1}
\newcommand{\genericimg}{128x64x1}
\newcommand{\dapdisplaywidth}{128}
\newcommand{\dapdisplayheight}{64}
\newcommand{\dapdisplaydepth}{1}
\newcommand{\specimg}{sansaclip}
%Used to name the player, e.g. ...to the \dap
\newcommand{\dap}{player}

View File

@ -10,7 +10,9 @@
\newcommand{\playerman}{Sansa}
\newcommand{\playertype}{Clip+}
\newcommand{\playerlongtype}{\playertype}
\newcommand{\genericimg}{128x64x1}
\newcommand{\dapdisplaywidth}{128}
\newcommand{\dapdisplayheight}{64}
\newcommand{\dapdisplaydepth}{1}
\newcommand{\specimg}{sansaclipplus}
%Used to name the player, e.g. ...to the \dap
\newcommand{\dap}{player}

View File

@ -10,7 +10,9 @@
\newcommand{\playerman}{Sansa}
\newcommand{\playertype}{Clip}
\newcommand{\playerlongtype}{Clip v2}
\newcommand{\genericimg}{128x64x1}
\newcommand{\dapdisplaywidth}{128}
\newcommand{\dapdisplayheight}{64}
\newcommand{\dapdisplaydepth}{1}
\newcommand{\specimg}{sansaclip}
%Used to name the player, e.g. ...to the \dap
\newcommand{\dap}{player}

View File

@ -10,8 +10,9 @@
\newcommand{\playerman}{Sansa}
\newcommand{\playertype}{e200 and e200R Series}
\newcommand{\playerlongtype}{\playertype}
\newcommand{\genericimg}{176x220x16}
\newcommand{\specimg}{sansae200}
\newcommand{\dapdisplaywidth}{176}
\newcommand{\dapdisplayheight}{220}
\newcommand{\dapdisplaydepth}{16}\newcommand{\specimg}{sansae200}
%Used to name the player, e.g. ...to the \dap
\newcommand{\dap}{player}
%For use when referring to the player. E.g. the \daps\ capacity ...

View File

@ -10,7 +10,9 @@
\newcommand{\playerman}{Sansa}
\newcommand{\playertype}{e200v2 Series}
\newcommand{\playerlongtype}{\playertype}
\newcommand{\genericimg}{176x220x16}
\newcommand{\dapdisplaywidth}{176}
\newcommand{\dapdisplayheight}{220}
\newcommand{\dapdisplaydepth}{16}
\newcommand{\specimg}{sansae200}
%Used to name the player, e.g. ...to the \dap
\newcommand{\dap}{player}

View File

@ -10,7 +10,9 @@
\newcommand{\playerman}{Sansa}
\newcommand{\playertype}{Fuze}
\newcommand{\playerlongtype}{\playertype}
\newcommand{\genericimg}{220x176x16}
\newcommand{\dapdisplaywidth}{220}
\newcommand{\dapdisplayheight}{176}
\newcommand{\dapdisplaydepth}{16}
\newcommand{\specimg}{sansafuze}
%Used to name the player, e.g. ...to the \dap
\newcommand{\dap}{player}

View File

@ -10,7 +10,9 @@
\newcommand{\playerman}{Packard Bell}
\newcommand{\playertype}{Vibe 500}
\newcommand{\playerlongtype}{\playertype}
\newcommand{\genericimg}{160x128x16}
\newcommand{\dapdisplaywidth}{160}
\newcommand{\dapdisplayheight}{128}
\newcommand{\dapdisplaydepth}{16}
\newcommand{\specimg}{vibe500}
%Used to name the player, e.g. ...to the \dap
\newcommand{\dap}{player}

View File

@ -6,10 +6,10 @@ To start a game open a \fname{.ch8} file in the \setting{File Browser}
There are lots of tiny Chip8 games (usually only about 256 bytes to a
couple of KB) which were made popular by the HP48
calculator's emulator for them. The original Chip8 had
64x32 pixel graphics, and the new superchip emulator supports 128x64
64$\times$32 pixel graphics, and the new superchip emulator supports 128$\times$64
graphics.
The only problem is that they are based on a 4x4 keyboard, but since most
The only problem is that they are based on a 4$\times$4 keyboard, but since most
games do not use all of the buttons, this can easily be worked around.
To do this, one may put a \fname{.c8k} file with the same name as the

View File

@ -140,6 +140,9 @@
{\end{itemize}}
\newcommand{\dapdisplaysize}{\dapdisplaywidth$\times$\dapdisplayheight$\times$\dapdisplaydepth}
\newcommand{\genericimg}{\dapdisplaywidth x\dapdisplayheight x\dapdisplaydepth}
% add screenshot image.
% Usage: \screenshot{filename}{caption}{label}
% By using the 'H' (HERE) placement, the screenshots are placed where

View File

@ -20,7 +20,7 @@
Throughout this manual, the buttons on the \dap{} are labelled according to the
picture above.
\opt{touchscreen}{
The areas of the touchscreen in the 3x3 grid mode are in turn referred as follows:
The areas of the touchscreen in the 3$\times$3 grid mode are in turn referred as follows:
\begin{table}
\begin{center}
%\begin{tabularx}{.82\textwidth}{l|c|r}