rounded corners on select widgets #12

Merged
IoI_xD merged 15 commits from rounded into master 2026-03-27 11:08:43 +09:00
Showing only changes of commit df11b86cea - Show all commits

+2 -> +3
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good

IoI_xD 2026-03-26 19:05:11 -07:00 committed by Nishi

View file

@ -158,7 +158,7 @@ void MwDrawRectFading(MwWidget handle, MwRect* rect, MwLLColor color, int rounde
r.height -= 2;
MwLLDrawPixmap(handle->lowlevel, &r, pixmap);
r = *rect;
x = (rect->x + rect->width) - (roundness + 2);
x = (rect->x + rect->width) - (roundness + 3);
y = rect->y + (roundness + 1);
for(i = 0; i < roundness; i++) {
double point = ((i + (M_PI * 4)) / div);