.cosmetic

This commit is contained in:
Zbigniew Rębacz 2023-10-28 21:30:08 +02:00
parent 21816d69e7
commit 12400ceedd
2 changed files with 3 additions and 3 deletions

View file

@ -23,7 +23,7 @@ struct RandomRectCtrl : public Ctrl {
int y = Random() % (sz.cy - length);
rect = Rect(x, y, x + length, y + length);
color = Color(Random() % 255, Random() % 255, Random() % 255);
color = Color(Random() % 256, Random() % 256, Random() % 256);
}
};

View file

@ -1800,8 +1800,8 @@ Ctrl `{]&]
[s0;l320;%- [C rect ][C@(0.0.255) `=][C Rect(x, y, x ][C@(0.0.255) `+][C
length, y ][C@(0.0.255) `+][C length);]&]
[s0;l320;%- [C color ][C@(0.0.255) `=][C Color(Random() ][C@(0.0.255) %][C
][C@3 255][C , Random() ][C@(0.0.255) %][C ][C@3 255][C , Random() ][C@(0.0.255) %][C
][C@3 255][C );]&]
][C@3 256][C , Random() ][C@(0.0.255) %][C ][C@3 256][C , Random() ][C@(0.0.255) %][C
][C@3 256][C );]&]
[s0;l320;%- [C `}]&]
[s0;l320;%- [C `};]&]
[s0;l320;C%- &]