From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1D19iS-0002KB-4J for mharc-grub-devel@gnu.org; Tue, 15 Feb 2005 15:54:40 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D19hy-00025I-NX for grub-devel@gnu.org; Tue, 15 Feb 2005 15:54:15 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D19hr-0001x5-9Q for grub-devel@gnu.org; Tue, 15 Feb 2005 15:54:05 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D19hp-0001jF-EL for grub-devel@gnu.org; Tue, 15 Feb 2005 15:54:01 -0500 Received: from [217.12.11.35] (helo=smtp004.mail.ukl.yahoo.com) by monty-python.gnu.org with smtp (Exim 4.34) id 1D19Fg-0008St-CN for grub-devel@gnu.org; Tue, 15 Feb 2005 15:24:56 -0500 Received: from unknown (HELO ?192.168.0.2?) (subdino2004@83.194.34.250 with plain) by smtp004.mail.ukl.yahoo.com with SMTP; 15 Feb 2005 20:24:55 -0000 Message-ID: <42125A96.2060402@yahoo.fr> Date: Tue, 15 Feb 2005 21:24:54 +0100 From: Vincent Pelletier User-Agent: Debian Thunderbird 1.0 (X11/20050116) X-Accept-Language: en-us, en MIME-Version: 1.0 To: The development of GRUB 2 References: <200502142225.36773.okuji@enbug.org> In-Reply-To: <200502142225.36773.okuji@enbug.org> X-Enigmail-Version: 0.90.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: some design issues 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, 15 Feb 2005 20:54:36 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Yoshinori K. Okuji wrote: | 1. Pass one more argument to each command. This argument would be a | pointer to struct context, and contains a pointer to current menu, etc. Isn't it already present ? There is a "nested" variable passed to menu main function, that should do the trick (leaving a menu which is nested would give back the control to the calling menu, which would redraw itself). Vincent Pelletier -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCElqWFEQoKRQyjtURAj5tAJ4vbVN/59NQcT3n1o84a+Td8lziagCdEhLY zQKMUM0jNWFDCWzLA2lf4/M= =K5m+ -----END PGP SIGNATURE-----