diff options
author | Alex Parker <rockbox@aeparker.com> | 2009-09-20 16:48:45 +0000 |
---|---|---|
committer | Alex Parker <rockbox@aeparker.com> | 2009-09-20 16:48:45 +0000 |
commit | ab563da17585992e9b8d54db1d4e36ba50d65d43 (patch) | |
tree | e9fdbdcbafe23a04fd9bee7c381b031b1a0f7a1e /manual/advanced_topics/viewports/colour-uivp-syntax.tex | |
parent | 16cb628eb7d86e64dc7cab739ebb8dfc6e9900c2 (diff) | |
download | rockbox-ab563da17585992e9b8d54db1d4e36ba50d65d43.tar.gz rockbox-ab563da17585992e9b8d54db1d4e36ba50d65d43.zip |
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/trunk@22756 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'manual/advanced_topics/viewports/colour-uivp-syntax.tex')
-rw-r--r-- | manual/advanced_topics/viewports/colour-uivp-syntax.tex | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/manual/advanced_topics/viewports/colour-uivp-syntax.tex b/manual/advanced_topics/viewports/colour-uivp-syntax.tex new file mode 100644 index 0000000000..e681f45fc8 --- /dev/null +++ b/manual/advanced_topics/viewports/colour-uivp-syntax.tex | |||
@@ -0,0 +1,13 @@ | |||
1 | \begin{itemize} | ||
2 | \item 'fgcolour' and 'bgcolour' are 6-digit RGB888 colours - e.g. FF00FF. | ||
3 | \item 'font' is a number - '0' is the built-in system font, '1' is the | ||
4 | user-selected font. | ||
5 | \end{itemize} | ||
6 | |||
7 | \begin{example} | ||
8 | \config{ui viewport: 15,20,100,150,-,-,-} | ||
9 | \end{example} | ||
10 | This displays the menu starting at 15px from the left of the screen and 20px | ||
11 | from the top of the screen. It is 100px wide and 150px high. | ||
12 | The font and the foreground/background colours are defined in the theme | ||
13 | \fname{.cfg} file or in the \setting{Theme Settings} menu. | ||