Skip to content

Commit 556ca51

Browse files
ZXShadyChrisThrasher
authored andcommitted
Make ConvertEvent.hpp file in window module folder.
It is a window related module it makes more sense imo for it to be in it. I also addded it to the cmake file so it appears in VIsual Studio
1 parent 66e7af4 commit 556ca51

File tree

5 files changed

+4
-3
lines changed

5 files changed

+4
-3
lines changed

src/CSFML/Graphics/RenderWindow.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
////////////////////////////////////////////////////////////
2626
// Headers
2727
////////////////////////////////////////////////////////////
28-
#include <CSFML/ConvertEvent.hpp>
2928
#include <CSFML/Graphics/CircleShapeStruct.hpp>
3029
#include <CSFML/Graphics/ConvertColor.hpp>
3130
#include <CSFML/Graphics/ConvertRect.hpp>
@@ -43,6 +42,7 @@
4342
#include <CSFML/Graphics/VertexBufferStruct.hpp>
4443
#include <CSFML/System/ConvertVector2.hpp>
4544
#include <CSFML/Window/ConvertContextSettings.hpp>
45+
#include <CSFML/Window/ConvertEvent.hpp>
4646
#include <CSFML/Window/ConvertVideoMode.hpp>
4747
#include <CSFML/Window/CursorStruct.hpp>
4848

src/CSFML/Window/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ set(SRC
1313
${SRCROOT}/ContextStruct.hpp
1414
${INCROOT}/Context.h
1515
${SRCROOT}/ConvertContextSettings.hpp
16+
${SRCROOT}/ConvertEvent.hpp
1617
${SRCROOT}/ConvertVideoMode.hpp
1718
${INCROOT}/Event.h
1819
${SRCROOT}/Joystick.cpp
File renamed without changes.

src/CSFML/Window/Window.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@
2525
////////////////////////////////////////////////////////////
2626
// Headers
2727
////////////////////////////////////////////////////////////
28-
#include <CSFML/ConvertEvent.hpp>
2928
#include <CSFML/System/ConvertVector2.hpp>
3029
#include <CSFML/Window/ConvertContextSettings.hpp>
30+
#include <CSFML/Window/ConvertEvent.hpp>
3131
#include <CSFML/Window/ConvertVideoMode.hpp>
3232
#include <CSFML/Window/CursorStruct.hpp>
3333
#include <CSFML/Window/Window.h>

src/CSFML/Window/WindowBase.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
////////////////////////////////////////////////////////////
2626
// Headers
2727
////////////////////////////////////////////////////////////
28-
#include <CSFML/ConvertEvent.hpp>
2928
#include <CSFML/System/ConvertVector2.hpp>
29+
#include <CSFML/Window/ConvertEvent.hpp>
3030
#include <CSFML/Window/ConvertVideoMode.hpp>
3131
#include <CSFML/Window/CursorStruct.hpp>
3232
#include <CSFML/Window/WindowBase.h>

0 commit comments

Comments
 (0)