Cleaned up a few SDL includes

This commit is contained in:
Charles Dang 2017-03-14 10:56:35 +11:00
parent 8cce597edd
commit 60fc61a9a0
8 changed files with 6 additions and 8 deletions

View file

@ -25,7 +25,7 @@ class surface;
#include <string>
#include "serialization/unicode_types.hpp"
#include <SDL.h>
#include <SDL_rect.h>
namespace font {

View file

@ -20,7 +20,6 @@
// standard color to be passed to span_color without an extra include.
#include "font/standard_colors.hpp"
#include <SDL.h>
#include <string>
/**

View file

@ -24,7 +24,7 @@
#include "gui/widgets/helper.hpp"
#include <SDL.h>
#include <SDL_rect.h>
namespace gui2
{

View file

@ -16,7 +16,7 @@
#include "gui/dialogs/modal_dialog.hpp"
#include <SDL.h>
#include <SDL_keycode.h>
#include <vector>
class config;

View file

@ -15,7 +15,7 @@
#ifndef GUI_DIALOGS_TIP_HPP_INCLUDED
#define GUI_DIALOGS_TIP_HPP_INCLUDED
#include <SDL.h>
#include <SDL_rect.h>
#include <string>
class CVideo;

View file

@ -27,7 +27,6 @@
#include <algorithm> // for max, min, find_if
#include <ostream> // for operator<<, stringstream, etc
#include <vector> // for vector, etc
#include <SDL.h> // for TTF_STYLE_BOLD, etc
static lg::log_domain log_display("display");
#define WRN_DP LOG_STREAM(warn, log_display)

View file

@ -22,7 +22,7 @@
#include <map>
#include <string>
#include <SDL.h>
#include <SDL_rect.h>
class config;
class display;

View file

@ -23,7 +23,7 @@
#include "resources.hpp"
#include "video.hpp"
#include <SDL.h> // Travis doesn't like this, although it works on my machine -> '#include <SDL_sound.h>
#include <SDL_rect.h> // Travis doesn't like this, although it works on my machine -> '#include <SDL_sound.h>
namespace {