mirror of
https://github.com/VARCem/PDCurses.git
synced 2026-09-23 07:15:05 +00:00
Center gradient
This commit is contained in:
@@ -1199,7 +1199,7 @@ void gradient(int tmarg)
|
||||
"White on red to green on blue, underlined (if available)" };
|
||||
const int len = (int)strlen(output_text[i]);
|
||||
|
||||
move(tmarg + 3 + i, 1);
|
||||
move(tmarg + 3 + i, (COLS - 69) / 2);
|
||||
for (j = 0; j < len; j++)
|
||||
{
|
||||
const int oval = j * 1000 / len;
|
||||
|
||||
Reference in New Issue
Block a user