From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1QRYnr-0003Da-OB for mharc-grub-devel@gnu.org; Tue, 31 May 2011 19:56:51 -0400 Received: from eggs.gnu.org ([140.186.70.92]:39516) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QRYnm-0003Co-91 for grub-devel@gnu.org; Tue, 31 May 2011 19:56:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QRYnj-0006Ir-QT for grub-devel@gnu.org; Tue, 31 May 2011 19:56:45 -0400 Received: from mail-vw0-f41.google.com ([209.85.212.41]:60858) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QRYnj-0006If-E3 for grub-devel@gnu.org; Tue, 31 May 2011 19:56:43 -0400 Received: by vws4 with SMTP id 4so4913199vws.0 for ; Tue, 31 May 2011 16:56:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:x-enigmail-version:content-type; bh=5lD06cgCLO9L+fLS/aMyVhEeoWo92d+7lOeAXTq/Xd4=; b=AeSQd72DzZE2y5wrvC60ZRA8qiwuYblcnvflsgQsEOFXbZnSppqEaVx0zr+h5WbRJH j8e/QTfAUQ+rpoT1nYnVk95+o3yvoawN7UOP9106m/gArt7auLZtIk6Vt62iOj6z9w6y rEHnCnKPgz/DMKUDIoP6OIDfWKJT8eCCAYpqs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type; b=Gv1gwVXibXrOr29bHkHnmiscmoAseanwzUi1PE9+hdtDfzZdObPgnbLsrZLbkw2W0p 5EmNfIbHUS+IU4el5H379i/bT4gXHT5x53tCXGfj0VSB4xThuEz8vZJmMlCBGydbbea3 ytUjDEGfuPA829vSkkokW8z5HKcy03iOjps6M= Received: by 10.52.100.136 with SMTP id ey8mr1182380vdb.136.1306886201906; Tue, 31 May 2011 16:56:41 -0700 (PDT) Received: from debian.x201.phnet (static-71-252-115-23.washdc.east.verizon.net [71.252.115.23]) by mx.google.com with ESMTPS id da4sm266776vdb.21.2011.05.31.16.56.39 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 31 May 2011 16:56:40 -0700 (PDT) Message-ID: <4DE58028.6030406@gmail.com> Date: Tue, 31 May 2011 19:56:24 -0400 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110402 Iceowl/1.0b2 Icedove/3.1.9 MIME-Version: 1.0 To: grub-devel@gnu.org Subject: Re: Horizontal boot menu References: <4DA2006E.1060209@e7p.de> In-Reply-To: <4DA2006E.1060209@e7p.de> X-Enigmail-Version: 1.1.2 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig37ACFB6B6C8A204DE05E7AE7" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.212.41 Cc: Colin Watson 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: Tue, 31 May 2011 23:56:47 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig37ACFB6B6C8A204DE05E7AE7 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 men= u. > Haven't looked through whole of it but it has 2 serious problems: 1) Environment variable is used where it's not to be used by scripts. In 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 confusing 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 be 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 --=20 Regards Vladimir '=CF=86-coder/phcoder' Serbinenko --------------enig37ACFB6B6C8A204DE05E7AE7 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iF4EAREKAAYFAk3lgDYACgkQNak7dOguQgkfzgD+KQ4DT+CNdYefLuoYG3dkPH4E HxIHJ+qskbFqXC7bgMMA/AswAgFgqKbd12FS6iQZedYBFpQJkC2tI3FSwG4gOInP =b5D2 -----END PGP SIGNATURE----- --------------enig37ACFB6B6C8A204DE05E7AE7--