Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Mv8VK-0001L3-5X for mharc-grub-devel@gnu.org; Tue, 06 Oct 2009 07:46:54 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mv8VI-0001Ik-0S for grub-devel@gnu.org; Tue, 06 Oct 2009 07:46:52 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mv8VF-0001G7-Pw for grub-devel@gnu.org; Tue, 06 Oct 2009 07:46:51 -0400 Received: from [199.232.76.173] (port=38503 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mv8VF-0001Fj-Dm for grub-devel@gnu.org; Tue, 06 Oct 2009 07:46:49 -0400 Received: from fg-out-1718.google.com ([72.14.220.159]:31833) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mv8VE-0003fJ-V3 for grub-devel@gnu.org; Tue, 06 Oct 2009 07:46:49 -0400 Received: by fg-out-1718.google.com with SMTP id 22so1294770fge.12 for ; Tue, 06 Oct 2009 04:46:48 -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=PJcHal2DdaWzglO4f8oQPRDLreU5R1Lv0Y8YJ4GwkCs=; b=xcikxuNDrGQrEF5sbvwTrgQIF6NrBKS6o2LeI/rCc5xnxvbXejA+FoGf2wrlTqjYQe bN23C+CW5caL4J62IC6UrRcV3CNCcnTkTnG0vM/22VZLUgSkw2uMDQWievXlUJxONDiy wmFHIgksryWEM5w5Sx/eS0X3XtwR5LecXuruM= 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=gmFcByGOKxNZavvu7mrscxMmEvzKvzFZDBBoIwHMguYmxpMfmpWDgLbtYJ1pJZxGwE fWKrwfK6Q/dUghViVJcKit3yUS2XnpOQwLBEwl/IHMXU+wAhdc5lj3rWk1JGl9+nA0X7 tk8wdysYifNymPZU1s7LB4WNdQ33l/lsBChN8= MIME-Version: 1.0 Sender: hramrach@gmail.com Received: by 10.86.103.19 with SMTP id a19mr427826fgc.54.1254829608052; Tue, 06 Oct 2009 04:46:48 -0700 (PDT) In-Reply-To: References: Date: Tue, 6 Oct 2009 13:46:47 +0200 X-Google-Sender-Auth: 7020a3a828fccb99 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: [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: Tue, 06 Oct 2009 11:46:52 -0000 2009/10/6 Bean : > Hi, > > Update: > > Support fill character in graphic mode, this can be used to draw rect > box using ascii character, for example: > > =C2=A0 =C2=A0top_left =3D ",,cyan/blue,#0x250F:,,green/blue,#0x2554" > =C2=A0 =C2=A0top =3D ",tiling,cyan/blue,#0x2501:,,green/blue,#0x2550" > =C2=A0 =C2=A0top_right =3D ",,cyan/blue,#0x2513:,,green/blue,#0x2557" > =C2=A0 =C2=A0left =3D ",tiling,cyan/blue,#0x2503:,,green/blue,#0x2551" > =C2=A0 =C2=A0right =3D ",tiling,cyan/blue,#0x2503:,,green/blue,#0x2551" > =C2=A0 =C2=A0bottom_left =3D ",,cyan/blue,#0x2517:,,green/blue,#0x255A" > =C2=A0 =C2=A0bottom =3D ",tiling,cyan/blue,#0x2501:,,green/blue,#0x2550" > =C2=A0 =C2=A0bottom_right =3D ",tiling,cyan/blue,#0x251B:,,green/blue,#0x= 255D" > > It draws double rect box when selected, single rect box when not > selected. Works both in text and graphic mode. This is an interesting feature but I was more interested in controlling the border in text mode independently of graphics mode. For example, I would want something like: - graphics: 3px outer space, 2px border, 16px inner space (unfortunately there is no character unit usable because the character size is different when measured horizontally and vertically) - text: single border using the box drawing characters, inner space vertical 1character AFAIK this is not possible. > > > Adjustment to the layout manager, now it support the following properties= : > > direction: > Same as before, value can be left_to_right, right_to_left, > top_to_bottom (default) and bottm_to_top. > > position: > This indicate how extra space are distributed among children widgets: > near: pack the widgets at the near end (for example, in left_to_right, > near is left) > center: space are distributed evenly among widgets > far: pack the widgets at the far end (for example, in left_to_right, > far is right) This sounds good. The case when the widgets should be packed in the center can be done with an additional centered panel. > > valign, halign: > Now align property control the position of current widget, instead of > its children, each have four values: > left/top > center > right/bottom > extend - Extend the widget to the full width/height of parent. > > margin_left, margin_right, margin_top, margin_bottom > This properties set the inner space reserved by the panel > > padding_left, padding_right, padding_top, padding_bottom > This set the outbound box of the panel > > attach_left, attach_right, attach_top, attach_bottom > Stick the widget to one of the border of parent, once this is set, the > widget is no longed controlled by the layout manager and therefore can > overlap with other widget. > This sucks. Since overlap is not properly handled it should not happen. I am not sure what is the use of this property anyway. Thanks Michal