experimental rounded corners idea

This commit is contained in:
IoI_xD 2026-03-26 14:40:21 -07:00 committed by Nishi
commit 8d7016367e
16 changed files with 224 additions and 63 deletions

View file

@ -23,7 +23,7 @@ static void draw(MwWidget handle) {
r.width = MwGetInteger(handle, MwNwidth);
r.height = MwGetInteger(handle, MwNheight);
MwDrawFrame(handle, &r, base, 1);
MwDrawFrame(handle, &r, base, 1, 0);
MwDrawRect(handle, &r, base);
w = MwGetInteger(handle, MwNvalue) - MwGetInteger(handle, MwNminValue);
w = w / (MwGetInteger(handle, MwNmaxValue) - MwGetInteger(handle, MwNminValue));