summaryrefslogtreecommitdiff
path: root/manual/advanced_topics/viewports/grayscale-uivp-syntax.tex
diff options
context:
space:
mode:
authorAlex Parker <rockbox@aeparker.com>2009-09-20 17:03:11 +0000
committerAlex Parker <rockbox@aeparker.com>2009-09-20 17:03:11 +0000
commit9cbf1c3886cee9a6a9c59698c17d4214ca6e6aae (patch)
tree991a2f41d191249327e8da228271da8078e38675 /manual/advanced_topics/viewports/grayscale-uivp-syntax.tex
parent7e229f9c50e14ee059be9a746d67ceba1c2db96e (diff)
downloadrockbox-9cbf1c3886cee9a6a9c59698c17d4214ca6e6aae.tar.gz
rockbox-9cbf1c3886cee9a6a9c59698c17d4214ca6e6aae.zip
Port r22756 to the 3.4 branch - Add viewports to the manual. Adapted from FS#9934 by Jonas Häggqvist and FS#10553 by David Kauffmann.
git-svn-id: svn://svn.rockbox.org/rockbox/branches/v3_4@22757 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'manual/advanced_topics/viewports/grayscale-uivp-syntax.tex')
-rw-r--r--manual/advanced_topics/viewports/grayscale-uivp-syntax.tex14
1 files changed, 14 insertions, 0 deletions
diff --git a/manual/advanced_topics/viewports/grayscale-uivp-syntax.tex b/manual/advanced_topics/viewports/grayscale-uivp-syntax.tex
new file mode 100644
index 0000000000..3b420ce7d5
--- /dev/null
+++ b/manual/advanced_topics/viewports/grayscale-uivp-syntax.tex
@@ -0,0 +1,14 @@
1 \begin{itemize}
2 \item 'fgshade' and bgshade are numbers in the range '0' (= black) to '3'
3 (= white).
4 \item 'font' is a number - '0' is the built-in system font, '1' is the
5 user-selected font.
6 \end{itemize}
7
8\begin{example}
9 \config{ui viewport: 15,20,100,150,-,-,-}
10\end{example}
11his displays the menu starting at 15px from the left of the screen and 20px
12from the top of the screen. It is 100px wide and 150px high.
13The font and the foreground/background shades are defined in the theme
14\fname{.cfg} file or in the \setting{Theme Settings} menu.