give up on rounded borders
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
This commit is contained in:
parent
0e2e3a1901
commit
f22f45d5bf
15 changed files with 92 additions and 233 deletions
|
|
@ -49,7 +49,7 @@ static void draw(MwWidget handle) {
|
|||
int attr;
|
||||
MwRect currc;
|
||||
|
||||
p.x = (r.width - (r.width / w * w)) / 2 + (MwGetInteger(handle, MwNisRounded) ? MwGetInteger(handle, MwNroundness) : 0);
|
||||
p.x = (r.width - (r.width / w * w)) / 2;
|
||||
p.y = r.height / 2;
|
||||
|
||||
len = (r.width - p.x * 2) / w;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue