From d7e06c1f0ba1f1fee3bfc3c97b25dae2ce3a1ee7 Mon Sep 17 00:00:00 2001 From: Vladimir 'phcoder' Serbinenko Date: Sun, 5 Sep 2010 20:33:03 +0200 Subject: [PATCH] * docs/grub.texi (Theme file format): Document new position format. --- ChangeLog | 4 ++++ docs/grub.texi | 20 ++++++++++++++++---- 2 files changed, 20 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index c71503035..04c526d98 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2010-09-05 Vladimir Serbinenko + + * docs/grub.texi (Theme file format): Document new position format. + 2010-09-05 Vladimir Serbinenko * docs/grub.texi (Theme file format): Replace Box_slice_names.png with diff --git a/docs/grub.texi b/docs/grub.texi index 825e65adf..80c6e50db 100644 --- a/docs/grub.texi +++ b/docs/grub.texi @@ -1714,9 +1714,21 @@ The following is a list of the components and the properties they support. @subsection Common properties The following properties are supported by all components: -@itemize - -@item id +@table @samp +@item left + The distance from the left border of container to left border of the object in either of three formats: + @multitable @columnfractions 0.2 0.7 + @item x @tab Value in pixels + @item p% @tab Percentage + @item p%+x @tab mixture of both + @end multitable +@item top + The distance from the left border of container to left border of the object in same format. +@item width + The width of object in same format. +@item height + The height of object in same format. +@item id The identifier for the component. This can be any arbitrary string. The ID can be used by scripts to refer to various components in the GUI component tree. Currently, there is one special ID value that GRUB @@ -1725,7 +1737,7 @@ The following properties are supported by all components: @multitable @columnfractions 0.2 0.7 @item ``__timeout__`` @tab Any component with this ID will have its *text*, *start*, *end*, *value*, and *visible* properties set by GRUB when it is counting down to an automatic boot of the default menu entry. @end multitable -@end itemize +@end table