summaryrefslogtreecommitdiff
path: root/src/gui/fonts
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-18 01:59:32 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-18 01:59:32 +0300
commit10273bc94e90fefcfe3fc215aaaaafe7e0e96bd4 (patch)
tree111df89896898fd8e5393c78fc1d0c827a43a2c0 /src/gui/fonts
parent9de5161f9d55e4e2ece1653e6cb7decf5b3f0b9b (diff)
downloadplus-10273bc94e90fefcfe3fc215aaaaafe7e0e96bd4.tar.gz
plus-10273bc94e90fefcfe3fc215aaaaafe7e0e96bd4.tar.bz2
plus-10273bc94e90fefcfe3fc215aaaaafe7e0e96bd4.tar.xz
plus-10273bc94e90fefcfe3fc215aaaaafe7e0e96bd4.zip
Remove useless includes.
Diffstat (limited to 'src/gui/fonts')
-rw-r--r--src/gui/fonts/font.cpp4
-rw-r--r--src/gui/fonts/font.h7
-rw-r--r--src/gui/fonts/textchunk.h1
3 files changed, 1 insertions, 11 deletions
diff --git a/src/gui/fonts/font.cpp b/src/gui/fonts/font.cpp
index 4c297793e..2edca6b0b 100644
--- a/src/gui/fonts/font.cpp
+++ b/src/gui/fonts/font.cpp
@@ -71,14 +71,12 @@
#include "gui/fonts/textchunk.h"
-#include "render/sdlgraphics.h"
+#include "render/graphics.h"
#include "resources/image.h"
#include "resources/imagehelper.h"
#include "resources/resourcemanager.h"
-#include "resources/surfaceimagehelper.h"
-#include "utils/delete2.h"
#include "utils/paths.h"
#include "utils/sdlcheckutils.h"
#include "utils/stringutils.h"
diff --git a/src/gui/fonts/font.h b/src/gui/fonts/font.h
index 6e933f7e1..c8e39fd7c 100644
--- a/src/gui/fonts/font.h
+++ b/src/gui/fonts/font.h
@@ -67,22 +67,15 @@
#ifndef GUI_FONTS_FONT_H
#define GUI_FONTS_FONT_H
-#include "gui/color.h"
-
#include "gui/fonts/textchunklist.h"
-#include "gui/fonts/textchunksmall.h"
#include <SDL_ttf.h>
-#include <map>
#include <string>
#include "localconsts.h"
-class Color;
class Graphics;
-class Image;
-class TextChunk;
const unsigned int CACHES_NUMBER = 256;
diff --git a/src/gui/fonts/textchunk.h b/src/gui/fonts/textchunk.h
index f83472f07..6f124346d 100644
--- a/src/gui/fonts/textchunk.h
+++ b/src/gui/fonts/textchunk.h
@@ -32,7 +32,6 @@
#include "localconsts.h"
-class Color;
class Image;
class TextChunk final