Add missing headers

Reformatting with clang-format revealed that a few files were missing
some #include and #import statements.
This commit is contained in:
Chris Thrasher 2022-07-04 20:05:15 -06:00 committed by Lukas Dürrenberger
parent 4f52793f7d
commit 87c4213ac6
5 changed files with 5 additions and 5 deletions

View File

@ -26,6 +26,8 @@
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <SFML/Window/Event.hpp>
#import <AppKit/AppKit.h>
namespace sf

View File

@ -29,7 +29,6 @@
#include <SFML/Window/OSX/HIDInputManager.hpp> // For localizedKeys and nonLocalizedKeys
#import <SFML/Window/OSX/SFKeyboardModifiersHelper.h>
#import <SFML/Window/OSX/SFOpenGLView+keyboard_priv.h>
#import <SFML/Window/OSX/SFOpenGLView.h>
#include <SFML/Window/OSX/WindowImplCocoa.hpp>
#if defined(__APPLE__)

View File

@ -27,6 +27,7 @@
// Headers
////////////////////////////////////////////////////////////
#include <SFML/Window/Mouse.hpp>
#import <SFML/Window/OSX/SFOpenGLView.h>
#import <AppKit/AppKit.h>

View File

@ -27,6 +27,7 @@
// Headers
////////////////////////////////////////////////////////////
#include <SFML/Window/Mouse.hpp>
#import <SFML/Window/OSX/SFOpenGLView.h>
#import <AppKit/AppKit.h>

View File

@ -26,12 +26,9 @@
// Headers
////////////////////////////////////////////////////////////
// clang-format off
#include <SFML/Window/Window.hpp> // important to be included first (conflict with None)
// clang-format on
#include <SFML/Window/Unix/Display.hpp>
#include <SFML/Window/Unix/InputImpl.hpp>
#include <SFML/Window/Window.hpp>
#include <X11/Xlib.h>
#include <X11/keysym.h>