summaryrefslogtreecommitdiff
path: root/manual/advanced_topics/viewports/colour-uivp-syntax.tex
blob: cb759f8ad1a836db471ce054ff8533c56937c413 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
  \begin{itemize}
    \item `fgcolour' and `bgcolour' are 6-digit RGB888 colours, e.g. FF00FF.
    \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}
This 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 colours are defined in the theme
\fname{.cfg} file or in the \setting{Theme Settings} menu.