summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-09-18 18:57:19 +0300
committerAndrei Karas <akaras@inbox.ru>2017-09-18 18:57:19 +0300
commite7537ca6033a13ff1d21aac4a61a49ef325684b6 (patch)
tree5495e120bbb8108677fcdcde1cbc77a2417fc5d3 /src/test
parent0f7c14085321a54ad8c442041d3a26f5dfed5fd1 (diff)
downloadplus-e7537ca6033a13ff1d21aac4a61a49ef325684b6.tar.gz
plus-e7537ca6033a13ff1d21aac4a61a49ef325684b6.tar.bz2
plus-e7537ca6033a13ff1d21aac4a61a49ef325684b6.tar.xz
plus-e7537ca6033a13ff1d21aac4a61a49ef325684b6.zip
Move imagewriter into utils directory and rename to pnglib.
Diffstat (limited to 'src/test')
-rw-r--r--src/test/testlauncher.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/test/testlauncher.cpp b/src/test/testlauncher.cpp
index c7331df49..d5df688a7 100644
--- a/src/test/testlauncher.cpp
+++ b/src/test/testlauncher.cpp
@@ -33,13 +33,13 @@
#include "gui/fonts/font.h"
+#include "utils/pnglib.h"
#include "utils/stringutils.h"
#include "render/graphics.h"
#include "render/vertexes/imagecollection.h"
-#include "resources/imagewriter.h"
#include "resources/openglimagehelper.h"
#include "resources/screenshothelper.h"
#include "resources/surfaceimagehelper.h"
@@ -476,9 +476,9 @@ int TestLauncher::testDye()
{
SurfaceImageHelper::combineSurface(image->mSDLSurface, nullptr,
surface, nullptr);
- ImageWriter::writePNG(image->mSDLSurface,
+ PngLib::writePNG(image->mSDLSurface,
settings.tempDir + "/testimage1.png");
- ImageWriter::writePNG(surface,
+ PngLib::writePNG(surface,
settings.tempDir + "/testimage2.png");
}
@@ -494,9 +494,9 @@ int TestLauncher::testDye()
{
SurfaceImageHelper::combineSurface(image->mSDLSurface,
nullptr, surface, nullptr);
- ImageWriter::writePNG(image->mSDLSurface,
+ PngLib::writePNG(image->mSDLSurface,
settings.tempDir + "/testimage3.png");
- ImageWriter::writePNG(surface,
+ PngLib::writePNG(surface,
settings.tempDir + "/testimage4.png");
}
}