Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MVuF7-0007W4-6j for mharc-grub-devel@gnu.org; Tue, 28 Jul 2009 17:29:53 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MVuF5-0007Vr-Is for grub-devel@gnu.org; Tue, 28 Jul 2009 17:29:51 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MVuF3-0007Vb-Vy for grub-devel@gnu.org; Tue, 28 Jul 2009 17:29:51 -0400 Received: from [199.232.76.173] (port=49455 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MVuF3-0007VY-Pm for grub-devel@gnu.org; Tue, 28 Jul 2009 17:29:49 -0400 Received: from fg-out-1718.google.com ([72.14.220.152]:48360) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MVuF3-0002Is-7c for grub-devel@gnu.org; Tue, 28 Jul 2009 17:29:49 -0400 Received: by fg-out-1718.google.com with SMTP id l27so759642fgb.7 for ; Tue, 28 Jul 2009 14:29:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type:content-transfer-encoding; bh=hMzmQJG27Rp5qmM1GTZzjnaui5lvp4oDY+Jx/UO18uw=; b=t1XyayAlTJJUm/wKAeMuMh5hCTNGubPBH65K47R86g3I9ecLxHa2ZFzuMlB605P6// p42ts+AKjfre34d8oFdFfgTKsT3RPntODljWfd5eYv9KNas9bLPXLzO0ElHnLpthoNbm PlDmysi7g/yXqPpTkqO3f+Na8+Zf2RhtL2dEk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=Ulr0n3a1UtQvgufrDY+Gw0UdaxN2nxte/1fVjWjm9rTKg7aZ7qiS757nrQWHik1EaV t/qEN9w/hBNrOZO3sALPq2Kw1UrXWbjIX1Xo6clxpfwxI3ZWVYeDe5L4sWqWoaNdk6IZ aTk6y4O+d3LAqo2LYp2cjJvxGGdiymzP3xlo0= MIME-Version: 1.0 Sender: hramrach@gmail.com Received: by 10.86.27.17 with SMTP id a17mr81679fga.17.1248816585145; Tue, 28 Jul 2009 14:29:45 -0700 (PDT) In-Reply-To: <20090728175758.GF32726@thorin> References: <20090725164216.GO12326@thorin> <20090728175758.GF32726@thorin> Date: Tue, 28 Jul 2009 23:29:45 +0200 X-Google-Sender-Auth: 7bb65b6a658367a2 Message-ID: From: Michal Suchanek To: The development of GRUB 2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: Rotated menu on EFI? 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: Tue, 28 Jul 2009 21:29:51 -0000 2009/7/28 Robert Millan : > On Sat, Jul 25, 2009 at 10:03:50PM +0200, Michal Suchanek wrote: >> 2009/7/25 Robert Millan : >> > On Fri, Jul 24, 2009 at 09:33:45PM +0200, Michal Suchanek wrote: >> >> Hello >> >> >> >> Is there some chance that the grub menu could be drawn rotated on >> >> graphical devices like the efi graphics interface? >> > >> > I'm not sure what you mean by rotation. =C2=A0You mean that arrow keys >> > navigate back to the top when pressing "down" in the bottom? >> > >> >> >> No, I mean that the arrow keys work normally but the menu is drawn >> rotated to match the screen orientation. > > As Vladimir points out, this can eventually work on EFI too, but EFI is > lagging behind when it comes to graphical support. =C2=A0In any case, if = we > really want to support rotation it should be generic. > > Btw, were you thinking about rotation in multiples of PI/2, or arbitrary > floats? =C2=A0The former is not too hard, but the latter can be a PITA, I= don't > think it's worth it. I am thinking about the rotation which is required to turn a landscape monitor into a portrait one which is commonly used. It is technically possible to arbitrarily rotate the picture but then you would need support for arbitrary screen shapes (shapes other than rectangles parallel with the axis) which is quite pointless for grub. On second thought adding general rotation would be probably simpler than changing gfxterm to do the rotation by itself. It gives much better code separation and manageability. The only problem is that there is a possibility to upload bitmaps into the video subsystem and rotating these would need additional memory because I know no way of rotating a non-square bitmap in place. Even if the bitmaps were rotated only when they are actually used it still requires additional memory. Thanks Michal