summaryrefslogtreecommitdiff
path: root/src/gui/fonts
diff options
context:
space:
mode:
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