* grub-core/gfxmenu/gui_progress_bar.c (grub_gui_progress_bar): Remove
unused show_text member. * docs/grub.texi: Document "text" property.
This commit is contained in:
parent
922aabf34b
commit
14361ee8aa
3 changed files with 12 additions and 6 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2012-03-10 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* grub-core/gfxmenu/gui_progress_bar.c (grub_gui_progress_bar): Remove
|
||||||
|
unused show_text member.
|
||||||
|
* docs/grub.texi: Document "text" property.
|
||||||
|
|
||||||
2012-03-10 Vladimir Serbinenko <phcoder@gmail.com>
|
2012-03-10 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* grub-core/loader/efi/chainloader.c (grub_cmd_chainloader): Fix format
|
* grub-core/loader/efi/chainloader.c (grub_cmd_chainloader): Fix format
|
||||||
|
|
|
@ -1595,11 +1595,12 @@ the id ``__timeout__''. This indicates to GRUB that the progress bar should
|
||||||
be updated as time passes, and it should be made invisible if the countdown to
|
be updated as time passes, and it should be made invisible if the countdown to
|
||||||
automatic boot is interrupted by the user.
|
automatic boot is interrupted by the user.
|
||||||
|
|
||||||
Progress bars may optionally have text displayed on them. This is controlled
|
Progress bars may optionally have text displayed on them. This text is
|
||||||
through the ``show_text'' property, which can be set to either ``true'' or
|
controlled by variable ``text'' which contains a printf template with the
|
||||||
``false'' to control whether text is displayed. When GRUB is counting down to
|
only argument %d is the number of seconds remaining. Additionally special
|
||||||
automatic boot, the text informs the user of the number of seconds remaining.
|
values ``@@TIMEOUT_NOTIFICATION_SHORT@@'', ``@@TIMEOUT_NOTIFICATION_MIDDLE@@'',
|
||||||
|
``@@TIMEOUT_NOTIFICATION_LONG@@'' are replaced with standard and translated
|
||||||
|
templates.
|
||||||
|
|
||||||
@subsection Circular Progress Indicator
|
@subsection Circular Progress Indicator
|
||||||
|
|
||||||
|
|
|
@ -37,7 +37,6 @@ struct grub_gui_progress_bar
|
||||||
int start;
|
int start;
|
||||||
int end;
|
int end;
|
||||||
int value;
|
int value;
|
||||||
int show_text;
|
|
||||||
char *template;
|
char *template;
|
||||||
grub_font_t font;
|
grub_font_t font;
|
||||||
grub_video_rgba_color_t text_color;
|
grub_video_rgba_color_t text_color;
|
||||||
|
|
Loading…
Reference in a new issue