Add missing headers
Reformatting with clang-format revealed that a few files were missing some #include and #import statements.
This commit is contained in:
parent
4f52793f7d
commit
87c4213ac6
@ -26,6 +26,8 @@
|
||||
////////////////////////////////////////////////////////////
|
||||
// Headers
|
||||
////////////////////////////////////////////////////////////
|
||||
#include <SFML/Window/Event.hpp>
|
||||
|
||||
#import <AppKit/AppKit.h>
|
||||
|
||||
namespace sf
|
||||
|
@ -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__)
|
||||
|
@ -27,6 +27,7 @@
|
||||
// Headers
|
||||
////////////////////////////////////////////////////////////
|
||||
#include <SFML/Window/Mouse.hpp>
|
||||
#import <SFML/Window/OSX/SFOpenGLView.h>
|
||||
|
||||
#import <AppKit/AppKit.h>
|
||||
|
||||
|
@ -27,6 +27,7 @@
|
||||
// Headers
|
||||
////////////////////////////////////////////////////////////
|
||||
#include <SFML/Window/Mouse.hpp>
|
||||
#import <SFML/Window/OSX/SFOpenGLView.h>
|
||||
|
||||
#import <AppKit/AppKit.h>
|
||||
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user