summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2006-06-04 11:20:06 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2006-06-04 11:20:06 +0000
commit5be450939f7abb90aae44b63e5afdf6881ee7bb1 (patch)
treea382cf751a03ebd5f5db96e2f59c7327118665a5
parent1874461caf673126c3263b78092a23a9b5283041 (diff)
downloadrockbox-5be450939f7abb90aae44b63e5afdf6881ee7bb1.tar.gz
rockbox-5be450939f7abb90aae44b63e5afdf6881ee7bb1.zip
Adjust screenshot macro for use of device specific images. This makes it possible to share resolution dependent images (like plugins) and also put in device specific one. Solves the recorder vs. ondio problem as mentioned in FS#5458.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10042 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--manual/platform/h1xx.tex2
-rw-r--r--manual/platform/h300.tex4
-rw-r--r--manual/platform/ipod4g.tex4
-rw-r--r--manual/platform/ipodcolor.tex4
-rw-r--r--manual/platform/ipodmini.tex4
-rw-r--r--manual/platform/ipodnano.tex4
-rw-r--r--manual/platform/ipodvideo.tex4
-rw-r--r--manual/platform/ondio.tex4
-rw-r--r--manual/platform/player.tex4
-rw-r--r--manual/platform/recorder.tex4
-rw-r--r--manual/platform/recorderv2fm.tex4
-rw-r--r--manual/platform/x5.tex2
-rw-r--r--manual/preamble.tex18
13 files changed, 45 insertions, 17 deletions
diff --git a/manual/platform/h1xx.tex b/manual/platform/h1xx.tex
index 413fc570bd..e616b7ec1b 100644
--- a/manual/platform/h1xx.tex
+++ b/manual/platform/h1xx.tex
@@ -1,3 +1,4 @@
1% $Id$ %
1\def\UseOption{h1xx} 2\def\UseOption{h1xx}
2\edef\UseOption{\UseOption,HAVE_LCD_BITMAP} 3\edef\UseOption{\UseOption,HAVE_LCD_BITMAP}
3\edef\UseOption{\UseOption,HAVE_RECORDING} 4\edef\UseOption{\UseOption,HAVE_RECORDING}
@@ -9,6 +10,7 @@
9\newcommand{\playertype}{H1xx} 10\newcommand{\playertype}{H1xx}
10\newcommand{\playerlongtype}{iHP100, iHP115, iHP120, iHP140, H120 and H140} 11\newcommand{\playerlongtype}{iHP100, iHP115, iHP120, iHP140, H120 and H140}
11\newcommand{\genericimg}{160x128x2} 12\newcommand{\genericimg}{160x128x2}
13\newcommand{\specimg}{h1xx}
12%Used to name the player, e.g. ...to the \dap 14%Used to name the player, e.g. ...to the \dap
13\newcommand{\dap}{player} 15\newcommand{\dap}{player}
14%For use when referring to the player. E.g. the \daps\ capacity ... 16%For use when referring to the player. E.g. the \daps\ capacity ...
diff --git a/manual/platform/h300.tex b/manual/platform/h300.tex
index b777e16da5..5fa549a145 100644
--- a/manual/platform/h300.tex
+++ b/manual/platform/h300.tex
@@ -1,3 +1,4 @@
1% $Id$ %
1\def\UseOption{h300} 2\def\UseOption{h300}
2\edef\UseOption{\UseOption,HAVE_LCD_BITMAP} 3\edef\UseOption{\UseOption,HAVE_LCD_BITMAP}
3\edef\UseOption{\UseOption,HAVE_RECORDING} 4\edef\UseOption{\UseOption,HAVE_RECORDING}
@@ -10,6 +11,7 @@
10\newcommand{\playertype}{H3xx} 11\newcommand{\playertype}{H3xx}
11\newcommand{\playerlongtype}{H320 and H340} 12\newcommand{\playerlongtype}{H320 and H340}
12\newcommand{\genericimg}{220x176x16} 13\newcommand{\genericimg}{220x176x16}
14\newcommand{\specimg}{h300}
13%Used to name the player, e.g. ...to the \dap 15%Used to name the player, e.g. ...to the \dap
14\newcommand{\dap}{player} 16\newcommand{\dap}{player}
15%For use when referring to the player. E.g. the \daps\ capacity ... 17%For use when referring to the player. E.g. the \daps\ capacity ...
@@ -24,4 +26,4 @@
24\newcommand{\ButtonMode}{A-B} 26\newcommand{\ButtonMode}{A-B}
25\newcommand{\ButtonRec}{Rec} 27\newcommand{\ButtonRec}{Rec}
26\newcommand{\ButtonOn}{Play} 28\newcommand{\ButtonOn}{Play}
27\newcommand{\ButtonOff}{Stop} \ No newline at end of file 29\newcommand{\ButtonOff}{Stop}
diff --git a/manual/platform/ipod4g.tex b/manual/platform/ipod4g.tex
index b71b5cb106..95664bff93 100644
--- a/manual/platform/ipod4g.tex
+++ b/manual/platform/ipod4g.tex
@@ -1,3 +1,4 @@
1% $Id$ %
1\def\UseOption{ipod4g} 2\def\UseOption{ipod4g}
2\edef\UseOption{\UseOption,HAVE_LCD_BITMAP} 3\edef\UseOption{\UseOption,HAVE_LCD_BITMAP}
3\edef\UseOption{\UseOption,CONFIG_RTC} 4\edef\UseOption{\UseOption,CONFIG_RTC}
@@ -8,6 +9,7 @@
8\newcommand{\playertype}{4G} 9\newcommand{\playertype}{4G}
9\newcommand{\playerlongtype}{\playertype} 10\newcommand{\playerlongtype}{\playertype}
10\newcommand{\genericimg}{160x128x2} 11\newcommand{\genericimg}{160x128x2}
12\newcommand{\specimg}{ipod4g}
11%Used to name the player, e.g. ...to the \dap 13%Used to name the player, e.g. ...to the \dap
12\newcommand{\dap}{player} 14\newcommand{\dap}{player}
13%For use when referring to the player. E.g. the \daps\ capacity ... 15%For use when referring to the player. E.g. the \daps\ capacity ...
@@ -20,4 +22,4 @@
20\newcommand{\ButtonPlay}{Play} 22\newcommand{\ButtonPlay}{Play}
21\newcommand{\ButtonSelect}{Select} 23\newcommand{\ButtonSelect}{Select}
22\newcommand{\ButtonScrollFwd}{Scroll Fwd} 24\newcommand{\ButtonScrollFwd}{Scroll Fwd}
23\newcommand{\ButtonScrollBack}{Scroll Back} \ No newline at end of file 25\newcommand{\ButtonScrollBack}{Scroll Back}
diff --git a/manual/platform/ipodcolor.tex b/manual/platform/ipodcolor.tex
index 84cd37a0e7..ed6094f52e 100644
--- a/manual/platform/ipodcolor.tex
+++ b/manual/platform/ipodcolor.tex
@@ -1,3 +1,4 @@
1% $Id$ %
1\def\UseOption{ipodcolor} 2\def\UseOption{ipodcolor}
2\edef\UseOption{\UseOption,HAVE_LCD_BITMAP} 3\edef\UseOption{\UseOption,HAVE_LCD_BITMAP}
3\edef\UseOption{\UseOption,CONFIG_RTC} 4\edef\UseOption{\UseOption,CONFIG_RTC}
@@ -8,6 +9,7 @@
8\newcommand{\playertype}{Color} 9\newcommand{\playertype}{Color}
9\newcommand{\playerlongtype}{\playertype} 10\newcommand{\playerlongtype}{\playertype}
10\newcommand{\genericimg}{220x176x16} 11\newcommand{\genericimg}{220x176x16}
12\newcommand{\specimg}{ipodcolor}
11%Used to name the player, e.g. ...to the \dap 13%Used to name the player, e.g. ...to the \dap
12\newcommand{\dap}{player} 14\newcommand{\dap}{player}
13%For use when referring to the player. E.g. the \daps\ capacity ... 15%For use when referring to the player. E.g. the \daps\ capacity ...
@@ -20,4 +22,4 @@
20\newcommand{\ButtonPlay}{Play} 22\newcommand{\ButtonPlay}{Play}
21\newcommand{\ButtonSelect}{Select} 23\newcommand{\ButtonSelect}{Select}
22\newcommand{\ButtonScrollFwd}{Scroll Fwd} 24\newcommand{\ButtonScrollFwd}{Scroll Fwd}
23\newcommand{\ButtonScrollBack}{Scroll Back} \ No newline at end of file 25\newcommand{\ButtonScrollBack}{Scroll Back}
diff --git a/manual/platform/ipodmini.tex b/manual/platform/ipodmini.tex
index 9d9c16abeb..857ef73bfa 100644
--- a/manual/platform/ipodmini.tex
+++ b/manual/platform/ipodmini.tex
@@ -1,3 +1,4 @@
1% $Id$ %
1\def\UseOption{ipodmini} 2\def\UseOption{ipodmini}
2\edef\UseOption{\UseOption,HAVE_LCD_BITMAP} 3\edef\UseOption{\UseOption,HAVE_LCD_BITMAP}
3\edef\UseOption{\UseOption,CONFIG_RTC} 4\edef\UseOption{\UseOption,CONFIG_RTC}
@@ -8,6 +9,7 @@
8\newcommand{\playertype}{Mini} 9\newcommand{\playertype}{Mini}
9\newcommand{\playerlongtype}{\playertype} 10\newcommand{\playerlongtype}{\playertype}
10\newcommand{\genericimg}{138x110x2} 11\newcommand{\genericimg}{138x110x2}
12\newcommand{\specimg}{ipodmini}
11%Used to name the player, e.g. ...to the \dap 13%Used to name the player, e.g. ...to the \dap
12\newcommand{\dap}{player} 14\newcommand{\dap}{player}
13%For use when referring to the player. E.g. the \daps\ capacity ... 15%For use when referring to the player. E.g. the \daps\ capacity ...
@@ -20,4 +22,4 @@
20\newcommand{\ButtonPlay}{Play} 22\newcommand{\ButtonPlay}{Play}
21\newcommand{\ButtonSelect}{Select} 23\newcommand{\ButtonSelect}{Select}
22\newcommand{\ButtonScrollFwd}{Scroll Fwd} 24\newcommand{\ButtonScrollFwd}{Scroll Fwd}
23\newcommand{\ButtonScrollBack}{Scroll Back} \ No newline at end of file 25\newcommand{\ButtonScrollBack}{Scroll Back}
diff --git a/manual/platform/ipodnano.tex b/manual/platform/ipodnano.tex
index 116efd7aab..4dcbc06e05 100644
--- a/manual/platform/ipodnano.tex
+++ b/manual/platform/ipodnano.tex
@@ -1,3 +1,4 @@
1% $Id$ %
1\def\UseOption{ipodnano} 2\def\UseOption{ipodnano}
2\edef\UseOption{\UseOption,HAVE_LCD_BITMAP} 3\edef\UseOption{\UseOption,HAVE_LCD_BITMAP}
3\edef\UseOption{\UseOption,CONFIG_RTC} 4\edef\UseOption{\UseOption,CONFIG_RTC}
@@ -8,6 +9,7 @@
8\newcommand{\playertype}{Nano} 9\newcommand{\playertype}{Nano}
9\newcommand{\playerlongtype}{\playertype} 10\newcommand{\playerlongtype}{\playertype}
10\newcommand{\genericimg}{176x132x16} 11\newcommand{\genericimg}{176x132x16}
12\newcommand{\specimg}{ipodnano}
11%Used to name the player, e.g. ...to the \dap 13%Used to name the player, e.g. ...to the \dap
12\newcommand{\dap}{player} 14\newcommand{\dap}{player}
13%For use when referring to the player. E.g. the \daps\ capacity ... 15%For use when referring to the player. E.g. the \daps\ capacity ...
@@ -20,4 +22,4 @@
20\newcommand{\ButtonPlay}{Play} 22\newcommand{\ButtonPlay}{Play}
21\newcommand{\ButtonSelect}{Select} 23\newcommand{\ButtonSelect}{Select}
22\newcommand{\ButtonScrollFwd}{Scroll Fwd} 24\newcommand{\ButtonScrollFwd}{Scroll Fwd}
23\newcommand{\ButtonScrollBack}{Scroll Back} \ No newline at end of file 25\newcommand{\ButtonScrollBack}{Scroll Back}
diff --git a/manual/platform/ipodvideo.tex b/manual/platform/ipodvideo.tex
index 0a73946125..490d7b8541 100644
--- a/manual/platform/ipodvideo.tex
+++ b/manual/platform/ipodvideo.tex
@@ -1,3 +1,4 @@
1% $Id$ %
1\def\UseOption{ipodvideo} 2\def\UseOption{ipodvideo}
2\edef\UseOption{\UseOption,HAVE_LCD_BITMAP} 3\edef\UseOption{\UseOption,HAVE_LCD_BITMAP}
3\edef\UseOption{\UseOption,CONFIG_RTC} 4\edef\UseOption{\UseOption,CONFIG_RTC}
@@ -8,6 +9,7 @@
8\newcommand{\playertype}{Video} 9\newcommand{\playertype}{Video}
9\newcommand{\playerlongtype}{\playertype} 10\newcommand{\playerlongtype}{\playertype}
10\newcommand{\genericimg}{320x240x16} 11\newcommand{\genericimg}{320x240x16}
12\newcommand{\specimg}{ipodvideo}
11%Used to name the player, e.g. ...to the \dap 13%Used to name the player, e.g. ...to the \dap
12\newcommand{\dap}{player} 14\newcommand{\dap}{player}
13%For use when referring to the player. E.g. the \daps\ capacity ... 15%For use when referring to the player. E.g. the \daps\ capacity ...
@@ -20,4 +22,4 @@
20\newcommand{\ButtonPlay}{Play} 22\newcommand{\ButtonPlay}{Play}
21\newcommand{\ButtonSelect}{Select} 23\newcommand{\ButtonSelect}{Select}
22\newcommand{\ButtonScrollFwd}{Scroll Fwd} 24\newcommand{\ButtonScrollFwd}{Scroll Fwd}
23\newcommand{\ButtonScrollBack}{Scroll Back} \ No newline at end of file 25\newcommand{\ButtonScrollBack}{Scroll Back}
diff --git a/manual/platform/ondio.tex b/manual/platform/ondio.tex
index 84d682d24a..0fe84b2dda 100644
--- a/manual/platform/ondio.tex
+++ b/manual/platform/ondio.tex
@@ -1,3 +1,4 @@
1% $Id$ %
1%platform file for the Ondio SP,FM 2%platform file for the Ondio SP,FM
2\def\UseOption{ondio} 3\def\UseOption{ondio}
3\edef\UseOption{\UseOption,HAVE_LCD_BITMAP} 4\edef\UseOption{\UseOption,HAVE_LCD_BITMAP}
@@ -10,6 +11,7 @@
10\newcommand{\playertype}{Ondio} 11\newcommand{\playertype}{Ondio}
11\newcommand{\playerlongtype}{Ondio SP, FM} 12\newcommand{\playerlongtype}{Ondio SP, FM}
12\newcommand{\genericimg}{112x64x1} 13\newcommand{\genericimg}{112x64x1}
14\newcommand{\specimg}{ondio}
13%Used to name the player, e.g. ...to the \dap 15%Used to name the player, e.g. ...to the \dap
14\newcommand{\dap}{player} 16\newcommand{\dap}{player}
15%For use when referring to the player. E.g. the \daps\ capacity ... 17%For use when referring to the player. E.g. the \daps\ capacity ...
@@ -21,4 +23,4 @@
21\newcommand{\ButtonOff}{Off} 23\newcommand{\ButtonOff}{Off}
22\newcommand{\ButtonUp}{Up} 24\newcommand{\ButtonUp}{Up}
23\newcommand{\ButtonDown}{Down} 25\newcommand{\ButtonDown}{Down}
24\newcommand{\ButtonMenu}{Mode} \ No newline at end of file 26\newcommand{\ButtonMenu}{Mode}
diff --git a/manual/platform/player.tex b/manual/platform/player.tex
index 1aae185f15..93a71f703e 100644
--- a/manual/platform/player.tex
+++ b/manual/platform/player.tex
@@ -1,3 +1,4 @@
1% $Id$ %
1\def\UseOption{player} 2\def\UseOption{player}
2\edef\UseOption{\UseOption,MASCODEC} 3\edef\UseOption{\UseOption,MASCODEC}
3\edef\UseOption{\UseOption,PLAYER_PAD} 4\edef\UseOption{\UseOption,PLAYER_PAD}
@@ -6,6 +7,7 @@
6\newcommand{\playertype}{Studio/Player} 7\newcommand{\playertype}{Studio/Player}
7\newcommand{\playerlongtype}{Jukebox Studio 5000, 6000, Player 10 and 20} 8\newcommand{\playerlongtype}{Jukebox Studio 5000, 6000, Player 10 and 20}
8\newcommand{\genericimg}{charx11x1} 9\newcommand{\genericimg}{charx11x1}
10\newcommand{\specimg}{player}
9%Used to name the player, e.g. ...to the \dap 11%Used to name the player, e.g. ...to the \dap
10\newcommand{\dap}{player} 12\newcommand{\dap}{player}
11%For use when referring to the player. E.g. the \daps\ capacity ... 13%For use when referring to the player. E.g. the \daps\ capacity ...
@@ -17,4 +19,4 @@
17\newcommand{\ButtonOn}{On} 19\newcommand{\ButtonOn}{On}
18\newcommand{\ButtonMenu}{Menu} 20\newcommand{\ButtonMenu}{Menu}
19\newcommand{\ButtonPlay}{Play} 21\newcommand{\ButtonPlay}{Play}
20\newcommand{\ButtonStop}{Stop} \ No newline at end of file 22\newcommand{\ButtonStop}{Stop}
diff --git a/manual/platform/recorder.tex b/manual/platform/recorder.tex
index c26a722d40..6eff1c176a 100644
--- a/manual/platform/recorder.tex
+++ b/manual/platform/recorder.tex
@@ -1,3 +1,4 @@
1% $Id$ %
1\def\UseOption{recorder} 2\def\UseOption{recorder}
2\edef\UseOption{\UseOption,HAVE_LCD_BITMAP} 3\edef\UseOption{\UseOption,HAVE_LCD_BITMAP}
3\edef\UseOption{\UseOption,HAVE_RECORDING} 4\edef\UseOption{\UseOption,HAVE_RECORDING}
@@ -9,6 +10,7 @@
9\newcommand{\playertype}{Recorder} 10\newcommand{\playertype}{Recorder}
10\newcommand{\playerlongtype}{Recorder 6, 10, 15 and 20} 11\newcommand{\playerlongtype}{Recorder 6, 10, 15 and 20}
11\newcommand{\genericimg}{112x64x1} 12\newcommand{\genericimg}{112x64x1}
13\newcommand{\specimg}{recorder}
12%Used to name the player, e.g. ...to the \dap 14%Used to name the player, e.g. ...to the \dap
13\newcommand{\dap}{player} 15\newcommand{\dap}{player}
14%For use when referring to the player. E.g. the \daps\ capacity ... 16%For use when referring to the player. E.g. the \daps\ capacity ...
@@ -24,4 +26,4 @@
24\newcommand{\ButtonRight}{Right} 26\newcommand{\ButtonRight}{Right}
25\newcommand{\ButtonFOne}{F1} 27\newcommand{\ButtonFOne}{F1}
26\newcommand{\ButtonFTwo}{F2} 28\newcommand{\ButtonFTwo}{F2}
27\newcommand{\ButtonFThree}{F3} \ No newline at end of file 29\newcommand{\ButtonFThree}{F3}
diff --git a/manual/platform/recorderv2fm.tex b/manual/platform/recorderv2fm.tex
index 9fc9391d17..3dfa2e4214 100644
--- a/manual/platform/recorderv2fm.tex
+++ b/manual/platform/recorderv2fm.tex
@@ -1,3 +1,4 @@
1% $Id$ %
1\def\UseOption{recorderv2fm} 2\def\UseOption{recorderv2fm}
2\edef\UseOption{\UseOption,HAVE_LCD_BITMAP} 3\edef\UseOption{\UseOption,HAVE_LCD_BITMAP}
3\edef\UseOption{\UseOption,HAVE_RECORDING} 4\edef\UseOption{\UseOption,HAVE_RECORDING}
@@ -10,6 +11,7 @@
10\newcommand{\playertype}{Recorder V2/FM} 11\newcommand{\playertype}{Recorder V2/FM}
11\newcommand{\playertypelong}{Recorder V2 and FM Recorder} 12\newcommand{\playertypelong}{Recorder V2 and FM Recorder}
12\newcommand{\genericimg}{112x64x1} 13\newcommand{\genericimg}{112x64x1}
14\newcommand{\specimg}{recorderv2fm}
13%Used to name the player, e.g. ...to the \dap 15%Used to name the player, e.g. ...to the \dap
14\newcommand{\dap}{player} 16\newcommand{\dap}{player}
15%For use when referring to the player. E.g. the \daps\ capacity ... 17%For use when referring to the player. E.g. the \daps\ capacity ...
@@ -25,4 +27,4 @@
25\newcommand{\ButtonRight}{Right} 27\newcommand{\ButtonRight}{Right}
26\newcommand{\ButtonFOne}{F1} 28\newcommand{\ButtonFOne}{F1}
27\newcommand{\ButtonFTwo}{F2} 29\newcommand{\ButtonFTwo}{F2}
28\newcommand{\ButtonFThree}{F3} \ No newline at end of file 30\newcommand{\ButtonFThree}{F3}
diff --git a/manual/platform/x5.tex b/manual/platform/x5.tex
index 3fc7ee9639..d0ce41d860 100644
--- a/manual/platform/x5.tex
+++ b/manual/platform/x5.tex
@@ -1,3 +1,4 @@
1% $Id$ %
1\def\UseOption{x5} 2\def\UseOption{x5}
2\edef\UseOption{\UseOption,HAVE_LCD_BITMAP} 3\edef\UseOption{\UseOption,HAVE_LCD_BITMAP}
3\edef\UseOption{\UseOption,HAVE_RECORDING} 4\edef\UseOption{\UseOption,HAVE_RECORDING}
@@ -10,6 +11,7 @@
10\newcommand{\playertype}{X5} 11\newcommand{\playertype}{X5}
11\newcommand{\playerlongtype}{\playerman\ \playertype} 12\newcommand{\playerlongtype}{\playerman\ \playertype}
12\newcommand{\genericimg}{160x128x16} 13\newcommand{\genericimg}{160x128x16}
14\newcommand{\specimg}{x5}
13%Used to name the player, e.g. ...to the \dap 15%Used to name the player, e.g. ...to the \dap
14\newcommand{\dap}{player} 16\newcommand{\dap}{player}
15%For use when referring to the player. E.g. the \daps\ capacity ... 17%For use when referring to the player. E.g. the \daps\ capacity ...
diff --git a/manual/preamble.tex b/manual/preamble.tex
index 595b17e215..100fac1e48 100644
--- a/manual/preamble.tex
+++ b/manual/preamble.tex
@@ -110,13 +110,17 @@
110\newcommand{\screenshot}[3]{ 110\newcommand{\screenshot}[3]{
111 \begin{figure}[H] 111 \begin{figure}[H]
112 \begin{center} 112 \begin{center}
113 \IfFileExists{#1-\genericimg.png} 113 \IfFileExists{#1-\genericimg-\specimg.png}
114 {\includegraphics[width=4cm]{#1-\genericimg.png}} 114 {\includegraphics[width=4cm]{#1-\genericimg-\specimg.png}
115 {\IfFileExists{#1} 115 \typeout{Note: device specific image used}}
116 {\includegraphics[width=4cm]{#1} 116 {\IfFileExists{#1-\genericimg.png}
117 \typeout{Warning: deprecated plain image name used}}% 117 {\includegraphics[width=4cm]{#1-\genericimg.png}}
118 {\typeout{Missing image: #1 (\genericimg)}% 118 {\IfFileExists{#1}
119 \color{red}{\textbf{WARNING!} Image not found}% 119 {\includegraphics[width=4cm]{#1}
120 \typeout{Warning: deprecated plain image name used}}%
121 {\typeout{Missing image: #1 (\genericimg) (\specimg)}%
122 \color{red}{\textbf{WARNING!} Image not found}%
123 }
120 } 124 }
121 } 125 }
122 \if\blank{#3}\else{\label{#3}}\fi\if\blank{#2}\else{% 126 \if\blank{#3}\else{\label{#3}}\fi\if\blank{#2}\else{%