Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MjLU8-0005pA-Ia for mharc-grub-devel@gnu.org; Thu, 03 Sep 2009 19:12:56 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MjLU7-0005p1-CK for grub-devel@gnu.org; Thu, 03 Sep 2009 19:12:55 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MjLU5-0005oY-Ol for grub-devel@gnu.org; Thu, 03 Sep 2009 19:12:55 -0400 Received: from [199.232.76.173] (port=53278 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MjLU5-0005oO-Gx for grub-devel@gnu.org; Thu, 03 Sep 2009 19:12:53 -0400 Received: from fg-out-1718.google.com ([72.14.220.156]:42300) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MjLU5-00022n-88 for grub-devel@gnu.org; Thu, 03 Sep 2009 19:12:53 -0400 Received: by fg-out-1718.google.com with SMTP id e21so1134854fga.12 for ; Thu, 03 Sep 2009 16:12:51 -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; bh=xVhbx8GAPGQCx2HG7oblQ/rX8khBcSojaMteMwvbQy0=; b=nJaaMemTwy1OqJcGWHJ6ekW2qOFfuHDsKPKWHBsKiyzbzXc2d2Qo8niJT7sJy+OCGi OylMP456haMUuHb0vi5rp5SPFFaxrXcFxwFjbh0HFHDf1MXlhwB/Dfv48cA7HljaRkEm 4qvOofkyYNFZ3I/kFfGNNCbHitfDf2hw0DJbo= 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; b=gOLBuIL7AaEvnM4Nl0MtkUv009cn3cwIAWGYTXVjSHQgOc6AxPxwC2obT/xPvBPcj9 6YlBiVeIpbgL2+ge4Ur7XdasBKibtCgSB/TNCcnPcF1JpSQMkKvdulWAQm1heOPKPzUK m9/kAKLJTyNxGIwv3TJpqIuDUBK6nAE0yD9xE= MIME-Version: 1.0 Sender: hramrach@gmail.com Received: by 10.86.235.14 with SMTP id i14mr4331962fgh.52.1252019571585; Thu, 03 Sep 2009 16:12:51 -0700 (PDT) In-Reply-To: References: Date: Fri, 4 Sep 2009 01:12:51 +0200 X-Google-Sender-Auth: 1782fd008dd478b4 Message-ID: From: Michal Suchanek 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 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: Thu, 03 Sep 2009 23:12:55 -0000 2009/9/3 Bean : > On Thu, Sep 3, 2009 at 4:41 PM, Michal >> And how would you place the menu items then? At random? > > Hi, > > First we can implement the classic menu, which is basically multi-line > text box, one item per line. Later we could add more style, perhaps by > inserting a panel component that control the layout. For example, we > can have iconic mode that each item is represented by an icon. > I guess this can be generalized into two components: - label - can have a background image, icon, text - can be active (= have an associated list of commands) or not - split - can contain one(?) two or more items (splits, labels) sorted vertically or horizontally - should give focus to the first child that contains an active item - should allow flexible sizing and styling of the cells (borders, margins, padding, minimum size, upscaling, ...) - should allow a variant that scrolls in the direction in which the cells are sorted (with paging or slower scrolling, possibility to loop from end to start) Thanks Michal