summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-06-12 00:58:49 +0300
committerAndrei Karas <akaras@inbox.ru>2014-06-12 01:05:33 +0300
commit73af9be58f0f35a4478b9d1aed2dfd2e06a6e3a3 (patch)
treee9ba6e0351b1dfe267e86239d33e00dd6c8c260a /src
parent8e1fc2522ee907da5fc3e65691990fd608539a72 (diff)
downloadmv-73af9be58f0f35a4478b9d1aed2dfd2e06a6e3a3.tar.gz
mv-73af9be58f0f35a4478b9d1aed2dfd2e06a6e3a3.tar.bz2
mv-73af9be58f0f35a4478b9d1aed2dfd2e06a6e3a3.tar.xz
mv-73af9be58f0f35a4478b9d1aed2dfd2e06a6e3a3.zip
Add points and lines in draw test.
Diffstat (limited to 'src')
-rw-r--r--src/test/testlauncher.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/test/testlauncher.cpp b/src/test/testlauncher.cpp
index 623fae805..de51ce970 100644
--- a/src/test/testlauncher.cpp
+++ b/src/test/testlauncher.cpp
@@ -401,6 +401,13 @@ int TestLauncher::testDraw()
mainGraphics->setColor(Color(0x00U, 0xFFU, 0x00U, 0x90U));
mainGraphics->drawNet(450, 10, 600, 300, 32, 20);
+ for (int f = 0; f < 255; f ++)
+ {
+ mainGraphics->setColor(Color(0x20U, 0x60U, f, 0x90U));
+ mainGraphics->drawLine(300 + f, 490, 300 + f, 480);
+ for (int d = 0; d < 10; d ++)
+ mainGraphics->drawPoint(300 + f, 500 + d);
+ }
mainGraphics->updateScreen();
sleep(10);