[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] [4/?] grub-core/gfxmenu/gui_list.c - baseline centering bug
From: |
Vladimir Testov |
Subject: |
Re: [PATCH] [4/?] grub-core/gfxmenu/gui_list.c - baseline centering bug |
Date: |
Mon, 22 Jul 2013 11:47:38 +0400 |
User-agent: |
KMail/4.10.4 (Linux/3.8.0-26-generic; KDE/4.10.4; x86_64; ; ) |
On Saturday, July 20, 2013 05:47:57 PM Andrey Borzenkov wrote:
> > - int string_left_offset = self->icon_width + icon_text_space;
> > - int string_top_offset = (item_height - (ascent + descent)) / 2 +
> > ascent;
> > + int item_left_offset = self->icon_width + icon_text_space;
> > + int item_top_offset = (item_height - (ascent + descent)) / 2 + ascent;
> Is there any reason for renaming? Such changes usually obfuscate main
> patch content and better done as separate patch with clear explanation.
I have renamed these values to differ left and top offsets for non-selected
item
and for selected item.
So the meanings of the values are cleared and easy-to-get.
I can do these changes in a separate patch if it's needed.
Just the patch and the renaming are about the same concept so it should be
applied together.
--
With best regards,
_______________________________
Vladimir Testov, ROSA Laboratory.
www.rosalab.ru