From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1UIDec-00048z-DH for mharc-grub-devel@gnu.org; Wed, 20 Mar 2013 03:41:46 -0400 Received: from eggs.gnu.org ([208.118.235.92]:59058) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UIDea-00048h-9L for grub-devel@gnu.org; Wed, 20 Mar 2013 03:41:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UIDeY-0002I3-Tl for grub-devel@gnu.org; Wed, 20 Mar 2013 03:41:44 -0400 Received: from collab.rosalab.ru ([217.199.216.181]:35417) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UIDeY-0002HW-Mj for grub-devel@gnu.org; Wed, 20 Mar 2013 03:41:42 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by collab.rosalab.ru (Postfix) with ESMTP id 3A29829C31A for ; Wed, 20 Mar 2013 11:41:40 +0400 (MSK) X-Virus-Scanned: amavisd-new at rosalab.ru Received: from collab.rosalab.ru ([127.0.0.1]) by localhost (collab.rosalab.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6Ca+4DzlxpqC for ; Wed, 20 Mar 2013 11:41:39 +0400 (MSK) Received: from icedphoenix.localnet (unknown [10.168.1.56]) by collab.rosalab.ru (Postfix) with ESMTPSA id 7B98A29C318 for ; Wed, 20 Mar 2013 11:41:39 +0400 (MSK) From: Vladimir Testov To: grub-devel@gnu.org Subject: Re: [3/4] [PATCH] start angle (option of circular_progress) Date: Wed, 20 Mar 2013 11:41:39 +0400 Message-ID: <4304399.fJKCCsUPOJ@icedphoenix> User-Agent: KMail/4.9.4 (Linux/3.5.0-23-generic; KDE/4.9.4; x86_64; ; ) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="nextPart1629705.lgW03y7n4I" Content-Transfer-Encoding: 7Bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 217.199.216.181 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Mar 2013 07:41:45 -0000 This is a multi-part message in MIME format. --nextPart1629705.lgW03y7n4I Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" new option: start_angle_degrees maybe like that? :) -- With best regards, _______________________________ Vladimir Testov, ROSA Laboratory. www.rosalab.ru --nextPart1629705.lgW03y7n4I Content-Disposition: attachment; filename="grub-2.00-parrots-to-degrees.patch" Content-Transfer-Encoding: 7Bit Content-Type: text/x-patch; charset="UTF-8"; name="grub-2.00-parrots-to-degrees.patch" diff -Naur grub-2.00/grub-core/gfxmenu/gui_circular_progress.c grub-new2/grub-core/gfxmenu/gui_circular_progress.c --- grub-2.00/grub-core/gfxmenu/gui_circular_progress.c 2010-12-01 17:45:43.000000000 +0300 +++ grub-new2/grub-core/gfxmenu/gui_circular_progress.c 2013-03-20 09:38:55.919520096 +0400 @@ -235,6 +235,10 @@ { self->start_angle = grub_strtol (value, 0, 10); } + else if (grub_strcmp (name, "start_angle_degrees") == 0) + { + self->start_angle = grub_strtol (value, 0, 10) * 64 / 90; + } else if (grub_strcmp (name, "ticks_disappear") == 0) { self->ticks_disappear = grub_strcmp (value, "false") != 0; --nextPart1629705.lgW03y7n4I--