mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
examples PainterExamples fix
git-svn-id: svn://ultimatepp.org/upp/trunk@917 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
17ac1f4027
commit
c66fa13b6a
1 changed files with 2 additions and 2 deletions
|
|
@ -81,8 +81,8 @@ void App::Paint(Draw& w)
|
|||
{
|
||||
Size sz = GetSize();
|
||||
if(ctrl.transparent) {
|
||||
for(int y = 0; y + 32 < sz.cy; y += 32)
|
||||
for(int x = 0; x + 32 < sz.cx; x += 32)
|
||||
for(int y = 0; y < sz.cy; y += 32)
|
||||
for(int x = 0; x < sz.cx; x += 32)
|
||||
w.DrawRect(x, y, 32, 32, (x ^ y) & 32 ? Color(254, 172, 120) : Color(124, 135, 253));
|
||||
}
|
||||
ImageBuffer ib(sz);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue