[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] [6/?] grub-core/gfxmenu/gui_list.c - sanity checks for the scrol
From: |
Vladimir Testov |
Subject: |
[PATCH] [6/?] grub-core/gfxmenu/gui_list.c - sanity checks for the scrollbar |
Date: |
Wed, 17 Jul 2013 22:10:26 +0400 |
User-agent: |
KMail/4.10.4 (Linux/3.8.0-26-generic; KDE/4.10.4; x86_64; ; ) |
some needed checks so we won't see error messages during the boot process
also the patch handles rare cases: when we have too many menu entries and / or
too small scrollbar height, the scrollbar thumb's height could be less than
it's vertical padding (height of north slice + height of south slice). So the
scrollbar thumb will be drawn incorrectly.
In this case we set the height of the thumb to it's vertical padding and
recount the position of the thumb.
--
With best regards,
_______________________________
Vladimir Testov, ROSA Laboratory.
www.rosalab.ru
grub-list-scrollbar-thumb-sanity-checks.patch
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH] [6/?] grub-core/gfxmenu/gui_list.c - sanity checks for the scrollbar,
Vladimir Testov <=