In current state, start angle is measured in "parrots", where 1 "parrot" = 1 / 
256 of full circle.

With simple patch we can set start angle in degrees (which makes no difference 
for the program, but makes configuration to be more user-friendly)


theme.txt:

before:
    start_angle = -64
after:
    start_angle = -90

nothing else is affected

-- 
With best regards,
_______________________________
Vladimir Testov, ROSA Laboratory.
www.rosalab.ru
diff -Naur grub-new2/grub-core/gfxmenu/gui_circular_progress.c grub-new3/grub-core/gfxmenu/gui_circular_progress.c
--- grub-new2/grub-core/gfxmenu/gui_circular_progress.c	2013-03-11 12:52:06.000000000 +0400
+++ grub-new3/grub-core/gfxmenu/gui_circular_progress.c	2013-03-11 16:01:08.585385148 +0400
@@ -233,7 +233,7 @@
     }
   else if (grub_strcmp (name, "start_angle") == 0)
     {
-      self->start_angle = grub_strtol (value, 0, 10);
+      self->start_angle = grub_strtol (value, 0, 10) * 64 / 90;
     }
   else if (grub_strcmp (name, "ticks_disappear") == 0)
     {
_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to