Rename GuiDrawSpiralSegment to GuiSetSpiralSegmentColor

This commit is contained in:
Paul Dicker
2025-04-01 07:17:06 +02:00
committed by Stéphane Lesimple
parent 956131c3f3
commit bb6c9222fb
7 changed files with 14 additions and 14 deletions

View File

@@ -195,14 +195,14 @@ static gboolean clip_idle_func(gpointer data)
spiral->segmentClipping = spiral->segmentCount;
for(i=clipping; i < spiral->segmentCount; i++)
GuiDrawSpiralSegment(spiral, Closure->background, Closure->background, i);
GuiSetSpiralSegmentColor(spiral, Closure->background, Closure->background, i);
spiral->segmentClipping = clipping;
/* Now redraw the last turn */
for(i=ADAPTIVE_READ_SPIRAL_SIZE-300; i<=clipping; i++)
GuiDrawSpiralSegment(spiral, Closure->background, 0, i);
GuiSetSpiralSegmentColor(spiral, Closure->background, 0, i);
}
return FALSE;
@@ -243,7 +243,7 @@ static gboolean remove_fill_idle_func(gpointer data)
for(i=0; i<spiral->segmentCount; i++)
if(spiral->segmentColor[i] == Closure->whiteSector)
GuiDrawSpiralSegment(spiral, Closure->background, 0, i);
GuiSetSpiralSegmentColor(spiral, Closure->background, 0, i);
return FALSE;
}