Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Mis0Y-0006kH-Gw for mharc-grub-devel@gnu.org; Wed, 02 Sep 2009 11:44:26 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mis0W-0006ja-Vh for grub-devel@gnu.org; Wed, 02 Sep 2009 11:44:25 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mis0R-0006gs-Vf for grub-devel@gnu.org; Wed, 02 Sep 2009 11:44:24 -0400 Received: from [199.232.76.173] (port=33293 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mis0R-0006gp-Tb for grub-devel@gnu.org; Wed, 02 Sep 2009 11:44:19 -0400 Received: from mail-px0-f202.google.com ([209.85.216.202]:41289) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mis0R-0002fA-IC for grub-devel@gnu.org; Wed, 02 Sep 2009 11:44:19 -0400 Received: by pxi40 with SMTP id 40so997139pxi.5 for ; Wed, 02 Sep 2009 08:44:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=V5hPddZ4IRNK1/qnfXMf3FPUftT4zns4Kk3kM7ZAqx8=; b=jDls6vz0ZwfPCRn1/18x9iWYf5SZQr+caQwmhW7fPqs43fiW4q/U01oan48iWq4evw Pdx7NzoaVpGfBvPurnLixasC7yTCmWHu6UpdmP4phea9q8xeNMmUFxP4+YYuhDtRqJ/I VaGBAj3vN3q7C7FMscedBfaAGTAq5obXh8LCY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=CbrSLN8Xec1mw1DrKi2juE1IMFF+ovkks0XwkOd3JfbUx1nJ0PAAsn7cIR1AGA4loH EOe4yOlXxH5bI/5RMet0o1PydnONYX/GrzKeztnvfbzwxm9md5hKvij2x8O98ynpqqQt 8NUWupvSOuOfY3/yH1JEdb14BuNENuSS+nUfY= MIME-Version: 1.0 Received: by 10.140.203.11 with SMTP id a11mr2461774rvg.69.1251906258600; Wed, 02 Sep 2009 08:44:18 -0700 (PDT) In-Reply-To: References: Date: Wed, 2 Sep 2009 23:44:18 +0800 Message-ID: From: Bean To: The development of GRUB 2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: [GITGRUB] New menu interface X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2009 15:44:25 -0000 On Wed, Sep 2, 2009 at 11:27 PM, Michal Suchanek wrote= : > How will it fit screen? What if the image is 4:3 and =A0the screen is > 5:4 or widescreen? It'd scale to fit the new proportion, although the image perhaps won't look nice in this case. We could choose one of the following rendering method based on option: Center Scaling (full) Scaling (keep ratio) Tiling > Percentages are a good start. However, if you make your menu > percentage based adding new items or new menu areas is still > problematic. Actually I've though of another representation, using the font metrics as base unit, something like this: + menu { x =3D 10% y =3D 10% width =3D 30c height =3D 30c } --=20 Bean gitgrub home: http://github.com/grub/grub/ my fork page: http://github.com/bean123/grub/