From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MpRVJ-0003EH-NO for mharc-grub-devel@gnu.org; Sun, 20 Sep 2009 14:51:21 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MpRVG-0003Di-Qv for grub-devel@gnu.org; Sun, 20 Sep 2009 14:51:18 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MpRVC-0003DJ-Be for grub-devel@gnu.org; Sun, 20 Sep 2009 14:51:18 -0400 Received: from [199.232.76.173] (port=55988 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MpRVC-0003DG-4y for grub-devel@gnu.org; Sun, 20 Sep 2009 14:51:14 -0400 Received: from mail-fx0-f205.google.com ([209.85.220.205]:40635) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MpRVB-0001LM-NI for grub-devel@gnu.org; Sun, 20 Sep 2009 14:51:13 -0400 Received: by fxm1 with SMTP id 1so1899968fxm.31 for ; Sun, 20 Sep 2009 11:51:12 -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; bh=eq5ZK+k79Oi7x03/cSFSWqtTfzxzU19U52OHi9lY8UM=; b=ludwTUaMFLhFURBA0Gp73wc3uIrDmuQXogBAe9EFTVq5gowU4A1RrtNRhn3DUWLrKH QuJMKthp0thzrAwP35B0zmjf+VrM8xZ9jPlgJnQG37pgtm45Bu110+NUu5NC6drVLPJQ NpFl7TXnCymFmK6H0WSeJQKGhXGUBhpPjfqWQ= 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; b=MhcIapEGXMCDpNW56m9zQdUZQhVHpl8kKVPsLaPjMRdinfeQ4cyWontN1+UyjAwJgr T8vOG8s0+Ax2RRMoilPfc0R06PMaPMvQQ7DEhsTKVxd8otJikC5jbVUTdAC5ZRTq3wH4 EXa7bTzBs1jxWwDNI2ut8pyW9Ngi9uA04xD94= MIME-Version: 1.0 Received: by 10.239.139.165 with SMTP id t37mr305264hbt.75.1253472671813; Sun, 20 Sep 2009 11:51:11 -0700 (PDT) In-Reply-To: References: <2e59e6970909191155m638c523fg7540528f37223f12@mail.gmail.com> Date: Sun, 20 Sep 2009 13:51:11 -0500 Message-ID: <2e59e6970909201151s77de49aq25e42c7a92dde120@mail.gmail.com> From: "richardvoigt@gmail.com" To: The development of GRUB 2 Content-Type: text/plain; charset=UTF-8 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: [GITGRUB] New menu interface (implementation) 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: Sun, 20 Sep 2009 18:51:19 -0000 On Sun, Sep 20, 2009 at 3:31 AM, Michal Suchanek wrote: > 2009/9/19 richardvoigt@gmail.com : >> On Sat, Sep 19, 2009 at 1:45 PM, Michal Suchanek wrote: >>> Hello >>> >>> why does the menu system have a glyph drawing function? >>> >>> Is the one in font.c not suitable? >>> >>> Why are there two methods for returning text width and height, one in >>> gfx_region in pixels, the other in text_region in characters? Does >>> size in characters make any sense? There might be proportional fonts >>> or at least fonts of different size in the future. >> >> Pixels and proportional fonts are meaningless to a serial console. >> > So is element placement. I know of multiple systems that support multiple columns, status bar, menu bar, popup dialogs, etc in text mode over a serial connection. If those things are considered out of scope for a bootloader, I'd tend to agree. But people seem to be defining rich interfaces for grub and to do so requires the ability to measure sizes in characters. > > Thanks > > Michal > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel >