* docs/grub.texi (Theme file format): Replace Box_slice_names.png with
a table. Use @code instead of @verbatim.
This commit is contained in:
parent
506e9a1ce0
commit
fc157e539c
2 changed files with 11 additions and 7 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2010-09-05 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* docs/grub.texi (Theme file format): Replace Box_slice_names.png with
|
||||||
|
a table. Use @code instead of @verbatim.
|
||||||
|
|
||||||
2010-09-05 Colin D Bennett <colin@gibibit.com>
|
2010-09-05 Colin D Bennett <colin@gibibit.com>
|
||||||
|
|
||||||
Gfxmenu documentation.
|
Gfxmenu documentation.
|
||||||
|
|
|
@ -1467,10 +1467,11 @@ One of the most important features for customizing the layout is the use of
|
||||||
*styled boxes*. A styled box is composed of 9 rectangular (and potentially
|
*styled boxes*. A styled box is composed of 9 rectangular (and potentially
|
||||||
empty) regions, which are used to seamlessly draw the styled box on screen:
|
empty) regions, which are used to seamlessly draw the styled box on screen:
|
||||||
|
|
||||||
@float Figure, The 9 slices that make up a box. The abbreviation below each name is used to identify the image for that slice.
|
@multitable @columnfractions 0.3 0.3 0.3
|
||||||
@c @image{Box_slice_names,,,,.png}
|
@item Northwest (nw) @tab North (n) @tab Northeast (ne)
|
||||||
@end float
|
@item West (w) @tab Center (c) @tab East (e)
|
||||||
|
@item Southwest (sw) @tab South (s) @tab Southeast (se)
|
||||||
|
@end multitable
|
||||||
|
|
||||||
To support any size of box on screen, the center slice and the slices for the
|
To support any size of box on screen, the center slice and the slices for the
|
||||||
top, bottom, and sides are all scaled to the correct size for the component on
|
top, bottom, and sides are all scaled to the correct size for the component on
|
||||||
|
@ -1557,9 +1558,7 @@ of a *canvas* container.
|
||||||
Components are created in the theme file by prefixing the type of component
|
Components are created in the theme file by prefixing the type of component
|
||||||
with a '+' sign:
|
with a '+' sign:
|
||||||
|
|
||||||
@verbatim
|
@code{ + label @{ text="GRUB" font="aqui 11" color="#8FF" @} }
|
||||||
+ label { text="GRUB" font="aqui 11" color="#8FF" }
|
|
||||||
@end verbatim
|
|
||||||
|
|
||||||
properties of a component are specified as "name = value" (whitespace
|
properties of a component are specified as "name = value" (whitespace
|
||||||
surrounding tokens is optional and is ignored) where *value* may be:
|
surrounding tokens is optional and is ignored) where *value* may be:
|
||||||
|
|
Loading…
Reference in a new issue