Add viewports to the manual. Adapted from FS#9934 by Jonas Häggqvist and FS#10553...
[kugel-rb.git] / manual / advanced_topics / viewports / colour-uivp-syntax.tex
blobe681f45fc8092d245a6fe0b99aeab4fe3aa6e6f6
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}
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.