rockbox/manual/advanced_topics/viewports/grayscale-uivp-syntax.tex
Alex Parker ab563da175 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
2009-09-20 16:48:45 +00:00

14 lines
571 B
TeX

\begin{itemize}
\item 'fgshade' and bgshade are numbers in the range '0' (= black) to '3'
(= white).
\item 'font' is a number - '0' is the built-in system font, '1' is the
user-selected font.
\end{itemize}
\begin{example}
\config{ui viewport: 15,20,100,150,-,-,-}
\end{example}
his displays the menu starting at 15px from the left of the screen and 20px
from the top of the screen. It is 100px wide and 150px high.
The font and the foreground/background shades are defined in the theme
\fname{.cfg} file or in the \setting{Theme Settings} menu.