From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1QRvlx-0004Qb-Bm for mharc-grub-devel@gnu.org; Wed, 01 Jun 2011 20:28:25 -0400 Received: from eggs.gnu.org ([140.186.70.92]:48680) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QRvlu-0004Pt-3K for grub-devel@gnu.org; Wed, 01 Jun 2011 20:28:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QRvlq-0004ts-28 for grub-devel@gnu.org; Wed, 01 Jun 2011 20:28:21 -0400 Received: from rodiac-telecom-14.de ([213.131.249.231]:59484 helo=rodiac10.rodiac-telecom-14.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QRo5Q-0002I9-FW for grub-devel@gnu.org; Wed, 01 Jun 2011 12:16:00 -0400 Received: from [192.168.2.102] (p5082BEEF.dip.t-dialin.net [80.130.190.239]) (authenticated bits=0) by rodiac10.rodiac-telecom-14.de (8.14.0/8.13.8) with ESMTP id p51GG3wB004103 for ; Wed, 1 Jun 2011 18:16:04 +0200 Message-ID: <4DE665B7.7050007@e7p.de> Date: Wed, 01 Jun 2011 18:15:51 +0200 From: Endres Puschner User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 MIME-Version: 1.0 To: The development of GNU GRUB Subject: Re: Horizontal boot menu References: <4DA2006E.1060209@e7p.de> <4DE58028.6030406@gmail.com> In-Reply-To: <4DE58028.6030406@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by rodiac10.rodiac-telecom-14.de id p51GG3wB004103 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 213.131.249.231 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jun 2011 00:28:24 -0000 On 01.06.2011 01:56, Vladimir '=CF=86-coder/phcoder' Serbinenko wrote: > On 10.04.2011 15:09, Endres Puschner wrote: >> Hi, grub-developers, >> >> I implemented a complete horizontal extension to the boot menu and >> some other little features and fixes for extending the gfxmenu boot me= nu. >> > Haven't looked through whole of it but it has 2 serious problems: Yes, both problems exist, because I coded it mainly for myself. Even I was not very happy with this part, but I didn't know how to make=20 it better. Maybe it should be reconsidered after the decision of the=20 vi-like-keys topic is made, as there was only the predefined user=20 interaction in the past, for example, up- and down-keys were a very=20 default method for navigating in every interface. I think it would be pointless to fix these bugs now while some other=20 things may change meanwhile. > 1) Environment variable is used where it's not to be used by scripts. I= n > such cases a C variable is more appropriate. > 2) It doesn't handle the multiterminal case correctly. Even if the menu > on local console is vertical, the menu on e.g. serial will remain > vertical and with your code the remote operator will have very confusin= g > key settings. It would be nicer if one could have the same key bindings > for both vertical and horizontal menu. The operation of left/right keys > can be an alias to up/down. In case it's justifiably impractical you > would need a new terminal flag which marks a local console. It should b= e > set on *_keyboard and console (all platform variants). This could then > also be used for some things Colin proposed some time ago. >> I would just describe my added theme parameters for the boot_menu >> control: >> >> - item_width: Optionally specifying a width for each item in >> horizontal lists, but could also be implemented to work with vertical >> lists. >> - item_icon_padding: Padding between icon and box or between icon >> and other item if there is no item_box. >> - horizontal: boolean, defining this boot_list as horizontal. >> - item_pixmap_style: like selected_item_pixmap_style but for non >> selected entries. >> - item_pixmap_icon_only: boolean, selected and unselected pixmaps >> are only shown around the icons and not around the whole item. >> >> The scrollbars must be manually turned around to be in horizontal >> mode, I have uploaded a demo theme as an example: >> >> http://data.e7p.de/grub-horizontal-theme.png >> http://data.e7p.de/grub-horizontal-theme.zip >> >> I fixed a bug in the icon-section. The first group in any menuentry >> was skipped while looking for icons before, so only icons for the >> second class would be searched. >> >> The normal menu is also modified as I wanted to allow to use >> right/left keys while navigating through the menu while it is >> horizontal. At menu_init, a new environment variable (orientation) can >> be set by the used menu module to horizontal for obvious reasons. >> >> Best regards, >> Endres >> >> >> _______________________________________________ >> Grub-devel mailing list >> Grub-devel@gnu.org >> http://lists.gnu.org/mailman/listinfo/grub-devel > > > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel