Skip to content

Commit

Permalink
I swear i already ran clang format
Browse files Browse the repository at this point in the history
  • Loading branch information
L0laapk3 committed May 8, 2024
1 parent bc70eb2 commit 2e0612a
Show file tree
Hide file tree
Showing 14 changed files with 18 additions and 17 deletions.
2 changes: 1 addition & 1 deletion src/SFML/Window/MonitorImpl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <vector>
#include <memory>
#include <vector>


namespace sf
Expand Down
2 changes: 1 addition & 1 deletion src/SFML/Window/Unix/GlxContext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@
// Headers
////////////////////////////////////////////////////////////

#include <SFML/Window/Monitor.hpp>
#include <SFML/Window/Unix/Display.hpp>
#include <SFML/Window/Unix/GlxContext.hpp>
#include <SFML/Window/Unix/Utils.hpp>
#include <SFML/Window/Unix/WindowImplX11.hpp>
#include <SFML/Window/Monitor.hpp>

#include <SFML/System/Err.hpp>

Expand Down
7 changes: 4 additions & 3 deletions src/SFML/Window/Unix/MonitorImplX11.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <SFML/Window/Unix/MonitorImplX11.hpp>
#include <SFML/Window/Unix/Display.hpp>
#include <SFML/Window/Unix/MonitorImplX11.hpp>
#include <SFML/Window/Unix/Utils.hpp>
#include <SFML/Window/VideoMode.hpp>

Expand Down Expand Up @@ -55,10 +55,11 @@ struct XDeleter<XRRScreenConfiguration>

////////////////////////////////////////////////////////////
MonitorImplX11::MonitorImplX11() = default;


////////////////////////////////////////////////////////////
std::unique_ptr<MonitorImpl> MonitorImplX11::createPrimaryMonitor() {
std::unique_ptr<MonitorImpl> MonitorImplX11::createPrimaryMonitor()
{
return std::make_unique<MonitorImplX11>();
}

Expand Down
2 changes: 1 addition & 1 deletion src/SFML/Window/VideoMode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <SFML/Window/VideoMode.hpp>
#include <SFML/Window/MonitorImpl.hpp>
#include <SFML/Window/VideoMode.hpp>


namespace sf
Expand Down
2 changes: 1 addition & 1 deletion src/SFML/Window/Win32/MonitorImplWin32.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <SFML/Window/Win32/MonitorImplWin32.hpp>
#include <SFML/Window/VideoMode.hpp>
#include <SFML/Window/Win32/MonitorImplWin32.hpp>

#include <SFML/System/Win32/WindowsHeader.hpp>

Expand Down
2 changes: 1 addition & 1 deletion src/SFML/Window/Win32/WglContext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
// Headers
////////////////////////////////////////////////////////////
#include <SFML/Window/ContextSettings.hpp>
#include <SFML/Window/Monitor.hpp>
#include <SFML/Window/Win32/WglContext.hpp>
#include <SFML/Window/WindowImpl.hpp>
#include <SFML/Window/Monitor.hpp>

#include <SFML/System/Err.hpp>
#include <SFML/System/String.hpp>
Expand Down
2 changes: 1 addition & 1 deletion src/SFML/Window/Window.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
// Headers
////////////////////////////////////////////////////////////
#include <SFML/Window/GlContext.hpp>
#include <SFML/Window/Monitor.hpp>
#include <SFML/Window/Window.hpp>
#include <SFML/Window/WindowImpl.hpp>
#include <SFML/Window/Monitor.hpp>

#include <SFML/System/Err.hpp>
#include <SFML/System/Sleep.hpp>
Expand Down
4 changes: 2 additions & 2 deletions src/SFML/Window/WindowImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <SFML/Config.hpp>

#include <SFML/Window/Event.hpp>
#include <SFML/Window/JoystickImpl.hpp>
#include <SFML/Window/JoystickManager.hpp>
Expand All @@ -34,8 +36,6 @@
#include <SFML/System/Sleep.hpp>
#include <SFML/System/Time.hpp>

#include <SFML/Config.hpp>

#include <memory>

#include <cmath>
Expand Down
2 changes: 1 addition & 1 deletion src/SFML/Window/iOS/MonitorImplUIKit.mm
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <SFML/Window/VideoMode.hpp>
#include <SFML/Window/iOS/MonitorImplUIKit.hpp>
#include <SFML/Window/iOS/SFAppDelegate.hpp>
#include <SFML/Window/VideoMode.hpp>

#include <UIKit/UIKit.h>

Expand Down
2 changes: 1 addition & 1 deletion src/SFML/Window/macOS/InputImpl.mm
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
// Headers
////////////////////////////////////////////////////////////
#include <SFML/Window/InputImpl.hpp>
#include <SFML/Window/VideoMode.hpp>
#include <SFML/Window/Monitor.hpp>
#include <SFML/Window/VideoMode.hpp>
#include <SFML/Window/Window.hpp>
#include <SFML/Window/macOS/AutoreleasePoolWrapper.hpp>
#include <SFML/Window/macOS/HIDInputManager.hpp>
Expand Down
2 changes: 1 addition & 1 deletion src/SFML/Window/macOS/MonitorImplCocoa.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <SFML/Window/VideoMode.hpp>
#include <SFML/Window/macOS/MonitorImplCocoa.hpp>
#include <SFML/Window/macOS/cg_sf_conversion.hpp>
#include <SFML/Window/VideoMode.hpp>

#include <SFML/System/Err.hpp>

Expand Down
2 changes: 1 addition & 1 deletion src/SFML/Window/macOS/SFContext.mm
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <SFML/Window/Monitor.hpp>
#include <SFML/Window/macOS/AutoreleasePoolWrapper.hpp>
#include <SFML/Window/macOS/SFContext.hpp>
#include <SFML/Window/macOS/WindowImplCocoa.hpp>
#include <SFML/Window/Monitor.hpp>

#include <SFML/System/Err.hpp>

Expand Down
2 changes: 1 addition & 1 deletion src/SFML/Window/macOS/SFWindowController.mm
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <SFML/Window/Monitor.hpp>
#include <SFML/Window/VideoMode.hpp>
#include <SFML/Window/WindowEnums.hpp>
#include <SFML/Window/WindowHandle.hpp>
#include <SFML/Window/Monitor.hpp>
#import <SFML/Window/macOS/NSImage+raw.h>
#import <SFML/Window/macOS/SFApplication.h>
#import <SFML/Window/macOS/SFOpenGLView.h>
Expand Down
2 changes: 1 addition & 1 deletion test/Window/VideoMode.test.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include <SFML/Window/VideoMode.hpp>
#include <SFML/Window/Monitor.hpp>
#include <SFML/Window/VideoMode.hpp>

#include <catch2/catch_test_macros.hpp>

Expand Down

0 comments on commit 2e0612a

Please sign in to comment.