diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2006-06-04 11:20:06 +0000 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2006-06-04 11:20:06 +0000 |
commit | 5be450939f7abb90aae44b63e5afdf6881ee7bb1 (patch) | |
tree | a382cf751a03ebd5f5db96e2f59c7327118665a5 /manual/preamble.tex | |
parent | 1874461caf673126c3263b78092a23a9b5283041 (diff) | |
download | rockbox-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
Diffstat (limited to 'manual/preamble.tex')
-rw-r--r-- | manual/preamble.tex | 18 |
1 files changed, 11 insertions, 7 deletions
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{% |