start angle (option of circular_progress)
new option: start_angle_degrees
maybe like that? :)
Signature · 4 lines
With best regards, _______________________________ Vladimir Testov, ROSA Laboratory. www.rosalab.ru
grub-core/gfxmenu/gui_circular_progress.c +4 -0
@@ -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 ;
Quoted 4 lines · Vladimir Testov
new option:
start_angle_degreesmaybe like that? :)
Using a different option for the same thing just expressed in different units isn't good or natural. It's more natural to use unit modifiers like start_angle = "90°" or start_angle = "90 deg"
Compare:
buy one littre of milk
rather than
buy littre one of milk.
Quoted 7 lines
_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel