From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Mr6qb-0001Q4-Jd for mharc-grub-devel@gnu.org; Fri, 25 Sep 2009 05:12:13 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mr6qZ-0001OV-La for grub-devel@gnu.org; Fri, 25 Sep 2009 05:12:11 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mr6qU-0001KI-PY for grub-devel@gnu.org; Fri, 25 Sep 2009 05:12:11 -0400 Received: from [199.232.76.173] (port=49489 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mr6qU-0001KF-Lp for grub-devel@gnu.org; Fri, 25 Sep 2009 05:12:06 -0400 Received: from mail-px0-f178.google.com ([209.85.216.178]:54922) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mr6qU-00009Y-Bx for grub-devel@gnu.org; Fri, 25 Sep 2009 05:12:06 -0400 Received: by pxi8 with SMTP id 8so3055700pxi.27 for ; Fri, 25 Sep 2009 02:12:05 -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=edPCMxp5Pk839jTpe+jnDOES9BvY3AxofnngTXpRWIU=; b=rxt3XbQaoYTpO5Nawe0H3GrLczlPMFJ4rewReEY2ElN+S4qI3F62f8bIhQR5uNm49y tzEhSogLBaCmgkssPbluakfwQF5uroM1dCSm0au6bA6aLZ9GeEBr1VNZcR89+RSL7MBH BaZ+laRgh9t7Zher9LhB3+rQYKgEAmgCclUPE= 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=YB7pGVIu5o7+7vGTPuhQKf4r2V5Z4jTZ6Se0uonCz3UcWKRC7gVI37UDyqw4Oto2Oy 5yqN73wCquqX7eNqw0lUnPTy/Zk/1TNUUW4QckfJ5s64Wfe7k+y/i9ybYf5Dazd8htgc LpYQmLrXbwUe85cXPNHqjaF0KFXC9uIk8+b0M= MIME-Version: 1.0 Received: by 10.141.37.19 with SMTP id p19mr277324rvj.29.1253869924983; Fri, 25 Sep 2009 02:12:04 -0700 (PDT) In-Reply-To: References: Date: Fri, 25 Sep 2009 17:12:04 +0800 Message-ID: From: Bean To: The development of GRUB 2 Content-Type: text/plain; charset=ISO-8859-1 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: Fri, 25 Sep 2009 09:12:11 -0000 On Fri, Sep 25, 2009 at 5:00 PM, Michal Suchanek wrote: > If I understand it correctly this means that a panel is a bunch of > cells which are laid out horizontally and at some random point (but at > most after max_columns cells) a row break is inserted and the later > cells start in a new row. > > I would prefer a more deterministic approach: the panel is either one > column or one row (vertical or horizontal). > This should cover the common cases, real tables are seldom needed. Hi, But max_columns can cover both case, max_columns = 1 one column max_columns = 1000 (or any big number) one row, we could also use special number -1 to indicate infinite number of widgets. -- Bean gitgrub home: http://github.com/grub/grub/ my fork page: http://github.com/bean123/grub/